Offline · exact source
Exact Lean source

MultimodeIdlerCharacteristicPhase

formalization/Cloning/MultimodeIdlerCharacteristicPhase.lean

Source hash: 983cfe878bcd920be986818a9d0e7a2d4ec373dc1d2a1caf73497bf56ec6ece0

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.AmplifierWeylMultimode
2 
3/-! Exact coherent Gaussian algebra for the literal negative-binomial
4isometry. Its complementary output has positive conjugated displacement
5covariance and therefore negative conjugated characteristic frequency. -/
6noncomputable section
7open scoped ComplexOrder InnerProductSpace Topology BigOperators
8namespace Cloning.MultimodeIdler
9open Cloning.MultimodeCoherent
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 800000
12 
13/-- The scalar joint kernel with its complete complex phase. -/
14def scalarCoherentKernel (t : ℝ) (v w : ℂ) : ℂ :=
15  Complex.exp (-((t : ℂ)^2 * star v * v + star w*w)/2 + (t : ℂ)*v*w)
16 
17/-- Exact phase cancellation for the two output displacements. -/
18theorem scalarCoherentKernel_shift (s t r : ℝ) (h : (1-t^2)*r=s)
19    (a v w : ℂ) :
20    Cloning.ComplexCoherent.displacementPhase (-((r : ℂ)*a)) v *
21      Cloning.ComplexCoherent.displacementPhase (-((t*r : ℝ):ℂ)*star a) w *
22      scalarCoherentKernel t (v-(r : ℂ)*a) (w-((t*r : ℝ):ℂ)*star a) =
23    scalarCoherentKernel t v w *
24      Cloning.ComplexCoherent.displacementPhase (-a) ((s : ℂ)*v) := by
25  have hC : (1-(t : ℂ)^2)*(r : ℂ)=(s : ℂ) := by exact_mod_cast h
26  simp only [scalarCoherentKernel, Cloning.ComplexCoherent.displacementPhase,
27    Complex.star_def, map_neg, map_mul, map_sub, Complex.conj_ofReal,
28    starRingEnd_self_apply, Complex.ofReal_mul, ← Complex.exp_add]
29  congr 1
30  linear_combination ((v*(starRingEnd ℂ) a-(starRingEnd ℂ) v*a)/2)*hC
31 
32lemma norm_sq_complex (z : ℂ) : ((‖z‖^2 : ℝ):ℂ)=star z*z := by
33  rw [← Complex.normSq_eq_norm_sq, Complex.normSq_eq_conj_mul_self]
34  rfl
35 
36/-- The Gaussian expression is exactly a coherent inner product. -/
37theorem scalarCoherentKernel_eq_inner (t : ℝ) (v w : ℂ) :
38    scalarCoherentKernel t v w =
39      ⟪Cloning.ComplexCoherent.coherentVector ((t : ℂ)*star v),
40        Cloning.ComplexCoherent.coherentVector w⟫_ℂ := by
41  rw [Cloning.ComplexCoherent.inner_coherentVector]
42  unfold scalarCoherentKernel
43  congr 1
44  push_cast
45  simp only [← Complex.ofReal_pow]
46  rw [norm_sq_complex, norm_sq_complex]
47  simp only [map_mul, Complex.conj_ofReal, Complex.star_def,
48    starRingEnd_self_apply]
49  push_cast
50  ring
51 
52end Cloning.MultimodeIdler