Offline · exact source
Exact Lean source

WeylDiagonalIdler

formalization/Cloning/WeylDiagonalIdler.lean

Source hash: b27398a2ade0a19f53edef252923ebc3db697f8fce7887242f86bccc0f67621c

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.WeylDiagonalQuantumPositive
2import Cloning.WeylIdlerKernel
3 
4/-! Independent amplifying mode gains produce one joint idler characteristic
5function. The residual CCR form is transformed to the standard Weyl form by
6coordinatewise noise scaling and phase conjugation. -/
7 
8noncomputable section
9open scoped ComplexOrder InnerProductSpace Topology BigOperators
10 
11namespace Cloning.MultimodeCoherent
12open Cloning.InfiniteTraceClass
13set_option backward.isDefEq.respectTransparency false
14set_option maxHeartbeats 1000000
15 
16variable {d : ℕ}
17 
18/-- The diagonal residual cocycle is the standard idler cocycle after phase
19conjugation, with the exact independent noise amplitudes. -/
20theorem diagonal_amplifier_phase_ratio (r s : Fin d → ℝ)
21    (hs : ∀ i, s i ^ 2 = r i ^ 2 - 1) (a b : Fin d → ℂ) :
22    displacementPhase (-a) b /
23        displacementPhase (-(diagonalScale r a)) (diagonalScale r b) =
24      displacementPhase (-(diagonalScale s (star a))) (diagonalScale s (star b)) := by
25  simp only [displacementPhase, ← Finset.prod_div_distrib]
26  apply Finset.prod_congr rfl
27  intro i _
28  have hsC : (s i : ℂ) ^ 2 = (r i : ℂ) ^ 2 - 1 := by exact_mod_cast hs i
29  simp only [Pi.neg_apply, diagonalScale, Pi.star_apply, Complex.star_def,
30    ComplexCoherent.displacementPhase, ← Complex.exp_sub, map_neg, map_mul,
31    Complex.conj_ofReal, starRingEnd_self_apply]
32  congr 1
33  linear_combination -((a i * (starRingEnd ℂ) (b i) -
34    (starRingEnd ℂ) (a i) * b i) / 2) * hsC
35 
36lemma diagonal_idler_frequency_inverse (s : Fin d → ℝ) (hs : ∀ i, s i ≠ 0)
37    (a : Fin d → ℂ) :
38    diagonalScale s (star (diagonalScale (fun i => (s i)⁻¹) (star a))) = a := by
39  ext i
40  simp [diagonalScale, hs]
41 
42lemma diagonal_idler_frequency_inverse' (s : Fin d → ℝ) (hs : ∀ i, s i ≠ 0)
43    (a : Fin d → ℂ) :
44    diagonalScale (fun i => (s i)⁻¹) (star (diagonalScale s (star a))) = a := by
45  ext i
46  simp [diagonalScale, hs]
47 
48/-- The channel-derived diagonal kernel meets the standard finite Weyl tests. -/
49theorem IsDiagonalQuantumPositive.idler_characteristic_positive
50    {f : (Fin d → ℂ) → ℂ} {r s : Fin d → ℝ}
51    (hf : IsDiagonalQuantumPositive f r) (hs : ∀ i, s i ≠ 0)
52    (hsq : ∀ i, s i ^ 2 = r i ^ 2 - 1) :
53    IsWeylCharacteristicPositive
54      (fun a => f (diagonalScale (fun i => (s i)⁻¹) (star a))) := by
55  intro n b c
56  have h := hf n (fun i => diagonalScale (fun j => (s j)⁻¹) (star (b i))) c
57  convert h using 1
58  apply Finset.sum_congr rfl
59  intro i _
60  apply Finset.sum_congr rfl
61  intro j _
62  dsimp only
63  rw [diagonalQuantumPositiveKernel, diagonal_amplifier_phase_ratio r s hsq,
64    diagonal_idler_frequency_inverse s hs, diagonal_idler_frequency_inverse s hs]
65  simp only [star_sub, diagonalScale_sub]
66 
67/-- Amplitude gain associated with each positive power gain. -/
68def diagonalGainAmplitude (G : Fin d → ℝ) : Fin d → ℝ := fun i => Real.sqrt (G i)
69 
70/-- Added-noise amplitude in each amplifying mode. -/
71def diagonalNoiseAmplitude (G : Fin d → ℝ) : Fin d → ℝ := fun i => Real.sqrt (G i - 1)
72 
73/-- The characteristic candidate for the joint, potentially correlated idler. -/
74def diagonalAmplifierIdlerFunction (f : (Fin d → ℂ) → ℂ) (G : Fin d → ℝ)
75    (a : Fin d → ℂ) : ℂ :=
76  f (diagonalScale (fun i => (diagonalNoiseAmplitude G i)⁻¹) (star a))
77 
78/-- Every actual CPTP channel covariant with independent gains `G i > 1`
79supplies normalized continuous quantum-Bochner data for a joint idler. The
80Weyl multiplier identity and the phase-conjugated reconstruction are included. -/
81theorem quantumChannel_diagonal_idler_characteristic_data
82    (Φ : QuantumChannel (Fock d) (Fock d))
83    (G : Fin d → ℝ) (hG : ∀ i, 1 < G i)
84    (hΦ : ∀ a T, Φ.toLinearMap (displacementTraceMap a T) =
85      displacementTraceMap (diagonalScale (diagonalGainAmplitude G) a) (Φ.toLinearMap T)) :
86    let f := diagonalWeylMultiplier Φ.heisenberg (diagonalGainAmplitude G)
87    let g := diagonalAmplifierIdlerFunction f G
88    (∀ a, Φ.heisenberg (displacement a) =
89      f a • displacement (diagonalScale (diagonalGainAmplitude G) a)) ∧
90    g 0 = 1 ∧ Continuous g ∧ IsWeylCharacteristicPositive g ∧
91      (∀ a, ‖g a‖ ≤ 1) ∧
92      (∀ a, f a = g (diagonalScale (diagonalNoiseAmplitude G) (star a))) := by
93  dsimp only
94  obtain ⟨hmult, hf0, hfcont, hfpos, hfnorm⟩ :=
95    quantumChannel_regular_diagonalQuantumPositive_multiplier Φ (diagonalGainAmplitude G) hΦ
96  have hs (i) : diagonalNoiseAmplitude G i ≠ 0 :=
97    ne_of_gt (Real.sqrt_pos.mpr (sub_pos.mpr (hG i)))
98  have hsq (i) : diagonalNoiseAmplitude G i ^ 2 = diagonalGainAmplitude G i ^ 2 - 1 := by
99    rw [diagonalNoiseAmplitude, diagonalGainAmplitude,
100      Real.sq_sqrt (sub_nonneg.mpr (hG i).le), Real.sq_sqrt (by linarith [hG i])]
101  refine ⟨hmult, ?_, ?_, hfpos.idler_characteristic_positive hs hsq, ?_, ?_⟩
102  · simpa only [diagonalAmplifierIdlerFunction, star_zero, diagonalScale_zero] using hf0
103  · exact hfcont.comp ((continuous_diagonalScale _).comp continuous_star)
104  · intro a
105    exact hfnorm _
106  · intro a
107    unfold diagonalAmplifierIdlerFunction
108    rw [diagonal_idler_frequency_inverse' _ hs]
109 
110end Cloning.MultimodeCoherent