Download data/lean/OAI/Probability/ClassicalON/FamilyKernel.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.63 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/ClassicalON/FamilyKernel.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/ClassicalON/FamilyKernel.lean
-
curl -L -o FamilyKernel.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/ClassicalON/FamilyKernel.lean
4.63 kB
| import OAI.Probability.ClassicalON.ObservableBounds | |
| namespace OAI | |
| universe uE uI uV uΞ© | |
| noncomputable section | |
| open MeasureTheory | |
| open scoped BigOperators InnerProductSpace ComplexConjugate | |
| namespace ClassicalON | |
| variable {I : Type uI} {E : Type uE} [Fintype I] [Fintype E] | |
| def familyKernel (u : I β E β β) (e l : E) : β := β i, u i e * conj (u i l) | |
| def rowSquare (u : I β E β β) (e : E) : β := β l, βfamilyKernel u e lβ^2 | |
| def familyHSSquare (u : I β E β β) : β := β e, rowSquare u e | |
| omit [Fintype E] in | |
| @[simp] theorem familyKernel_conj (u : I β E β β) (e l : E) : | |
| familyKernel (fun i e => conj (u i e)) e l = conj (familyKernel u e l) := by | |
| simp [familyKernel] | |
| theorem rowSquare_nonneg (u : I β E β β) (e : E) : 0 β€ rowSquare u e := | |
| Finset.sum_nonneg fun _ _ => sq_nonneg _ | |
| theorem familyHSSquare_nonneg (u : I β E β β) : 0 β€ familyHSSquare u := | |
| Finset.sum_nonneg fun e _ => rowSquare_nonneg u e | |
| theorem kernel_diag_sq_le_row (u : I β E β β) (e : E) : | |
| βfamilyKernel u e eβ^2 β€ rowSquare u e := | |
| Finset.single_le_sum (fun l _ => sq_nonneg βfamilyKernel u e lβ) (Finset.mem_univ e) | |
| theorem kernel_diag_norm_le_sqrt (u : I β E β β) (e : E) : | |
| βfamilyKernel u e eβ β€ Real.sqrt (rowSquare u e) := | |
| Real.le_sqrt_of_sq_le (kernel_diag_sq_le_row u e) | |
| namespace SpinSystem | |
| variable {n : β} {V : Type uV} [Fintype V] | |
| omit [Fintype V] [Fintype I] in | |
| def coefficientObservable (S : SpinSystem n V E) (M : SpinOperator n) (e : E) : | |
| C((V β Spin n), β) := β¨fun Ο => (S.localCoefficient M Ο e : β), by | |
| unfold localCoefficient | |
| fun_propβ© | |
| omit [Fintype V] [Fintype I] in | |
| def currentObservable (S : SpinSystem n V E) (M : SpinOperator n) (u : E β β) : | |
| C((V β Spin n), β) := β¨_, S.continuous_complexEnergy M uβ© | |
| omit [Fintype V] [Fintype I] [Fintype E] in | |
| def conjugateObservable {Ξ© : Type uΞ©} [TopologicalSpace Ξ©] (f : C(Ξ©, β)) : C(Ξ©, β) := | |
| β¨fun Ο => conj (f Ο), Complex.continuous_conj.comp f.continuousβ© | |
| omit [Fintype V] [Fintype I] [Fintype E] in | |
| @[simp] theorem conjugateObservable_apply {Ξ© : Type uΞ©} [TopologicalSpace Ξ©] | |
| (f : C(Ξ©, β)) (Ο : Ξ©) : conjugateObservable f Ο = conj (f Ο) := rfl | |
| omit [Fintype V] [Fintype I] [Fintype E] in | |
| @[simp] theorem normObservable_conjugate {Ξ© : Type uΞ©} [TopologicalSpace Ξ©] | |
| (f : C(Ξ©, β)) : normObservable (conjugateObservable f) = normObservable f := by | |
| ext Ο | |
| exact Complex.norm_conj (f Ο) | |
| omit [Fintype V] [Fintype I] in | |
| @[simp] theorem currentObservable_conj (S : SpinSystem n V E) (M : SpinOperator n) | |
| (u : E β β) : S.currentObservable M (fun e => conj (u e)) = | |
| conjugateObservable (S.currentObservable M u) := by | |
| ext Ο | |
| exact S.complexEnergy_conj M u Ο | |
| omit [Fintype V] [Fintype I] [Fintype E] in | |
| @[simp] theorem coefficientObservable_conj (S : SpinSystem n V E) (M : SpinOperator n) | |
| (e : E) : conjugateObservable (S.coefficientObservable M e) = | |
| S.coefficientObservable M e := by | |
| ext Ο | |
| exact Complex.conj_ofReal _ | |
| omit [Fintype V] [Fintype E] in | |
| theorem familyKernel_differential (S : SpinSystem n V E) (f : I β V β β) (e : E) : | |
| familyKernel (fun i => S.differential (f i)) e = | |
| S.differential (fun x => β i, S.differential (f i) e * conj (f i x)) := by | |
| funext l | |
| simp only [familyKernel, differential, map_sub, mul_sub, Finset.sum_sub_distrib] | |
| theorem row_current_moment [NeZero n] (S : SpinSystem n V E) (Ξ² : β) | |
| (hb : β e, 0 β€ S.strength e β§ S.strength e β€ Ξ²) | |
| (M : SpinOperator n) (hM : M β skewAdjoint (SpinOperator n)) (hMn : βMβ β€ 1) | |
| (f : I β V β β) (hP : β i x s, S.pin x = some s β f i x = 0) (e : E) : | |
| S.averageLinear (normObservable (S.currentObservable M | |
| (familyKernel (fun i => S.differential (f i)) e)) * | |
| normObservable (S.currentObservable M | |
| (familyKernel (fun i => S.differential (f i)) e))) β€ | |
| Ξ² * rowSquare (fun i => S.differential (f i)) e := by | |
| have hp : β x s, S.pin x = some s β | |
| (β i, S.differential (f i) e * conj (f i x)) = 0 := by | |
| intro x s hs | |
| simp [hP _ x s hs] | |
| have h := S.complex_gradient_current_bound Ξ² hb M hM hMn | |
| (fun x => β i, S.differential (f i) e * conj (f i x)) hp | |
| rw [β S.familyKernel_differential f e] at h | |
| change S.average (fun Ο => | |
| βS.complexEnergy M (familyKernel (fun i => S.differential (f i)) e) Οβ * | |
| βS.complexEnergy M (familyKernel (fun i => S.differential (f i)) e) Οβ) β€ _ | |
| simpa only [rowSquare, pow_two] using h | |
| end SpinSystem | |
| end ClassicalON | |
| end | |
| end OAI | |