Offline · exact source
Exact Lean source

HybridWeightedFidelityLimit

formalization/Cloning/HybridWeightedFidelityLimit.lean

Source hash: 890a78f18f15def8d7f2e9b25538e84db88de068203d9f6bcc81744a5a181463

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.

In the dependency map: Gaussian optimum

Paper ↔ Lean correspondence in this module
Declarations in this module
1import Cloning.HybridWeightedFidelity
2import Cloning.InfiniteFidelityRegularizedLimit
3 
4/-! The full weighted hybrid fidelity lemma for arbitrary positive trace-class
5targets. The inverse moment is its literal finite regularization limit, and
6neither the quantum target nor the classical density needs normalization. -/
7noncomputable section
8open scoped ComplexOrder InnerProductSpace Topology
9open MeasureTheory Filter Cloning.InfiniteTraceClass Cloning.InfiniteFidelity
10namespace Cloning.Hybrid
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 600000
13variable {Ω H : Type*} [MeasurableSpace Ω] {μ : Measure Ω}
14  [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
15 
16/-- Each regularized inverse is an actual bounded operator. -/
17def regularizedInverseMoment (T : PositiveTraceClass H) (W : H→L[ℂ] H) (ε : ℝ) : ℝ :=
18  witnessMoment T.1 (CFC.rpow (regularizedWeight W ε) (-1))
19 
20theorem regularizedInverseMoment_nonneg (T : PositiveTraceClass H) (W : H→L[ℂ] H) (ε : ℝ) :
21    0≤regularizedInverseMoment T W ε := witnessMoment_nonneg T CFC.rpow_nonneg
22 
23theorem regularizedInverseMoment_limit_nonneg (T : PositiveTraceClass H)
24    (W : H→L[ℂ] H) {M : ℝ}
25    (hInv : Tendsto (regularizedInverseMoment T W) (𝓝[>] (0:ℝ)) (𝓝 M)) : 0≤M :=
26  le_of_tendsto_of_tendsto tendsto_const_nhds hInv
27    (Eventually.of_forall (regularizedInverseMoment_nonneg T W))
28 
29namespace PositiveField
30 
31/-- Literal g(y) T for any positive trace-class T, including zero. -/
32def productPositive (g : Ω→ℝ) (hg : Integrable g μ) (hgn : ∀x,0≤g x)
33    (T : PositiveTraceClass H) : PositiveField (H:=H) μ where
34  value x := PositiveTraceClass.scale (Real.toNNReal (g x)) T
35  measurable := (PositiveTraceClass.continuous_scale _).comp_aestronglyMeasurable
36    (continuous_real_toNNReal.comp_aestronglyMeasurable hg.aestronglyMeasurable)
37  integrable := by
38    have h := (Complex.ofRealCLM.integrable_comp hg).smul_const T.1
39    simpa only [PositiveTraceClass.scale,Real.coe_toNNReal _ (hgn _)] using h
40 
41@[simp] theorem productPositive_value (g : Ω→ℝ) (hg : Integrable g μ) (hgn : ∀x,0≤g x)
42    (T : PositiveTraceClass H) (x : Ω) :
43    ((productPositive g hg hgn T).value x).1=(g x:ℂ) • T.1 := by
44  simp only [productPositive,PositiveTraceClass.scale,Real.coe_toNNReal _ (hgn _)]
45 
46theorem rootFidelity_productPositive_sq_le (R : PositiveField (H:=H) μ)
47    (g : Ω→ℝ) (hg : Integrable g μ) (hgn : ∀x,0≤g x) (T : PositiveTraceClass H)
48    {W : H→L[ℂ] H} (hW : 0≤W) {M : ℝ}
49    (hInv : Tendsto (regularizedInverseMoment T W) (𝓝[>] (0:ℝ)) (𝓝 M)) (x : Ω) :
50    PositiveTraceClass.rootFidelity (R.value x) ((productPositive g hg hgn T).value x)^2≤
51      witnessMoment (R.value x).1 W*(g x*M) := by
52  apply fidelity_sq_le_of_regularized_inverse_limit (R.value x).2
53    ((productPositive g hg hgn T).value x).2 hW (R.value x).1.2
54    ((productPositive g hg hgn T).value x).1.2
55  have h := hInv.const_mul (g x)
56  convert h using 1
57  ext ε
58  change witnessMoment ((productPositive g hg hgn T).value x).1
59    (CFC.rpow (regularizedWeight W ε) (-1))=g x*regularizedInverseMoment T W ε
60  rw [productPositive_value,witnessMoment_real_smul]
61  rfl
62 
63/-- The manuscript's weighted-hybrid bound with its precise finite-limit
64hypothesis and arbitrary positive trace-class T. The integrability assumptions
65express the finite RHS. The statement also permits unnormalized g. -/
66theorem rootFidelity_sq_le_weighted_productPositive_of_inverse_limit
67    (R : PositiveField (H:=H) μ)
68    (g : Ω→ℝ) (hg : Integrable g μ) (hgn : ∀x,0≤g x) (T : PositiveTraceClass H)
69    {W : H→L[ℂ] H} (hW : 0≤W) {M : ℝ}
70    (hInv : Tendsto (regularizedInverseMoment T W) (𝓝[>] (0:ℝ)) (𝓝 M))
71    (χ : Ω→ℝ) (hχ : ∀x,0<χ x)
72    (hweighted : Integrable (fun x=>χ x*witnessMoment (R.value x).1 W) μ)
73    (hclassical : Integrable (fun x=>g x/χ x) μ) :
74    R.rootFidelity (productPositive g hg hgn T)^2≤
75      (∫x,χ x*witnessMoment (R.value x).1 W ∂μ)*
76      (∫x,g x/χ x ∂μ)*M := by
77  have hM := regularizedInverseMoment_limit_nonneg T W hInv
78  let f : Ω→ℝ := fun x=>χ x*witnessMoment (R.value x).1 W
79  let k : Ω→ℝ := fun x=>g x/χ x
80  have hfn (x : Ω) : 0≤f x := mul_nonneg (hχ x).le (witnessMoment_nonneg _ hW)
81  have hkn (x : Ω) : 0≤k x := div_nonneg (hgn x) (hχ x).le
82  have hip := integrable_sqrt_mul_sqrt hweighted hclassical hfn hkn
83  have hpoint (x : Ω) :
84      PositiveTraceClass.rootFidelity (R.value x) ((productPositive g hg hgn T).value x)≤
85        Real.sqrt (f x)*Real.sqrt (k x)*Real.sqrt M := by
86    have hsq := rootFidelity_productPositive_sq_le R g hg hgn T hW hInv x
87    have heq : f x*k x*M=witnessMoment (R.value x).1 W*(g x*M) := by
88      dsimp [f,k]
89      field_simp [ne_of_gt (hχ x)]
90    have hsqrt : (Real.sqrt (f x)*Real.sqrt (k x)*Real.sqrt M)^2=
91        witnessMoment (R.value x).1 W*(g x*M) := by
92      rw [mul_pow,mul_pow,Real.sq_sqrt (hfn x),Real.sq_sqrt (hkn x),Real.sq_sqrt hM]
93      exact heq
94    have hpos := mul_nonneg (mul_nonneg (Real.sqrt_nonneg (f x))
95      (Real.sqrt_nonneg (k x))) (Real.sqrt_nonneg M)
96    nlinarith [PositiveTraceClass.rootFidelity_nonneg (R.value x) ((productPositive g hg hgn T).value x)]
97  have hroot : R.rootFidelity (productPositive g hg hgn T)≤
98      Real.sqrt (∫x,f x ∂μ)*Real.sqrt (∫x,k x ∂μ)*Real.sqrt M := by
99    calc
100      _≤∫x,Real.sqrt (f x)*Real.sqrt (k x)*Real.sqrt M ∂μ :=
101        integral_mono (R.integrable_rootFidelity _) (hip.mul_const _) hpoint
102      _=(∫x,Real.sqrt (f x)*Real.sqrt (k x) ∂μ)*Real.sqrt M := integral_mul_const _ _
103      _≤_ := mul_le_mul_of_nonneg_right
104        (integral_sqrt_mul_sqrt_le hweighted hclassical hfn hkn) (Real.sqrt_nonneg M)
105  have hfint : 0≤∫x,f x ∂μ := integral_nonneg (fun x=>hfn x)
106  have hkint : 0≤∫x,k x ∂μ := integral_nonneg (fun x=>hkn x)
107  have hsquared := (sq_le_sq₀ (R.rootFidelity_nonneg _) (by positivity)).mpr hroot
108  simpa only [mul_pow,Real.sq_sqrt hfint,Real.sq_sqrt hkint,Real.sq_sqrt hM] using hsquared
109 
110end PositiveField
111end Cloning.Hybrid