Exact Lean source
TensorCartanStateThermalFidelity
formalization/Cloning/TensorCartanStateThermalFidelity.lean
Source hash: d435939a6e6675146518beafb7de9fa0a478eb770598f405c8be4d0ff097c485
Full source copied without mathematical changes from the snapshot whose input hash matches the passing audit. Select a line number for a stable source pointer.
The declarations belong to the compiled inventory covered by the project’s shared axiom audit. That audit records an aggregate union, without attributing axioms to individual declarations.
Declarations in this module
definition
Cloning.TensorLie.cartanThermalPositivedefinition Cloning.TensorLie.rootThermalPositivetheorem Cloning.TensorLie.cartanThermalPositive_normtheorem Cloning.TensorLie.rootThermalPositive_normtheorem Cloning.TensorLie.cartanThermalOutput_cutoff_coefficienttheorem Cloning.TensorLie.rootThermalState_cutoff_coefficienttheorem Cloning.TensorLie.cartanThermalOutput_cutoff_mass_tendstotheorem Cloning.TensorLie.rootThermalState_cutoff_mass_tendstotheorem Cloning.TensorLie.cartanThermalPositive_rootFidelity1import Cloning.TensorCartanStateThermal
2import Cloning.InfiniteFidelityCornerLimit
3
4/-! The actual amplified thermal target has exhaustive finite corners and the
5claimed product root fidelity. -/
6noncomputable section
7open scoped BigOperators ComplexOrder InnerProductSpace Topology
8open Filter
9namespace Cloning.TensorLie
10open Cloning.TensorLAN Cloning.InfiniteTraceClass Cloning.InfiniteFidelity Cloning.Hybrid
11open Cloning.InfiniteFidelityCorner Cloning.InfiniteFiniteCorner
12set_option maxHeartbeats 1000000
13set_option backward.isDefEq.respectTransparency false
14variable {d : ℕ}
15
16def cartanThermalPositive (t q : PositiveRoot d → ℝ)
17 (ht0 : ∀ a, 0 < t a) (ht1 : ∀ a, t a ≤ 1)
18 (hq0 : ∀ a, 0 ≤ q a) (hq1 : ∀ a, q a < 1) : PositiveTraceClass (RootFock d) :=
19 ⟨cartanThermalOutput t q, cartanThermalOutput_nonneg t q ht0 ht1 hq0 hq1⟩
20
21def rootThermalPositive (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (hord : StrictAnti p) :
22 PositiveTraceClass (RootFock d) := ⟨rootThermalState p, rootThermalState_nonneg p hp hord⟩
23
24theorem cartanThermalPositive_norm (t q : PositiveRoot d → ℝ)
25 (ht0 : ∀ a, 0 < t a) (ht1 : ∀ a, t a ≤ 1)
26 (hq0 : ∀ a, 0 ≤ q a) (hq1 : ∀ a, q a < 1) :
27 ‖(cartanThermalPositive t q ht0 ht1 hq0 hq1).1‖ = 1 := by
28 rw [TraceClass.norm_eq_trace_re_of_nonneg _ (cartanThermalPositive t q ht0 ht1 hq0 hq1).2]
29 change (traceCLM (cartanThermalOutput t q)).re = 1
30 rw [cartanThermalOutput_trace t q ht0 ht1 hq0 hq1]
31 rfl
32
33theorem rootThermalPositive_norm (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (hord : StrictAnti p) :
34 ‖(rootThermalPositive p hp hord).1‖ = 1 := by
35 rw [TraceClass.norm_eq_trace_re_of_nonneg _ (rootThermalPositive p hp hord).2]
36 change (traceCLM (rootThermalState p)).re = 1
37 rw [rootThermalState_trace p hp hord]
38 rfl
39
40theorem cartanThermalOutput_cutoff_coefficient (t q : PositiveRoot d → ℝ)
41 (ht0 : ∀ a, 0 < t a) (ht1 : ∀ a, t a ≤ 1)
42 (hq0 : ∀ a, 0 ≤ q a) (hq1 : ∀ a, q a < 1) (R : ℕ) (i j : CutoffIndex d R) :
43 ⟪cutoffNumberFrame d R i, (cartanThermalOutput t q).1 (cutoffNumberFrame d R j)⟫_ℂ =
44 if i = j then (amplifiedOccupationWeight t q (cutoffOccupation d R i).val : ℂ) else 0 := by
45 change ⟪cutoffNumberFrame d R i,
46 (cartanThermalOutput t q).1 (rootNumberFrame d (cutoffOccupation d R j).val)⟫_ℂ = _
47 rw [cartanThermalOutput_eigen t q ht0 ht1 hq0 hq1]
48 change ⟪cutoffNumberFrame d R i, (_ : ℂ) • cutoffNumberFrame d R j⟫_ℂ = _
49 rw [inner_smul_right, orthonormal_iff_ite.mp (cutoffNumberFrame_orthonormal d R)]
50 split_ifs with h
51 · subst j; rw [mul_one]
52 · rw [mul_zero]
53
54theorem rootThermalState_cutoff_coefficient (p : Fin d → ℝ) (hp : ∀ a, 0 < p a)
55 (hord : StrictAnti p) (R : ℕ) (i j : CutoffIndex d R) :
56 ⟪cutoffNumberFrame d R i, (rootThermalState p).1 (cutoffNumberFrame d R j)⟫_ℂ =
57 if i = j then (bosonicOccupationWeight p (cutoffOccupation d R i).val : ℂ) else 0 := by
58 change ⟪cutoffNumberFrame d R i,
59 (rootThermalState p).1 (rootNumberFrame d (cutoffOccupation d R j).val)⟫_ℂ = _
60 rw [rootThermalState_eigen p hp hord]
61 change ⟪cutoffNumberFrame d R i, (_ : ℂ) • cutoffNumberFrame d R j⟫_ℂ = _
62 rw [inner_smul_right, orthonormal_iff_ite.mp (cutoffNumberFrame_orthonormal d R)]
63 split_ifs with h
64 · subst j; rw [mul_one]
65 · rw [mul_zero]
66
67theorem cartanThermalOutput_cutoff_mass_tendsto (t q : PositiveRoot d → ℝ)
68 (ht0 : ∀ a, 0 < t a) (ht1 : ∀ a, t a ≤ 1)
69 (hq0 : ∀ a, 0 ≤ q a) (hq1 : ∀ a, q a < 1) :
70 Tendsto (fun R => mass (cutoffNumberFrame d R) (cartanThermalOutput t q)) atTop (𝓝 1) := by
71 have hs := heightOccupation_sum_tendsto (amplifiedOccupationWeight t q)
72 (amplifiedOccupationWeight_hasSum t q ht0 ht1 hq0 hq1).summable
73 rw [(amplifiedOccupationWeight_hasSum t q ht0 ht1 hq0 hq1).tsum_eq] at hs
74 apply hs.congr
75 intro R
76 simp only [mass, Matrix.trace, Matrix.diag, matrixOf,
77 cartanThermalOutput_cutoff_coefficient t q ht0 ht1 hq0 hq1,
78 ↓reduceIte, Complex.re_sum, Complex.ofReal_re]
79 exact ((cutoffOccupation d R).sum_comp (fun k => amplifiedOccupationWeight t q k.val)).symm
80
81theorem rootThermalState_cutoff_mass_tendsto (p : Fin d → ℝ) (hp : ∀ a, 0 < p a)
82 (hord : StrictAnti p) :
83 Tendsto (fun R => mass (cutoffNumberFrame d R) (rootThermalState p)) atTop (𝓝 1) := by
84 have hs := heightOccupation_sum_tendsto (bosonicOccupationWeight p)
85 (bosonicOccupationWeight_hasSum p hp hord).summable
86 rw [(bosonicOccupationWeight_hasSum p hp hord).tsum_eq] at hs
87 apply hs.congr
88 intro R
89 simp only [mass, Matrix.trace, Matrix.diag, matrixOf,
90 rootThermalState_cutoff_coefficient p hp hord, ↓reduceIte, Complex.re_sum, Complex.ofReal_re]
91 exact ((cutoffOccupation d R).sum_comp (fun k => bosonicOccupationWeight p k.val)).symm
92
93theorem cartanThermalPositive_rootFidelity (t : PositiveRoot d → ℝ)
94 (ht0 : ∀ a, 0 < t a) (ht1 : ∀ a, t a ≤ 1)
95 (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (hord : StrictAnti p) :
96 (cartanThermalPositive t (rootBoltzmann p) ht0 ht1
97 (fun a => (div_pos (hp _) (hp _)).le) (rootBoltzmann_lt_one p hp hord)).rootFidelity
98 (rootThermalPositive p hp hord) =
99 ∏ a : PositiveRoot d, Cloning.Thermal.fidelity
100 (amplifiedRootParameter t (rootBoltzmann p) a) (rootBoltzmann p a) := by
101 have hf := Cloning.InfiniteDiagonalFidelity.stateFidelity_productGeometric
102 (MultimodeCoherentGaussianMixture.numberBasis (Fintype.card (PositiveRoot d)))
103 (amplifiedFockParameter t (rootBoltzmann p)) (rootThermalParameter p)
104 (fun i => amplifiedRootParameter_nonneg t (rootBoltzmann p) ht0 ht1
105 (fun a => (div_pos (hp _) (hp _)).le) _)
106 (fun i => amplifiedRootParameter_lt_one t (rootBoltzmann p) ht0
107 (rootBoltzmann_lt_one p hp hord) _)
108 (fun i => (div_pos (hp _) (hp _)).le)
109 (fun i => rootBoltzmann_lt_one p hp hord _)
110 have he := (Fintype.equivFin (PositiveRoot d)).symm.prod_comp
111 (fun a => Cloning.Thermal.fidelity (amplifiedRootParameter t (rootBoltzmann p) a)
112 (rootBoltzmann p a))
113 change _ = _ at hf
114 calc
115 _ = ∏ i, Cloning.Thermal.fidelity
116 (amplifiedFockParameter t (rootBoltzmann p) i) (rootThermalParameter p i) := by
117 simpa only [PositiveTraceClass.rootFidelity, cartanThermalPositive, rootThermalPositive,
118 cartanThermalOutput_eq_productGeometric, rootThermalState_eq_productGeometric,
119 stateFidelity, Cloning.InfiniteDiagonalFidelity.productGeometricState,
120 DensityState.vectorMixture] using hf
121 _ = _ := he
122
123end Cloning.TensorLie