Offline · exact source
Exact Lean source

OrbitalGaussianAttainmentBoundary

formalization/Cloning/OrbitalGaussianAttainmentBoundary.lean

Source hash: 54b0571c74ea610d864478cfeb13caa5b8239d002658f3f3d4fc74c6852a3c40

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.ThermalParameterContinuity
2import Cloning.OrbitalGaussianAttainment
3import Cloning.UniversalGaussianBoundary
4 
5/-!
6# Physical Gaussian orbital attainment including vacuum modes
7 
8The same spectrum-independent amplifier attains the orbital factor when any
9thermal parameters are exactly zero. The actual thermal output identity is
10obtained by trace-norm continuity, and the fidelity identities remain literal
11positive-operator and Lebesgue-integral equalities.
12-/
13 
14noncomputable section
15open scoped ComplexOrder InnerProductSpace Topology BigOperators
16open Filter MeasureTheory Cloning.InfiniteTraceClass Cloning.InfiniteFidelity
17open Cloning.Hybrid Cloning.ThermalWitness Cloning.MultimodeCoherentGaussianMixture
18open Cloning.InfiniteDiagonalFidelity Cloning.MultimodeAmplifier
19namespace Cloning.MultimodeCoherent
20set_option backward.isDefEq.respectTransparency false
21set_option maxHeartbeats 1000000
22variable {d : ℕ}
23 
24theorem gainChannel_map_thermalPositive_nonneg (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
25    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
26    PositiveTraceClass.map (gainChannel g hg).toPositiveTracePreservingMap
27      (thermalPositive q hq0 hq1) =
28      thermalPositive (fun i => Thermal.amplified g (q i))
29        (fun i => (hq0 i).trans (Thermal.lt_amplified hg (hq1 i)).le)
30        (fun i => Thermal.amplified_lt_one (zero_lt_one.trans hg) (hq1 i)) := by
31  apply Subtype.ext
32  exact gainChannel_productThermal_nonneg g hg hq0 hq1
33 
34/-- Pointwise physical attainment, including any combination of exact vacuum
35and mixed thermal modes. -/
36theorem gainChannel_orbitPayoff_nonneg (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
37    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) (a : Fin d → ℂ) :
38    orbitPayoff (Real.sqrt g) (gainChannel g hg)
39      (thermalPositive q hq0 hq1) (thermalPositive q hq0 hq1) a =
40      ∏ i, Thermal.modeFactor g (q i) := by
41  rw [orbitPayoff_eq_rootFidelity_of_covariant (Real.sqrt g) (gainChannel g hg)
42    (gainChannel_covariant g hg), gainChannel_map_thermalPositive_nonneg,
43    PositiveTraceClass.rootFidelity_comm, thermalPositive_rootFidelity]
44  apply Finset.prod_congr rfl
45  intro i _
46  exact Thermal.fidelity_amplified_eq_modeFactor hg (hq0 i) (hq1 i)
47 
48theorem gainChannel_integral_orbitPayoff_nonneg
49    (μ : Measure (Fin d → ℂ)) [IsProbabilityMeasure μ]
50    (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
51    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
52    (∫ a, orbitPayoff (Real.sqrt g) (gainChannel g hg)
53      (thermalPositive q hq0 hq1) (thermalPositive q hq0 hq1) a ∂μ) =
54      ∏ i, Thermal.modeFactor g (q i) := by
55  simp_rw [gainChannel_orbitPayoff_nonneg g hg hq0 hq1]
56  simp
57 
58theorem gainChannel_flatBoxPayoff_nonneg (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
59    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) (n : ℕ) :
60    flatBoxPayoff (Real.sqrt g) (gainChannel g hg)
61      (thermalPositive q hq0 hq1) (thermalPositive q hq0 hq1) n =
62      ∏ i, Thermal.modeFactor g (q i) := by
63  rw [flatBoxPayoff_eq_integral]
64  exact gainChannel_integral_orbitPayoff_nonneg _ g hg hq0 hq1
65 
66theorem gainChannel_realFlatBoxPayoff_nonneg (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
67    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) (L : ℝ) :
68    realFlatBoxPayoff (Real.sqrt g) (gainChannel g hg)
69      (thermalPositive q hq0 hq1) (thermalPositive q hq0 hq1) L =
70      ∏ i, Thermal.modeFactor g (q i) := by
71  unfold realFlatBoxPayoff
72  simp_rw [gainChannel_orbitPayoff_nonneg g hg hq0 hq1]
73  simp only [integral_const, measureReal_def, Measure.restrict_apply_univ, smul_eq_mul]
74  change (volume.real (phaseSpaceUnitBox d))⁻¹ *
75    (volume.real (phaseSpaceUnitBox d) * _) = _
76  rw [← mul_assoc, inv_mul_cancel₀ (phaseSpaceUnitBox_volume_real_pos d).ne', one_mul]
77 
78theorem gainChannel_normalized_box_nonneg (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
79    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) {L : ℝ} (hL : 0 < L) :
80    (volume.real (phaseSpaceBox d L))⁻¹ *
81      (∫ a in phaseSpaceBox d L, orbitPayoff (Real.sqrt g) (gainChannel g hg)
82        (thermalPositive q hq0 hq1) (thermalPositive q hq0 hq1) a) =
83      ∏ i, Thermal.modeFactor g (q i) := by
84  rw [← realFlatBoxPayoff_eq_normalized_box _ _ _ _ hL]
85  exact gainChannel_realFlatBoxPayoff_nonneg g hg hq0 hq1 L
86 
87theorem modeFactor_le_realFlatBoxOptimalPayoff_nonneg
88    (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
89    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) (L : ℝ) :
90    (∏ i, Thermal.modeFactor g (q i)) ≤ realFlatBoxOptimalPayoff (Real.sqrt g)
91      (thermalPositive q hq0 hq1) (thermalPositive q hq0 hq1) L := by
92  let A := thermalPositive q hq0 hq1
93  have hb : BddAbove (Set.range (fun Φ : QuantumChannel (Fock d) (Fock d) =>
94      realFlatBoxPayoff (Real.sqrt g) Φ A A L)) := by
95    refine ⟨Real.sqrt ‖A.1‖ * Real.sqrt ‖A.1‖, ?_⟩
96    rintro _ ⟨Φ, rfl⟩
97    exact realFlatBoxPayoff_le_sqrt _ Φ A A L
98  rw [← gainChannel_realFlatBoxPayoff_nonneg g hg hq0 hq1 L]
99  exact le_csSup hb (Set.mem_range_self (gainChannel g hg))
100 
101/-- The optimal average root fidelity converges to the attained orbital
102factor for every nonnegative thermal spectrum, including exact vacuum modes.
103The supremum ranges over all actual channels at each real radius. -/
104theorem realFlatBoxOptimalPayoff_tendsto_modeFactor_nonneg
105    (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
106    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
107    Tendsto (realFlatBoxOptimalPayoff (Real.sqrt g)
108      (thermalPositive q hq0 hq1) (thermalPositive q hq0 hq1)) atTop
109      (𝓝 (∏ i, Thermal.modeFactor g (q i))) := by
110  let A := thermalPositive q hq0 hq1
111  let F : ℝ := ∏ i, Thermal.modeFactor g (q i)
112  have hupper := eventually_forall_realFlatBox_thermal_le_modeFactor_nonneg g hg hq0 hq1
113  have hopt : ∀ ε > 0, ∀ᶠ L : ℝ in atTop,
114      realFlatBoxOptimalPayoff (Real.sqrt g) A A L ≤ F + ε := by
115    intro ε hε
116    filter_upwards [hupper ε hε] with L hL
117    apply csSup_le ⟨_, Set.mem_range_self (gainChannel g hg)⟩
118    rintro _ ⟨Φ, rfl⟩
119    exact hL Φ
120  apply tendsto_order.2
121  constructor
122  · intro c hc
123    exact Eventually.of_forall fun L =>
124      hc.trans_le (modeFactor_le_realFlatBoxOptimalPayoff_nonneg g hg hq0 hq1 L)
125  · intro c hc
126    filter_upwards [hopt ((c - F) / 2) (by change F < c at hc; linarith)] with L hL
127    change F < c at hc
128    change realFlatBoxOptimalPayoff (Real.sqrt g) A A L < c
129    linarith
130 
131end Cloning.MultimodeCoherent