Buckets:
| import Mathlib.Data.Nat.Choose.Sum | |
| import OAI.Analysis.Laughlin.Spin.RelativeHighest | |
| namespace OAI | |
| namespace Laughlin.Spin | |
| open scoped BigOperators | |
| noncomputable def oscillatorHighest (u v : ℝ) (z p : ℕ) : ℝ := | |
| (-1 : ℝ)^(z-p) * Real.sqrt (z.choose p : ℝ) * u^p * v^(z-p) | |
| noncomputable def oscillatorRelative (t : ℝ) (z p : ℕ) : ℝ := | |
| (-1 : ℝ)^p * Real.sqrt (z.choose p : ℝ) * t^p | |
| theorem oscillatorRelative_zero (t : ℝ) (z : ℕ) : | |
| oscillatorRelative t z 0 = 1 := by simp [oscillatorRelative] | |
| theorem sqrt_choose_ratio (z p : ℕ) (hp : p < z) : | |
| Real.sqrt (z.choose (p+1) : ℝ) = | |
| Real.sqrt ((z-p : ℕ)/(p+1 : ℝ)) * Real.sqrt (z.choose p : ℝ) := by | |
| rw [← Real.sqrt_mul (by positivity)] | |
| congr 1 | |
| have he := choose_step_real z p (by omega) | |
| apply (mul_left_cancel₀ (show (p+1 : ℝ) ≠ 0 by positivity)) | |
| field_simp | |
| nlinarith only [he] | |
| theorem oscillatorRelative_succ (b : ℝ) (hb : 0 ≤ b) (z p : ℕ) (hp : p < z) : | |
| oscillatorRelative (Real.sqrt (b/(1-b))) z (p+1) = | |
| -Real.sqrt ((((z-p : ℕ) : ℝ)*b)/(((p : ℝ)+1)*(1-b))) * | |
| oscillatorRelative (Real.sqrt (b/(1-b))) z p := by | |
| have he : (((z-p : ℕ) : ℝ)*b)/(((p : ℝ)+1)*(1-b)) = | |
| ((z-p : ℕ)/(p+1 : ℝ))*(b/(1-b)) := by rw [mul_div_mul_comm] | |
| rw [he,Real.sqrt_mul (by positivity),Real.sqrt_div hb] | |
| unfold oscillatorRelative | |
| rw [sqrt_choose_ratio z p hp,pow_succ,pow_succ] | |
| ring | |
| theorem oscillatorHighest_norm (u v : ℝ) (huv : u^2+v^2=1) (z : ℕ) : | |
| (∑ p ∈ Finset.range (z+1), (oscillatorHighest u v z p)^2) = 1 := by | |
| have hs := add_pow (u^2) (v^2) z | |
| rw [huv,one_pow] at hs | |
| apply Eq.trans ?_ hs.symm | |
| apply Finset.sum_congr rfl | |
| intro p hp | |
| unfold oscillatorHighest | |
| rw [mul_pow,mul_pow,mul_pow,Real.sq_sqrt (by positivity)] | |
| have hn : ((-1 : ℝ)^(z-p))^2 = 1 := by rw [← pow_mul,mul_comm _ 2,pow_mul]; norm_num | |
| rw [hn,one_mul] | |
| ring | |
| theorem oscillatorHighest_relative (u v : ℝ) (hv : v ≠ 0) (z p : ℕ) (hp : p ≤ z) : | |
| (-1 : ℝ)^z * oscillatorRelative (u/v) z p * v^z = oscillatorHighest u v z p := by | |
| have hz : z=p+(z-p) := by omega | |
| have hsign : (-1 : ℝ)^z*(-1 : ℝ)^p = (-1 : ℝ)^(z-p) := by | |
| conv_lhs => arg 1; rw [hz,pow_add] | |
| have he : ((-1 : ℝ)^p)^2 = 1 := by rw [← pow_mul,mul_comm _ 2,pow_mul]; norm_num | |
| calc | |
| _ = ((-1 : ℝ)^p)^2 * (-1 : ℝ)^(z-p) := by ring | |
| _ = _ := by rw [he,one_mul] | |
| unfold oscillatorRelative oscillatorHighest | |
| calc | |
| _ = ((-1 : ℝ)^z*(-1 : ℝ)^p)*Real.sqrt (z.choose p : ℝ)*u^p*(v^z/v^p) := by rw [div_pow]; ring | |
| _ = _ := by | |
| have hpows : v^z = v^p*v^(z-p) := by rw [← pow_add,← hz] | |
| rw [hsign,hpows]; field_simp | |
| end Laughlin.Spin | |
| end OAI | |
Xet Storage Details
- Size:
- 2.73 kB
- Xet hash:
- 0a10e1d1d9fbd2a5c380da5abf2a3b2da60da4981c1a0d74a59dbdad1d28ee5b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.