Offline · exact source
Exact Lean source

MultimodeLeastNoise

formalization/Cloning/MultimodeLeastNoise.lean

Source hash: 760dda46b492abb308676e30f61d9a7e9ebae4692f94b313ef9b60d8478e5bd4

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.MultimodeThermalIdlerFidelity
2import Cloning.BosonicMixtureStochasticOrder
3 
4/-! The complete least-noise number-test inequality for the constructed
5multimode idler channel, with arbitrary positive trace-class idlers. -/
6 
7namespace Cloning.MultimodeLeastNoise
8 
9noncomputable section
10set_option backward.isDefEq.respectTransparency false
11open scoped ComplexOrder InnerProductSpace Topology BigOperators
12open Cloning Cloning.InfiniteTraceClass
13open MultimodeIdler ThermalWitness
14 
15/-- Every bounded diagonal product test satisfies the actual operator
16least-noise inequality. The output number law is proved, not assumed. -/
17theorem moment_le_of_diagonal {s : ℕ} (σ : TraceClass (Fock s)) (hσ : 0 ≤ σ.1)
18    (q : Fin s → ℝ) (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1)
19    (w : Fin s → ℕ → ℝ) (hw0 : ∀ i k, 0 ≤ w i k) (hw : ∀ i, Antitone (w i))
20    (W : Fock s →L[ℂ] Fock s)
21    (hW : ∀ k, W (numberBasis s k) = ((∏ i, w i (k i) : ℝ) : ℂ) • numberBasis s k) :
22    (tracePairing ((channel q hq0 hq1).toLinearMap σ) W).re ≤
23      (trace σ.1 σ.2).re *
24        (tracePairing (vectorMixture (numberBasis s) (productGeometric q)) W).re := by
25  rw [tracePairing_re_eq_number_moment (numberBasis s) _ W _ hW,
26    diagonalMixture_tracePairing (numberBasis s) _ (productGeometric_hasSum hq0 hq1).summable
27      W _ hW]
28  simp_rw [channel_diagonal_re]
29  exact BosonicStochasticOrder.mixtureLaw_antitone_moment_le_geometric hq0 hq1 hw0 hw
30    (fun l => (σ.1.nonneg_iff_isPositive.mp hσ).re_inner_nonneg_right (numberBasis s l))
31    (trace_real_hasSum_basis (numberBasis s) σ)
32 
33/-- Equivalent comparison with the channel's actual vacuum output. -/
34theorem moment_le_vacuum_of_diagonal {s : ℕ} (σ : TraceClass (Fock s)) (hσ : 0 ≤ σ.1)
35    (q : Fin s → ℝ) (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1)
36    (w : Fin s → ℕ → ℝ) (hw0 : ∀ i k, 0 ≤ w i k) (hw : ∀ i, Antitone (w i))
37    (W : Fock s →L[ℂ] Fock s)
38    (hW : ∀ k, W (numberBasis s k) = ((∏ i, w i (k i) : ℝ) : ℂ) • numberBasis s k) :
39    (tracePairing ((channel q hq0 hq1).toLinearMap σ) W).re ≤
40      (trace σ.1 σ.2).re *
41        (tracePairing ((channel q hq0 hq1).toLinearMap
42          (vectorProjector (numberBasis s 0))) W).re := by
43  rw [MultimodeThermalIdlerFidelity.channel_vacuum]
44  exact moment_le_of_diagonal σ hσ q hq0 hq1 w hw0 hw W hW
45 
46/-- Product number observable eigenvalues. -/
47def productWeight {s : ℕ} (w : Fin s → ℕ → ℝ) (k : Occupation s) : ℝ :=
48  ∏ i, w i (k i)
49 
50theorem productWeight_nonneg {s : ℕ} {w : Fin s → ℕ → ℝ}
51    (hw0 : ∀ i k, 0 ≤ w i k) (k : Occupation s) : 0 ≤ productWeight w k :=
52  Finset.prod_nonneg (fun i _ => hw0 i (k i))
53 
54theorem productWeight_le_zero {s : ℕ} {w : Fin s → ℕ → ℝ}
55    (hw0 : ∀ i k, 0 ≤ w i k) (hw : ∀ i, Antitone (w i)) (k : Occupation s) :
56    productWeight w k ≤ productWeight w 0 := by
57  apply Finset.prod_le_prod
58  · intro i hi; exact hw0 i (k i)
59  · intro i hi; exact hw i (Nat.zero_le (k i))
60 
61private theorem coefficient_bound {s : ℕ} (w : Fin s → ℕ → ℝ)
62    (hw0 : ∀ i k, 0 ≤ w i k) (hw : ∀ i, Antitone (w i))
63    (x : Fock s) (k : Occupation s) :
64    ‖(productWeight w k : ℂ) * x k‖ ^ 2 ≤
65      productWeight w 0 ^ 2 * ‖x k‖ ^ 2 := by
66  rw [norm_mul, Complex.norm_of_nonneg (productWeight_nonneg hw0 k), mul_pow]
67  exact mul_le_mul_of_nonneg_right
68    ((sq_le_sq₀ (productWeight_nonneg hw0 k) (productWeight_nonneg hw0 0)).mpr
69      (productWeight_le_zero hw0 hw k)) (sq_nonneg _)
70 
71/-- Pointwise multiplication is an actual square-summable vector, since the
72nonnegative antitone product is automatically bounded by its vacuum value. -/
73def productDiagonalVector {s : ℕ} (w : Fin s → ℕ → ℝ)
74    (hw0 : ∀ i k, 0 ≤ w i k) (hw : ∀ i, Antitone (w i)) (x : Fock s) : Fock s := by
75  have hx : Summable (fun k : Occupation s => ‖x k‖ ^ (2 : ℕ)) := by
76    simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using
77      (lp.memℓp x).summable (by norm_num)
78  have hs : Summable (fun k : Occupation s => ‖(productWeight w k : ℂ) * x k‖ ^ (2 : ℕ)) :=
79    (hx.mul_left (productWeight w 0 ^ 2)).of_nonneg_of_le
80      (fun k => sq_nonneg _) (coefficient_bound w hw0 hw x)
81  refine ⟨fun k => (productWeight w k : ℂ) * x k, memℓp_gen ?_⟩
82  simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using hs
83 
84@[simp] theorem productDiagonalVector_apply {s : ℕ} (w : Fin s → ℕ → ℝ)
85    (hw0 : ∀ i k, 0 ≤ w i k) (hw : ∀ i, Antitone (w i)) (x : Fock s) (k : Occupation s) :
86    productDiagonalVector w hw0 hw x k = (productWeight w k : ℂ) * x k := rfl
87 
88theorem productDiagonalVector_norm_le {s : ℕ} (w : Fin s → ℕ → ℝ)
89    (hw0 : ∀ i k, 0 ≤ w i k) (hw : ∀ i, Antitone (w i)) (x : Fock s) :
90    ‖productDiagonalVector w hw0 hw x‖ ≤ productWeight w 0 * ‖x‖ := by
91  apply lp.norm_le_of_tsum_le (by norm_num)
92    (mul_nonneg (productWeight_nonneg hw0 0) (norm_nonneg x))
93  simp only [ENNReal.toReal_ofNat, Real.rpow_two, productDiagonalVector_apply, mul_pow]
94  have hx : Summable (fun k : Occupation s => ‖x k‖ ^ (2 : ℕ)) := by
95    simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using
96      (lp.memℓp x).summable (by norm_num)
97  have hy : Summable (fun k : Occupation s => ‖(productWeight w k : ℂ) * x k‖ ^ (2 : ℕ)) := by
98    simpa only [ENNReal.toReal_ofNat, Real.rpow_two, productDiagonalVector_apply] using
99      (lp.memℓp (productDiagonalVector w hw0 hw x)).summable (by norm_num)
100  have heq : (∑' k : Occupation s, ‖x k‖ ^ (2 : ℕ)) = ‖x‖ ^ 2 := by
101    simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using
102      (lp.hasSum_norm (show 0 < (2 : ENNReal).toReal by norm_num) x).tsum_eq
103  calc
104    _ ≤ ∑' k : Occupation s, productWeight w 0 ^ 2 * ‖x k‖ ^ (2 : ℕ) :=
105      hy.tsum_le_tsum (coefficient_bound w hw0 hw x) (hx.mul_left _)
106    _ = _ := by rw [tsum_mul_left, heq]
107 
108/-- The physical product of bounded decreasing number functions, as a genuine
109bounded operator on multimode Fock space. -/
110def productObservable {s : ℕ} (w : Fin s → ℕ → ℝ)
111    (hw0 : ∀ i k, 0 ≤ w i k) (hw : ∀ i, Antitone (w i)) : Fock s →L[ℂ] Fock s :=
112  LinearMap.mkContinuous
113    { toFun := productDiagonalVector w hw0 hw
114      map_add' := by intro x y; ext k; simp [mul_add]
115      map_smul' := by intro c x; ext k; simp [mul_left_comm] }
116    (productWeight w 0) (productDiagonalVector_norm_le w hw0 hw)
117 
118@[simp] theorem productObservable_apply {s : ℕ} (w : Fin s → ℕ → ℝ)
119    (hw0 : ∀ i k, 0 ≤ w i k) (hw : ∀ i, Antitone (w i)) (x : Fock s) (k : Occupation s) :
120    productObservable w hw0 hw x k = (productWeight w k : ℂ) * x k := rfl
121 
122theorem productObservable_apply_basis {s : ℕ} (w : Fin s → ℕ → ℝ)
123    (hw0 : ∀ i k, 0 ≤ w i k) (hw : ∀ i, Antitone (w i)) (k : Occupation s) :
124    productObservable w hw0 hw (numberBasis s k) =
125      (productWeight w k : ℂ) • numberBasis s k := by
126  ext l
127  simp only [productObservable_apply, numberBasis_eq_single, lp.coeFn_smul, Pi.smul_apply,
128    lp.single_apply, Pi.single_apply, smul_eq_mul]
129  by_cases h : l = k
130  · subst l; simp
131  · simp [h]
132 
133/-- The constructed diagonal number observable is positive. -/
134theorem productObservable_nonneg {s : ℕ} (w : Fin s → ℕ → ℝ)
135    (hw0 : ∀ i k, 0 ≤ w i k) (hw : ∀ i, Antitone (w i)) :
136    0 ≤ productObservable w hw0 hw := by
137  apply nonneg_of_inner_nonneg
138  intro x
139  rw [lp.inner_eq_tsum]
140  apply tsum_nonneg
141  intro k
142  change 0 ≤ ⟪x k, (productWeight w k : ℂ) • x k⟫_ℂ
143  rw [inner_smul_right, inner_self_eq_norm_sq_to_K]
144  apply mul_nonneg (Complex.zero_le_real.mpr (productWeight_nonneg hw0 k))
145  simpa only [Complex.ofReal_pow] using Complex.zero_le_real.mpr (sq_nonneg ‖x k‖)
146 
147/-- Full product-observable least-noise bound for arbitrary correlated and
148coherent positive trace-class idlers. Every channel and observable is constructed. -/
149theorem productObservable_moment_le {s : ℕ} (σ : TraceClass (Fock s)) (hσ : 0 ≤ σ.1)
150    (q : Fin s → ℝ) (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1)
151    (w : Fin s → ℕ → ℝ) (hw0 : ∀ i k, 0 ≤ w i k) (hw : ∀ i, Antitone (w i)) :
152    (tracePairing ((channel q hq0 hq1).toLinearMap σ) (productObservable w hw0 hw)).re ≤
153      (trace σ.1 σ.2).re *
154        (tracePairing (vectorMixture (numberBasis s) (productGeometric q))
155          (productObservable w hw0 hw)).re :=
156  moment_le_of_diagonal σ hσ q hq0 hq1 w hw0 hw _ (productObservable_apply_basis w hw0 hw)
157 
158end
159end Cloning.MultimodeLeastNoise