Exact Lean source
WeylGaussianThermal
formalization/Cloning/WeylGaussianThermal.lean
Source hash: 8b29f1c930404c266355b3cb3407be1f79f9af6790ed05fa98549f11a18aa45c
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
theorem
Cloning.ComplexCoherent.integral_complex_gaussian_linear_scaledtheorem Cloning.ComplexCoherent.integrable_complex_gaussian_linear_scaledtheorem Cloning.ComplexCoherent.coherentProjector_characteristictheorem Cloning.ComplexCoherent.integral_gaussianDensity_phasetheorem Cloning.ComplexCoherent.gaussianMixture_characteristictheorem Cloning.ComplexCoherent.integral_gaussianMeasure_phasetheorem Cloning.ComplexCoherent.thermal_characteristic1import Cloning.WeylIrreducibleGaussian
2import Cloning.WeylIrreducible
3import Cloning.HeisenbergDualContinuity
4import Cloning.CoherentGaussianMixture
5
6/-! Exact Gaussian Fourier identities for the actual thermal states and Weyl
7operators. These are the operator-to-scalar bridge for a direct Gaussian moment
8bound based on quantum positive-definiteness. -/
9
10noncomputable section
11open MeasureTheory
12open scoped InnerProductSpace Topology BigOperators ComplexOrder
13namespace Cloning.ComplexCoherent
14open Cloning.InfiniteTraceClass Cloning.CoherentGaussianMixture
15set_option backward.isDefEq.respectTransparency false
16set_option maxHeartbeats 1600000
17
18theorem integral_complex_gaussian_linear_scaled {t : ℝ} (ht : 0 < t) (u v : ℂ) :
19 (∫ a : ℂ, Complex.exp (-(t : ℂ) * ((‖a‖ ^ 2 : ℝ) : ℂ) +
20 u * a + v * starRingEnd ℂ a)) =
21 ((Real.pi / t : ℝ) : ℂ) * Complex.exp (u * v / (t : ℂ)) := by
22 rw [← (Complex.volume_preserving_equiv_pi.symm).integral_comp
23 Complex.measurableEquivPi.symm.measurableEmbedding]
24 have he (x : Fin 2 → ℝ) :
25 -(t : ℂ) * ((‖Complex.measurableEquivPi.symm x‖ ^ 2 : ℝ) : ℂ) +
26 u * Complex.measurableEquivPi.symm x + v * starRingEnd ℂ (Complex.measurableEquivPi.symm x) =
27 -(t : ℂ) * (∑ i : Fin 2, (x i : ℂ) ^ 2) +
28 ∑ i : Fin 2, (![u + v, Complex.I * (u - v)] i) * x i := by
29 rw [norm_sq_cast', Complex.measurableEquivPi_symm_apply]
30 simp only [Fin.sum_univ_two, Matrix.cons_val_zero, Matrix.cons_val_one,
31 map_add, map_mul, Complex.conj_ofReal, Complex.conj_I]
32 ring_nf
33 simp [Complex.I_sq]
34 ring
35 simp_rw [he]
36 rw [GaussianFourier.integral_cexp_neg_mul_sum_add (by simpa using ht : 0 < (t : ℂ).re)]
37 simp only [Fintype.card_fin, Fin.sum_univ_two, Matrix.cons_val_zero,
38 Matrix.cons_val_one, Complex.ofReal_div]
39 have htC : (t : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr ht.ne'
40 have hsq : ((u + v) ^ 2 + (Complex.I * (u - v)) ^ 2) / (4 * (t : ℂ)) =
41 u * v / (t : ℂ) := by
42 rw [mul_pow, Complex.I_sq]
43 field_simp
44 <;> ring
45 rw [hsq]
46 congr 1
47 norm_num
48
49theorem integrable_complex_gaussian_linear_scaled {t : ℝ} (ht : 0 < t) (u v : ℂ) :
50 Integrable (fun a : ℂ => Complex.exp (-(t : ℂ) * ((‖a‖ ^ 2 : ℝ) : ℂ) +
51 u * a + v * starRingEnd ℂ a)) := by
52 rw [← (Complex.volume_preserving_equiv_pi.symm).integrable_comp_emb
53 Complex.measurableEquivPi.symm.measurableEmbedding]
54 have he (x : Fin 2 → ℝ) :
55 -(t : ℂ) * ((‖Complex.measurableEquivPi.symm x‖ ^ 2 : ℝ) : ℂ) +
56 u * Complex.measurableEquivPi.symm x + v * starRingEnd ℂ (Complex.measurableEquivPi.symm x) =
57 -(t : ℂ) * (∑ i : Fin 2, (x i : ℂ) ^ 2) +
58 ∑ i : Fin 2, (![u + v, Complex.I * (u - v)] i) * x i := by
59 rw [norm_sq_cast', Complex.measurableEquivPi_symm_apply]
60 simp only [Fin.sum_univ_two, Matrix.cons_val_zero, Matrix.cons_val_one,
61 map_add, map_mul, Complex.conj_ofReal, Complex.conj_I]
62 ring_nf
63 simp [Complex.I_sq]
64 ring
65 change Integrable (fun x : Fin 2 → ℝ => Complex.exp
66 (-(t : ℂ) * ((‖Complex.measurableEquivPi.symm x‖ ^ 2 : ℝ) : ℂ) +
67 u * Complex.measurableEquivPi.symm x + v * starRingEnd ℂ (Complex.measurableEquivPi.symm x)))
68 simp_rw [he]
69 exact GaussianFourier.integrable_cexp_neg_mul_sum_add
70 (by simpa using ht : 0 < (t : ℂ).re) (![u + v, Complex.I * (u - v)])
71
72theorem coherentProjector_characteristic (z a : ℂ) :
73 tracePairing (coherentProjector z) (displacement a) =
74 Complex.exp (-((‖a‖ ^ 2 / 2 : ℝ) : ℂ) +
75 a * starRingEnd ℂ z - starRingEnd ℂ a * z) := by
76 change tracePairing (rankOneOperator (coherentVector z) (coherentVector z)) (displacement a) = _
77 rw [tracePairing_rankOneOperator, displacement_coherentVector, inner_smul_right,
78 inner_coherentVector]
79 unfold displacementPhase
80 rw [← Complex.exp_add]
81 congr 1
82 push_cast
83 simp only [norm_sq_cast, map_add]
84 ring
85
86/-- Fourier transform of the actual circular Gaussian amplitude law. -/
87theorem integral_gaussianDensity_phase {s : ℝ} (hs : 0 < s) (a : ℂ) :
88 (∫ z : ℂ, (gaussianDensity s z : ℂ) *
89 Complex.exp (a * starRingEnd ℂ z - starRingEnd ℂ a * z)) =
90 Complex.exp (-((s * ‖a‖ ^ 2 : ℝ) : ℂ)) := by
91 have he (z : ℂ) : (gaussianDensity s z : ℂ) *
92 Complex.exp (a * starRingEnd ℂ z - starRingEnd ℂ a * z) =
93 (1 / ((Real.pi * s : ℝ) : ℂ)) *
94 Complex.exp (-((1 / s : ℝ) : ℂ) * ((‖z‖ ^ 2 : ℝ) : ℂ) +
95 (-starRingEnd ℂ a) * z + a * starRingEnd ℂ z) := by
96 have hexp :
97 Complex.exp (-((1 / s : ℝ) : ℂ) * ((‖z‖ ^ 2 : ℝ) : ℂ) +
98 (-starRingEnd ℂ a) * z + a * starRingEnd ℂ z) =
99 Complex.exp (((-‖z‖ ^ 2 / s : ℝ) : ℂ)) *
100 Complex.exp (a * starRingEnd ℂ z - starRingEnd ℂ a * z) := by
101 rw [← Complex.exp_add]
102 congr 1
103 push_cast
104 ring
105 rw [hexp]
106 simp only [gaussianDensity, Complex.ofReal_div, Complex.ofReal_exp,
107 Complex.ofReal_mul]
108 ring
109
110 simp_rw [he]
111 rw [integral_const_mul, integral_complex_gaussian_linear_scaled (one_div_pos.mpr hs)]
112 have hcoeff : (1 / ((Real.pi * s : ℝ) : ℂ)) * ((Real.pi / (1 / s) : ℝ) : ℂ) = 1 := by
113 push_cast
114 field_simp
115 rw [← mul_assoc, hcoeff, one_mul]
116 congr 1
117 push_cast
118 rw [norm_sq_cast]
119 field_simp
120 <;> ring
121
122/-- The characteristic function of the genuine one-mode thermal operator,
123with the mean occupation parameter `s`. -/
124theorem gaussianMixture_characteristic {s : ℝ} (hs : 0 < s) (a : ℂ) :
125 tracePairing (gaussianMixture s) (displacement a) =
126 Complex.exp (-(((s + 1 / 2) * ‖a‖ ^ 2 : ℝ) : ℂ)) := by
127 have h := (tracePairingCLM.flip (displacement a)).integral_comp_comm
128 (integrable_weighted_projector hs)
129 change (∫ z : ℂ, tracePairing (gaussianDensity s z • coherentProjector z) (displacement a)) =
130 tracePairing (gaussianMixture s) (displacement a) at h
131 rw [← h]
132 have he (z : ℂ) : tracePairing (gaussianDensity s z • coherentProjector z) (displacement a) =
133 Complex.exp (-((‖a‖ ^ 2 / 2 : ℝ) : ℂ)) *
134 ((gaussianDensity s z : ℂ) *
135 Complex.exp (a * starRingEnd ℂ z - starRingEnd ℂ a * z)) := by
136 rw [show gaussianDensity s z • coherentProjector z =
137 (gaussianDensity s z : ℂ) • coherentProjector z by rw [Complex.coe_smul]]
138 change tracePairingCLM ((gaussianDensity s z : ℂ) • coherentProjector z) (displacement a) = _
139 rw [map_smul, ContinuousLinearMap.smul_apply, tracePairingCLM_apply,
140 coherentProjector_characteristic]
141 simp only [smul_eq_mul]
142 rw [show -((‖a‖ ^ 2 / 2 : ℝ) : ℂ) + a * starRingEnd ℂ z - starRingEnd ℂ a * z =
143 -((‖a‖ ^ 2 / 2 : ℝ) : ℂ) + (a * starRingEnd ℂ z - starRingEnd ℂ a * z) by ring,
144 Complex.exp_add]
145 ring
146 simp_rw [he]
147 rw [integral_const_mul, integral_gaussianDensity_phase hs, ← Complex.exp_add]
148 congr 1
149 push_cast
150 ring
151
152theorem integral_gaussianMeasure_phase {s : ℝ} (hs : 0 < s) (a : ℂ) :
153 (∫ z : ℂ, Complex.exp (a * starRingEnd ℂ z - starRingEnd ℂ a * z)
154 ∂gaussianMeasure s) = Complex.exp (-((s * ‖a‖ ^ 2 : ℝ) : ℂ)) := by
155 rw [gaussianMeasure, integral_withDensity_eq_integral_toReal_smul
156 ((continuous_gaussianDensity s).measurable.ennreal_ofReal)
157 (Filter.Eventually.of_forall (fun _ => ENNReal.ofReal_lt_top))]
158 simp_rw [ENNReal.toReal_ofReal (gaussianDensity_pos hs _).le, Complex.real_smul]
159 exact integral_gaussianDensity_phase hs a
160
161theorem thermal_characteristic {q : ℝ} (hq0 : 0 < q) (hq1 : q < 1) (a : ℂ) :
162 tracePairing (vectorMixture numberBasis (Cloning.Thermal.geometric q)) (displacement a) =
163 Complex.exp (-((((1 + q) / (2 * (1 - q))) * ‖a‖ ^ 2 : ℝ) : ℂ)) := by
164 have hs : 0 < q / (1 - q) := div_pos hq0 (sub_pos.mpr hq1)
165 have hden : 1 - q ≠ 0 := (sub_pos.mpr hq1).ne'
166 have hq : (q / (1 - q)) / (1 + q / (1 - q)) = q := by
167 field_simp [hden]
168 <;> ring
169 have hm := gaussianMixture_eq_thermal hs
170 rw [hq] at hm
171 rw [← hm, gaussianMixture_characteristic hs]
172 have hc : q / (1 - q) + 1 / 2 = (1 + q) / (2 * (1 - q)) := by
173 field_simp
174 <;> ring
175 rw [hc]
176
177end Cloning.ComplexCoherent