Offline · exact source
Exact Lean source

HybridThermalWitness

formalization/Cloning/HybridThermalWitness.lean

Source hash: 4ab617b9a207f1f74df880b62df335299c94831258cba49a7b1e78c50fa03e90

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.HybridWeightedFidelity
2import Cloning.HybridL1
3import Cloning.GaussianWitness
4import Cloning.ThermalWitness
5 
6/-!
7# The actual Gaussian--thermal hybrid witness
8 
9The abstract weighted fidelity inequality is instantiated with the manuscript's
10Gaussian density ratio and product thermal operator. Both integrability
11conditions and the regularized inverse moment are proved here.
12-/
13 
14noncomputable section
15open scoped ComplexOrder InnerProductSpace Topology BigOperators
16open MeasureTheory Filter Cloning.InfiniteTraceClass Cloning.InfiniteFidelity
17namespace Cloning.Hybrid
18set_option backward.isDefEq.respectTransparency false
19 
20variable {Ω H : Type*} [MeasurableSpace Ω] {μ : Measure Ω}
21  [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
22 
23def witnessMomentCLM (W : H →L[ℂ] H) : TraceClass H →L[ℝ] ℝ :=
24  Complex.reCLM.comp ((tracePairingCLM.flip W).restrictScalars ℝ)
25 
26@[simp] theorem witnessMomentCLM_apply (W : H →L[ℂ] H) (A : TraceClass H) :
27    witnessMomentCLM W A = witnessMoment A W := rfl
28 
29namespace PositiveField
30 
31theorem integrable_witnessMoment (R : PositiveField (H := H) μ) (W : H →L[ℂ] H) :
32    Integrable (fun y => witnessMoment (R.value y).1 W) μ :=
33  (witnessMomentCLM W).integrable_comp R.integrable
34 
35theorem integrable_weighted_witnessMoment (R : PositiveField (H := H) μ)
36    (W : H →L[ℂ] H) (χ : Ω → ℝ) (hχ : AEStronglyMeasurable χ μ)
37    {C : ℝ} (hbound : ∀ y, ‖χ y‖ ≤ C) :
38    Integrable (fun y => χ y * witnessMoment (R.value y).1 W) μ :=
39  (R.integrable_witnessMoment W).bdd_mul hχ (Eventually.of_forall hbound)
40 
41theorem integrable_weighted_fibre (R : PositiveField (H := H) μ)
42    (χ : Ω → ℝ) (hχ : AEStronglyMeasurable χ μ)
43    {C : ℝ} (hbound : ∀ y, ‖χ y‖ ≤ C) :
44    Integrable (fun y => (χ y : ℂ) • (R.value y).1) μ := by
45  apply R.integrable.bdd_smul C (Complex.continuous_ofReal.comp_aestronglyMeasurable hχ)
46  exact Eventually.of_forall fun y => by simpa only [Complex.norm_real] using hbound y
47 
48/-- Integrating a classical weight gives an actual quantum trace-class operator. -/
49def weightedMarginal (R : PositiveField (H := H) μ) (χ : Ω → ℝ) : TraceClass H :=
50  ∫ y, (χ y : ℂ) • (R.value y).1 ∂μ
51 
52theorem weightedMarginal_nonneg (R : PositiveField (H := H) μ)
53    (χ : Ω → ℝ) (hχ : AEStronglyMeasurable χ μ) (hχ0 : ∀ y, 0 ≤ χ y)
54    {C : ℝ} (hbound : ∀ y, ‖χ y‖ ≤ C) : 0 ≤ (R.weightedMarginal χ).1 := by
55  let S := ofIntegrable (fun y => (χ y : ℂ) • (R.value y).1)
56    (R.integrable_weighted_fibre χ hχ hbound) (fun y => by
57      change 0 ≤ (χ y : ℂ) • (R.value y).1.1
58      rw [Complex.coe_smul]
59      exact smul_nonneg (hχ0 y) (R.value y).2)
60  exact S.quantumMarginal_nonneg
61 
62/-- The compact-observable moment is exactly the weighted hybrid moment. -/
63theorem witnessMoment_weightedMarginal (R : PositiveField (H := H) μ)
64    (χ : Ω → ℝ) (hχ : AEStronglyMeasurable χ μ)
65    {C : ℝ} (hbound : ∀ y, ‖χ y‖ ≤ C) (W : H →L[ℂ] H) :
66    witnessMoment (R.weightedMarginal χ) W =
67      ∫ y, χ y * witnessMoment (R.value y).1 W ∂μ := by
68  change witnessMomentCLM W (∫ y, (χ y : ℂ) • (R.value y).1 ∂μ) = _
69  rw [← (witnessMomentCLM W).integral_comp_comm
70    (R.integrable_weighted_fibre χ hχ hbound)]
71  simp only [witnessMomentCLM_apply, witnessMoment_real_smul]
72 
73variable {k s : ℕ}
74 
75/-- The exact hybrid Gaussian--thermal bound with no assumed witness moments
76or integrability estimates. The output may have arbitrary classical--quantum
77correlations and arbitrary off-diagonal quantum coherences. -/
78theorem rootFidelity_sq_le_gaussian_thermal
79    (R : PositiveField (H := H) (volume : Measure (Fin k → ℝ)))
80    (a : Fin k → ℝ) (ha : ∀ i, 0 < a i) {g : ℝ} (hg : 1 ≤ g)
81    (b : HilbertBasis (Fin s → ℕ) ℂ H) (q x : Fin s → ℝ)
82    (hq0 : ∀ i, 0 < q i) (hqx : ∀ i, q i < x i) (hx1 : ∀ i, x i < 1) :
83    R.rootFidelity (product (GaussianAffinity.productDensity a)
84      (GaussianAffinity.integrable_productDensity a ha)
85      (GaussianAffinity.productDensity_nonneg a)
86      (InfiniteDiagonalFidelity.productGeometricState b q (fun i => (hq0 i).le)
87        (fun i => (hqx i).trans (hx1 i)))) ^ 2 ≤
88      witnessMoment
89        (R.weightedMarginal (GaussianAffinity.productWitness a (fun i => a i / g)))
90        (ThermalWitness.productWitnessOperator b q x) *
91      Thermal.classicalBase g ^ ((k : ℝ) / 2) *
92        ∏ i, Thermal.fidelity (q i) (x i) := by
93  have hg0 : 0 < g := lt_of_lt_of_le zero_lt_one hg
94  let χ := GaussianAffinity.productWitness a (fun i => a i / g)
95  have hχm : AEStronglyMeasurable χ volume :=
96    (GaussianAffinity.continuous_productWitness a _ ha (fun i => div_pos (ha i) hg0)).aestronglyMeasurable
97  have hχ0 (y : Fin k → ℝ) : 0 < χ y :=
98    GaussianAffinity.productWitness_pos a _ ha (fun i => div_pos (ha i) hg0) y
99  have hχb (y : Fin k → ℝ) :
100      ‖χ y‖ ≤ ∏ i, Real.sqrt (Real.sqrt (a i) / Real.sqrt (a i / g)) := by
101    rw [Real.norm_eq_abs, abs_of_pos (hχ0 y)]
102    apply GaussianAffinity.productWitness_le a _ ha (fun i => div_pos (ha i) hg0)
103    intro i
104    exact (div_le_iff₀ hg0).mpr (by nlinarith [ha i])
105  have hM : 0 ≤ ∏ i, Thermal.fidelity (q i) (x i) :=
106    Finset.prod_nonneg (fun i _ => (Thermal.fidelity_pos (hq0 i).le
107      ((hqx i).trans (hx1 i)) ((hq0 i).trans (hqx i)).le (hx1 i)).le)
108  have hinv (ε : ℝ) (hε : 0 < ε) : witnessMoment
109      (TraceClass.ofOperator
110        (InfiniteDiagonalFidelity.productGeometricState b q (fun i => (hq0 i).le)
111          (fun i => (hqx i).trans (hx1 i))).op
112        (InfiniteDiagonalFidelity.productGeometricState b q (fun i => (hq0 i).le)
113          (fun i => (hqx i).trans (hx1 i))).traceClass)
114      (CFC.rpow (regularizedWeight (ThermalWitness.productWitnessOperator b q x) ε) (-1)) ≤
115        ∏ i, Thermal.fidelity (q i) (x i) :=
116    ThermalWitness.product_thermal_regularized_inverse_moment b hq0 hqx hx1 hε
117  have hf := R.rootFidelity_sq_le_weighted_product
118    (GaussianAffinity.productDensity a) (GaussianAffinity.integrable_productDensity a ha)
119    (GaussianAffinity.productDensity_nonneg a)
120    (InfiniteDiagonalFidelity.productGeometricState b q (fun i => (hq0 i).le)
121      (fun i => (hqx i).trans (hx1 i)))
122    (ThermalWitness.productWitnessOperator_nonneg b hq0 hqx hx1) hM hinv χ hχ0
123    (R.integrable_weighted_witnessMoment _ χ hχm hχb)
124    (GaussianAffinity.integrable_productDensity_div_witness a _ ha
125      (fun i => div_pos (ha i) hg0))
126  rw [← R.witnessMoment_weightedMarginal χ hχm hχb] at hf
127  simpa only [χ, GaussianAffinity.integral_productDensity_div_witness a ha hg0,
128    Fintype.card_fin] using hf
129 
130end PositiveField
131end Cloning.Hybrid