Buckets:
| import OAI.Analysis.Laughlin.Pair.NormalizedLadder | |
| import OAI.Analysis.Laughlin.Spin.Highest2 | |
| namespace OAI | |
| namespace Laughlin.Spin | |
| noncomputable def pairTensorLower (Q p : ℕ) (x y : Fin (Q+1)) : ℝ := | |
| (if h : 0 < x.val then ladder Q (x.val-1) * | |
| pairCoefficient Q p ⟨x.val-1,by omega⟩ y else 0) + | |
| (if h : 0 < y.val then ladder Q (y.val-1) * | |
| pairCoefficient Q p x ⟨y.val-1,by omega⟩ else 0) | |
| theorem ladder_weight_previous (Q : ℕ) (x : Fin (Q+1)) (hx : 0 < x.val) : | |
| ladder Q (x.val-1)*Real.sqrt (Q.choose x.val : ℝ) = | |
| ((Q : ℝ)-x.val+1)*Real.sqrt (Q.choose (x.val-1) : ℝ) := by | |
| have h := sqrt_choose_step Q (x.val-1) (by omega) | |
| rw [show x.val-1+1=x.val by omega] at h | |
| have hc : ((Q-(x.val-1) : ℕ) : ℝ) = (Q : ℝ)-x.val+1 := by | |
| rw [Nat.cast_sub (by omega : x.val-1 ≤ Q),Nat.cast_sub (by omega : 1 ≤ x.val)] | |
| push_cast; ring | |
| rwa [hc] at h | |
| theorem pairTensorLower_weight (Q p : ℕ) (hQ : 0 < Q) (hp : p ≤ 2*Q-2) | |
| (x y : Fin (Q+1)) : | |
| pairTensorLower Q p x y * Real.sqrt (Q.choose x.val : ℝ)*Real.sqrt (Q.choose y.val : ℝ) = | |
| lowerPair Q (normalizedPairState Q p) x.val y.val := by | |
| have hl : | |
| (if h : 0 < x.val then ladder Q (x.val-1)*pairCoefficient Q p ⟨x.val-1,by omega⟩ y else 0) * | |
| Real.sqrt (Q.choose x.val : ℝ)*Real.sqrt (Q.choose y.val : ℝ) = | |
| (if 0 < x.val then ((Q : ℝ)-x.val+1)*normalizedPairState Q p (x.val-1) y.val else 0) := by | |
| by_cases hx : 0 < x.val | |
| · rw [dite_eq_left hx,ite_eq_left hx,normalizedPairState_eq_coefficients Q p hQ hp ⟨x.val-1,by omega⟩ y] | |
| calc | |
| _ = pairCoefficient Q p ⟨x.val-1,by omega⟩ y * Real.sqrt (Q.choose y.val : ℝ)* | |
| (ladder Q (x.val-1)*Real.sqrt (Q.choose x.val : ℝ)) := by ring | |
| _ = _ := by rw [ladder_weight_previous Q x hx]; ring | |
| · simp only [dite_eq_right hx,ite_eq_right hx,zero_mul] | |
| have hr : | |
| (if h : 0 < y.val then ladder Q (y.val-1)*pairCoefficient Q p x ⟨y.val-1,by omega⟩ else 0) * | |
| Real.sqrt (Q.choose x.val : ℝ)*Real.sqrt (Q.choose y.val : ℝ) = | |
| (if 0 < y.val then ((Q : ℝ)-y.val+1)*normalizedPairState Q p x.val (y.val-1) else 0) := by | |
| by_cases hy : 0 < y.val | |
| · rw [dite_eq_left hy,ite_eq_left hy,normalizedPairState_eq_coefficients Q p hQ hp x ⟨y.val-1,by omega⟩] | |
| calc | |
| _ = pairCoefficient Q p x ⟨y.val-1,by omega⟩ * Real.sqrt (Q.choose x.val : ℝ)* | |
| (ladder Q (y.val-1)*Real.sqrt (Q.choose y.val : ℝ)) := by ring | |
| _ = _ := by rw [ladder_weight_previous Q y hy]; ring | |
| · simp only [dite_eq_right hy,ite_eq_right hy,zero_mul] | |
| unfold pairTensorLower lowerPair | |
| rw [add_mul,add_mul,hl,hr] | |
| theorem pairCoefficient_tensor_lowering (Q p : ℕ) (hQ : 0 < Q) (hp : p < 2*Q-2) | |
| (x y : Fin (Q+1)) : | |
| pairTensorLower Q p x y = ladder (2*Q-2) p * pairCoefficient Q (p+1) x y := by | |
| have hx : Real.sqrt (Q.choose x.val : ℝ) ≠ 0 := by | |
| apply ne_of_gt; apply Real.sqrt_pos.mpr | |
| exact_mod_cast Nat.choose_pos (by omega : x.val ≤ Q) | |
| have hy : Real.sqrt (Q.choose y.val : ℝ) ≠ 0 := by | |
| apply ne_of_gt; apply Real.sqrt_pos.mpr | |
| exact_mod_cast Nat.choose_pos (by omega : y.val ≤ Q) | |
| apply (mul_right_cancel₀ hy) | |
| apply (mul_right_cancel₀ hx) | |
| have he := pairTensorLower_weight Q p hQ (by omega) x y | |
| rw [normalizedPairState_lowering Q p x.val y.val hQ hp (by omega) (by omega), | |
| normalizedPairState_eq_coefficients Q (p+1) hQ (by omega) x y] at he | |
| unfold ladder | |
| linear_combination he | |
| end Laughlin.Spin | |
| end OAI | |
Xet Storage Details
- Size:
- 3.55 kB
- Xet hash:
- dc69cd6854a72790f2ac727f599a52e8d2566a91147bdba9cc8940d55b427780
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.