Offline · exact source
Exact Lean source

WeylIdlerKernel

formalization/Cloning/WeylIdlerKernel.lean

Source hash: ad888b1146317d974472c31d9882317628ce2905493f5df1e47bfee3b2b0422a

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.WeylQuantumPositiveBounds
2 
3/-! The amplifier multiplier's twisted positivity becomes ordinary Weyl
4characteristic positivity after the required phase conjugation and noise
5rescaling. This identifies the exact CCR form entering idler reconstruction.
6Existence of a density operator representing this function is not assumed
7or claimed here. -/
8 
9noncomputable section
10open scoped ComplexOrder InnerProductSpace BigOperators
11 
12namespace Cloning.MultimodeCoherent
13set_option backward.isDefEq.respectTransparency false
14set_option maxHeartbeats 1000000
15 
16variable {d : ℕ}
17 
18/-- The standard finite Weyl-Gram positivity condition for an idler state. -/
19def IsWeylCharacteristicPositive (g : (Fin d → ℂ) → ℂ) : Prop :=
20  ∀ n : ℕ, ∀ b : Fin n → (Fin d → ℂ), ∀ c : Fin n → ℂ,
21    0 ≤ ∑ i, ∑ j, star (c i) * c j *
22      (displacementPhase (-(b i)) (b j) * g (b j - b i))
23 
24/-- The residual amplifier symplectic form is the ordinary idler symplectic
25form after complex conjugation and multiplication by `sqrt(r²-1)`. -/
26theorem amplifier_phase_ratio (r s : ℝ) (hs : s ^ 2 = r ^ 2 - 1)
27    (a b : Fin d → ℂ) :
28    displacementPhase (-a) b / displacementPhase (-(r • a)) (r • b) =
29      displacementPhase (-(s • star a)) (s • star b) := by
30  have hsC : (s : ℂ) ^ 2 = (r : ℂ) ^ 2 - 1 := by exact_mod_cast hs
31  simp only [displacementPhase, ← Finset.prod_div_distrib]
32  apply Finset.prod_congr rfl
33  intro i _
34  simp only [Pi.neg_apply, Pi.smul_apply, Pi.star_apply, Complex.real_smul,
35    Complex.star_def, ComplexCoherent.displacementPhase, ← Complex.exp_sub,
36    map_neg, map_mul, Complex.conj_ofReal, starRingEnd_self_apply]
37  congr 1
38  linear_combination -((a i * (starRingEnd ℂ) (b i) -
39    (starRingEnd ℂ) (a i) * b i) / 2) * hsC
40 
41lemma idler_frequency_inverse (s : ℝ) (hs : s ≠ 0) (a : Fin d → ℂ) :
42    s • star ((s⁻¹) • star a) = a := by
43  simp only [star_smul, star_inv, star_trivial, star_star, smul_smul,
44    mul_inv_cancel₀ hs, one_smul]
45 
46/-- The rescaled, phase-conjugated multiplier meets the standard quantum
47Bochner positivity tests for an actual bosonic idler. -/
48theorem IsQuantumPositive.idler_characteristic_positive
49    {f : (Fin d → ℂ) → ℂ} {r s : ℝ}
50    (hf : IsQuantumPositive f r) (hs : s ≠ 0) (hsq : s ^ 2 = r ^ 2 - 1) :
51    IsWeylCharacteristicPositive (fun a => f ((s⁻¹) • star a)) := by
52  intro n b c
53  have h := hf n (fun i => (s⁻¹) • star (b i)) c
54  convert h using 1
55  apply Finset.sum_congr rfl
56  intro i _
57  apply Finset.sum_congr rfl
58  intro j _
59  dsimp only
60  rw [quantumPositiveKernel, amplifier_phase_ratio r s hsq,
61    idler_frequency_inverse s hs, idler_frequency_inverse s hs]
62  simp only [star_sub, smul_sub]
63 
64/-- The idler characteristic candidate in the amplifying regime. -/
65def amplifierIdlerFunction (f : (Fin d → ℂ) → ℂ) (r : ℝ) (a : Fin d → ℂ) : ℂ :=
66  f ((Real.sqrt (r ^ 2 - 1))⁻¹ • star a)
67 
68/-- An actual covariant CPTP amplifier supplies all the normalized, regular
69quantum-Bochner data for the joint idler in any finite number of modes.
70The separate density-operator existence theorem is the remaining step. -/
71theorem quantumChannel_idler_characteristic_data
72    (Φ : Cloning.InfiniteTraceClass.QuantumChannel (Fock d) (Fock d))
73    (r : ℝ) (hr : 1 < r)
74    (hΦ : ∀ a T, Φ.toLinearMap (displacementTraceMap a T) =
75      displacementTraceMap (r • a) (Φ.toLinearMap T)) :
76    let f := weylMultiplier Φ.heisenberg r
77    let g := amplifierIdlerFunction f r
78    g 0 = 1 ∧ Continuous g ∧ IsWeylCharacteristicPositive g ∧
79      (∀ a, ‖g a‖ ≤ 1) ∧
80      (∀ a, f a = g (Real.sqrt (r ^ 2 - 1) • star a)) := by
81  dsimp only
82  obtain ⟨_, hf0, hfcont, hfpos, hfnorm⟩ :=
83    quantumChannel_regular_quantumPositive_multiplier Φ r hΦ
84  have hsq : 0 < r ^ 2 - 1 := by nlinarith
85  have hs : Real.sqrt (r ^ 2 - 1) ≠ 0 := ne_of_gt (Real.sqrt_pos.mpr hsq)
86  refine ⟨?_, ?_, hfpos.idler_characteristic_positive hs (Real.sq_sqrt hsq.le), ?_, ?_⟩
87  · simpa only [amplifierIdlerFunction, star_zero, smul_zero] using hf0
88  · exact hfcont.comp (continuous_const.smul continuous_star)
89  · intro a
90    exact hfnorm _
91  · intro a
92    unfold amplifierIdlerFunction
93    congr 1
94    simp only [star_smul, star_trivial, star_star, smul_smul, inv_mul_cancel₀ hs, one_smul]
95 
96end Cloning.MultimodeCoherent