Offline · exact source
Exact Lean source

WeylIrreducibleMultimode

formalization/Cloning/WeylIrreducibleMultimode.lean

Source hash: 24959b30e9bc5047580fc714102bb93b66e145f69c6f52befb14e251c0201290

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.WeylIrreducible
2import Cloning.WeylMultimodeContinuity
3import Mathlib.MeasureTheory.Integral.Pi
4 
5/-! Scalar commutant for every finite number of bosonic modes. The vacuum
6projector is derived as a Gaussian strong integral of the constructed Weyl
7operators; irreducibility is not assumed as an input. -/
8 
9noncomputable section
10open MeasureTheory
11open scoped InnerProductSpace Topology BigOperators
12 
13namespace Cloning.MultimodeCoherent
14set_option backward.isDefEq.respectTransparency false
15set_option maxHeartbeats 1600000
16 
17variable {d : ℕ}
18 
19/-- Product Gaussian weight with one factor `exp(-|aᵢ|²/2)/π` per mode. -/
20def weylGaussianWeight (a : Fin d → ℂ) : ℝ :=
21  ∏ i, ComplexCoherent.weylGaussianWeight (a i)
22 
23lemma weylGaussianWeight_nonneg (a : Fin d → ℂ) : 0 ≤ weylGaussianWeight a :=
24  Finset.prod_nonneg (fun i _ ↦ ComplexCoherent.weylGaussianWeight_nonneg (a i))
25 
26lemma continuous_weylGaussianWeight : Continuous (weylGaussianWeight (d := d)) := by
27  unfold weylGaussianWeight
28  exact continuous_finset_prod _ (fun i _ ↦
29    ComplexCoherent.continuous_weylGaussianWeight.comp (continuous_apply i))
30 
31lemma integrable_weylGaussianWeight : Integrable (weylGaussianWeight (d := d)) := by
32  exact Integrable.fintype_prod (fun _ ↦ ComplexCoherent.integrable_weylGaussianWeight)
33 
34lemma integral_weylGaussianWeight : (∫ a : Fin d → ℂ, weylGaussianWeight a) = 2 ^ d := by
35  change (∫ a : Fin d → ℂ, ∏ i, ComplexCoherent.weylGaussianWeight (a i)) = _
36  rw [integral_fintype_prod_volume_eq_prod
37    (f := fun (_ : Fin d) (x : ℂ) ↦ ComplexCoherent.weylGaussianWeight x)]
38  simp only [ComplexCoherent.integral_weylGaussianWeight, Finset.prod_const,
39    Finset.card_univ, Fintype.card_fin]
40 
41lemma integrable_weighted_displacement (v : Fock d) :
42    Integrable (fun a : Fin d → ℂ ↦ (weylGaussianWeight a : ℂ) • displacement a v) := by
43  apply (integrable_weylGaussianWeight.mul_const ‖v‖).mono'
44    ((Complex.continuous_ofReal.comp continuous_weylGaussianWeight).smul
45      (continuous_displacement v)).aestronglyMeasurable
46  exact Filter.Eventually.of_forall (fun a ↦ by
47    simp only [Function.comp_apply]
48    rw [norm_smul, Complex.norm_real, Real.norm_eq_abs,
49      abs_of_nonneg (weylGaussianWeight_nonneg a), displacement_norm])
50 
51def weylGaussianVector (v : Fock d) : Fock d :=
52  ∫ a : Fin d → ℂ, (weylGaussianWeight a : ℂ) • displacement a v
53 
54lemma weylGaussianVector_norm (v : Fock d) : ‖weylGaussianVector v‖ ≤ 2 ^ d * ‖v‖ := by
55  unfold weylGaussianVector
56  calc
57    _ ≤ ∫ a : Fin d → ℂ, ‖(weylGaussianWeight a : ℂ) • displacement a v‖ :=
58      norm_integral_le_integral_norm _
59    _ = ∫ a : Fin d → ℂ, weylGaussianWeight a * ‖v‖ := by
60      congr 1
61      funext a
62      rw [norm_smul, Complex.norm_real, Real.norm_eq_abs,
63        abs_of_nonneg (weylGaussianWeight_nonneg a), displacement_norm]
64    _ = _ := by rw [integral_mul_const, integral_weylGaussianWeight]
65 
66/-- A Gaussian strong integral gives a bounded map on the actual multimode
67Fock space. -/
68def weylGaussianAverage : Fock d →L[ℂ] Fock d :=
69  ({ toFun := weylGaussianVector
70     map_add' := by
71       intro v w
72       simp only [weylGaussianVector, map_add, smul_add]
73       exact integral_add (integrable_weighted_displacement v) (integrable_weighted_displacement w)
74     map_smul' := by
75       intro c v
76       simp only [weylGaussianVector, map_smul, smul_comm (weylGaussianWeight _ : ℂ) c,
77         integral_smul, RingHom.id_apply] } : Fock d →ₗ[ℂ] Fock d).mkContinuous (2 ^ d)
78           weylGaussianVector_norm
79 
80@[simp] lemma weylGaussianAverage_apply (v : Fock d) :
81    weylGaussianAverage v =
82      ∫ a : Fin d → ℂ, (weylGaussianWeight a : ℂ) • displacement a v := rfl
83 
84lemma weighted_weyl_kernel (a z w : Fin d → ℂ) :
85    (weylGaussianWeight a : ℂ) * ⟪coherentVector z, displacement a (coherentVector w)⟫_ℂ =
86      ∏ i, (ComplexCoherent.weylGaussianWeight (a i) : ℂ) *
87        ⟪ComplexCoherent.coherentVector (z i),
88          ComplexCoherent.displacement (a i) (ComplexCoherent.coherentVector (w i))⟫_ℂ := by
89  rw [displacement_coherentVector]
90  simp only [weylGaussianWeight, inner_smul_right,
91    coherentVector, inner_tensorVector, displacementPhase, Complex.ofReal_prod,
92    ComplexCoherent.displacement_coherentVector, inner_smul_right,
93    Pi.add_apply, ← Finset.prod_mul_distrib]
94 
95lemma integral_weighted_weyl_kernel (z w : Fin d → ℂ) :
96    (∫ a : Fin d → ℂ, (weylGaussianWeight a : ℂ) *
97      ⟪coherentVector z, displacement a (coherentVector w)⟫_ℂ) =
98      ⟪coherentVector z, coherentVector 0⟫_ℂ *
99        ⟪coherentVector 0, coherentVector w⟫_ℂ := by
100  simp_rw [weighted_weyl_kernel]
101  rw [integral_fintype_prod_volume_eq_prod (f := fun (i : Fin d) (a : ℂ) ↦
102    (ComplexCoherent.weylGaussianWeight a : ℂ) *
103      ⟪ComplexCoherent.coherentVector (z i),
104        ComplexCoherent.displacement a (ComplexCoherent.coherentVector (w i))⟫_ℂ)]
105  simp only [ComplexCoherent.integral_weighted_weyl_kernel, Finset.prod_mul_distrib,
106    coherentVector, inner_tensorVector, Pi.zero_apply]
107 
108/-- The product Gaussian strong integral equals the rank-one multimode vacuum
109projection, for every finite number of modes, including zero. -/
110theorem weylGaussianAverage_eq_vacuumProjector :
111    weylGaussianAverage (d := d) =
112      InnerProductSpace.rankOne ℂ (coherentVector 0) (coherentVector 0) := by
113  apply continuousLinearMap_ext_coherent
114  intro w
115  apply sub_eq_zero.mp
116  apply coherentVector_total
117  intro z
118  rw [inner_sub_right]
119  apply sub_eq_zero.mpr
120  have hi := (innerSL ℂ (coherentVector z)).integral_comp_comm
121    (integrable_weighted_displacement (coherentVector w))
122  simp only [innerSL_apply_apply, inner_smul_right] at hi
123  rw [weylGaussianAverage_apply, ← hi, integral_weighted_weyl_kernel,
124    InnerProductSpace.rankOne_apply, inner_smul_right]
125  exact mul_comm _ _
126 
127lemma commutes_weylGaussianAverage (T : Fock d →L[ℂ] Fock d)
128    (hT : ∀ a : Fin d → ℂ, T.comp (displacement a) = (displacement a).comp T) :
129    T.comp weylGaussianAverage = weylGaussianAverage.comp T := by
130  apply ContinuousLinearMap.ext
131  intro v
132  change T (weylGaussianAverage v) = weylGaussianAverage (T v)
133  rw [weylGaussianAverage_apply, weylGaussianAverage_apply,
134    ← T.integral_comp_comm (integrable_weighted_displacement v)]
135  congr 1
136  funext a
137  rw [map_smul]
138  congr 1
139  exact congrArg (fun L : Fock d →L[ℂ] Fock d ↦ L v) (hT a)
140 
141/-- The actual finite-multimode Weyl representation has scalar commutant. -/
142theorem displacement_commutant_scalar (T : Fock d →L[ℂ] Fock d)
143    (hT : ∀ a : Fin d → ℂ, T.comp (displacement a) = (displacement a).comp T) :
144    T = ⟪coherentVector 0, T (coherentVector 0)⟫_ℂ • ContinuousLinearMap.id ℂ (Fock d) := by
145  have hP := commutes_weylGaussianAverage T hT
146  rw [weylGaussianAverage_eq_vacuumProjector] at hP
147  have hv := congrArg (fun L : Fock d →L[ℂ] Fock d ↦ L (coherentVector 0)) hP
148  simp only [ContinuousLinearMap.comp_apply, InnerProductSpace.rankOne_apply,
149    inner_self_eq_norm_sq_to_K, coherentVector_norm] at hv
150  norm_num at hv
151  apply continuousLinearMap_ext_coherent
152  intro z
153  have hz := congrArg (fun L : Fock d →L[ℂ] Fock d ↦ L (coherentVector 0)) (hT z)
154  simp only [ContinuousLinearMap.comp_apply, displacement_vacuum] at hz
155  conv_lhs => rw [hz, hv, map_smul, displacement_vacuum]
156  rfl
157 
158theorem exists_scalar_of_commutes_displacement (T : Fock d →L[ℂ] Fock d)
159    (hT : ∀ a : Fin d → ℂ, T.comp (displacement a) = (displacement a).comp T) :
160    ∃ c : ℂ, T = c • ContinuousLinearMap.id ℂ (Fock d) :=
161  ⟨_, displacement_commutant_scalar T hT⟩
162 
163end Cloning.MultimodeCoherent