Buckets:
| import OAI.Analysis.Laughlin.Spin.GenericNormalizedLadder | |
| namespace OAI | |
| namespace Laughlin.Spin | |
| open scoped BigOperators Matrix | |
| noncomputable def couplingArray (A B z : ℕ) : ℕ → ℕ → ℝ | |
| | 0, p => (-1 : ℝ)^z * highestUnit A B z p | |
| | n+1, p => | |
| ((if p=0 then 0 else ladder A (p-1)*couplingArray A B z n (p-1)) + | |
| (if p ≤ z+n then ladder B (z+n-p)*couplingArray A B z n p else 0)) / | |
| Real.sqrt (((n : ℝ)+1)*((genericCoupledWeight A B z : ℝ)-n)) | |
| theorem couplingArray_off (A B z n p : ℕ) (hp : z+n < p) : | |
| couplingArray A B z n p = 0 := by | |
| induction n generalizing p with | |
| | zero => | |
| simp only [couplingArray,highestUnit,highestRaw] | |
| rw [ite_eq_right (by omega)]; simp | |
| | succ n ih => | |
| simp only [couplingArray] | |
| rw [ite_eq_right (by omega : p ≠ 0),ite_eq_right (by omega : ¬ p ≤ z+n),ih (p-1) (by omega)] | |
| simp | |
| theorem couplingArray_physical (A B z n : ℕ) (hA : z ≤ A) (hB : z ≤ B) | |
| (hTA : z+n ≤ A) (hTB : z+n ≤ B) (i : SpinIndex A B) (hi : i.1.val+i.2.val=z+n) : | |
| (-1 : ℝ)^z * genericUnitDescendant A B z hA hB n i = couplingArray A B z n i.1.val := by | |
| induction n generalizing i with | |
| | zero => | |
| rw [genericUnitDescendant_zero] | |
| let p : Fin (z+1) := ⟨i.1.val,by omega⟩ | |
| have he : i = weightSliceIndex A B z hA hB p := by | |
| apply Prod.ext | |
| · rfl | |
| · apply Fin.ext; dsimp [weightSliceIndex,p]; omega | |
| rw [he] | |
| change (-1 : ℝ)^z * extendWeightSlice A B z hA hB (fun q => highestUnit A B z q.val) | |
| (weightSliceIndex A B z hA hB p) = (-1 : ℝ)^z * highestUnit A B z p.val | |
| rw [extendWeightSlice_at] | |
| | succ n ih => | |
| have hn : n < genericCoupledWeight A B z := by unfold genericCoupledWeight; omega | |
| have hnreal : (n : ℝ) < genericCoupledWeight A B z := by exact_mod_cast hn | |
| have hd : Real.sqrt (((n : ℝ)+1)*((genericCoupledWeight A B z : ℝ)-n)) ≠ 0 := by positivity | |
| have he := congrFun (genericUnitDescendant_lowering A B z n hA hB hn) i | |
| change (∑ j, totalRaise A B j i * genericUnitDescendant A B z hA hB n j) = | |
| Real.sqrt (((n : ℝ)+1)*((genericCoupledWeight A B z : ℝ)-n))* | |
| genericUnitDescendant A B z hA hB (n+1) i at he | |
| rw [totalRaise_transpose_apply,raiseMatrix_column,raiseMatrix_column] at he | |
| have h1 : (-1 : ℝ)^z * | |
| (if h : 0 < i.1.val then genericUnitDescendant A B z hA hB n (⟨i.1.val-1,by omega⟩,i.2) * | |
| ladder A (i.1.val-1) else 0) = | |
| (if i.1.val=0 then 0 else ladder A (i.1.val-1)*couplingArray A B z n (i.1.val-1)) := by | |
| by_cases hp : 0 < i.1.val | |
| · rw [dite_eq_left hp,ite_eq_right (by omega : i.1.val ≠ 0)] | |
| have hh := ih (by omega) (by omega) (⟨i.1.val-1,by omega⟩,i.2) (by dsimp; omega) | |
| dsimp at hh | |
| rw [← hh]; ring | |
| · rw [dite_eq_right hp,ite_eq_left (by omega : i.1.val=0),mul_zero] | |
| have h2 : (-1 : ℝ)^z * | |
| (if h : 0 < i.2.val then genericUnitDescendant A B z hA hB n (i.1,⟨i.2.val-1,by omega⟩) * | |
| ladder B (i.2.val-1) else 0) = | |
| (if i.1.val ≤ z+n then ladder B (z+n-i.1.val)*couplingArray A B z n i.1.val else 0) := by | |
| by_cases hp : 0 < i.2.val | |
| · rw [dite_eq_left hp,ite_eq_left (by omega : i.1.val ≤ z+n)] | |
| have hh := ih (by omega) (by omega) (i.1,⟨i.2.val-1,by omega⟩) (by dsimp; omega) | |
| dsimp at hh | |
| have hl : ladder B (i.2.val-1) = ladder B (z+n-i.1.val) := congrArg (ladder B) (by omega) | |
| rw [← hh,hl]; ring | |
| · rw [dite_eq_right hp,ite_eq_right (by omega : ¬ i.1.val ≤ z+n),mul_zero] | |
| change _ = (_ + _) / _ | |
| apply (eq_div_iff hd).mpr | |
| linear_combination h1+h2-(-1 : ℝ)^z*he | |
| end Laughlin.Spin | |
| end OAI | |
Xet Storage Details
- Size:
- 3.7 kB
- Xet hash:
- c4b8d72ea3703441c82af026664d9c0cbf3508f0c04ad381cb4bd632bf4e9427
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.