Offline · exact source
Exact Lean source

WeylKernel

formalization/Cloning/WeylKernel.lean

Source hash: 94b343882554b6376060f28bccc91ba10c10c34883e45db56dc8db6ede8a5663

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.CoherentKernel
2import Mathlib.Analysis.Normed.Operator.Extend
3 
4/-! The coherent-vector action and cocycle of Weyl displacements, obtained
5from the proved Fock-space overlap kernel. -/
6 
7noncomputable section
8open scoped InnerProductSpace Topology BigOperators
9 
10namespace Cloning.ComplexCoherent
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 800000
13 
14/-- Phase in the displacement action `D(a)|z⟩`. -/
15def displacementPhase (a z : ℂ) : ℂ :=
16  Complex.exp ((a * starRingEnd ℂ z - starRingEnd ℂ a * z) / 2)
17 
18/-- The prescribed translated coherent vector. -/
19def displacedCoherent (a z : ℂ) : Fock :=
20  displacementPhase a z • coherentVector (a + z)
21 
22lemma norm_sq_cast (z : ℂ) : (‖z‖ ^ 2 : ℂ) = starRingEnd ℂ z * z := by
23  rw [← Complex.ofReal_pow, ← Complex.normSq_eq_norm_sq, Complex.normSq_eq_conj_mul_self]
24 
25lemma norm_sq_cast' (z : ℂ) : ((‖z‖ ^ 2 : ℝ) : ℂ) = starRingEnd ℂ z * z := by
26  rw [← Complex.normSq_eq_norm_sq, Complex.normSq_eq_conj_mul_self]
27 
28@[simp] theorem displacementPhase_norm (a z : ℂ) : ‖displacementPhase a z‖ = 1 := by
29  rw [displacementPhase, Complex.norm_exp]
30  have h : ((a * starRingEnd ℂ z - starRingEnd ℂ a * z) / 2).re = 0 := by
31    simp [Complex.mul_re, Complex.div_ofNat_re]
32  rw [h, Real.exp_zero]
33 
34@[simp] theorem displacementPhase_zero_left (z : ℂ) : displacementPhase 0 z = 1 := by
35  simp [displacementPhase]
36 
37@[simp] theorem displacementPhase_zero_right (a : ℂ) : displacementPhase a 0 = 1 := by
38  simp [displacementPhase]
39 
40/-- Translating and phasing the coherent vectors preserves their full complex
41inner products, not only their overlap modulus. -/
42theorem inner_displacedCoherent (a z w : ℂ) :
43    ⟪displacedCoherent a z, displacedCoherent a w⟫_ℂ =
44      ⟪coherentVector z, coherentVector w⟫_ℂ := by
45  simp only [displacedCoherent, inner_smul_left, inner_smul_right,
46    displacementPhase, inner_coherentVector, ← Complex.exp_conj, ← Complex.exp_add]
47  congr 1
48  push_cast
49  simp only [map_div₀, map_sub, map_mul, map_ofNat, starRingEnd_self_apply,
50    map_add, norm_sq_cast]
51  ring
52 
53/-- The Weyl phase obeys the translation cocycle. -/
54theorem displacementPhase_cocycle (a b z : ℂ) :
55    displacementPhase b z * displacementPhase a (b + z) =
56      displacementPhase a b * displacementPhase (a + b) z := by
57  simp only [displacementPhase, ← Complex.exp_add, map_add]
58  congr 1
59  ring
60 
61/-- The finite linear combinations used to construct Weyl operators. -/
62def coherentCombination : (ℂ →₀ ℂ) →ₗ[ℂ] Fock :=
63  Finsupp.linearCombination ℂ coherentVector
64 
65def displacedCombination (a : ℂ) : (ℂ →₀ ℂ) →ₗ[ℂ] Fock :=
66  Finsupp.linearCombination ℂ (displacedCoherent a)
67 
68/-- Exact kernel equality controls arbitrary finite superpositions. -/
69theorem inner_displacedCombination (a : ℂ) (c d : ℂ →₀ ℂ) :
70    ⟪displacedCombination a c, displacedCombination a d⟫_ℂ =
71      ⟪coherentCombination c, coherentCombination d⟫_ℂ := by
72  simp only [displacedCombination, coherentCombination, Finsupp.linearCombination_apply,
73    Finsupp.sum, inner_sum, sum_inner, inner_smul_left, inner_smul_right,
74    inner_displacedCoherent]
75 
76theorem norm_displacedCombination (a : ℂ) (c : ℂ →₀ ℂ) :
77    ‖displacedCombination a c‖ = ‖coherentCombination c‖ := by
78  have h := congrArg (fun z : ℂ => z.re) (inner_displacedCombination a c c)
79  change (RCLike.re : ℂ → ℝ) _ = (RCLike.re : ℂ → ℝ) _ at h
80  rw [← InnerProductSpace.norm_sq_eq_re_inner (𝕜 := ℂ),
81    ← InnerProductSpace.norm_sq_eq_re_inner (𝕜 := ℂ)] at h
82  nlinarith [norm_nonneg (displacedCombination a c), norm_nonneg (coherentCombination c)]
83 
84end Cloning.ComplexCoherent