Offline · exact source
Exact Lean source

WeylNumberKernel

formalization/Cloning/WeylNumberKernel.lean

Source hash: 1b98252b3d2f16ff4f41971d9b0debc83052b217890339411a9784d07c27d709

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.WeylMultimodeContinuity
2import Cloning.MultimodeCoherentGaussianMixture
3import Mathlib.Analysis.Calculus.Deriv.Pow
4import Mathlib.Analysis.SpecialFunctions.Complex.Analytic
5import Mathlib.Analysis.Complex.RealDeriv
6 
7/-! Exact coherent/number matrix elements of the constructed Weyl operator. -/
8noncomputable section
9open scoped InnerProductSpace Topology BigOperators
10namespace Cloning.MultimodeCoherent
11open Cloning.MultimodeCoherentGaussianMixture
12set_option maxHeartbeats 1000000
13set_option backward.isDefEq.respectTransparency false
14 
15/-- A single factor of the exact coherent/number displacement kernel. -/
16def numberKernel (a z : ℂ) (k : ℕ) : ℂ :=
17  Complex.exp (-(starRingEnd ℂ z * z) / 2 - (starRingEnd ℂ a * a) / 2 +
18    starRingEnd ℂ z * a) * (starRingEnd ℂ z - starRingEnd ℂ a) ^ k /
19      (Real.sqrt (k.factorial : ℝ) : ℂ)
20 
21theorem numberKernel_eq_coherent (a z : ℂ) (k : ℕ) :
22    numberKernel a z k =
23      starRingEnd ℂ (ComplexCoherent.displacementPhase (-a) z) *
24        starRingEnd ℂ (ComplexCoherent.coherentVector (-a + z) k) := by
25  rw [ComplexCoherent.coherentVector_apply, ComplexCoherent.displacementPhase]
26  simp only [map_div₀, map_mul, map_pow, Complex.conj_ofReal, ← Complex.exp_conj,
27    Complex.ofReal_exp]
28  rw [numberKernel]
29  have he : starRingEnd ℂ (((-a) * starRingEnd ℂ z - starRingEnd ℂ (-a) * z) / 2) +
30      ((-‖-a + z‖ ^ 2 / 2 : ℝ) : ℂ) =
31      -(starRingEnd ℂ z * z) / 2 - (starRingEnd ℂ a * a) / 2 + starRingEnd ℂ z * a := by
32    push_cast
33    simp only [map_div₀, map_sub, map_mul, map_neg, map_ofNat,
34      starRingEnd_self_apply, ComplexCoherent.norm_sq_cast, map_add]
35    ring
36  rw [← he, Complex.exp_add]
37  simp only [map_add, map_neg, map_div₀, map_sub, map_mul, map_ofNat,
38    starRingEnd_self_apply]
39  ring
40 
41theorem inner_coherent_displacement_number {d : ℕ}
42    (a z : Fin d → ℂ) (k : Fin d → ℕ) :
43    ⟪coherentVector z, displacement a (numberBasis d k)⟫_ℂ =
44      ∏ i, numberKernel (a i) (z i) (k i) := by
45  have h := (weylUnitary (-a)).inner_map_map (coherentVector z)
46    (displacement a (numberBasis d k))
47  simp only [weylUnitary_apply, displacement_neg_cancel] at h
48  rw [← h, displacement_coherentVector, inner_smul_left,
49    ← inner_conj_symm (coherentVector (-a + z)) (numberBasis d k), inner_numberBasis,
50    coherentVector_coefficients]
51  simp only [displacementPhase, map_prod, ← Finset.prod_mul_distrib]
52  apply Finset.prod_congr rfl
53  intro i _
54  rw [numberKernel_eq_coherent, ComplexCoherent.coherentVector_apply]
55  rfl
56 
57end Cloning.MultimodeCoherent