Offline · exact source
Exact Lean source

WeylCovariantization

formalization/Cloning/WeylCovariantization.lean

Source hash: a23a8751cf26d7e10cc4dc4f8101aff0330028db77486dcc4159084490d0ae1d

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.WeylMultimodeChannel
2import Cloning.ChannelAveraging
3 
4/-! Actual probability averages of Weyl-translated quantum channels. All
5continuity, measurability, integrability, complete positivity and normalization
6are derived for the constructed Fock representation. -/
7 
8noncomputable section
9open scoped ComplexOrder InnerProductSpace Topology BigOperators
10open Filter MeasureTheory
11 
12namespace Cloning.MultimodeCoherent
13open Cloning.InfiniteTraceClass
14set_option backward.isDefEq.respectTransparency false
15set_option maxHeartbeats 1000000
16variable {d : ℕ}
17 
18/-- Joint continuity of the Weyl trace-class action. -/
19theorem continuous_displacementTraceMap_apply {Ω : Type*} [TopologicalSpace Ω]
20    {a : Ω → (Fin d → ℂ)} {A : Ω → TraceClass (Fock d)}
21    (ha : Continuous a) (hA : Continuous A) :
22    Continuous (fun x => displacementTraceMap (a x) (A x)) := by
23  apply continuous_iff_continuousAt.mpr
24  intro x
25  apply tendsto_iff_norm_sub_tendsto_zero.mpr
26  have h1 : Tendsto (fun y => ‖A y - A x‖) (𝓝 x) (𝓝 0) := by
27    simpa using ((hA.tendsto x).sub_const (A x)).norm
28  have h2 : Tendsto (fun y => ‖displacementTraceMap (a y) (A x) -
29      displacementTraceMap (a x) (A x)‖) (𝓝 x) (𝓝 0) := by
30    simpa using (((continuous_displacementTraceMap (A x)).comp ha).tendsto x |>.sub_const
31      (displacementTraceMap (a x) (A x))).norm
32  apply squeeze_zero (fun _ => norm_nonneg _) _ (by simpa using h1.add h2)
33  intro y
34  calc
35    _ ≤ ‖displacementTraceMap (a y) (A y) - displacementTraceMap (a y) (A x)‖ +
36        ‖displacementTraceMap (a y) (A x) - displacementTraceMap (a x) (A x)‖ :=
37      norm_sub_le_norm_sub_add_norm_sub ..
38    _ = _ := by rw [← map_sub, displacementTraceMap_norm]
39 
40/-- Translate the input and undo the amplified output displacement. The gain
41parameter is the amplitude gain (the manuscript uses `sqrt γ`). -/
42def translatedChannel (gain : ℝ) (Φ : QuantumChannel (Fock d) (Fock d))
43    (a : Fin d → ℂ) : QuantumChannel (Fock d) (Fock d) :=
44  (displacementChannel (-(gain • a))).comp (Φ.comp (displacementChannel a))
45 
46@[simp] theorem translatedChannel_apply (gain : ℝ)
47    (Φ : QuantumChannel (Fock d) (Fock d)) (a : Fin d → ℂ) (A : TraceClass (Fock d)) :
48    (translatedChannel gain Φ a).toLinearMap A =
49      displacementTraceMap (-(gain • a)) (Φ.toLinearMap (displacementTraceMap a A)) := by
50  simp only [displacementTraceMap_eq_channel]
51  rfl
52 
53/-- Regularity of translated competitors is proved from the actual Weyl action. -/
54theorem continuous_translatedChannel (gain : ℝ)
55    (Φ : QuantumChannel (Fock d) (Fock d)) (A : TraceClass (Fock d)) :
56    Continuous (fun a => (translatedChannel gain Φ a).toLinearMap A) := by
57  simp only [translatedChannel_apply]
58  apply continuous_displacementTraceMap_apply
59  · exact (continuous_const.smul continuous_id).neg
60  · exact Φ.toPositiveTracePreservingMap.continuous.comp (continuous_displacementTraceMap A)
61 
62/-- A concrete competitor obtained by averaging Weyl translates under any
63probability prior. It is an actual CPTP map, with no measurability assumption. -/
64def covariantAverage (μ : Measure (Fin d → ℂ)) [IsProbabilityMeasure μ]
65    (gain : ℝ) (Φ : QuantumChannel (Fock d) (Fock d)) : QuantumChannel (Fock d) (Fock d) :=
66  QuantumChannel.average μ (translatedChannel gain Φ)
67    (fun A => (continuous_translatedChannel gain Φ A).aestronglyMeasurable)
68 
69@[simp] theorem covariantAverage_apply (μ : Measure (Fin d → ℂ)) [IsProbabilityMeasure μ]
70    (gain : ℝ) (Φ : QuantumChannel (Fock d) (Fock d)) (A : TraceClass (Fock d)) :
71    (covariantAverage μ gain Φ).toLinearMap A =
72      ∫ a, displacementTraceMap (-(gain • a))
73        (Φ.toLinearMap (displacementTraceMap a A)) ∂μ := by
74  change (∫ a, (translatedChannel gain Φ a).toLinearMap A ∂μ) = _
75  simp only [translatedChannel_apply]
76 
77/-- Translation identity before averaging. Weyl phases cancel exactly. -/
78theorem translatedChannel_shift (gain : ℝ)
79    (Φ : QuantumChannel (Fock d) (Fock d)) (a b : Fin d → ℂ) (A : TraceClass (Fock d)) :
80    (translatedChannel gain Φ a).toLinearMap (displacementTraceMap b A) =
81      displacementTraceMap (gain • b) ((translatedChannel gain Φ (a + b)).toLinearMap A) := by
82  simp only [translatedChannel_apply, displacementTraceMap_add]
83  rw [show gain • b + -(gain • (a + b)) = -(gain • a) by
84    simp only [smul_add]
85    abel]
86 
87/-- The averaged covariance defect is precisely a translation of the prior.
88This is the exact identity needed before applying a Følner boundary estimate. -/
89theorem covariantAverage_shift (μ : Measure (Fin d → ℂ)) [IsProbabilityMeasure μ]
90    (gain : ℝ) (Φ : QuantumChannel (Fock d) (Fock d)) (b : Fin d → ℂ)
91    (A : TraceClass (Fock d)) :
92    (covariantAverage μ gain Φ).toLinearMap (displacementTraceMap b A) =
93      displacementTraceMap (gain • b)
94        (∫ a, (translatedChannel gain Φ (a + b)).toLinearMap A ∂μ) := by
95  have hi : Integrable (fun a => (translatedChannel gain Φ (a + b)).toLinearMap A) μ := by
96    apply quantumChannel_family_integrable μ (fun a => translatedChannel gain Φ (a + b))
97    intro B
98    exact ((continuous_translatedChannel gain Φ B).comp
99      (continuous_id.add continuous_const)).aestronglyMeasurable
100  change (∫ a, (translatedChannel gain Φ a).toLinearMap (displacementTraceMap b A) ∂μ) = _
101  simp_rw [translatedChannel_shift]
102  exact (displacementTraceMap (gain • b)).integral_comp_comm hi
103 
104/-- The exact quantitative boundary estimate for translated quantum channels.
105For a positive input, changing prior densities costs at most their L¹ distance
106times its trace norm. No dimension or energy cutoff enters this bound. -/
107theorem translatedChannel_weighted_difference_le
108    (ν : Measure (Fin d → ℂ)) (gain : ℝ) (Φ : QuantumChannel (Fock d) (Fock d))
109    (A : TraceClass (Fock d)) (hA : 0 ≤ A.1)
110    (p q : (Fin d → ℂ) → ℝ) (hp : Integrable p ν) (hq : Integrable q ν) :
111    ‖(∫ a, p a • (translatedChannel gain Φ a).toLinearMap A ∂ν) -
112      (∫ a, q a • (translatedChannel gain Φ a).toLinearMap A ∂ν)‖ ≤
113      ‖A‖ * ∫ a, |p a - q a| ∂ν := by
114  let f := fun a => (translatedChannel gain Φ a).toLinearMap A
115  have hn (a : Fin d → ℂ) : ‖f a‖ = ‖A‖ :=
116    (translatedChannel gain Φ a).toPositiveTracePreservingMap.norm_map_of_nonneg A hA
117  have hm : AEStronglyMeasurable f ν := (continuous_translatedChannel gain Φ A).aestronglyMeasurable
118  have hi (r : (Fin d → ℂ) → ℝ) (hr : Integrable r ν) :
119      Integrable (fun a => r a • f a) ν := by
120    apply (hr.norm.mul_const ‖A‖).mono' (hr.aestronglyMeasurable.smul hm)
121    exact Eventually.of_forall (fun a => by simp [norm_smul, hn])
122  change ‖(∫ a, p a • f a ∂ν) - (∫ a, q a • f a ∂ν)‖ ≤ _
123  rw [← integral_sub (hi p hp) (hi q hq)]
124  calc
125    _ ≤ ∫ a, ‖p a • f a - q a • f a‖ ∂ν := norm_integral_le_integral_norm _
126    _ = ‖A‖ * ∫ a, |p a - q a| ∂ν := by
127      simp only [← sub_smul, norm_smul, hn, Real.norm_eq_abs]
128      rw [integral_mul_const]
129      ring
130 
131end Cloning.MultimodeCoherent