Offline · exact source
Exact Lean source

MultimodeIdlerCharacteristicIsometry

formalization/Cloning/MultimodeIdlerCharacteristicIsometry.lean

Source hash: c0ca534676201d59eff608d23bbec3b69043823db1a94ac8ca63b0835229af9f

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.MultimodeIdlerCharacteristicKernel
2import Cloning.MultimodeIdlerCharacteristicPhase
3import Cloning.WeylSqueezerProductDisplacement
4 
5/-! Exact Weyl intertwining of the actual negative-binomial isometry, proved
6from its coherent kernel. No squeezer identification is assumed. -/
7noncomputable section
8open scoped ComplexOrder InnerProductSpace Topology BigOperators
9namespace Cloning.MultimodeIdler
10open Cloning.MultimodeCoherent Cloning.WeylSqueezerProduct
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 800000
13variable {d : ℕ}
14 
15/-- The original occupation isometry in the appended mode register. -/
16def appendedIsometry (q : Fin d → ℝ) (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
17    Fock d →ₗᵢ[ℂ] Cloning.MultimodeCoherent.Fock (d+d) :=
18  (jointReindex d d).toLinearIsometry.comp (isometry q hq0 hq1)
19 
20def vacuumScale (q : Fin d → ℝ) (a : Fin d → ℂ) : Fin d → ℂ :=
21  fun i => (Real.sqrt (1-q i) : ℂ)*a i
22 
23def amplifierScale (q : Fin d → ℝ) (a : Fin d → ℂ) : Fin d → ℂ :=
24  fun i => ((Real.sqrt (1-q i))⁻¹ : ℝ)*a i
25 
26def complementaryScale (q : Fin d → ℝ) (a : Fin d → ℂ) : Fin d → ℂ :=
27  fun i => ((Real.sqrt (q i)*(Real.sqrt (1-q i))⁻¹ : ℝ):ℂ)*a i
28 
29lemma coherentKernel_eq_prod (q : Fin d → ℝ) (v w : Fin d → ℂ) :
30    coherentKernel q v w = ∏ i, (Real.sqrt (1-q i):ℂ)*
31      scalarCoherentKernel (Real.sqrt (q i)) (v i) (w i) := by
32  simp only [coherentKernel, coherentVector, inner_tensorVector,
33    ← scalarCoherentKernel_eq_inner, Finset.prod_mul_distrib]
34 
35lemma coherentKernel_shift (q : Fin d → ℝ)
36    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) (a v w : Fin d → ℂ) :
37    displacementPhase (-(amplifierScale q a)) v *
38      displacementPhase (-(complementaryScale q (star a))) w *
39      coherentKernel q (v-amplifierScale q a) (w-complementaryScale q (star a)) =
40      coherentKernel q v w * displacementPhase (-a) (vacuumScale q v) := by
41  simp only [displacementPhase, coherentKernel_eq_prod, ← Finset.prod_mul_distrib]
42  apply Finset.prod_congr rfl
43  intro i _
44  have hrel : (1-(Real.sqrt (q i))^2)*(Real.sqrt (1-q i))⁻¹=Real.sqrt (1-q i) := by
45    rw [Real.sq_sqrt (hq0 i), ← Real.sq_sqrt (sub_nonneg.mpr (hq1 i).le)]
46    have hs : Real.sqrt (1-q i) ≠ 0 := ne_of_gt (Real.sqrt_pos.mpr (sub_pos.mpr (hq1 i)))
47    simp [pow_two, hs]
48  have hh := scalarCoherentKernel_shift (Real.sqrt (1-q i)) (Real.sqrt (q i))
49    (Real.sqrt (1-q i))⁻¹ hrel (a i) (v i) (w i)
50  dsimp only [amplifierScale, complementaryScale, vacuumScale, Pi.neg_apply,
51    Pi.sub_apply, Pi.star_apply]
52  calc
53    _ = (Real.sqrt (1-q i):ℂ) *
54      (Cloning.ComplexCoherent.displacementPhase (-(((Real.sqrt (1-q i))⁻¹:ℝ):ℂ)*a i) (v i) *
55      Cloning.ComplexCoherent.displacementPhase
56        (-((Real.sqrt (q i)*(Real.sqrt (1-q i))⁻¹:ℝ):ℂ)*star (a i)) (w i) *
57      scalarCoherentKernel (Real.sqrt (q i))
58        (v i-(((Real.sqrt (1-q i))⁻¹:ℝ):ℂ)*a i)
59        (w i-((Real.sqrt (q i)*(Real.sqrt (1-q i))⁻¹:ℝ):ℂ)*star (a i))) := by
60          simp only [neg_mul]
61          ring
62    _ = _ := by
63      simp only [neg_mul] at hh ⊢
64      rw [hh]
65      ring
66 
67lemma vacuumScale_shift (q : Fin d → ℝ) (hq1 : ∀ i, q i < 1) (a v : Fin d → ℂ) :
68    vacuumScale q (v-amplifierScale q a) = -a+vacuumScale q v := by
69  ext i
70  have hs : Real.sqrt (1-q i) ≠ 0 := ne_of_gt (Real.sqrt_pos.mpr (sub_pos.mpr (hq1 i)))
71  simp only [vacuumScale, amplifierScale, Pi.sub_apply, Pi.add_apply, Pi.neg_apply,
72    Complex.ofReal_inv, mul_sub, ← mul_assoc, mul_inv_cancel₀ (Complex.ofReal_ne_zero.mpr hs)]
73  ring
74 
75lemma appendedIsometry_adjoint_coherent (q : Fin d → ℝ)
76    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) (v w : Fin d → ℂ) :
77    (appendedIsometry q hq0 hq1).toContinuousLinearMap.adjoint
78      (coherentVector (Fin.append v w)) = coherentKernel q v w • coherentVector (vacuumScale q v) := by
79  change (((jointReindex d d) : Cloning.WeylSqueezerProduct.JointFock d d →L[ℂ]
80      Cloning.MultimodeCoherent.Fock (d+d)).comp
81    (isometry q hq0 hq1).toContinuousLinearMap).adjoint _ = _
82  rw [ContinuousLinearMap.adjoint_comp, LinearIsometryEquiv.adjoint_eq_symm,
83    ContinuousLinearMap.comp_apply, ← tensorVector_coherent]
84  change (isometry q hq0 hq1).toContinuousLinearMap.adjoint
85    ((jointReindex d d).symm (jointReindex d d (jointTensor (coherentVector v) (coherentVector w)))) = _
86  rw [LinearIsometryEquiv.symm_apply_apply, isometry_adjoint_jointTensor_coherent]
87  rfl
88 
89lemma appendedIsometry_adjoint_intertwines (q : Fin d → ℝ)
90    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) (a : Fin d → ℂ) :
91    (appendedIsometry q hq0 hq1).toContinuousLinearMap.adjoint.comp
92      (displacement (-Fin.append (amplifierScale q a) (complementaryScale q (star a)))) =
93    (displacement (-a)).comp (appendedIsometry q hq0 hq1).toContinuousLinearMap.adjoint := by
94  apply coherent_ext
95  intro z
96  let v : Fin d → ℂ := fun i => z (Fin.castAdd d i)
97  let w : Fin d → ℂ := fun i => z (Fin.natAdd d i)
98  have hz : Fin.append v w = z := Fin.append_castAdd_natAdd
99  rw [← hz]
100  have hneg : -Fin.append (amplifierScale q a) (complementaryScale q (star a)) =
101      Fin.append (-(amplifierScale q a)) (-(complementaryScale q (star a))) := by
102    ext i
103    refine Fin.addCases ?_ ?_ i <;> intro j <;>
104      simp only [Pi.neg_apply, Fin.append_left, Fin.append_right]
105  have hadd : Fin.append (-(amplifierScale q a)) (-(complementaryScale q (star a)))+
106      Fin.append v w = Fin.append (v-amplifierScale q a) (w-complementaryScale q (star a)) := by
107    rw [append_add]
108    congr 1 <;> abel
109  simp only [ContinuousLinearMap.comp_apply, displacement_coherentVector, map_smul,
110    hneg, hadd, appendedIsometry_adjoint_coherent, displacementPhase_append,
111    smul_smul, coherentKernel_shift q hq0 hq1, vacuumScale_shift q hq1]
112 
113/-- The literal isometry intertwines input Weyl displacements with the two
114output Weyl displacements, including the positive conjugated complementary shift. -/
115theorem appendedIsometry_intertwines (q : Fin d → ℝ)
116    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) (a : Fin d → ℂ) :
117    (appendedIsometry q hq0 hq1).toContinuousLinearMap.comp (displacement a) =
118      (displacement (Fin.append (amplifierScale q a) (complementaryScale q (star a)))).comp
119        (appendedIsometry q hq0 hq1).toContinuousLinearMap := by
120  have hh := congrArg (fun T => ContinuousLinearMap.adjoint T)
121    (appendedIsometry_adjoint_intertwines q hq0 hq1 a)
122  simpa only [ContinuousLinearMap.adjoint_comp, ContinuousLinearMap.adjoint_adjoint,
123    displacement_adjoint, neg_neg] using hh.symm
124 
125end Cloning.MultimodeIdler