Offline · exact source
Exact Lean source

WeylGaussianProjection

formalization/Cloning/WeylGaussianProjection.lean

Source hash: f52ac7ea9168f85d338bbc923986052c392a820952f58ee4eee12951502d66aa

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.WeylGNSRegular
2import Cloning.WeylGaussianSandwichNormalized
3import Mathlib.MeasureTheory.Function.L2Space
4 
5/-! The Gaussian strong average of every regular Weyl representation. -/
6noncomputable section
7open scoped BigOperators Topology InnerProductSpace ComplexOrder
8open MeasureTheory Filter
9namespace Cloning.WeylGNS
10open Cloning.MultimodeCoherent
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 800000
13variable {d : ℕ} {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
14variable (W : RegularWeyl d H)
15 
16theorem RegularWeyl.integrable_weighted_operator (v : H) :
17    Integrable (fun a : Fin d → ℂ ↦ (weylGaussianWeight a : ℂ) • W.operator a v) := by
18  apply (integrable_weylGaussianWeight.mul_const ‖v‖).mono'
19    ((Complex.continuous_ofReal.comp continuous_weylGaussianWeight).smul
20      (W.continuous_apply v)).aestronglyMeasurable
21  exact Eventually.of_forall (fun a ↦ by
22    change ‖(weylGaussianWeight a : ℂ) • W.operator a v‖ ≤ weylGaussianWeight a*‖v‖
23    rw [norm_smul, Complex.norm_real, Real.norm_eq_abs,
24      abs_of_nonneg (weylGaussianWeight_nonneg a), W.operator_norm])
25 
26def RegularWeyl.gaussianVector (v : H) : H :=
27  ∫ a : Fin d → ℂ, (weylGaussianWeight a : ℂ) • W.operator a v
28 
29theorem RegularWeyl.gaussianVector_norm (v : H) : ‖W.gaussianVector v‖ ≤ 2^d*‖v‖ := by
30  unfold RegularWeyl.gaussianVector
31  calc
32    _ ≤ ∫ a : Fin d → ℂ, ‖(weylGaussianWeight a : ℂ) • W.operator a v‖ := norm_integral_le_integral_norm _
33    _ = ∫ a : Fin d → ℂ, weylGaussianWeight a*‖v‖ := by
34      apply integral_congr_ae
35      filter_upwards [] with a
36      rw [norm_smul, Complex.norm_real, Real.norm_eq_abs,
37        abs_of_nonneg (weylGaussianWeight_nonneg a), W.operator_norm]
38    _ = _ := by rw [integral_mul_const, integral_weylGaussianWeight]
39 
40/-- Gaussian averaging uses strong vector integrals, without operator-norm continuity. -/
41def RegularWeyl.gaussianProjection : H →L[ℂ] H :=
42  ({ toFun := W.gaussianVector
43     map_add' := by
44       intro v w
45       simp only [RegularWeyl.gaussianVector, map_add, smul_add]
46       exact integral_add (W.integrable_weighted_operator v) (W.integrable_weighted_operator w)
47     map_smul' := by
48       intro c v
49       simp only [RegularWeyl.gaussianVector, map_smul, smul_comm (weylGaussianWeight _ : ℂ) c,
50         integral_smul, RingHom.id_apply] } : H →ₗ[ℂ] H).mkContinuous (2^d) W.gaussianVector_norm
51 
52@[simp] theorem RegularWeyl.gaussianProjection_apply (v : H) :
53    W.gaussianProjection v=∫ a : Fin d → ℂ, (weylGaussianWeight a : ℂ) • W.operator a v := rfl
54 
55theorem RegularWeyl.inner_operator (a : Fin d → ℂ) (v w : H) :
56    ⟪W.operator a v,w⟫_ℂ=⟪v,W.operator (-a) w⟫_ℂ := by
57  have hh := (W.toIsometry a).inner_map_map v (W.operator (-a) w)
58  rw [RegularWeyl.operator_apply, W.mul_apply, displacementPhase_neg_right,
59    add_neg_cancel, W.zero_apply, one_smul] at hh
60  exact hh
61 
62private theorem integral_inner_left {X : Type*} [MeasurableSpace X] {μ : Measure X}
63    {f : X → H} (hf : Integrable f μ) (v : H) :
64    (∫ x, ⟪f x,v⟫_ℂ ∂μ)=⟪∫ x, f x ∂μ,v⟫_ℂ := by
65  calc
66    _ = ∫ x, star ⟪v,f x⟫_ℂ ∂μ := by
67      apply integral_congr_ae
68      exact Eventually.of_forall (fun x ↦ (inner_conj_symm (f x) v).symm)
69    _ = star (∫ x, ⟪v,f x⟫_ℂ ∂μ) := integral_conj
70    _ = _ := by rw [integral_inner hf]; exact inner_conj_symm _ _
71 
72theorem RegularWeyl.gaussianProjection_symmetric (v w : H) :
73    ⟪W.gaussianProjection v,w⟫_ℂ=⟪v,W.gaussianProjection w⟫_ℂ := by
74  rw [W.gaussianProjection_apply, W.gaussianProjection_apply,
75    ← integral_inner_left (W.integrable_weighted_operator v), ← integral_inner (W.integrable_weighted_operator w)]
76  simp only [inner_smul_left, inner_smul_right, Complex.conj_ofReal, W.inner_operator]
77  have he : (∫ a : Fin d → ℂ, (weylGaussianWeight a : ℂ)*⟪v,W.operator (-a) w⟫_ℂ)=
78      ∫ a : Fin d → ℂ, (weylGaussianWeight a : ℂ)*⟪v,W.operator a w⟫_ℂ := by
79    have hh := integral_neg_eq_self (fun a : Fin d → ℂ ↦ (weylGaussianWeight a : ℂ)*⟪v,W.operator a w⟫_ℂ) volume
80    simpa only [weylGaussianWeight_neg] using hh
81  exact he
82 
83theorem RegularWeyl.gaussianProjection_selfAdjoint : IsSelfAdjoint W.gaussianProjection :=
84  ContinuousLinearMap.isSelfAdjoint_iff_isSymmetric.mpr W.gaussianProjection_symmetric
85 
86end Cloning.WeylGNS