Exact Lean source
UniversalGaussianRealBox
formalization/Cloning/UniversalGaussianRealBox.lean
Source hash: 8e7d3b0c1900c8303e9540c863a150c0b77d7f17a182d306cd09563c88070b34
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
theorem
Cloning.MultimodeCoherent.phaseSpaceUnitBox_volume_real_postheorem Cloning.MultimodeCoherent.phaseSpaceBox_compacttheorem Cloning.MultimodeCoherent.phaseSpaceBox_monotheorem Cloning.MultimodeCoherent.phaseSpaceBox_volume_realdefinition Cloning.MultimodeCoherent.realFlatBoxPayofftheorem Cloning.MultimodeCoherent.realFlatBoxPayoff_eq_normalized_boxtheorem Cloning.MultimodeCoherent.realFlatBoxPayoff_nonnegtheorem Cloning.MultimodeCoherent.realFlatBoxPayoff_le_sqrttheorem Cloning.MultimodeCoherent.realFlatBoxPayoff_le_integertheorem Cloning.MultimodeCoherent.realFlatBox_overhead_tendsto_onetheorem Cloning.MultimodeCoherent.eventually_forall_realFlatBox_le_of_integerdefinition Cloning.MultimodeCoherent.realFlatBoxOptimalPayofftheorem Cloning.MultimodeCoherent.realFlatBoxOptimalPayoff_nonnegtheorem Cloning.MultimodeCoherent.limsup_realFlatBoxOptimalPayoff_letheorem Cloning.MultimodeCoherent.eventually_forall_realFlatBox_thermal_letheorem Cloning.MultimodeCoherent.limsup_realFlatBox_thermal_letheorem Cloning.MultimodeCoherent.limsup_realFlatBox_thermal_le_modeFactor1import Cloning.UniversalGaussianConverse
2
3/-! The universal orbital converse for arbitrary real box radii. Positive
4orbit fidelities allow interpolation from integer boxes; the volume loss
5vanishes uniformly over all competing channels. -/
6noncomputable section
7open scoped ComplexOrder InnerProductSpace Topology BigOperators
8open Filter MeasureTheory Cloning.InfiniteTraceClass Cloning.InfiniteFidelity
9open Cloning.Hybrid Cloning.ThermalWitness Cloning.MultimodeCoherentGaussianMixture
10namespace Cloning.MultimodeCoherent
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 1000000
13variable {d : ℕ}
14
15lemma phaseSpaceUnitBox_volume_real_pos (d : ℕ) :
16 0 < volume.real (phaseSpaceUnitBox d) :=
17 ENNReal.toReal_pos (phaseSpaceUnitBox_volume_pos d).ne'
18 (phaseSpaceUnitBox_compact d).measure_ne_top
19
20lemma phaseSpaceBox_compact (d : ℕ) (L : ℝ) : IsCompact (phaseSpaceBox d L) := by
21 apply (isCompact_closedBall (0 : Fin d → ℂ) (2 * |L|)).of_isClosed_subset
22 (phaseSpaceBox_closed d L)
23 intro z hz
24 rw [Metric.mem_closedBall, dist_zero_right]
25 apply (pi_norm_le_iff_of_nonneg (by positivity : 0 ≤ 2 * |L|)).mpr
26 intro i
27 exact (Complex.norm_le_abs_re_add_abs_im (z i)).trans
28 (by linarith [(hz i).1, (hz i).2, le_abs_self L])
29
30lemma phaseSpaceBox_mono {L M : ℝ} (h : L ≤ M) :
31 phaseSpaceBox d L ⊆ phaseSpaceBox d M :=
32 fun _ hz i => ⟨(hz i).1.trans h, (hz i).2.trans h⟩
33
34lemma phaseSpaceBox_volume_real {L : ℝ} (hL : 0 < L) :
35 volume.real (phaseSpaceBox d L) =
36 L ^ Module.finrank ℝ (Fin d → ℂ) * volume.real (phaseSpaceUnitBox d) := by
37 have hv := integral_unitBox_smul hL (fun _ : Fin d → ℂ => (1 : ℝ))
38 simp only [integral_const, Measure.restrict_apply_univ, measureReal_def,
39 smul_eq_mul, mul_one] at hv
40 change volume.real (phaseSpaceUnitBox d) =
41 (L ^ Module.finrank ℝ (Fin d → ℂ))⁻¹ * volume.real (phaseSpaceBox d L) at hv
42 rw [hv, ← mul_assoc, mul_inv_cancel₀ (pow_ne_zero _ hL.ne'), one_mul]
43
44/-- The flat orbit-root-fidelity average at an arbitrary real radius.
45For positive radii this is exactly the normalized Lebesgue box integral. -/
46def realFlatBoxPayoff (gain : ℝ) (Φ : QuantumChannel (Fock d) (Fock d))
47 (A B : PositiveTraceClass (Fock d)) (L : ℝ) : ℝ :=
48 (volume.real (phaseSpaceUnitBox d))⁻¹ * ∫ z in phaseSpaceUnitBox d,
49 orbitPayoff gain Φ A B (L • z)
50
51lemma realFlatBoxPayoff_eq_normalized_box (gain : ℝ)
52 (Φ : QuantumChannel (Fock d) (Fock d)) (A B : PositiveTraceClass (Fock d))
53 {L : ℝ} (hL : 0 < L) :
54 realFlatBoxPayoff gain Φ A B L =
55 (volume.real (phaseSpaceBox d L))⁻¹ *
56 ∫ a in phaseSpaceBox d L, orbitPayoff gain Φ A B a :=
57 normalized_unitBox_smul_eq hL (orbitPayoff gain Φ A B)
58
59lemma realFlatBoxPayoff_nonneg (gain : ℝ)
60 (Φ : QuantumChannel (Fock d) (Fock d)) (A B : PositiveTraceClass (Fock d)) (L : ℝ) :
61 0 ≤ realFlatBoxPayoff gain Φ A B L := by
62 apply mul_nonneg (inv_nonneg.mpr (measureReal_nonneg))
63 exact integral_nonneg (fun _ => PositiveTraceClass.rootFidelity_nonneg _ _)
64
65lemma realFlatBoxPayoff_le_sqrt (gain : ℝ)
66 (Φ : QuantumChannel (Fock d) (Fock d)) (A B : PositiveTraceClass (Fock d)) (L : ℝ) :
67 realFlatBoxPayoff gain Φ A B L ≤ Real.sqrt ‖A.1‖ * Real.sqrt ‖B.1‖ := by
68 have hint : IntegrableOn (fun z => orbitPayoff gain Φ A B (L • z))
69 (phaseSpaceUnitBox d) :=
70 ((continuous_orbitPayoff gain Φ A B).comp
71 (continuous_const.smul continuous_id)).continuousOn.integrableOn_compact
72 (phaseSpaceUnitBox_compact d)
73 have hp (z : Fin d → ℂ) : orbitPayoff gain Φ A B (L • z) ≤
74 Real.sqrt ‖A.1‖ * Real.sqrt ‖B.1‖ := by
75 rw [orbitPayoff_eq_translated]
76 simpa only [PositiveTraceClass.norm_map] using
77 PositiveTraceClass.rootFidelity_le_sqrt
78 (PositiveTraceClass.map (translatedChannel gain Φ (L • z)).toPositiveTracePreservingMap A) B
79 have hi := integral_mono hint (integrableOn_const (hs :=
80 (phaseSpaceUnitBox_compact d).measure_ne_top)) hp
81 change (volume.real (phaseSpaceUnitBox d))⁻¹ * _ ≤ _
82 calc
83 _ ≤ (volume.real (phaseSpaceUnitBox d))⁻¹ *
84 ∫ _z in phaseSpaceUnitBox d, Real.sqrt ‖A.1‖ * Real.sqrt ‖B.1‖ :=
85 mul_le_mul_of_nonneg_left hi (inv_nonneg.mpr measureReal_nonneg)
86 _ = _ := by
87 simp only [integral_const, measureReal_def, Measure.restrict_apply_univ, smul_eq_mul]
88 change (volume.real (phaseSpaceUnitBox d))⁻¹ *
89 (volume.real (phaseSpaceUnitBox d) * (Real.sqrt ‖A.1‖ * Real.sqrt ‖B.1‖)) = _
90 rw [← mul_assoc, inv_mul_cancel₀ (phaseSpaceUnitBox_volume_real_pos d).ne', one_mul]
91
92/-- Enlarging the physical box only incurs the exact volume ratio. -/
93lemma realFlatBoxPayoff_le_integer (gain : ℝ)
94 (Φ : QuantumChannel (Fock d) (Fock d)) (A B : PositiveTraceClass (Fock d))
95 {L : ℝ} (hL : 0 < L) (n : ℕ) (hLn : L ≤ (n : ℝ) + 1) :
96 realFlatBoxPayoff gain Φ A B L ≤
97 (((n : ℝ) + 1) / L) ^ Module.finrank ℝ (Fin d → ℂ) *
98 flatBoxPayoff gain Φ A B n := by
99 have hN : 0 < (n : ℝ) + 1 := by positivity
100 have hi : (∫ a in phaseSpaceBox d L, orbitPayoff gain Φ A B a) ≤
101 ∫ a in phaseSpaceBox d ((n : ℝ) + 1), orbitPayoff gain Φ A B a :=
102 setIntegral_mono_set
103 ((continuous_orbitPayoff gain Φ A B).continuousOn.integrableOn_compact
104 (phaseSpaceBox_compact d _))
105 (Eventually.of_forall fun _ => PositiveTraceClass.rootFidelity_nonneg _ _)
106 (phaseSpaceBox_mono hLn).eventuallyLE
107 rw [realFlatBoxPayoff_eq_normalized_box gain Φ A B hL,
108 flatBoxPayoff_eq_normalized_box, phaseSpaceBox_volume_real hL,
109 phaseSpaceBox_volume_real hN]
110 calc
111 _ ≤ (L ^ Module.finrank ℝ (Fin d → ℂ) * volume.real (phaseSpaceUnitBox d))⁻¹ *
112 ∫ a in phaseSpaceBox d ((n : ℝ) + 1), orbitPayoff gain Φ A B a :=
113 mul_le_mul_of_nonneg_left hi (by positivity)
114 _ = _ := by
115 rw [div_pow]
116 field_simp [hL.ne', hN.ne', (phaseSpaceUnitBox_volume_real_pos d).ne']
117
118/-- The interpolation overhead tends to one in the real radius, including
119zero quantum modes. -/
120lemma realFlatBox_overhead_tendsto_one (d : ℕ) :
121 Tendsto (fun L : ℝ => (1 + L⁻¹) ^ Module.finrank ℝ (Fin d → ℂ)) atTop (𝓝 1) := by
122 have ht : Tendsto (fun L : ℝ => 1 + L⁻¹) atTop (𝓝 (1 + 0 : ℝ)) :=
123 tendsto_const_nhds.add tendsto_inv_atTop_zero
124 simpa using ht.pow (Module.finrank ℝ (Fin d → ℂ))
125
126/-- An integer-radius bound uniform over channels remains uniform at every
127sufficiently large real radius. No continuity in the choice of channel is needed. -/
128lemma eventually_forall_realFlatBox_le_of_integer (gain : ℝ)
129 (A B : PositiveTraceClass (Fock d)) {C : ℝ}
130 (h : ∀ ε > 0, ∀ᶠ n in atTop, ∀ Φ : QuantumChannel (Fock d) (Fock d),
131 flatBoxPayoff gain Φ A B n ≤ C + ε) :
132 ∀ ε > 0, ∀ᶠ L : ℝ in atTop, ∀ Φ : QuantumChannel (Fock d) (Fock d),
133 realFlatBoxPayoff gain Φ A B L ≤ C + ε := by
134 intro ε hε
135 have hfloor : Tendsto (Nat.floor : ℝ → ℕ) atTop atTop :=
136 Nat.floor_mono.tendsto_atTop_atTop (fun n => ⟨(n : ℝ), by simp⟩)
137 have hint := hfloor.eventually (h (ε / 2) (by linarith))
138 have ht : Tendsto (fun L : ℝ =>
139 (1 + L⁻¹) ^ Module.finrank ℝ (Fin d → ℂ) * (C + ε / 2)) atTop
140 (𝓝 (C + ε / 2)) := by
141 simpa using (realFlatBox_overhead_tendsto_one d).mul_const (C + ε / 2)
142 have hnear := ht.eventually_lt_const (by linarith : C + ε / 2 < C + ε)
143 filter_upwards [hint, hnear, eventually_gt_atTop (0 : ℝ)] with L hLi hnear hL
144 intro Φ
145 have hc := realFlatBoxPayoff_le_integer gain Φ A B hL (Nat.floor L)
146 (Nat.lt_floor_add_one L).le
147 have hr : (((Nat.floor L : ℕ) : ℝ) + 1) / L ≤ 1 + L⁻¹ := by
148 apply (div_le_iff₀ hL).mpr
149 have hf := Nat.floor_le hL.le
150 rw [add_mul, one_mul, inv_mul_cancel₀ hL.ne']
151 linarith
152 calc
153 realFlatBoxPayoff gain Φ A B L ≤
154 ((((Nat.floor L : ℕ) : ℝ) + 1) / L) ^ Module.finrank ℝ (Fin d → ℂ) *
155 flatBoxPayoff gain Φ A B (Nat.floor L) := hc
156 _ ≤ (1 + L⁻¹) ^ Module.finrank ℝ (Fin d → ℂ) *
157 flatBoxPayoff gain Φ A B (Nat.floor L) := by
158 apply mul_le_mul_of_nonneg_right _ (flatBoxPayoff_nonneg gain Φ A B _)
159 exact pow_le_pow_left₀ (by positivity) hr _
160 _ ≤ (1 + L⁻¹) ^ Module.finrank ℝ (Fin d → ℂ) * (C + ε / 2) :=
161 mul_le_mul_of_nonneg_left (hLi Φ) (by positivity)
162 _ ≤ C + ε := hnear.le
163
164/-- The channel supremum at each real physical box radius. -/
165def realFlatBoxOptimalPayoff (gain : ℝ) (A B : PositiveTraceClass (Fock d)) (L : ℝ) : ℝ :=
166 sSup (Set.range (fun Φ : QuantumChannel (Fock d) (Fock d) => realFlatBoxPayoff gain Φ A B L))
167
168lemma realFlatBoxOptimalPayoff_nonneg (gain : ℝ) (A B : PositiveTraceClass (Fock d)) (L : ℝ) :
169 0 ≤ realFlatBoxOptimalPayoff gain A B L := by
170 have hb : BddAbove (Set.range (fun Φ : QuantumChannel (Fock d) (Fock d) =>
171 realFlatBoxPayoff gain Φ A B L)) := by
172 refine ⟨Real.sqrt ‖A.1‖ * Real.sqrt ‖B.1‖, ?_⟩
173 rintro _ ⟨Φ, rfl⟩
174 exact realFlatBoxPayoff_le_sqrt gain Φ A B L
175 exact (realFlatBoxPayoff_nonneg gain (displacementChannel 0) A B L).trans
176 (le_csSup hb (Set.mem_range_self (displacementChannel 0)))
177
178lemma limsup_realFlatBoxOptimalPayoff_le (gain : ℝ) (A B : PositiveTraceClass (Fock d))
179 {C : ℝ} (h : ∀ ε > 0, ∀ᶠ L : ℝ in atTop, ∀ Φ : QuantumChannel (Fock d) (Fock d),
180 realFlatBoxPayoff gain Φ A B L ≤ C + ε) :
181 Filter.limsup (realFlatBoxOptimalPayoff gain A B) atTop ≤ C := by
182 apply le_of_forall_pos_le_add
183 intro ε hε
184 apply limsup_le_of_le
185 (isCoboundedUnder_le_of_le atTop (realFlatBoxOptimalPayoff_nonneg gain A B))
186 filter_upwards [h ε hε] with L hL
187 apply csSup_le (show (Set.range (fun Φ : QuantumChannel (Fock d) (Fock d) =>
188 realFlatBoxPayoff gain Φ A B L)).Nonempty from ⟨_, Set.mem_range_self (displacementChannel 0)⟩)
189 rintro _ ⟨Φ, rfl⟩
190 exact hL Φ
191
192/-- The universal orbital converse, uniformly over channels and all sufficiently
193large real radii, for the same mixed thermal input and target orbit. -/
194theorem eventually_forall_realFlatBox_thermal_le
195 (r : ℝ) (hr : 1 < r ^ 2) {q : Fin d → ℝ}
196 (hq0 : ∀ i, 0 < q i) (hq1 : ∀ i, q i < 1) :
197 ∀ ε > 0, ∀ᶠ L : ℝ in atTop, ∀ Φ : QuantumChannel (Fock d) (Fock d),
198 realFlatBoxPayoff r Φ (thermalPositive q (fun i => (hq0 i).le) hq1)
199 (thermalPositive q (fun i => (hq0 i).le) hq1) L ≤
200 (∏ i, Thermal.fidelity (q i) (Thermal.amplified (r ^ 2) (q i))) + ε :=
201 eventually_forall_realFlatBox_le_of_integer r _ _
202 (eventually_forall_flatBox_thermal_le r hr hq0 hq1)
203
204/-- Arbitrary real expanding boxes in the required order `limsup sup_channel`. -/
205theorem limsup_realFlatBox_thermal_le
206 (r : ℝ) (hr : 1 < r ^ 2) {q : Fin d → ℝ}
207 (hq0 : ∀ i, 0 < q i) (hq1 : ∀ i, q i < 1) :
208 Filter.limsup (realFlatBoxOptimalPayoff r
209 (thermalPositive q (fun i => (hq0 i).le) hq1)
210 (thermalPositive q (fun i => (hq0 i).le) hq1)) atTop ≤
211 ∏ i, Thermal.fidelity (q i) (Thermal.amplified (r ^ 2) (q i)) :=
212 limsup_realFlatBoxOptimalPayoff_le r _ _
213 (eventually_forall_realFlatBox_thermal_le r hr hq0 hq1)
214
215/-- The manuscript orbital factor at physical amplitude gain `sqrt γ`, for
216all real radii tending to infinity. The payoff is average root fidelity. -/
217theorem limsup_realFlatBox_thermal_le_modeFactor
218 (γ : ℝ) (hγ : 1 < γ) {q : Fin d → ℝ}
219 (hq0 : ∀ i, 0 < q i) (hq1 : ∀ i, q i < 1) :
220 Filter.limsup (realFlatBoxOptimalPayoff (Real.sqrt γ)
221 (thermalPositive q (fun i => (hq0 i).le) hq1)
222 (thermalPositive q (fun i => (hq0 i).le) hq1)) atTop ≤
223 ∏ i, Thermal.modeFactor γ (q i) := by
224 have hs : Real.sqrt γ ^ 2 = γ := Real.sq_sqrt (by linarith)
225 have h := limsup_realFlatBox_thermal_le (Real.sqrt γ) (by rwa [hs]) hq0 hq1
226 simp_rw [hs, Thermal.fidelity_amplified_eq_modeFactor hγ (hq0 _).le (hq1 _)] at h
227 exact h
228
229end Cloning.MultimodeCoherent