Offline · exact source
Exact Lean source

WeylIdlerUniqueness

formalization/Cloning/WeylIdlerUniqueness.lean

Source hash: e1413287599caab0c36d5cf8625f327b319f75c097fe6cc33d4351f22cff5dc7

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.HeisenbergDualContinuity
2 
3/-! Weyl characteristic functions determine actual trace-class operators.
4The proof uses the proved Gaussian strong integral of Weyl operators and the
5proved density of coherent vectors; no operator-algebra density or uniqueness
6theorem is assumed. Consequently any reconstructed idler is unique. -/
7 
8noncomputable section
9open MeasureTheory
10open scoped ComplexOrder InnerProductSpace Topology BigOperators
11 
12namespace Cloning.MultimodeCoherent
13open Cloning.InfiniteTraceClass
14set_option backward.isDefEq.respectTransparency false
15set_option maxHeartbeats 1000000
16 
17variable {d : ℕ}
18 
19lemma norm_tracePairing_displacement_le (T : TraceClass (Fock d)) (a : Fin d → ℂ) :
20    ‖tracePairing T (displacement a)‖ ≤ ‖T‖ := by
21  have hT : ‖tracePairing T‖ ≤ ‖T‖ :=
22    ((tracePairingCLM (H := Fock d)).le_opNorm T).trans (by
23      simpa using mul_le_mul_of_nonneg_right
24        (norm_tracePairingCLM_le (H := Fock d)) (norm_nonneg T))
25  calc
26    _ ≤ ‖tracePairing T‖ * ‖displacement a‖ := (tracePairing T).le_opNorm _
27    _ ≤ ‖T‖ * 1 := mul_le_mul hT (displacement_opNorm_le a) (norm_nonneg _) (norm_nonneg _)
28    _ = _ := mul_one _
29 
30lemma integrable_weighted_characteristic (T : TraceClass (Fock d)) :
31    Integrable (fun a : Fin d → ℂ =>
32      (weylGaussianWeight a : ℂ) * tracePairing T (displacement a)) := by
33  apply (integrable_weylGaussianWeight.mul_const ‖T‖).mono'
34    (((Complex.continuous_ofReal.comp continuous_weylGaussianWeight).mul
35      (continuous_tracePairing_displacement T)).aestronglyMeasurable)
36  exact Filter.Eventually.of_forall (fun a => by
37    dsimp only [Pi.mul_apply, Function.comp_apply]
38    rw [norm_mul, Complex.norm_real, Real.norm_eq_abs,
39      abs_of_nonneg (weylGaussianWeight_nonneg a)]
40    exact mul_le_mul_of_nonneg_left (norm_tracePairing_displacement_le T a)
41      (weylGaussianWeight_nonneg a))
42 
43lemma norm_integral_weighted_characteristic_le (T : TraceClass (Fock d)) :
44    ‖∫ a : Fin d → ℂ, (weylGaussianWeight a : ℂ) * tracePairing T (displacement a)‖ ≤
45      2 ^ d * ‖T‖ := by
46  calc
47    _ ≤ ∫ a : Fin d → ℂ,
48        ‖(weylGaussianWeight a : ℂ) * tracePairing T (displacement a)‖ :=
49      norm_integral_le_integral_norm _
50    _ ≤ ∫ a : Fin d → ℂ, weylGaussianWeight a * ‖T‖ := by
51      apply integral_mono (integrable_weighted_characteristic T).norm
52        (integrable_weylGaussianWeight.mul_const ‖T‖)
53      intro a
54      dsimp only
55      rw [norm_mul, Complex.norm_real, Real.norm_eq_abs,
56        abs_of_nonneg (weylGaussianWeight_nonneg a)]
57      exact mul_le_mul_of_nonneg_left (norm_tracePairing_displacement_le T a)
58        (weylGaussianWeight_nonneg a)
59    _ = _ := by rw [integral_mul_const, integral_weylGaussianWeight]
60 
61/-- Gaussian integration of the characteristic function is bounded for the
62actual trace norm, allowing extension from finite-rank tests. -/
63def gaussianCharacteristicIntegral : TraceClass (Fock d) →L[ℂ] ℂ :=
64  LinearMap.mkContinuous
65    { toFun := fun T => ∫ a : Fin d → ℂ,
66        (weylGaussianWeight a : ℂ) * tracePairing T (displacement a)
67      map_add' := by
68        intro S T
69        simp only [← tracePairingCLM_apply, map_add, ContinuousLinearMap.add_apply, mul_add]
70        exact integral_add (integrable_weighted_characteristic S)
71          (integrable_weighted_characteristic T)
72      map_smul' := by
73        intro c T
74        simp only [← tracePairingCLM_apply, map_smul, ContinuousLinearMap.smul_apply,
75          smul_eq_mul, RingHom.id_apply]
76        simp_rw [mul_left_comm (weylGaussianWeight _ : ℂ) c]
77        exact integral_const_mul _ _ }
78    (2 ^ d) norm_integral_weighted_characteristic_le
79 
80/-- The Gaussian reconstruction identity for every trace-class operator,
81including complex off-diagonal inputs. -/
82theorem integral_weighted_characteristic (T : TraceClass (Fock d)) :
83    (∫ a : Fin d → ℂ, (weylGaussianWeight a : ℂ) * tracePairing T (displacement a)) =
84      tracePairing T (InnerProductSpace.rankOne ℂ (coherentVector 0) (coherentVector 0)) := by
85  have heq : gaussianCharacteristicIntegral (d := d) =
86      (tracePairingCLM (H := Fock d)).flip
87        (InnerProductSpace.rankOne ℂ (coherentVector 0) (coherentVector 0)) := by
88    apply traceClass_functional_ext
89    intro x
90    rw [show vectorProjector x = rankOneOperator x x from rfl]
91    change (∫ a : Fin d → ℂ,
92      (weylGaussianWeight a : ℂ) * tracePairing (rankOneOperator x x) (displacement a)) =
93      tracePairing (rankOneOperator x x)
94        (InnerProductSpace.rankOne ℂ (coherentVector 0) (coherentVector 0))
95    simp only [tracePairing_rankOneOperator]
96    rw [← weylGaussianAverage_eq_vacuumProjector, weylGaussianAverage_apply]
97    have h := (innerSL ℂ x).integral_comp_comm (integrable_weighted_displacement x)
98    simpa only [innerSL_apply_apply, inner_smul_right] using h
99  exact congrArg (fun L : TraceClass (Fock d) →L[ℂ] ℂ => L T) heq
100 
101/-- Left and right displacement of the vacuum projector gives every coherent
102dyad, with no phase because displacement of the vacuum has unit phase. -/
103theorem displaced_vacuum_dyad (a b : Fin d → ℂ) :
104    displacement a * (InnerProductSpace.rankOne ℂ (coherentVector 0) (coherentVector 0)) *
105      displacement (-b) = InnerProductSpace.rankOne ℂ (coherentVector a) (coherentVector b) := by
106  apply ContinuousLinearMap.ext
107  intro x
108  change displacement a (⟪coherentVector 0, displacement (-b) x⟫_ℂ • coherentVector 0) =
109    ⟪coherentVector b, x⟫_ℂ • coherentVector a
110  rw [map_smul, displacement_vacuum]
111  congr 1
112  rw [← displacement_adjoint b, ContinuousLinearMap.adjoint_inner_right, displacement_vacuum]
113 
114/-- Gaussian Weyl inversion recovers every coherent matrix element of an
115arbitrary complex trace-class operator, with the exact displacement phases. -/
116theorem characteristic_reconstruction_coherent_matrix_element
117    (T : TraceClass (Fock d)) (a b : Fin d → ℂ) :
118    ⟪coherentVector b, T.1 (coherentVector a)⟫_ℂ =
119      ∫ z : Fin d → ℂ, (weylGaussianWeight z : ℂ) *
120        (displacementPhase a z * displacementPhase (a + z) (-b) *
121          tracePairing T (displacement (a + z - b))) := by
122  have h := integral_weighted_characteristic
123    (sandwichCLM (displacement (-b)) (displacement a) T)
124  rw [tracePairing_sandwich, displaced_vacuum_dyad, tracePairing_rankOne] at h
125  rw [← h]
126  congr 1
127  funext z
128  simp only [tracePairing_sandwich, ContinuousLinearMap.mul_def, displacement_comp,
129    ContinuousLinearMap.smul_comp, smul_smul, map_smul, smul_eq_mul, sub_eq_add_neg]
130 
131/-- Vanishing Weyl characteristic function forces an actual trace-class
132operator to vanish. -/
133theorem traceClass_eq_zero_of_characteristic_zero (T : TraceClass (Fock d))
134    (hT : ∀ a : Fin d → ℂ, tracePairing T (displacement a) = 0) : T = 0 := by
135  have hcoeff (a b : Fin d → ℂ) : ⟪coherentVector b, T.1 (coherentVector a)⟫_ℂ = 0 := by
136    let S := sandwichCLM (displacement (-b)) (displacement a) T
137    have hS (z : Fin d → ℂ) : tracePairing S (displacement z) = 0 := by
138      rw [show S = sandwichCLM (displacement (-b)) (displacement a) T from rfl,
139        tracePairing_sandwich]
140      simp only [ContinuousLinearMap.mul_def, displacement_comp,
141        ContinuousLinearMap.smul_comp, smul_smul, map_smul, hT, smul_zero]
142    have h := integral_weighted_characteristic S
143    simp only [hS, mul_zero, integral_zero] at h
144    rw [show S = sandwichCLM (displacement (-b)) (displacement a) T from rfl,
145      tracePairing_sandwich, displaced_vacuum_dyad, tracePairing_rankOne] at h
146    exact h.symm
147  apply Subtype.ext
148  apply continuousLinearMap_ext_coherent
149  intro a
150  change T.1 (coherentVector a) = 0
151  exact coherentVector_total _ (hcoeff a)
152 
153/-- The actual Weyl characteristic function is injective on the entire
154complex trace class, so it distinguishes arbitrary mixed states. -/
155theorem characteristic_injective :
156    Function.Injective (fun T : TraceClass (Fock d) => fun a => tracePairing T (displacement a)) := by
157  intro S T h
158  apply sub_eq_zero.mp
159  apply traceClass_eq_zero_of_characteristic_zero
160  intro a
161  change ((tracePairingCLM (H := Fock d)).flip (displacement a)) (S - T) = 0
162  rw [map_sub]
163  exact sub_eq_zero.mpr (congrFun h a)
164 
165/-- Uniqueness also holds after the nonzero rescaling and phase conjugation
166used by an amplifier idler characteristic function. -/
167theorem idler_characteristic_injective (s : ℝ) (hs : s ≠ 0) :
168    Function.Injective (fun T : TraceClass (Fock d) =>
169      fun a : Fin d → ℂ => tracePairing T (displacement (s • star a))) := by
170  intro S T h
171  apply characteristic_injective
172  funext a
173  have ha := congrFun h ((s⁻¹) • star a)
174  have heq : s • star ((s⁻¹) • star a) = a := by
175    simp only [star_smul, star_inv, star_trivial, star_star, smul_smul,
176      mul_inv_cancel₀ hs, one_smul]
177  simpa only [heq] using ha
178 
179end Cloning.MultimodeCoherent