Download data/lean/OAI/MathematicalPhysics/BFSS/FrequencySpectrum.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.47 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/BFSS/FrequencySpectrum.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MathematicalPhysics/BFSS/FrequencySpectrum.lean
-
curl -L -o FrequencySpectrum.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/BFSS/FrequencySpectrum.lean
4.47 kB
| import Mathlib | |
| import OAI.MathematicalPhysics.BFSS.FrequencyComparison | |
| namespace OAI | |
| /-! Complex frequency eigenmodes and nonvanishing eigenvalues. -/ | |
| namespace BFSSQuantum.AlgebraData | |
| noncomputable section | |
| open Matrix Finset | |
| open scoped ComplexConjugate | |
| variable {N : β} | |
| def complexFrequency (K : FrequencyMatrix N) : | |
| Matrix (FrequencyIndex N) (FrequencyIndex N) β := | |
| fun r s => Complex.I*(K r s : β) | |
| lemma complexFrequency_hermitian (K : FrequencyMatrix N) (hK : K.transpose = -K) : | |
| (complexFrequency K).IsHermitian := by | |
| have hn (r s : FrequencyIndex N) : K s r = -K r s := | |
| congrArg (fun A : FrequencyMatrix N => A r s) hK | |
| ext r s | |
| change conj (Complex.I*(K s r : β)) = Complex.I*(K r s : β) | |
| rw [map_mul,Complex.conj_I,Complex.conj_ofReal,hn,Complex.ofReal_neg] | |
| ring | |
| lemma complexFrequency_eigenmode (K : FrequencyMatrix N) (hK : K.transpose = -K) | |
| (j : FrequencyIndex N) (r : FrequencyIndex N) : | |
| Complex.I*(β s, (K r s : β)* | |
| ((complexFrequency_hermitian K hK).eigenvectorBasis j s)) = | |
| ((complexFrequency_hermitian K hK).eigenvalues j : β)* | |
| ((complexFrequency_hermitian K hK).eigenvectorBasis j r) := by | |
| have h := congrFun ((complexFrequency_hermitian K hK).mulVec_eigenvectorBasis j) r | |
| simpa only [Matrix.mulVec,dotProduct,complexFrequency,Pi.smul_apply, | |
| Complex.real_smul,mul_assoc,Finset.mul_sum] using h | |
| lemma complexFrequency_conjugate_mode (K : FrequencyMatrix N) (v : FrequencyIndex N β β) | |
| (Ο : β) (hv : β r, Complex.I*(β s, (K r s : β)*v s) = (Ο : β)*v r) : | |
| β r, Complex.I*(β s, (K r s : β)*conj (v s)) = ((-Ο : β) : β)*conj (v r) := by | |
| intro r | |
| have h := congrArg conj (hv r) | |
| simp only [map_mul,map_sum,Complex.conj_I,Complex.conj_ofReal] at h | |
| rw [Complex.ofReal_neg] | |
| linear_combination -h | |
| variable (M : AlgebraData N) | |
| theorem normal_frequency_complex_kernel (q : Boson N) | |
| (hq : M.deformedBosonicPotential 1 1 q = 0) (v : FrequencyIndex N β β) | |
| (hv : β r, Complex.I*(β s, (M.normalFermionFrequency q r s : β)*v s) = 0) : v = 0 := by | |
| have hz (r : FrequencyIndex N) : | |
| (β s, (M.normalFermionFrequency q r s : β)*v s) = 0 := | |
| (mul_eq_zero.mp (hv r)).resolve_left Complex.I_ne_zero | |
| let vr : EuclideanSpace β (FrequencyIndex N) := WithLp.toLp 2 (fun r => (v r).re) | |
| let vi : EuclideanSpace β (FrequencyIndex N) := WithLp.toLp 2 (fun r => (v r).im) | |
| have hr : BFSSSpinHalf.eucAlg (M.normalFermionFrequency q) vr = 0 := by | |
| apply PiLp.ext | |
| intro r | |
| have h := congrArg Complex.re (hz r) | |
| simpa only [BFSSSpinHalf.eucAlg_eq,Matrix.toLpLin_apply,Matrix.mulVec, | |
| dotProduct,vr,PiLp.zero_apply,Complex.re_sum, | |
| Complex.mul_re,Complex.ofReal_re,Complex.ofReal_im,zero_mul,sub_zero, | |
| Complex.zero_re] using h | |
| have hi : BFSSSpinHalf.eucAlg (M.normalFermionFrequency q) vi = 0 := by | |
| apply PiLp.ext | |
| intro r | |
| have h := congrArg Complex.im (hz r) | |
| simpa only [BFSSSpinHalf.eucAlg_eq,Matrix.toLpLin_apply,Matrix.mulVec, | |
| dotProduct,vi,PiLp.zero_apply,Complex.im_sum, | |
| Complex.mul_im,Complex.ofReal_re,Complex.ofReal_im,zero_mul,add_zero, | |
| Complex.zero_im] using h | |
| have hvr := M.normalFermionFrequency_trivial_kernel q hq vr hr | |
| have hvi := M.normalFermionFrequency_trivial_kernel q hq vi hi | |
| funext r | |
| apply Complex.ext | |
| Β· exact congrArg (fun w : EuclideanSpace β (FrequencyIndex N) => w r) hvr | |
| Β· exact congrArg (fun w : EuclideanSpace β (FrequencyIndex N) => w r) hvi | |
| theorem normal_frequency_eigenvalues_ne_zero (q : Boson N) | |
| (hq : M.deformedBosonicPotential 1 1 q = 0) (j : FrequencyIndex N) : | |
| (complexFrequency_hermitian (M.normalFermionFrequency q) | |
| (M.normalFermionFrequency_skew q)).eigenvalues j β 0 := by | |
| intro hz | |
| have hH := complexFrequency_hermitian (M.normalFermionFrequency q) | |
| (M.normalFermionFrequency_skew q) | |
| have hm := complexFrequency_eigenmode (M.normalFermionFrequency q) | |
| (M.normalFermionFrequency_skew q) j | |
| have hm0 (r : FrequencyIndex N) : | |
| Complex.I*(β s, (M.normalFermionFrequency q r s : β)*(hH.eigenvectorBasis j s)) = 0 := by | |
| have h := hm r | |
| rw [hz] at h | |
| simpa only [Complex.ofReal_zero,zero_mul] using h | |
| have hb := M.normal_frequency_complex_kernel q hq (hH.eigenvectorBasis j) hm0 | |
| have he : hH.eigenvectorBasis j = 0 := by | |
| apply PiLp.ext | |
| exact congrFun hb | |
| exact (hH.eigenvectorBasis.toBasis.ne_zero j) he | |
| end | |
| end BFSSQuantum.AlgebraData | |
| end OAI | |