Offline · exact source
Exact Lean source

CoherentKernel

formalization/Cloning/CoherentKernel.lean

Source hash: 74457950127af92cffc842aac9a97d1722a28d357be5c9e61827efaf9d02151c

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.ComplexCoherent
2import Mathlib.Analysis.SpecialFunctions.Exponential
3 
4/-! The actual complex coherent-vector inner-product kernel, computed from
5its convergent Fock coefficients. No overlap formula is assumed. -/
6 
7noncomputable section
8open scoped InnerProductSpace Topology BigOperators
9 
10namespace Cloning.ComplexCoherent
11 
12set_option backward.isDefEq.respectTransparency false
13 
14/-- The coefficient inner products are the terms of the complex exponential
15series, including their normalization factors. -/
16theorem coherentVector_coefficient_inner (z w : ℂ) (n : ℕ) :
17    ⟪coherentVector z n, coherentVector w n⟫_ℂ =
18      (Real.exp (-‖z‖ ^ 2 / 2) : ℂ) * (Real.exp (-‖w‖ ^ 2 / 2) : ℂ) *
19        ((starRingEnd ℂ z * w) ^ n / (n.factorial : ℂ)) := by
20  rw [RCLike.inner_apply, coherentVector_apply, coherentVector_apply]
21  simp only [map_div₀, map_mul, map_pow, Complex.conj_ofReal]
22  rw [div_mul_div_comm]
23  have hs : (Real.sqrt (n.factorial : ℝ) : ℂ) *
24      (Real.sqrt (n.factorial : ℝ) : ℂ) = (n.factorial : ℂ) := by
25    exact_mod_cast Real.mul_self_sqrt (show (0 : ℝ) ≤ n.factorial by positivity)
26  rw [hs, mul_pow]
27  ring
28 
29/-- Exact overlap, first in factorized normalization form. -/
30theorem inner_coherentVector_factorized (z w : ℂ) :
31    ⟪coherentVector z, coherentVector w⟫_ℂ =
32      (Real.exp (-‖z‖ ^ 2 / 2) : ℂ) * (Real.exp (-‖w‖ ^ 2 / 2) : ℂ) *
33        Complex.exp (starRingEnd ℂ z * w) := by
34  have hs : HasSum (fun n : ℕ => (starRingEnd ℂ z * w) ^ n / (n.factorial : ℂ))
35      (Complex.exp (starRingEnd ℂ z * w)) := by
36    rw [Complex.exp_eq_exp_ℂ]
37    exact NormedSpace.expSeries_div_hasSum_exp _
38  rw [lp.inner_eq_tsum]
39  simp_rw [coherentVector_coefficient_inner]
40  exact (hs.mul_left ((Real.exp (-‖z‖ ^ 2 / 2) : ℂ) *
41    (Real.exp (-‖w‖ ^ 2 / 2) : ℂ))).tsum_eq
42 
43/-- The standard coherent-state kernel, proved for the actual ℓ² vectors. -/
44theorem inner_coherentVector (z w : ℂ) :
45    ⟪coherentVector z, coherentVector w⟫_ℂ =
46      Complex.exp (((-(‖z‖ ^ 2 + ‖w‖ ^ 2) / 2 : ℝ) : ℂ) +
47        starRingEnd ℂ z * w) := by
48  rw [inner_coherentVector_factorized, Complex.ofReal_exp, Complex.ofReal_exp,
49    ← Complex.exp_add, ← Complex.exp_add]
50  congr 1
51  push_cast
52  ring
53 
54end Cloning.ComplexCoherent