Offline · exact source
Exact Lean source

OrbitalGaussianAttainment

formalization/Cloning/OrbitalGaussianAttainment.lean

Source hash: e682cf0b8dedcad8edc10c7c6f39d6cb8cdd3b39eed8da92b362aabf3f2fc310

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.AmplifierWeylThermal
2import Cloning.UniversalGaussianRealBox
3import Cloning.InfiniteDiagonalFidelity
4 
5/-!
6# Physical Gaussian attainment of the orbital fidelity bound
7 
8The constructed quantum-limited amplifier sends every displaced product
9thermal state to the corresponding displaced amplified thermal state.
10Its root fidelity with the target orbit is the same exact mode-factor product
11at every displacement. Consequently it attains every probability average,
12and the optimal expanding real-box payoff converges to that product.
13-/
14 
15noncomputable section
16open scoped ComplexOrder InnerProductSpace Topology BigOperators
17open Filter MeasureTheory Cloning.InfiniteTraceClass Cloning.InfiniteFidelity
18open Cloning.Hybrid Cloning.ThermalWitness Cloning.MultimodeCoherentGaussianMixture
19open Cloning.InfiniteDiagonalFidelity Cloning.MultimodeAmplifier
20namespace Cloning.MultimodeCoherent
21set_option backward.isDefEq.respectTransparency false
22set_option maxHeartbeats 1000000
23variable {d : ℕ}
24 
25theorem thermalPositive_rootFidelity {q x : Fin d → ℝ}
26    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1)
27    (hx0 : ∀ i, 0 ≤ x i) (hx1 : ∀ i, x i < 1) :
28    (thermalPositive q hq0 hq1).rootFidelity (thermalPositive x hx0 hx1) =
29      ∏ i, Thermal.fidelity (q i) (x i) := by
30  change stateFidelity (productGeometricState (numberBasis d) q hq0 hq1)
31    (productGeometricState (numberBasis d) x hx0 hx1) = _
32  exact stateFidelity_productGeometric (numberBasis d) q x hq0 hq1 hx0 hx1
33 
34theorem orbitPayoff_eq_rootFidelity_of_covariant
35    (gain : ℝ) (Φ : QuantumChannel (Fock d) (Fock d))
36    (hcov : ∀ a A, Φ.toLinearMap (displacementTraceMap a A) =
37      displacementTraceMap (gain • a) (Φ.toLinearMap A))
38    (A B : PositiveTraceClass (Fock d)) (a : Fin d → ℂ) :
39    orbitPayoff gain Φ A B a =
40      (PositiveTraceClass.map Φ.toPositiveTracePreservingMap A).rootFidelity B := by
41  have he : PositiveTraceClass.map Φ.toPositiveTracePreservingMap (displacedPositive a A) =
42      displacedPositive (gain • a) (PositiveTraceClass.map Φ.toPositiveTracePreservingMap A) := by
43    apply Subtype.ext
44    simpa only [PositiveTraceClass.map, displacedPositive_val] using hcov a A.1
45  rw [orbitPayoff, he, displacedPositive_rootFidelity]
46 
47/-- The physical amplifier achieves the exact orbital root fidelity at
48every phase-space displacement, with no averaging or limit. -/
49theorem gainChannel_orbitPayoff (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
50    (hq0 : ∀ i, 0 < q i) (hq1 : ∀ i, q i < 1) (a : Fin d → ℂ) :
51    orbitPayoff (Real.sqrt g) (gainChannel g hg)
52      (thermalPositive q (fun i => (hq0 i).le) hq1)
53      (thermalPositive q (fun i => (hq0 i).le) hq1) a =
54      ∏ i, Thermal.modeFactor g (q i) := by
55  let x : Fin d → ℝ := fun i => Thermal.amplified g (q i)
56  have hx0 (i : Fin d) : 0 ≤ x i :=
57    ((hq0 i).trans (Thermal.lt_amplified hg (hq1 i))).le
58  have hx1 (i : Fin d) : x i < 1 := Thermal.amplified_lt_one (by linarith) (hq1 i)
59  have hmap : PositiveTraceClass.map (gainChannel g hg).toPositiveTracePreservingMap
60      (thermalPositive q (fun i => (hq0 i).le) hq1) = thermalPositive x hx0 hx1 := by
61    apply Subtype.ext
62    exact gainChannel_productThermal g hg hq0 hq1
63  rw [orbitPayoff_eq_rootFidelity_of_covariant (Real.sqrt g) (gainChannel g hg)
64    (gainChannel_covariant g hg), hmap, PositiveTraceClass.rootFidelity_comm,
65    thermalPositive_rootFidelity]
66  apply Finset.prod_congr rfl
67  intro i _
68  exact Thermal.fidelity_amplified_eq_modeFactor hg (hq0 i).le (hq1 i)
69 
70/-- Any probability prior, not only a flat box, has exactly this attained
71average root fidelity. -/
72theorem gainChannel_integral_orbitPayoff (μ : Measure (Fin d → ℂ)) [IsProbabilityMeasure μ]
73    (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
74    (hq0 : ∀ i, 0 < q i) (hq1 : ∀ i, q i < 1) :
75    (∫ a, orbitPayoff (Real.sqrt g) (gainChannel g hg)
76      (thermalPositive q (fun i => (hq0 i).le) hq1)
77      (thermalPositive q (fun i => (hq0 i).le) hq1) a ∂μ) =
78      ∏ i, Thermal.modeFactor g (q i) := by
79  simp_rw [gainChannel_orbitPayoff g hg hq0 hq1]
80  simp
81 
82theorem gainChannel_flatBoxPayoff (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
83    (hq0 : ∀ i, 0 < q i) (hq1 : ∀ i, q i < 1) (n : ℕ) :
84    flatBoxPayoff (Real.sqrt g) (gainChannel g hg)
85      (thermalPositive q (fun i => (hq0 i).le) hq1)
86      (thermalPositive q (fun i => (hq0 i).le) hq1) n =
87      ∏ i, Thermal.modeFactor g (q i) := by
88  rw [flatBoxPayoff_eq_integral]
89  exact gainChannel_integral_orbitPayoff _ g hg hq0 hq1
90 
91theorem gainChannel_realFlatBoxPayoff (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
92    (hq0 : ∀ i, 0 < q i) (hq1 : ∀ i, q i < 1) (L : ℝ) :
93    realFlatBoxPayoff (Real.sqrt g) (gainChannel g hg)
94      (thermalPositive q (fun i => (hq0 i).le) hq1)
95      (thermalPositive q (fun i => (hq0 i).le) hq1) L =
96      ∏ i, Thermal.modeFactor g (q i) := by
97  unfold realFlatBoxPayoff
98  simp_rw [gainChannel_orbitPayoff g hg hq0 hq1]
99  simp only [integral_const, measureReal_def, Measure.restrict_apply_univ, smul_eq_mul]
100  change (volume.real (phaseSpaceUnitBox d))⁻¹ *
101    (volume.real (phaseSpaceUnitBox d) * _) = _
102  rw [← mul_assoc, inv_mul_cancel₀ (phaseSpaceUnitBox_volume_real_pos d).ne', one_mul]
103 
104/-- Attainment for the literal normalized Lebesgue integral on each positive
105real-radius box. -/
106theorem gainChannel_normalized_box (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
107    (hq0 : ∀ i, 0 < q i) (hq1 : ∀ i, q i < 1) {L : ℝ} (hL : 0 < L) :
108    (volume.real (phaseSpaceBox d L))⁻¹ *
109      (∫ a in phaseSpaceBox d L, orbitPayoff (Real.sqrt g) (gainChannel g hg)
110        (thermalPositive q (fun i => (hq0 i).le) hq1)
111        (thermalPositive q (fun i => (hq0 i).le) hq1) a) =
112      ∏ i, Thermal.modeFactor g (q i) := by
113  rw [← realFlatBoxPayoff_eq_normalized_box _ _ _ _ hL]
114  exact gainChannel_realFlatBoxPayoff g hg hq0 hq1 L
115 
116/-- A single physical amplifier supplies a lower bound for every competing
117channel supremum, independently of the box radius. -/
118theorem modeFactor_le_realFlatBoxOptimalPayoff (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
119    (hq0 : ∀ i, 0 < q i) (hq1 : ∀ i, q i < 1) (L : ℝ) :
120    (∏ i, Thermal.modeFactor g (q i)) ≤ realFlatBoxOptimalPayoff (Real.sqrt g)
121      (thermalPositive q (fun i => (hq0 i).le) hq1)
122      (thermalPositive q (fun i => (hq0 i).le) hq1) L := by
123  let A := thermalPositive q (fun i => (hq0 i).le) hq1
124  have hb : BddAbove (Set.range (fun Φ : QuantumChannel (Fock d) (Fock d) =>
125      realFlatBoxPayoff (Real.sqrt g) Φ A A L)) := by
126    refine ⟨Real.sqrt ‖A.1‖ * Real.sqrt ‖A.1‖, ?_⟩
127    rintro _ ⟨Φ, rfl⟩
128    exact realFlatBoxPayoff_le_sqrt _ Φ A A L
129  rw [← gainChannel_realFlatBoxPayoff g hg hq0 hq1 L]
130  exact le_csSup hb (Set.mem_range_self (gainChannel g hg))
131 
132/-- The optimal average root fidelity has an actual limit over arbitrary
133real expanding boxes, with the channel supremum taken before the limit. -/
134theorem realFlatBoxOptimalPayoff_tendsto_modeFactor
135    (g : ℝ) (hg : 1 < g) {q : Fin d → ℝ}
136    (hq0 : ∀ i, 0 < q i) (hq1 : ∀ i, q i < 1) :
137    Tendsto (realFlatBoxOptimalPayoff (Real.sqrt g)
138      (thermalPositive q (fun i => (hq0 i).le) hq1)
139      (thermalPositive q (fun i => (hq0 i).le) hq1)) atTop
140      (𝓝 (∏ i, Thermal.modeFactor g (q i))) := by
141  let A := thermalPositive q (fun i => (hq0 i).le) hq1
142  let F : ℝ := ∏ i, Thermal.modeFactor g (q i)
143  have hs : Real.sqrt g ^ 2 = g := Real.sq_sqrt (by linarith)
144  have hupper := eventually_forall_realFlatBox_thermal_le (Real.sqrt g) (by rwa [hs]) hq0 hq1
145  simp_rw [hs, Thermal.fidelity_amplified_eq_modeFactor hg (hq0 _).le (hq1 _)] at hupper
146  have hopt : ∀ ε > 0, ∀ᶠ L : ℝ in atTop,
147      realFlatBoxOptimalPayoff (Real.sqrt g) A A L ≤ F + ε := by
148    intro ε hε
149    filter_upwards [hupper ε hε] with L hL
150    apply csSup_le ⟨_, Set.mem_range_self (gainChannel g hg)⟩
151    rintro _ ⟨Φ, rfl⟩
152    exact hL Φ
153  apply tendsto_order.2
154  constructor
155  · intro c hc
156    exact Eventually.of_forall fun L => hc.trans_le (modeFactor_le_realFlatBoxOptimalPayoff g hg hq0 hq1 L)
157  · intro c hc
158    filter_upwards [hopt ((c - F) / 2) (by change F < c at hc; linarith)] with L hL
159    change F < c at hc
160    change realFlatBoxOptimalPayoff (Real.sqrt g) A A L < c
161    linarith
162 
163end Cloning.MultimodeCoherent