Offline · exact source
Exact Lean source

UniversalLeastNoiseGaussian

formalization/Cloning/UniversalLeastNoiseGaussian.lean

Source hash: 37bfd6dab6d373f55c51d9bd6b342e1d923779791ee7c1aed7002224349fb52c

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.UniversalLeastNoiseQuantumKernel
2import Cloning.UniversalLeastNoiseRecursion
3import Cloning.WeylGaussianTwistedConvolution
4 
5/-! Sharp anisotropic Gaussian testing of a normalized continuous quantum-positive
6multiplier. The proof uses finite positivity, Bochner Cauchy--Schwarz, exact
7twisted Gaussian convolution, and a bounded squaring recurrence. No idler state,
8CCR representation theorem, or quantum Bochner reconstruction is a premise.
9 
10Write `h = (r²-1)/2`, `I(t) = ∫ exp(-∑ᵢ tᵢ|zᵢ|²) f(z) dz`, and
11`T(t)ᵢ = (tᵢ²+h²)/(2tᵢ)`. Kernel positivity and exact Gaussian integration give
12`|I(t)|² ≤ (∏ᵢ π/(2tᵢ)) |I(T(t))|`. The normalization
13`J(t) = (∏ᵢ (tᵢ+h)/π) |I(t)|` therefore satisfies `J(t)² ≤ J(T(t))`.
14On the invariant domain `tᵢ ≥ h > 0`, the elementary bound `|f| ≤ 1` gives
15`J ≤ 2^d`. The bounded squaring recurrence forces `J ≤ 1`, which is precisely
16the sharp Gaussian test. This is sufficient for the thermal fidelity witness;
17no assertion of full number-distribution stochastic domination is made. -/
18 
19noncomputable section
20open scoped ComplexOrder InnerProductSpace Topology BigOperators
21open MeasureTheory Filter
22namespace Cloning.MultimodeCoherent
23open Cloning.UniversalLeastNoise
24set_option backward.isDefEq.respectTransparency false
25set_option maxHeartbeats 1200000
26 
27variable {d : ℕ}
28 
29lemma integrable_gaussian_multiplier {t : Fin d → ℝ} (ht : ∀ i, 0 < t i)
30    {f : (Fin d → ℂ) → ℂ} (hf : Continuous f) (hb : ∀ a, ‖f a‖ ≤ 1) :
31    Integrable (fun a => (gaussianWeight t a : ℂ) * f a) := by
32  apply (integrable_gaussianWeight ht).mono'
33    (((Complex.continuous_ofReal.comp (continuous_gaussianWeight t)).mul hf).aestronglyMeasurable)
34  exact Eventually.of_forall fun a => by
35    dsimp only [Pi.mul_apply, Function.comp_apply]
36    rw [norm_mul, Complex.norm_real, Real.norm_of_nonneg (gaussianWeight_nonneg _ _)]
37    exact mul_le_of_le_one_right (gaussianWeight_nonneg _ _) (hb a)
38 
39lemma norm_gaussian_multiplier_le_L1 {t : Fin d → ℝ} (ht : ∀ i, 0 < t i)
40    {f : (Fin d → ℂ) → ℂ} (hf : Continuous f) (hb : ∀ a, ‖f a‖ ≤ 1) :
41    ‖∫ a, (gaussianWeight t a : ℂ) * f a‖ ≤ ∏ i, Real.pi / t i := by
42  calc
43    _ ≤ ∫ a, ‖(gaussianWeight t a : ℂ) * f a‖ := norm_integral_le_integral_norm _
44    _ ≤ ∫ a, gaussianWeight t a := by
45      apply integral_mono (integrable_gaussian_multiplier ht hf hb).norm
46        (integrable_gaussianWeight ht)
47      intro a
48      dsimp only
49      rw [norm_mul, Complex.norm_real, Real.norm_of_nonneg (gaussianWeight_nonneg _ _)]
50      exact mul_le_of_le_one_right (gaussianWeight_nonneg _ _) (hb a)
51    _ = _ := integral_gaussianWeight ht
52 
53/-- The scalar quantum-positive test has become an exact Gaussian squaring
54inequality. -/
55lemma IsQuantumPositive.gaussian_squaring {f : (Fin d → ℂ) → ℂ} {r : ℝ}
56    (hp : IsQuantumPositive f r) (hzero : f 0 = 1) (hc : Continuous f)
57    {t : Fin d → ℝ} (ht : ∀ i, 0 < t i) :
58    ‖∫ a, (gaussianWeight t a : ℂ) * f a‖ ^ 2 ≤
59      (∏ i, Real.pi / (2 * t i)) *
60        ‖∫ a, (gaussianWeight (fun i => gaussianUpdate ((r ^ 2 - 1) / 2) (t i)) a : ℂ) * f a‖ := by
61  letI : Fact (Cloning.PositiveKernel.IsNormalizedPositive (quantumPositiveKernel f r)) :=
62    ⟨hp.normalizedPositiveKernel hzero⟩
63  have h := Cloning.PositiveKernel.integral_cauchySchwarz (quantumPositiveKernel f r)
64    (continuous_quantumPositiveKernel hc r) (integrable_gaussianWeight ht) (0 : Fin d → ℂ)
65  have hi := integral_integral_gaussian_quantumKernel ht hc (hp.norm_le_one hzero) r
66  have he : (fun i => t i / 2 + (r ^ 2 - 1) ^ 2 / (8 * t i)) =
67      (fun i => gaussianUpdate ((r ^ 2 - 1) / 2) (t i)) := by
68    funext i
69    unfold gaussianUpdate
70    field_simp
71    ring
72  rw [he] at hi
73  rw [hi] at h
74  simp only [quantumPositiveKernel, neg_zero, smul_zero, displacementPhase_zero_left,
75    div_self one_ne_zero, one_mul, sub_zero] at h
76  simp only [Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, zero_mul, sub_zero] at h
77  apply h.trans
78  apply mul_le_mul_of_nonneg_left (Complex.re_le_norm _)
79  exact Finset.prod_nonneg fun i _ => (div_pos Real.pi_pos (mul_pos (by norm_num) (ht i))).le
80 
81/-- Sharp Gaussian bound for every regular quantum-positive multiplier in
82any finite mode count, including correlated, non-Gaussian multipliers. -/
83theorem IsQuantumPositive.norm_gaussian_integral_le {f : (Fin d → ℂ) → ℂ} {r : ℝ}
84    (hp : IsQuantumPositive f r) (hzero : f 0 = 1) (hc : Continuous f)
85    (hr : 1 < r ^ 2) {t : Fin d → ℝ} (ht : ∀ i, (r ^ 2 - 1) / 2 ≤ t i) :
86    ‖∫ a, (gaussianWeight t a : ℂ) * f a‖ ≤
87      ∏ i, Real.pi / (t i + (r ^ 2 - 1) / 2) := by
88  let h : Fin d → ℝ := fun _ => (r ^ 2 - 1) / 2
89  have hh : ∀ i, 0 < h i := fun _ => by dsimp [h]; linarith
90  let J : GaussianWidths h → ℝ := fun u => ‖∫ a, (gaussianWeight u.1 a : ℂ) * f a‖
91  have hL1 : ∀ u, J u ≤ gaussianL1Bound Real.pi u.1 := by
92    intro u
93    exact norm_gaussian_multiplier_le_L1
94      (fun i => (hh i).trans_le (u.2 i)) hc (hp.norm_le_one hzero)
95  have hconv : ∀ u, J u ^ 2 ≤ gaussianConvolutionFactor Real.pi u.1 *
96      J (updateWidths hh u) := by
97    intro u
98    exact hp.gaussian_squaring hzero hc (fun i => (hh i).trans_le (u.2 i))
99  have hsharp := gaussianSharpBound_of_convolution Real.pi_pos hh J hL1 hconv ⟨t, ht⟩
100  simpa only [J, h, abs_of_nonneg (norm_nonneg _), gaussianSharpBound] using hsharp
101 
102/-- Every actual covariant CPTP channel satisfies the sharp oscillator
103Gaussian test. All multiplier regularity and positivity are derived from the
104channel itself. -/
105theorem quantumChannel_weyl_gaussian_bound
106    (Φ : Cloning.InfiniteTraceClass.QuantumChannel (Fock d) (Fock d)) (r : ℝ)
107    (hcov : ∀ a T, Φ.toLinearMap (displacementTraceMap a T) =
108      displacementTraceMap (r • a) (Φ.toLinearMap T))
109    (hr : 1 < r ^ 2) {t : Fin d → ℝ} (ht : ∀ i, (r ^ 2 - 1) / 2 ≤ t i) :
110    ‖∫ a, (gaussianWeight t a : ℂ) * weylMultiplier Φ.heisenberg r a‖ ≤
111      ∏ i, Real.pi / (t i + (r ^ 2 - 1) / 2) := by
112  obtain ⟨_, hzero, hc, hp, _⟩ := quantumChannel_regular_quantumPositive_multiplier Φ r hcov
113  exact hp.norm_gaussian_integral_le hzero hc hr ht
114 
115end Cloning.MultimodeCoherent