Offline · exact source
Exact Lean source

HybridGaussianBoundary

formalization/Cloning/HybridGaussianBoundary.lean

Source hash: 083724d3b8d0994aadfc37957c270443d13e6c4598218133b243275d4372b3c4

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.HybridGaussianRealBox
2import Cloning.ThermalParameterContinuity
3 
4/-! The genuine hybrid Gaussian converse including vacuum modes. Fixed
5Gaussian preparation transports trace-norm continuity to operator-valued L1;
6a channel-independent fidelity modulus transports the uniform converse. -/
7 
8noncomputable section
9open scoped ComplexOrder InnerProductSpace Topology BigOperators
10open Filter MeasureTheory Cloning.InfiniteTraceClass
11open Cloning.MultimodeCoherent Cloning.MultimodeCoherentGaussianMixture Cloning.ThermalWitness
12namespace Cloning.Hybrid
13set_option backward.isDefEq.respectTransparency false
14set_option maxHeartbeats 1000000
15variable {k s : ℕ}
16 
17/-- Fixed Gaussian preparation is continuous on the actual trace-class
18space, with its exact normalized L1 norm. -/
19theorem continuous_gaussian_prepareL1 (a : Fin k → ℝ) (ha : ∀ i, 0 < a i) :
20    Continuous (prepareL1 (H := Fock s) (GaussianAffinity.productDensity a)
21      (GaussianAffinity.integrable_productDensity a ha)) := by
22  let P := prepareL1 (H := Fock s) (GaussianAffinity.productDensity a)
23    (GaussianAffinity.integrable_productDensity a ha)
24  have hp (X : TraceClass (Fock s)) : ‖P X‖ ≤ 1 * ‖X‖ := by
25    rw [norm_prepareL1 _ _ (GaussianAffinity.productDensity_nonneg a)
26      (GaussianAffinity.integral_productDensity a ha), one_mul]
27  exact (P.mkContinuous 1 hp).continuous
28 
29/-- The centered hybrid reference approaches vacuum parameters in the
30actual positive cone of operator-valued L1. -/
31theorem gaussianThermalPositive_positiveApprox_tendsto
32    (a : Fin k → ℝ) (ha : ∀ i, 0 < a i)
33    (q : Fin s → ℝ) (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
34    Tendsto (fun n => gaussianThermalPositive a ha (Thermal.positiveApprox q n)
35      (fun i => (Thermal.positiveApprox_pos q hq0 n i).le)
36      (Thermal.positiveApprox_lt_one q hq1 n)) atTop
37      (𝓝 (gaussianThermalPositive a ha q hq0 hq1)) := by
38  apply tendsto_subtype_rng.mpr
39  change Tendsto (fun n => (gaussianThermalField a ha (Thermal.positiveApprox q n)
40    (fun i => (Thermal.positiveApprox_pos q hq0 n i).le)
41    (Thermal.positiveApprox_lt_one q hq1 n)).toL1) atTop
42    (𝓝 (gaussianThermalField a ha q hq0 hq1).toL1)
43  simp_rw [gaussianThermalField_toL1]
44  exact (continuous_gaussian_prepareL1 a ha).tendsto _ |>.comp
45    (productThermal_tendsto (fun n i => (Thermal.positiveApprox_pos q hq0 n i).le)
46      (Thermal.positiveApprox_lt_one q hq1) hq0 hq1 (Thermal.positiveApprox_tendsto q))
47 
48/-- Reference perturbation has one modulus for every channel and every
49phase-space displacement. The factor two comes from the proved whole-space
50operator norm bound for physical hybrid channels. -/
51theorem orbitPayoff_self_le_add_reference_error (r : ℝ) (Λ : HybridChannel k s)
52    (A C : HybridPositive k s) (ξ : PhaseSpace k s) :
53    orbitPayoff r Λ A A ξ ≤ orbitPayoff r Λ C C ξ +
54      (Real.sqrt (2 * ‖A.1 - C.1‖) * Real.sqrt ‖A.1‖ +
55        Real.sqrt ‖A.1 - C.1‖ * Real.sqrt ‖C.1‖) := by
56  rw [orbitPayoff_eq_translated, orbitPayoff_eq_translated]
57  let Γ := translatedChannel r Λ ξ
58  have h := PositiveL1.rootFidelity_continuity (A.map Γ) A (C.map Γ) C
59  rw [PositiveL1.norm_map] at h
60  have hd : ‖(A.map Γ).1 - (C.map Γ).1‖ ≤ 2 * ‖A.1 - C.1‖ := by
61    change ‖Γ.map A.1 - Γ.map C.1‖ ≤ _
62    rw [← map_sub]
63    exact Γ.norm_le_two _
64  have hb := h.trans (add_le_add
65    (mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hd) (Real.sqrt_nonneg _)) le_rfl)
66  have hle := (le_abs_self _).trans hb
67  dsimp only [Γ] at hle
68  linarith
69 
70/-- Averaging over any probability prior preserves the same uniform
71reference-state modulus. -/
72theorem integral_orbitPayoff_self_le_add_reference_error
73    (ν : Measure (PhaseSpace k s)) [IsProbabilityMeasure ν]
74    (r : ℝ) (Λ : HybridChannel k s) (A C : HybridPositive k s) :
75    (∫ ξ, orbitPayoff r Λ A A ξ ∂ν) ≤ (∫ ξ, orbitPayoff r Λ C C ξ ∂ν) +
76      (Real.sqrt (2 * ‖A.1 - C.1‖) * Real.sqrt ‖A.1‖ +
77        Real.sqrt ‖A.1 - C.1‖ * Real.sqrt ‖C.1‖) := by
78  have h := integral_mono (integrable_orbitPayoff ν r Λ A A)
79    ((integrable_orbitPayoff ν r Λ C C).add (integrable_const
80      (Real.sqrt (2 * ‖A.1 - C.1‖) * Real.sqrt ‖A.1‖ +
81        Real.sqrt ‖A.1 - C.1‖ * Real.sqrt ‖C.1‖)))
82    (orbitPayoff_self_le_add_reference_error r Λ A C)
83  simpa only [Pi.add_apply, integral_add (integrable_orbitPayoff ν r Λ C C)
84    (integrable_const _), integral_const, probReal_univ, one_smul] using h
85 
86namespace PhaseDensity
87variable (p : PhaseDensity k s)
88 
89/-- Uniform channel bounds pass to L1 limits of reference states. The
90approximation index is chosen before both radius and arbitrary competitor. -/
91theorem eventually_forall_orbitPayoff_le_of_reference_tendsto (r : ℝ)
92    (A : ℕ → HybridPositive k s) (B : HybridPositive k s)
93    (hA : Tendsto A atTop (𝓝 B)) (c : ℕ → ℝ) {C : ℝ}
94    (hc : Tendsto c atTop (𝓝 C))
95    (hbound : ∀ m, ∀ ε > 0, ∀ᶠ n in atTop, ∀ Λ : HybridChannel k s,
96      (∫ ξ, orbitPayoff r Λ (A m) (A m) ξ ∂p.expandingPrior n) ≤ c m + ε) :
97    ∀ ε > 0, ∀ᶠ n in atTop, ∀ Λ : HybridChannel k s,
98      (∫ ξ, orbitPayoff r Λ B B ξ ∂p.expandingPrior n) ≤ C + ε := by
99  intro ε hε
100  have hv : Tendsto (fun m => (A m).1) atTop (𝓝 B.1) :=
101    continuous_subtype_val.tendsto _ |>.comp hA
102  let E := fun m => Real.sqrt (2 * ‖B.1 - (A m).1‖) * Real.sqrt ‖B.1‖ +
103    Real.sqrt ‖B.1 - (A m).1‖ * Real.sqrt ‖(A m).1‖
104  have he : Tendsto E atTop (𝓝 0) := by
105    have hd := ((tendsto_const_nhds (x := B.1)).sub hv).norm
106    convert (((hd.const_mul 2).sqrt).mul tendsto_const_nhds).add
107      (hd.sqrt.mul hv.norm.sqrt) using 1
108    simp
109  have hsum : Tendsto (fun m => c m + E m) atTop (𝓝 C) := by
110    simpa using hc.add he
111  obtain ⟨m, hm⟩ := (hsum.eventually_lt_const (by linarith : C < C + ε / 2)).exists
112  filter_upwards [hbound m (ε / 2) (by linarith)] with n hn
113  intro Λ
114  have hp := integral_orbitPayoff_self_le_add_reference_error
115    (p.expandingPrior n) r Λ B (A m)
116  change (∫ ξ, orbitPayoff r Λ B B ξ ∂p.expandingPrior n) ≤
117    (∫ ξ, orbitPayoff r Λ (A m) (A m) ξ ∂p.expandingPrior n) + E m at hp
118  linarith [hn Λ]
119 
120/-- The actual expanding-prior Gaussian converse permits any collection of
121exact vacuum modes while remaining uniform over all hybrid competitors. -/
122theorem eventually_forall_gaussian_orbitPayoff_le_modeFactor_nonneg
123    (a : Fin k → ℝ) (ha : ∀ i, 0 < a i) (g : ℝ) (hg : 1 < g)
124    (q : Fin s → ℝ) (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
125    ∀ ε > 0, ∀ᶠ n in atTop, ∀ Λ : HybridChannel k s,
126      (∫ ξ, orbitPayoff (Real.sqrt g) Λ
127        (gaussianThermalPositive a ha q hq0 hq1)
128        (gaussianThermalPositive a ha q hq0 hq1) ξ ∂p.expandingPrior n) ≤
129      Thermal.classicalBase g ^ ((k : ℝ) / 2) *
130        (∏ i, Thermal.modeFactor g (q i)) + ε := by
131  apply p.eventually_forall_orbitPayoff_le_of_reference_tendsto (Real.sqrt g)
132    (fun m => gaussianThermalPositive a ha (Thermal.positiveApprox q m)
133      (fun i => (Thermal.positiveApprox_pos q hq0 m i).le)
134      (Thermal.positiveApprox_lt_one q hq1 m))
135    (gaussianThermalPositive a ha q hq0 hq1)
136    (gaussianThermalPositive_positiveApprox_tendsto a ha q hq0 hq1)
137    (fun m => Thermal.classicalBase g ^ ((k : ℝ) / 2) *
138      ∏ i, Thermal.modeFactor g (Thermal.positiveApprox q m i))
139    ((modeFactor_positiveApprox_tendsto g (zero_lt_one.trans hg) q hq0).const_mul _)
140  intro m
141  exact p.eventually_forall_gaussian_orbitPayoff_le_modeFactor a ha g hg _
142    (Thermal.positiveApprox_pos q hq0 m) (Thermal.positiveApprox_lt_one q hq1 m)
143 
144end PhaseDensity
145 
146/-- Nonnegative thermal spectra in every sufficiently large real physical
147box, with one threshold for all actual hybrid channels. -/
148theorem eventually_forall_realFlatBox_gaussian_le_modeFactor_nonneg
149    (a : Fin k → ℝ) (ha : ∀ i, 0 < a i) (g : ℝ) (hg : 1 < g)
150    (q : Fin s → ℝ) (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
151    ∀ ε > 0, ∀ᶠ L : ℝ in atTop, ∀ Λ : HybridChannel k s,
152      realFlatBoxPayoff (Real.sqrt g) Λ
153        (gaussianThermalPositive a ha q hq0 hq1)
154        (gaussianThermalPositive a ha q hq0 hq1) L ≤
155      Thermal.classicalBase g ^ ((k : ℝ) / 2) * (∏ i, Thermal.modeFactor g (q i)) + ε := by
156  apply eventually_forall_realFlatBox_le_of_integer
157  simpa only [flatBoxPayoff_eq_integral] using
158    (flatBoxDensity k s).eventually_forall_gaussian_orbitPayoff_le_modeFactor_nonneg
159      a ha g hg q hq0 hq1
160 
161/-- The full `limsup sup_channel` converse on literal normalized real boxes
162includes the vacuum boundary of the thermal parameter space. -/
163theorem limsup_realFlatBox_gaussian_le_modeFactor_nonneg
164    (a : Fin k → ℝ) (ha : ∀ i, 0 < a i) (g : ℝ) (hg : 1 < g)
165    (q : Fin s → ℝ) (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
166    Filter.limsup (realFlatBoxOptimalPayoff (Real.sqrt g)
167      (gaussianThermalPositive a ha q hq0 hq1)
168      (gaussianThermalPositive a ha q hq0 hq1)) atTop ≤
169      Thermal.classicalBase g ^ ((k : ℝ) / 2) * (∏ i, Thermal.modeFactor g (q i)) :=
170  limsup_realFlatBoxOptimalPayoff_le _ _ _
171    (eventually_forall_realFlatBox_gaussian_le_modeFactor_nonneg a ha g hg q hq0 hq1)
172 
173end Cloning.Hybrid