Exact Lean source
WeylGaussianTwirl
formalization/Cloning/WeylGaussianTwirl.lean
Source hash: 8475d2ea0f075a599cb0326b9c1f5b414e734027640e64c4b80139f8afb0afd4
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.WeylGaussianProjection
2import Cloning.WeylGaussianTotalityScalar
3
4/-! Gaussian-weighted translates of the abstract vacuum projection. -/
5noncomputable section
6open scoped BigOperators Topology InnerProductSpace ComplexOrder
7open MeasureTheory Filter
8namespace Cloning.WeylGNS
9open Cloning.MultimodeCoherent
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 700000
12variable {d : ℕ} {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
13variable (W : RegularWeyl d H)
14
15private theorem continuous_phase_pair_totality :
16 Continuous (fun ab : (Fin d → ℂ) × (Fin d → ℂ) => displacementPhase ab.1 ab.2) := by
17 unfold displacementPhase Cloning.ComplexCoherent.displacementPhase
18 fun_prop
19
20def RegularWeyl.gaussianTwirlIntegrand (t : Fin d → ℝ) (v : H)
21 (a z : Fin d → ℂ) : H :=
22 ((gaussianWeight t a : ℂ)*(weylGaussianWeight z : ℂ)*
23 displacementPhase a z*displacementPhase (a+z) (-a)) • W.operator z v
24
25theorem RegularWeyl.integrable_gaussianTwirlIntegrand {t : Fin d → ℝ}
26 (ht : ∀i,0<t i) (v : H) :
27 Integrable (Function.uncurry (W.gaussianTwirlIntegrand t v)) (volume.prod volume) := by
28 have hc : Continuous (Function.uncurry (W.gaussianTwirlIntegrand t v)) := by
29 unfold RegularWeyl.gaussianTwirlIntegrand Function.uncurry
30 apply Continuous.smul
31 · exact ((((Complex.continuous_ofReal.comp (continuous_gaussianWeight t)).comp continuous_fst).mul
32 ((Complex.continuous_ofReal.comp continuous_weylGaussianWeight).comp continuous_snd)).mul
33 continuous_phase_pair_totality).mul
34 (continuous_phase_pair_totality.comp ((continuous_fst.add continuous_snd).prodMk continuous_fst.neg))
35 · exact (W.continuous_apply v).comp continuous_snd
36 apply (((integrable_gaussianWeight ht).mul_prod integrable_weylGaussianWeight).mul_const ‖v‖).mono'
37 hc.aestronglyMeasurable
38 filter_upwards [] with az
39 simp only [Function.uncurry, RegularWeyl.gaussianTwirlIntegrand, norm_smul, norm_mul,
40 displacementPhase_norm, mul_one, W.operator_norm, Complex.norm_real,
41 Real.norm_of_nonneg (weylGaussianWeight_nonneg _),
42 Real.norm_of_nonneg (gaussianWeight_nonneg _ _)]
43 exact le_rfl
44
45private theorem operator_conjugation_totality (a z : Fin d → ℂ) (v : H) :
46 W.operator a (W.operator z (W.operator (-a) v)) =
47 (displacementPhase a z*displacementPhase (a+z) (-a)) • W.operator z v := by
48 change W.toIsometry a (W.toIsometry z (W.toIsometry (-a) v)) = _
49 rw [W.mul_apply a z, W.mul_apply (a+z) (-a), smul_smul]
50 congr 2
51 abel
52
53/-- Integrating actual conjugates of the vacuum projection yields a narrower Gaussian average. -/
54theorem RegularWeyl.gaussianProjection_twirl {t : Fin d → ℝ} (ht : ∀i,0<t i) (v : H) :
55 (∫ a : Fin d → ℂ, (gaussianWeight t a : ℂ) •
56 W.operator a (W.gaussianProjection (W.operator (-a) v))) =
57 ((∏ i, Real.pi/t i : ℝ) : ℂ) •
58 ∫ z : Fin d → ℂ, ((weylGaussianWeight z : ℂ)*
59 (gaussianWeight (fun i => (t i)⁻¹) z : ℂ)) • W.operator z v := by
60 let K := W.gaussianTwirlIntegrand t v
61 have hexpand : (∫ a : Fin d → ℂ, (gaussianWeight t a : ℂ) •
62 W.operator a (W.gaussianProjection (W.operator (-a) v))) = ∫ a, ∫ z, K a z := by
63 apply integral_congr_ae
64 filter_upwards [] with a
65 have he := (W.operator a).integral_comp_comm (W.integrable_weighted_operator (W.operator (-a) v))
66 change (∫ z, W.operator a ((weylGaussianWeight z : ℂ) • W.operator z (W.operator (-a) v))) =
67 W.operator a (W.gaussianProjection (W.operator (-a) v)) at he
68 rw [← he, ← integral_smul]
69 apply integral_congr_ae
70 filter_upwards [] with z
71 simp only [map_smul, operator_conjugation_totality, smul_smul, K, RegularWeyl.gaussianTwirlIntegrand]
72 congr 1
73 ring
74 rw [hexpand, integral_integral_swap (W.integrable_gaussianTwirlIntegrand ht v)]
75 have he (a z : Fin d → ℂ) : K a z =
76 (weylGaussianWeight z : ℂ) • (((gaussianWeight t a : ℂ)*
77 displacementPhase a z*displacementPhase (a+z) (-a)) • W.operator z v) := by
78 dsimp only [K, RegularWeyl.gaussianTwirlIntegrand]
79 rw [smul_smul]
80 congr 1
81 ring
82 change (∫ z, ∫ a, K a z) = _
83 rw [← integral_smul]
84 apply integral_congr_ae
85 filter_upwards [] with z
86 calc
87 (∫ a, K a z) = ∫ a, (weylGaussianWeight z : ℂ) •
88 (((gaussianWeight t a : ℂ)*displacementPhase a z*
89 displacementPhase (a+z) (-a)) • W.operator z v) :=
90 integral_congr_ae (Eventually.of_forall (fun a => he a z))
91 _ = _ := by
92 rw [integral_smul, integral_smul_const, integral_gaussian_conjugation_product ht]
93 simp only [smul_smul]
94 congr 1
95 ring
96
97end Cloning.WeylGNS