Offline · exact source
Exact Lean source

HybridFoelnerPayoff

formalization/Cloning/HybridFoelnerPayoff.lean

Source hash: a0c200ccb7cea82d54e5d417793b39f52b55791a6e79dbeeda8db16a7b194fda

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.HybridFoelnerThermal
2 
3/-! Weighted fidelity of the actual hybrid channel output, with exact L¹
4preparation and weighted marginal identifications. -/
5noncomputable section
6open scoped ComplexOrder InnerProductSpace Topology BigOperators
7open MeasureTheory Filter Cloning.InfiniteTraceClass
8open Cloning.MultimodeCoherent Cloning.MultimodeCoherentGaussianMixture Cloning.ThermalWitness
9namespace Cloning.Hybrid
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 1200000
12variable {Ω H : Type*} [MeasurableSpace Ω] {μ : Measure Ω}
13  [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
14 
15lemma PositiveField.weightedMarginal_eq_weightedL1Integral
16    (R : PositiveField (H := H) μ) (χ : Ω → ℝ)
17    (hχ : AEStronglyMeasurable χ μ) {C : ℝ} (hbound : ∀ y, ‖χ y‖ ≤ C) :
18    R.weightedMarginal χ = weightedL1Integral χ hχ hbound R.toL1 := by
19  apply integral_congr_ae
20  filter_upwards [R.coe_toL1] with y hy
21  rw [hy]
22 
23lemma PositiveField.product_toL1_eq_prepareL1
24    (G : Ω → ℝ) (hG : Integrable G μ) (hG0 : ∀ y, 0 ≤ G y) (T : DensityState H) :
25    (PositiveField.product G hG hG0 T).toL1 =
26      prepareL1 G hG (TraceClass.ofOperator T.op T.traceClass) := by
27  apply Lp.ext
28  filter_upwards [(PositiveField.product G hG hG0 T).coe_toL1,
29    prepareL1_ae G hG (TraceClass.ofOperator T.op T.traceClass)] with y hy hz
30  rw [hy, hz, PositiveField.product_value]
31 
32variable {k s : ℕ}
33 
34/-- The actual centered Gaussian--thermal density shared by the input and
35target of the hybrid model. -/
36def gaussianThermalField (a : Fin k → ℝ) (ha : ∀ i, 0 < a i)
37    (q : Fin s → ℝ) (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
38    PositiveField (H := Fock s) (volume : Measure (Fin k → ℝ)) :=
39  PositiveField.product (GaussianAffinity.productDensity a)
40    (GaussianAffinity.integrable_productDensity a ha)
41    (GaussianAffinity.productDensity_nonneg a)
42    (InfiniteDiagonalFidelity.productGeometricState (numberBasis s) q hq0 hq1)
43 
44lemma gaussianThermalField_toL1 (a : Fin k → ℝ) (ha : ∀ i, 0 < a i)
45    (q : Fin s → ℝ) (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
46    (gaussianThermalField a ha q hq0 hq1).toL1 =
47      prepareL1 (GaussianAffinity.productDensity a) (GaussianAffinity.integrable_productDensity a ha)
48        (vectorMixture (numberBasis s) (productGeometric q)) := by
49  rw [gaussianThermalField, PositiveField.product_toL1_eq_prepareL1]
50  rfl
51 
52lemma weightedMarginal_channel_gaussianThermal_eq
53    (Λ : Lp (TraceClass (Fock s)) 1 (volume : Measure (Fin k → ℝ)) →ₗ[ℂ]
54      Lp (TraceClass (Fock s)) 1 (volume : Measure (Fin k → ℝ)))
55    (a : Fin k → ℝ) (ha : ∀ i, 0 < a i)
56    (q : Fin s → ℝ) (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1)
57    (R : PositiveField (H := Fock s) (volume : Measure (Fin k → ℝ)))
58    (hR : R.toL1 = Λ (gaussianThermalField a ha q hq0 hq1).toL1)
59    (χ : (Fin k → ℝ) → ℝ) (hχ : AEStronglyMeasurable χ volume)
60    {C : ℝ} (hbound : ∀ y, ‖χ y‖ ≤ C) :
61    R.weightedMarginal χ = weightedQuantumMap Λ
62      (GaussianAffinity.productDensity a) (GaussianAffinity.integrable_productDensity a ha)
63      χ hχ hbound (vectorMixture (numberBasis s) (productGeometric q)) := by
64  rw [R.weightedMarginal_eq_weightedL1Integral χ hχ hbound, hR, gaussianThermalField_toL1]
65  rfl
66 
67/-- The concrete weighted fidelity inequality of an actual hybrid output
68uses precisely the quantum map extracted from the same channel. -/
69theorem gaussianThermal_output_rootFidelity_sq_le
70    (Λ : Lp (TraceClass (Fock s)) 1 (volume : Measure (Fin k → ℝ)) →ₗ[ℂ]
71      Lp (TraceClass (Fock s)) 1 (volume : Measure (Fin k → ℝ)))
72    (a : Fin k → ℝ) (ha : ∀ i, 0 < a i) (g : ℝ) (hg : 1 < g)
73    (q : Fin s → ℝ) (hq0 : ∀ i, 0 < q i) (hq1 : ∀ i, q i < 1)
74    (R : PositiveField (H := Fock s) (volume : Measure (Fin k → ℝ)))
75    (hR : R.toL1 = Λ (gaussianThermalField a ha q (fun i => (hq0 i).le) hq1).toL1)
76    (hχ : AEStronglyMeasurable
77      (GaussianAffinity.productWitness a (fun i => a i / g)) volume)
78    {C : ℝ} (hbound : ∀ y,
79      ‖GaussianAffinity.productWitness a (fun i => a i / g) y‖ ≤ C) :
80    R.rootFidelity (gaussianThermalField a ha q (fun i => (hq0 i).le) hq1) ^ 2 ≤
81      (tracePairing (weightedQuantumMap Λ (GaussianAffinity.productDensity a)
82        (GaussianAffinity.integrable_productDensity a ha)
83        (GaussianAffinity.productWitness a (fun i => a i / g)) hχ hbound
84        (vectorMixture (numberBasis s) (productGeometric q)))
85        (productWitnessOperator (numberBasis s) q (fun i => Thermal.amplified g (q i)))).re *
86      Thermal.classicalBase g ^ ((k : ℝ) / 2) *
87        ∏ i, Thermal.fidelity (q i) (Thermal.amplified g (q i)) := by
88  have h := R.rootFidelity_sq_le_gaussian_thermal a ha hg.le (numberBasis s) q
89    (fun i => Thermal.amplified g (q i)) hq0
90    (fun i => Thermal.lt_amplified hg (hq1 i))
91    (fun i => Thermal.amplified_lt_one (by linarith) (hq1 i))
92  rw [weightedMarginal_channel_gaussianThermal_eq Λ a ha q _ hq1 R hR _ hχ hbound] at h
93  exact h
94 
95/-- Every asymptotically covariant sequence of genuine hybrid channels has
96eventually at most the sharp Gaussian--thermal root-fidelity payoff. The
97channels can vary independently with the scale. -/
98theorem eventually_gaussianThermal_output_rootFidelity_le
99    (Λ : ℕ → Lp (TraceClass (Fock s)) 1 (volume : Measure (Fin k → ℝ)) →L[ℂ]
100      Lp (TraceClass (Fock s)) 1 (volume : Measure (Fin k → ℝ)))
101    (hΛ : ∀ n, L1CompletelyPositive (Λ n).toLinearMap)
102    (hTP : ∀ n, L1TracePreserving (Λ n).toLinearMap)
103    (a : Fin k → ℝ) (ha : ∀ i, 0 < a i) (g : ℝ) (hg : 1 < g)
104    (q : Fin s → ℝ) (hq0 : ∀ i, 0 < q i) (hq1 : ∀ i, q i < 1)
105    (b : ℕ → (Fin k → ℝ) → ℝ)
106    (hb : ∀ n, AEStronglyMeasurable (b n) volume)
107    {B : ℝ} (hbbound : ∀ n h, ‖b n h‖ ≤ B)
108    (hlim : ∀ h, Tendsto (fun n => b n h) atTop (𝓝 0))
109    (hclassical : ∀ n h R, ‖Λ n (classicalTranslation h R) -
110      classicalTranslation (Real.sqrt g • h) (Λ n R)‖ ≤ b n h * ‖R‖)
111    (hquantum : ∀ z R, Tendsto (fun n =>
112      ‖Λ n (quantumL1Action z R) - quantumL1Action (Real.sqrt g • z) (Λ n R)‖)
113        atTop (𝓝 0))
114    (R : ℕ → PositiveField (H := Fock s) (volume : Measure (Fin k → ℝ)))
115    (hR : ∀ n, (R n).toL1 = Λ n
116      (gaussianThermalField a ha q (fun i => (hq0 i).le) hq1).toL1) :
117    ∀ ε > 0, ∀ᶠ n in atTop,
118      (R n).rootFidelity (gaussianThermalField a ha q (fun i => (hq0 i).le) hq1) ≤
119        Thermal.classicalBase g ^ ((k : ℝ) / 2) *
120          (∏ i, Thermal.fidelity (q i) (Thermal.amplified g (q i))) + ε := by
121  classical
122  let χ := GaussianAffinity.productWitness a (fun i => a i / g)
123  let C := ∏ i, Real.sqrt (Real.sqrt (a i) / Real.sqrt (a i / g))
124  have hg0 : 0 < g := by linarith
125  have hχ : AEStronglyMeasurable χ volume :=
126    (GaussianAffinity.continuous_productWitness a _ ha
127      (fun i => div_pos (ha i) hg0)).aestronglyMeasurable
128  have hC : 0 ≤ C := Finset.prod_nonneg (fun i _ => Real.sqrt_nonneg _)
129  have hχbound (y : Fin k → ℝ) : ‖χ y‖ ≤ C := by
130    rw [Real.norm_eq_abs, abs_of_pos
131      (GaussianAffinity.productWitness_pos a _ ha (fun i => div_pos (ha i) hg0) y)]
132    apply GaussianAffinity.productWitness_le a _ ha (fun i => div_pos (ha i) hg0)
133    intro i
134    exact (div_le_iff₀ hg0).mpr (by nlinarith [ha i])
135  let ck := Thermal.classicalBase g ^ ((k : ℝ) / 2)
136  let F := ∏ i, Thermal.fidelity (q i) (Thermal.amplified g (q i))
137  have hck : 0 ≤ ck := Real.rpow_nonneg (Thermal.classicalBase_pos hg0).le _
138  have hF : 0 ≤ F := Finset.prod_nonneg (fun i _ =>
139    (Thermal.fidelity_pos (hq0 i).le (hq1 i)
140      ((hq0 i).trans (Thermal.lt_amplified hg (hq1 i))).le
141      (Thermal.amplified_lt_one hg0 (hq1 i))).le)
142  let W := productWitnessOperator (numberBasis s) q (fun i => Thermal.amplified g (q i))
143  have hW : IsCompactOperator W := productWitnessOperator_compact _ hq0
144    (fun i => Thermal.lt_amplified hg (hq1 i))
145    (fun i => Thermal.amplified_lt_one hg0 (hq1 i))
146  let τ := vectorMixture (numberBasis s) (productGeometric q)
147  intro ε hε
148  by_contra h
149  have hf : ∃ᶠ n in atTop, ck * F + ε <
150      (R n).rootFidelity (gaussianThermalField a ha q (fun i => (hq0 i).le) hq1) := by
151    simpa only [Filter.Frequently, not_lt, ck, F] using h
152  obtain ⟨scale, hscale, hbad⟩ := exists_seq_forall_of_frequently hf
153  obtain ⟨Γ, hΓ, htrace, hcov, φ, hφ, hcompact⟩ :=
154    exists_gaussian_weighted_covariant_residual (fun n => Λ (scale n))
155      (fun n => hΛ (scale n)) (fun n => hTP (scale n)) a ha hg.le hχ hC hχbound
156      (fun n => b (scale n)) (fun n => hb (scale n))
157      (fun n h => hbbound (scale n) h) (fun h => (hlim h).comp hscale)
158      (fun n => hclassical (scale n)) (fun z A => (hquantum z A).comp hscale)
159  have hmoment : (tracePairing (Γ τ) W).re ≤ ck * F :=
160    hybrid_residual_thermal_witness_moment_le Γ hΓ g hg htrace hcov hq0 hq1
161  have hmomentMul : (tracePairing (Γ τ) W).re * ck * F ≤ (ck * F) ^ 2 := by
162    have ht := mul_le_mul_of_nonneg_right hmoment (mul_nonneg hck hF)
163    nlinarith
164  have hlimM := (((Complex.continuous_re.tendsto _).comp (hcompact τ W hW)).mul_const ck).mul_const F
165  have hnear := hlimM.eventually_lt_const
166    (lt_add_of_pos_right _ (show 0 < ε ^ 2 / 2 by positivity))
167  obtain ⟨n, hn⟩ := hnear.exists
168  have hweighted := gaussianThermal_output_rootFidelity_sq_le
169    (Λ (scale (φ n))).toLinearMap a ha g hg q hq0 hq1 (R (scale (φ n)))
170    (hR (scale (φ n))) hχ hχbound
171  have hbadn := hbad (φ n)
172  have hsq := (sq_lt_sq₀ (add_nonneg (mul_nonneg hck hF) hε.le)
173    ((R (scale (φ n))).rootFidelity_nonneg _)).mpr hbadn
174  change _ < (tracePairing (Γ τ) W).re * ck * F + ε ^ 2 / 2 at hn
175  change (R (scale (φ n))).rootFidelity
176      (gaussianThermalField a ha q (fun i => (hq0 i).le) hq1) ^ 2 ≤
177    (tracePairing _ W).re * ck * F at hweighted
178  dsimp only [Function.comp_apply, τ] at hn
179  nlinarith [mul_nonneg (mul_nonneg hck hF) hε.le]
180 
181end Cloning.Hybrid