Offline · exact source
Exact Lean source

WeylFoelnerPayoff

formalization/Cloning/WeylFoelnerPayoff.lean

Source hash: a0fb42c8cf9ea00b1f38ed8e6dfb982f71ffd0c9d28349bfa9b12fd52151a492

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.WeylFoelnerLimit
2import Cloning.HybridJensenSigmaFinite
3import Cloning.ThermalWitness
4 
5/-! Root-fidelity performance of actual Weyl-averaged competitors.
6The average payoff is controlled by an actual averaged output and hence by a
7compact thermal witness. These estimates do not restore escaping trace. -/
8 
9noncomputable section
10open scoped ComplexOrder InnerProductSpace Topology BigOperators
11open Filter MeasureTheory Cloning.InfiniteTraceClass Cloning.InfiniteFidelity
12open Cloning.Hybrid
13namespace Cloning.MultimodeCoherent
14set_option backward.isDefEq.respectTransparency false
15set_option maxHeartbeats 1000000
16variable {d : ℕ}
17 
18/-- Displacement of an arbitrary positive trace-class operator. -/
19def displacedPositive (a : Fin d → ℂ) (A : PositiveTraceClass (Fock d)) :
20    PositiveTraceClass (Fock d) :=
21  PositiveTraceClass.map (displacementChannel a).toPositiveTracePreservingMap A
22 
23@[simp] theorem displacedPositive_val (a : Fin d → ℂ)
24    (A : PositiveTraceClass (Fock d)) : (displacedPositive a A).1 =
25      displacementTraceMap a A.1 := (displacementTraceMap_eq_channel a A.1).symm
26 
27@[simp] theorem displacedPositive_neg_cancel (a : Fin d → ℂ)
28    (A : PositiveTraceClass (Fock d)) : displacedPositive (-a) (displacedPositive a A) = A := by
29  apply Subtype.ext
30  simp only [displacedPositive_val, displacementTraceMap_neg_cancel]
31 
32/-- Exact fidelity invariance under the actual infinite-dimensional Weyl unitaries. -/
33theorem displacedPositive_rootFidelity (a : Fin d → ℂ)
34    (A B : PositiveTraceClass (Fock d)) :
35    (displacedPositive a A).rootFidelity (displacedPositive a B) = A.rootFidelity B := by
36  apply le_antisymm
37  · have h := fidelity_data_processing (displacementChannel (-a))
38      (displacedPositive a A).1 (displacedPositive a B).1
39      (displacedPositive a A).2 (displacedPositive a B).2
40    change (displacedPositive a A).rootFidelity (displacedPositive a B) ≤
41      (displacedPositive (-a) (displacedPositive a A)).rootFidelity
42        (displacedPositive (-a) (displacedPositive a B)) at h
43    simpa only [displacedPositive_neg_cancel] using h
44  · exact fidelity_data_processing (displacementChannel a) A.1 B.1 A.2 B.2
45 
46/-- The physical orbit payoff at phase-space amplitude `a`. Inputs and targets
47may be arbitrary positive trace-class states, including mixed thermal states. -/
48def orbitPayoff (gain : ℝ) (Φ : QuantumChannel (Fock d) (Fock d))
49    (A B : PositiveTraceClass (Fock d)) (a : Fin d → ℂ) : ℝ :=
50  (PositiveTraceClass.map Φ.toPositiveTracePreservingMap (displacedPositive a A)).rootFidelity
51    (displacedPositive (gain • a) B)
52 
53/-- Undoing the target displacement identifies the orbit fidelity with the
54fidelity of the translated channel at the fixed reference input. -/
55theorem orbitPayoff_eq_translated (gain : ℝ) (Φ : QuantumChannel (Fock d) (Fock d))
56    (A B : PositiveTraceClass (Fock d)) (a : Fin d → ℂ) :
57    orbitPayoff gain Φ A B a =
58      (PositiveTraceClass.map (translatedChannel gain Φ a).toPositiveTracePreservingMap A).rootFidelity B := by
59  have h := displacedPositive_rootFidelity (-(gain • a))
60    (PositiveTraceClass.map Φ.toPositiveTracePreservingMap (displacedPositive a A))
61    (displacedPositive (gain • a) B)
62  rw [displacedPositive_neg_cancel] at h
63  have he : displacedPositive (-(gain • a))
64      (PositiveTraceClass.map Φ.toPositiveTracePreservingMap (displacedPositive a A)) =
65      PositiveTraceClass.map (translatedChannel gain Φ a).toPositiveTracePreservingMap A := by
66    apply Subtype.ext
67    simp only [displacedPositive_val, PositiveTraceClass.map, translatedChannel_apply]
68  rw [he] at h
69  exact h.symm
70 
71/-- The physical fidelity payoff is continuous in the displacement parameter. -/
72lemma continuous_orbitPayoff (gain : ℝ) (Φ : QuantumChannel (Fock d) (Fock d))
73    (A B : PositiveTraceClass (Fock d)) : Continuous (orbitPayoff gain Φ A B) := by
74  have he : orbitPayoff gain Φ A B = fun a =>
75      (PositiveTraceClass.map (translatedChannel gain Φ a).toPositiveTracePreservingMap A).rootFidelity B :=
76    funext (orbitPayoff_eq_translated gain Φ A B)
77  rw [he]
78  have hc : Continuous (fun a =>
79      PositiveTraceClass.map (translatedChannel gain Φ a).toPositiveTracePreservingMap A) :=
80    (continuous_translatedChannel gain Φ A.1).subtype_mk _
81  exact Continuous.comp
82    (f := fun a => (PositiveTraceClass.map
83      (translatedChannel gain Φ a).toPositiveTracePreservingMap A, B))
84    PositiveTraceClass.continuous_rootFidelity (hc.prodMk continuous_const)
85 
86lemma integrable_orbitPayoff (μ : Measure (Fin d → ℂ)) [IsProbabilityMeasure μ]
87    (gain : ℝ) (Φ : QuantumChannel (Fock d) (Fock d))
88    (A B : PositiveTraceClass (Fock d)) : Integrable (orbitPayoff gain Φ A B) μ := by
89  let R : (Fin d → ℂ) → PositiveTraceClass (Fock d) := fun a =>
90    ⟨(translatedChannel gain Φ a).toLinearMap A.1,
91      (translatedChannel gain Φ a).map_nonneg A.1 A.2⟩
92  have hc : Continuous R := (continuous_translatedChannel gain Φ A.1).subtype_mk _
93  have hf : Integrable (fun a => (R a).rootFidelity B) μ := by
94    apply (integrable_const (Real.sqrt ‖A.1‖ * Real.sqrt ‖B.1‖)).mono'
95      ((PositiveTraceClass.continuous_rootFidelity.comp
96        (hc.prodMk continuous_const)).aestronglyMeasurable)
97    exact Eventually.of_forall fun a => by
98      change ‖(R a).rootFidelity B‖ ≤ Real.sqrt ‖A.1‖ * Real.sqrt ‖B.1‖
99      rw [Real.norm_of_nonneg (PositiveTraceClass.rootFidelity_nonneg _ _)]
100      have h := PositiveTraceClass.rootFidelity_le_sqrt (R a) B
101      have he : ‖(R a).1‖ = ‖A.1‖ :=
102        (translatedChannel gain Φ a).toPositiveTracePreservingMap.norm_map_of_nonneg A.1 A.2
103      rwa [he] at h
104  have he : orbitPayoff gain Φ A B = fun a => (R a).rootFidelity B := by
105    funext a
106    exact orbitPayoff_eq_translated gain Φ A B a
107  rwa [he]
108 
109/-- Any probability average retains the averaged root-fidelity payoff of the
110original competitor. The output is the actual CPTP Bochner average. -/
111theorem integral_orbitPayoff_le_average (μ : Measure (Fin d → ℂ)) [IsProbabilityMeasure μ]
112    (gain : ℝ) (Φ : QuantumChannel (Fock d) (Fock d))
113    (A B : PositiveTraceClass (Fock d)) :
114    (∫ a, orbitPayoff gain Φ A B a ∂μ) ≤
115      (PositiveTraceClass.map (covariantAverage μ gain Φ).toPositiveTracePreservingMap A).rootFidelity B := by
116  have h := PositiveField.integral_fidelity_le_fidelity_integral
117    (fun a => (translatedChannel gain Φ a).toLinearMap A.1)
118    (fun _ : Fin d → ℂ => B.1)
119    (quantumChannel_family_integrable μ (translatedChannel gain Φ)
120      (fun C => (continuous_translatedChannel gain Φ C).aestronglyMeasurable) A.1)
121    (integrable_const B.1)
122    (fun a => (translatedChannel gain Φ a).map_nonneg A.1 A.2) (fun _ => B.2)
123  simp only [integral_const, probReal_univ, one_smul] at h
124  simpa only [orbitPayoff_eq_translated] using h
125 
126/-- A pointwise orbit lower bound is retained at the reference state by every
127probability average; there is no bounded-support or finite-energy premise. -/
128theorem lower_bound_le_average (μ : Measure (Fin d → ℂ)) [IsProbabilityMeasure μ]
129    (gain : ℝ) (Φ : QuantumChannel (Fock d) (Fock d))
130    (A B : PositiveTraceClass (Fock d)) {c : ℝ}
131    (hc : ∀ a, c ≤ orbitPayoff gain Φ A B a) :
132    c ≤ (PositiveTraceClass.map (covariantAverage μ gain Φ).toPositiveTracePreservingMap A).rootFidelity B := by
133  apply le_trans _ (integral_orbitPayoff_le_average μ gain Φ A B)
134  simpa only [integral_const, probReal_univ, smul_eq_mul, one_mul] using
135    integral_mono (integrable_const c) (integrable_orbitPayoff μ gain Φ A B) hc
136 
137/-- A compact-witness bound on the actual averaged output bounds the original
138prior-averaged fidelity. The inverse moment is explicitly regularized. -/
139theorem integral_orbitPayoff_sq_le_weight (μ : Measure (Fin d → ℂ)) [IsProbabilityMeasure μ]
140    (gain : ℝ) (Φ : QuantumChannel (Fock d) (Fock d))
141    (A B : PositiveTraceClass (Fock d)) (W : (Fock d) →L[ℂ] (Fock d))
142    (hW : 0 ≤ W) {M : ℝ} (hM : 0 ≤ M)
143    (hInv : ∀ ε : ℝ, 0 < ε →
144      (tracePairing B.1 (CFC.rpow (regularizedWeight W ε) (-1))).re ≤ M) :
145    (∫ a, orbitPayoff gain Φ A B a ∂μ) ^ 2 ≤
146      (tracePairing ((covariantAverage μ gain Φ).toLinearMap A.1) W).re * M := by
147  have h := integral_orbitPayoff_le_average μ gain Φ A B
148  have hn : 0 ≤ ∫ a, orbitPayoff gain Φ A B a ∂μ :=
149    integral_nonneg (fun _ => PositiveTraceClass.rootFidelity_nonneg _ _)
150  have hf := fidelity_sq_le_of_regularized_inverse_moment
151    ((covariantAverage μ gain Φ).map_nonneg A.1 A.2) B.2 hW
152    ((covariantAverage μ gain Φ).toLinearMap A.1).2 B.1.2 hM hInv
153  exact (sq_le_sq₀ hn (PositiveTraceClass.rootFidelity_nonneg _ _)).mpr h |>.trans hf
154 
155end Cloning.MultimodeCoherent