Exact Lean source
WeylThermalCharacteristic
formalization/Cloning/WeylThermalCharacteristic.lean
Source hash: 165cf6a825b3a743e62e66f635071e4317f40fa45d08acec4a0a7469f90bb6c9
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
1import Cloning.WeylGaussianThermal
2import Cloning.MultimodeCoherentGaussianMixture
3import Cloning.ThermalWitness
4
5/-! Characteristic functions of the actual finite-mode thermal operators,
6derived from their coherent Gaussian mixture identity. -/
7
8noncomputable section
9open MeasureTheory
10open scoped InnerProductSpace Topology BigOperators ComplexOrder
11open Cloning.InfiniteTraceClass
12
13namespace Cloning.ComplexCoherent
14open Cloning.CoherentGaussianMixture
15set_option backward.isDefEq.respectTransparency false
16
17theorem integral_coherent_characteristic_gaussian {s : ℝ} (hs : 0 < s) (a : ℂ) :
18 (∫ z : ℂ, tracePairing (coherentProjector z) (displacement a) ∂gaussianMeasure s) =
19 Complex.exp (-(((s + 1 / 2) * ‖a‖ ^ 2 : ℝ) : ℂ)) := by
20 simp_rw [coherentProjector_characteristic]
21 have he (z : ℂ) : -((‖a‖ ^ 2 / 2 : ℝ) : ℂ) +
22 a * starRingEnd ℂ z - starRingEnd ℂ a * z =
23 -((‖a‖ ^ 2 / 2 : ℝ) : ℂ) + (a * starRingEnd ℂ z - starRingEnd ℂ a * z) := by ring
24 simp_rw [he, Complex.exp_add]
25 rw [integral_const_mul, integral_gaussianMeasure_phase hs, ← Complex.exp_add]
26 congr 1
27 push_cast
28 ring
29
30end Cloning.ComplexCoherent
31
32namespace Cloning.MultimodeCoherent
33open Cloning.MultimodeCoherentGaussianMixture
34set_option backward.isDefEq.respectTransparency false
35set_option maxHeartbeats 1000000
36variable {d : ℕ}
37
38theorem coherentProjector_characteristic_product (z a : Fin d → ℂ) :
39 tracePairing (coherentProjector z) (displacement a) =
40 ∏ i, tracePairing (ComplexCoherent.coherentProjector (z i))
41 (ComplexCoherent.displacement (a i)) := by
42 change tracePairing (rankOneOperator (coherentVector z) (coherentVector z)) (displacement a) = _
43 rw [tracePairing_rankOneOperator, displacement_coherentVector, inner_smul_right,
44 inner_coherentVector]
45 simp only [displacementPhase, ← Finset.prod_mul_distrib]
46 apply Finset.prod_congr rfl
47 intro i _
48 change _ = tracePairing (rankOneOperator (ComplexCoherent.coherentVector (z i))
49 (ComplexCoherent.coherentVector (z i))) (ComplexCoherent.displacement (a i))
50 rw [tracePairing_rankOneOperator, ComplexCoherent.displacement_coherentVector,
51 inner_smul_right, ComplexCoherent.inner_coherentVector]
52 rfl
53
54theorem gaussianMixture_characteristic_product {s : Fin d → ℝ}
55 (hs : ∀ i, 0 < s i) (a : Fin d → ℂ) :
56 tracePairing (gaussianMixture s) (displacement a) =
57 ∏ i, Complex.exp (-(((s i + 1 / 2) * ‖a i‖ ^ 2 : ℝ) : ℂ)) := by
58 have h := (tracePairingCLM.flip (displacement a)).integral_comp_comm
59 (integrable_coherentProjector_gaussian hs)
60 change (∫ z, tracePairing (coherentProjector z) (displacement a) ∂gaussianProductMeasure s) =
61 tracePairing (gaussianMixture s) (displacement a) at h
62 rw [← h]
63 simp_rw [coherentProjector_characteristic_product]
64 letI (i : Fin d) : IsProbabilityMeasure (CoherentGaussianMixture.gaussianMeasure (s i)) :=
65 CoherentGaussianMixture.gaussianMeasure_probability (hs i)
66 rw [gaussianProductMeasure, integral_fin_nat_prod_eq_prod
67 (μ := fun i : Fin d => CoherentGaussianMixture.gaussianMeasure (s i))
68 (fun i z => tracePairing (ComplexCoherent.coherentProjector z)
69 (ComplexCoherent.displacement (a i)))]
70 exact Finset.prod_congr rfl (fun i _ => ComplexCoherent.integral_coherent_characteristic_gaussian (hs i) (a i))
71
72/-- The forward Fourier transform for literal product-geometric density
73operators. It includes the empty zero-mode product. -/
74theorem productThermal_characteristic {q : Fin d → ℝ}
75 (hq0 : ∀ i, 0 < q i) (hq1 : ∀ i, q i < 1) (a : Fin d → ℂ) :
76 tracePairing (vectorMixture (numberBasis d) (ThermalWitness.productGeometric q))
77 (displacement a) =
78 ∏ i, Complex.exp (-((((1 + q i) / (2 * (1 - q i))) * ‖a i‖ ^ 2 : ℝ) : ℂ)) := by
79 let s : Fin d → ℝ := fun i => q i / (1 - q i)
80 have hs (i : Fin d) : 0 < s i := div_pos (hq0 i) (sub_pos.mpr (hq1 i))
81 have hq (i : Fin d) : s i / (1 + s i) = q i := by
82 dsimp [s]
83 have hden : 1 - q i ≠ 0 := (sub_pos.mpr (hq1 i)).ne'
84 field_simp [hden]
85 <;> ring
86 have hm := integral_coherentProjector_gaussian_eq_productThermal hs
87 simp_rw [hq] at hm
88 change gaussianMixture s = vectorMixture (numberBasis d) (ThermalWitness.productGeometric q) at hm
89 rw [← hm, gaussianMixture_characteristic_product hs]
90 apply Finset.prod_congr rfl
91 intro i _
92 have hc : s i + 1 / 2 = (1 + q i) / (2 * (1 - q i)) := by
93 dsimp [s]
94 have hden : 1 - q i ≠ 0 := (sub_pos.mpr (hq1 i)).ne'
95 field_simp [hden]
96 <;> ring
97 rw [hc]
98
99end Cloning.MultimodeCoherent