Offline · exact source
Exact Lean source

UniversalGaussianBoundary

formalization/Cloning/UniversalGaussianBoundary.lean

Source hash: e714a6e05c4bb6374fac0676aeb31abd8fb04153408a9c62122ec1576bb3c622

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.UniversalGaussianRealBox
2import Cloning.ThermalParameterContinuity
3 
4/-! The orbital Gaussian converse at vacuum thermal parameters. The proof
5passes through actual trace-norm convergence, with a root-fidelity modulus
6uniform over all channels, translations, and averaging radii. -/
7noncomputable section
8open scoped ComplexOrder InnerProductSpace Topology BigOperators
9open Filter MeasureTheory Cloning.InfiniteTraceClass Cloning.InfiniteFidelity
10open Cloning.Hybrid
11namespace Cloning.MultimodeCoherent
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 1000000
14variable {d : ℕ}
15 
16/-- Reference-state perturbation is uniform over the actual competing channel
17and over the displacement, including arbitrarily large displacements. -/
18theorem orbitPayoff_self_le_add_reference_error (r : ℝ)
19    (Φ : QuantumChannel (Fock d) (Fock d))
20    (A C : PositiveTraceClass (Fock d)) (z : Fin d → ℂ) :
21    orbitPayoff r Φ A A z ≤ orbitPayoff r Φ C C z +
22      Real.sqrt ‖A.1 - C.1‖ * (Real.sqrt ‖A.1‖ + Real.sqrt ‖C.1‖) := by
23  rw [orbitPayoff_eq_translated, orbitPayoff_eq_translated]
24  let Ψ := (translatedChannel r Φ z).toPositiveTracePreservingMap
25  have h := PositiveTraceClass.rootFidelity_continuity
26    (PositiveTraceClass.map Ψ A) A (PositiveTraceClass.map Ψ C) C
27  have hc := Ψ.norm_map_sub_le A.1 C.1 A.2 C.2
28  have hm : ‖(PositiveTraceClass.map Ψ C).1‖ = ‖C.1‖ :=
29    Ψ.norm_map_of_nonneg C.1 C.2
30  rw [hm] at h
31  have hb : |(PositiveTraceClass.map Ψ A).rootFidelity A -
32      (PositiveTraceClass.map Ψ C).rootFidelity C| ≤
33      Real.sqrt ‖A.1 - C.1‖ * (Real.sqrt ‖A.1‖ + Real.sqrt ‖C.1‖) := by
34    apply h.trans
35    rw [mul_add]
36    exact add_le_add (mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hc)
37      (Real.sqrt_nonneg _)) le_rfl
38  have hle := (le_abs_self _).trans hb
39  dsimp only [Ψ] at hle
40  linarith
41 
42/-- The same perturbation cost for every probability prior. -/
43theorem integral_orbitPayoff_self_le_add_reference_error
44    (μ : Measure (Fin d → ℂ)) [IsProbabilityMeasure μ] (r : ℝ)
45    (Φ : QuantumChannel (Fock d) (Fock d)) (A C : PositiveTraceClass (Fock d)) :
46    (∫ z, orbitPayoff r Φ A A z ∂μ) ≤ (∫ z, orbitPayoff r Φ C C z ∂μ) +
47      Real.sqrt ‖A.1 - C.1‖ * (Real.sqrt ‖A.1‖ + Real.sqrt ‖C.1‖) := by
48  have h := integral_mono (integrable_orbitPayoff μ r Φ A A)
49    ((integrable_orbitPayoff μ r Φ C C).add (integrable_const
50      (Real.sqrt ‖A.1-C.1‖ * (Real.sqrt ‖A.1‖ + Real.sqrt ‖C.1‖))))
51    (orbitPayoff_self_le_add_reference_error r Φ A C)
52  simpa only [Pi.add_apply, integral_add (integrable_orbitPayoff μ r Φ C C) (integrable_const _),
53    integral_const, probReal_univ, one_smul] using h
54 
55/-- Uniform expanding-box estimates are closed under trace-norm convergence
56of the physical reference state. The approximation is fixed before the
57radius, and the radius is fixed before the arbitrary channel. -/
58theorem eventually_forall_flatBox_le_of_reference_tendsto (r : ℝ)
59    (A : ℕ → PositiveTraceClass (Fock d)) (B : PositiveTraceClass (Fock d))
60    (hA : Tendsto A atTop (𝓝 B)) (c : ℕ → ℝ) {C : ℝ}
61    (hc : Tendsto c atTop (𝓝 C))
62    (hbound : ∀ m, ∀ ε > 0, ∀ᶠ n in atTop, ∀ Φ : QuantumChannel (Fock d) (Fock d),
63      flatBoxPayoff r Φ (A m) (A m) n ≤ c m + ε) :
64    ∀ ε > 0, ∀ᶠ n in atTop, ∀ Φ : QuantumChannel (Fock d) (Fock d),
65      flatBoxPayoff r Φ B B n ≤ C + ε := by
66  intro ε hε
67  have hv : Tendsto (fun m => (A m).1) atTop (𝓝 B.1) :=
68    continuous_subtype_val.tendsto _ |>.comp hA
69  have he : Tendsto (fun m => Real.sqrt ‖B.1 - (A m).1‖ *
70      (Real.sqrt ‖B.1‖ + Real.sqrt ‖(A m).1‖)) atTop (𝓝 0) := by
71    convert ((tendsto_const_nhds.sub hv).norm.sqrt).mul
72      (tendsto_const_nhds.add hv.norm.sqrt) using 1
73    simp
74  have hsum : Tendsto (fun m => c m + Real.sqrt ‖B.1-(A m).1‖ *
75      (Real.sqrt ‖B.1‖ + Real.sqrt ‖(A m).1‖)) atTop (𝓝 C) := by
76    simpa using hc.add he
77  have hnear : ∀ᶠ m in atTop, c m + Real.sqrt ‖B.1-(A m).1‖ *
78      (Real.sqrt ‖B.1‖ + Real.sqrt ‖(A m).1‖) < C + ε/2 :=
79    hsum.eventually_lt_const (by linarith : C < C + ε/2)
80  obtain ⟨m, hm⟩ := hnear.exists
81  filter_upwards [hbound m (ε/2) (by linarith)] with n hn
82  intro Φ
83  have hp := integral_orbitPayoff_self_le_add_reference_error
84    ((flatBoxDensity d).expandingPrior n) r Φ B (A m)
85  rw [← flatBoxPayoff_eq_integral, ← flatBoxPayoff_eq_integral] at hp
86  linarith [hn Φ]
87 
88/-- The universal integer-box converse, allowing any exact vacuum modes. -/
89theorem eventually_forall_flatBox_thermal_le_modeFactor_nonneg
90    (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
91    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
92    ∀ ε > 0, ∀ᶠ n in atTop, ∀ Φ : QuantumChannel (Fock d) (Fock d),
93      flatBoxPayoff (Real.sqrt g) Φ (thermalPositive q hq0 hq1)
94        (thermalPositive q hq0 hq1) n ≤ (∏ i, Thermal.modeFactor g (q i)) + ε := by
95  apply eventually_forall_flatBox_le_of_reference_tendsto (Real.sqrt g)
96    (fun m => thermalPositive (Thermal.positiveApprox q m)
97      (fun i => (Thermal.positiveApprox_pos q hq0 m i).le)
98      (Thermal.positiveApprox_lt_one q hq1 m))
99    (thermalPositive q hq0 hq1) (thermalPositive_positiveApprox_tendsto q hq0 hq1)
100    (fun m => ∏ i, Thermal.modeFactor g (Thermal.positiveApprox q m i))
101    (modeFactor_positiveApprox_tendsto g (zero_lt_one.trans hg) q hq0)
102  intro m
103  have hs : Real.sqrt g ^ 2 = g := Real.sq_sqrt (zero_lt_one.trans hg).le
104  have h := eventually_forall_flatBox_thermal_le (Real.sqrt g) (by rwa [hs])
105    (Thermal.positiveApprox_pos q hq0 m) (Thermal.positiveApprox_lt_one q hq1 m)
106  simpa only [hs, Thermal.fidelity_amplified_eq_modeFactor hg
107    (Thermal.positiveApprox_pos q hq0 m _).le (Thermal.positiveApprox_lt_one q hq1 m _)] using h
108 
109/-- Uniform upper bound for all sufficiently large real radii and every
110actual channel, including nonnegative thermal parameters. -/
111theorem eventually_forall_realFlatBox_thermal_le_modeFactor_nonneg
112    (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
113    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
114    ∀ ε > 0, ∀ᶠ L : ℝ in atTop, ∀ Φ : QuantumChannel (Fock d) (Fock d),
115      realFlatBoxPayoff (Real.sqrt g) Φ (thermalPositive q hq0 hq1)
116        (thermalPositive q hq0 hq1) L ≤ (∏ i, Thermal.modeFactor g (q i)) + ε :=
117  eventually_forall_realFlatBox_le_of_integer (Real.sqrt g) _ _
118    (eventually_forall_flatBox_thermal_le_modeFactor_nonneg g hg hq0 hq1)
119 
120theorem limsup_flatBox_thermal_le_modeFactor_nonneg
121    (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
122    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
123    Filter.limsup (flatBoxOptimalPayoff (Real.sqrt g)
124      (thermalPositive q hq0 hq1) (thermalPositive q hq0 hq1)) atTop ≤
125        ∏ i, Thermal.modeFactor g (q i) :=
126  limsup_flatBoxOptimalPayoff_le (Real.sqrt g) _ _
127    (eventually_forall_flatBox_thermal_le_modeFactor_nonneg g hg hq0 hq1)
128 
129/-- The channel supremum remains inside the real-radius limit at the vacuum
130boundary; no channel choice is assumed continuous in the thermal parameters. -/
131theorem limsup_realFlatBox_thermal_le_modeFactor_nonneg
132    (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
133    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
134    Filter.limsup (realFlatBoxOptimalPayoff (Real.sqrt g)
135      (thermalPositive q hq0 hq1) (thermalPositive q hq0 hq1)) atTop ≤
136        ∏ i, Thermal.modeFactor g (q i) :=
137  limsup_realFlatBoxOptimalPayoff_le (Real.sqrt g) _ _
138    (eventually_forall_realFlatBox_thermal_le_modeFactor_nonneg g hg hq0 hq1)
139 
140end Cloning.MultimodeCoherent