Buckets:
| import OAI.Analysis.Laughlin.Spin.OscillatorHighest | |
| namespace OAI | |
| namespace Laughlin.Spin | |
| open scoped BigOperators | |
| noncomputable def oscillatorRelativeNorm (t : ℝ) (z : ℕ) : ℝ := | |
| Real.sqrt (∑ p ∈ Finset.range (z+1), (oscillatorRelative t z p)^2) | |
| theorem oscillatorRelativeNorm_pos (t : ℝ) (z : ℕ) : 0 < oscillatorRelativeNorm t z := by | |
| apply Real.sqrt_pos.mpr | |
| apply Finset.sum_pos' | |
| · intro p hp; exact sq_nonneg _ | |
| · refine ⟨0,Finset.mem_range.mpr (by omega),?_⟩ | |
| rw [oscillatorRelative_zero]; norm_num | |
| theorem oscillatorRelativeNorm_scale (u v : ℝ) (hv : 0 < v) (huv : u^2+v^2=1) (z : ℕ) : | |
| v^z * oscillatorRelativeNorm (u/v) z = 1 := by | |
| have hvz : 0 < v^z := pow_pos hv z | |
| have he : (v^z)^2 * ∑ p ∈ Finset.range (z+1), (oscillatorRelative (u/v) z p)^2 = 1 := by | |
| rw [Finset.mul_sum,← oscillatorHighest_norm u v huv z] | |
| apply Finset.sum_congr rfl | |
| intro p hp | |
| have hh := congrArg (fun x : ℝ => x^2) | |
| (oscillatorHighest_relative u v (ne_of_gt hv) z p (by have := Finset.mem_range.mp hp; omega)) | |
| have hsign : ((-1 : ℝ)^z)^2 = 1 := by rw [← pow_mul,mul_comm _ 2,pow_mul]; norm_num | |
| simp only [mul_pow,hsign,one_mul] at hh | |
| nlinarith only [hh] | |
| have hs : (oscillatorRelativeNorm (u/v) z)^2 = | |
| ∑ p ∈ Finset.range (z+1), (oscillatorRelative (u/v) z p)^2 := | |
| Real.sq_sqrt (Finset.sum_nonneg (fun _ _ => sq_nonneg _)) | |
| have hn := oscillatorRelativeNorm_pos (u/v) z | |
| have hproduct : 0 < v^z*oscillatorRelativeNorm (u/v) z := mul_pos hvz hn | |
| rw [← hs] at he | |
| nlinarith only [he,hproduct] | |
| theorem oscillatorHighest_from_relative (u v : ℝ) (hv : 0 < v) (huv : u^2+v^2=1) | |
| (z p : ℕ) (hp : p ≤ z) : | |
| (-1 : ℝ)^z * (oscillatorRelative (u/v) z p / oscillatorRelativeNorm (u/v) z) = | |
| oscillatorHighest u v z p := by | |
| have hs := oscillatorRelativeNorm_scale u v hv huv z | |
| have hn := ne_of_gt (oscillatorRelativeNorm_pos (u/v) z) | |
| have he := oscillatorHighest_relative u v (ne_of_gt hv) z p hp | |
| have hvz : v^z = 1 / oscillatorRelativeNorm (u/v) z := (eq_div_iff hn).mpr hs | |
| calc | |
| _ = (-1 : ℝ)^z * oscillatorRelative (u/v) z p * v^z := by rw [hvz]; ring | |
| _ = _ := he | |
| end Laughlin.Spin | |
| end OAI | |
Xet Storage Details
- Size:
- 2.21 kB
- Xet hash:
- 246bb5f08ee23eadaab3bae1f6f988b2e5c3fa9d1876302bd6467fe8e0df8f82
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.