Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact weak displacement kernel and Gaussian smearing

Open
QAlgorithms.Papers.Independent.Intakenext100.P65.gkp_exactSmearing

by Gohan · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let μ,u∈{0,1}\mu, u\in\{0,1\}μ,u∈{0,1}, 0<Δ≤10<\Delta\le10<Δ≤1, and z∈Cz\in\mathbb Cz∈C. For n=(n1,n2)∈Z2n=(n_1,n_2)\in\mathbb Z^2n=(n1​,n2​)∈Z2, put Λn=π/2(2n1+μ−u+in2)\Lambda_n=\sqrt{\pi/2}(2n_1+\mu- u+in_2)Λn​=π/2​(2n1​+μ−u+in2​) and sn=eiπ(n1+(μ+u)/2)n2s_n=e^{i\pi(n_1+(\mu+ u)/2)n_2}sn​=eiπ(n1​+(μ+u)/2)n2​. The ideal weak displacement kernel is Kμu(f)=∑nsnf(Λn)K_{\mu u}(f)=\sum_ns_nf(\Lambda_n)Kμu​(f)=∑n​sn​f(Λn​) on Schwartz tests. With the positive Weyl phase W(a,b)=e(ab∗−a∗b)/2W(a,b)=e^{(ab^*-a^*b)/2}W(a,b)=e(ab∗−a∗b)/2, evaluating its Gaussian-smearing convolution gives

KΔ(z)=∑nsn∫Ce−(∣b∣2+∣Λn+b−z∣2)/Δ2πΔ2/2W(−b,z)W(z−b,Λn+b−z) d2b=∑nsne−∣z−Λn∣2/(2Δ2)−Δ2∣z+Λn∣2/8.K_\Delta(z)=\sum_ns_n\int_{\mathbb C}\frac{e^{-(|b|^2+|\Lambda_n+b-z|^2)/\Delta^2}}{\pi\Delta^2/2}W(-b,z)W(z-b,\Lambda_n+b-z)\,d^2b=\sum_ns_ne^{-|z-\Lambda_n|^2/(2\Delta^2)-\Delta^2|z+\Lambda_n|^2/8}.KΔ​(z)=n∑​sn​∫C​πΔ2/2e−(∣b∣2+∣Λn​+b−z∣2)/Δ2​W(−b,z)W(z−b,Λn​+b−z)d2b=n∑​sn​e−∣z−Λn​∣2/(2Δ2)−Δ2∣z+Λn​∣2/8.

This is the actual overlap ⟨wμ,Δ,Dzwu,Δ⟩\langle w_{\mu,\Delta},D_z w_{ u,\Delta}\rangle⟨wμ,Δ​,Dz​wu,Δ​⟩ of the smeared comb waves wμ,Δ(x)=2/π∑q∈π(2Z+μ)e−(x−q)2/(2Δ2)−Δ2(x+q)2/8w_{\mu,\Delta}(x)=\sqrt{2/\sqrt\pi}\sum_{q\in\sqrt\pi(2\mathbb Z+\mu)}e^{-(x-q)^2/(2\Delta^2)-\Delta^2(x+q)^2/8}wμ,Δ​(x)=2/π​​∑q∈π​(2Z+μ)​e−(x−q)2/(2Δ2)−Δ2(x+q)2/8. Their computed squared norms Zμ=∥wμ,Δ∥22Z_\mu=\|w_{\mu,\Delta}\|_2^2Zμ​=∥wμ,Δ​∥22​ are positive. Individually normalized overlaps are KΔ(z)/ZμZuK_\Delta(z)/\sqrt{Z_\mu Z_ u}KΔ​(z)/Zμ​Zu​​. Pairings and overlaps are integrable, the weak lattice sums converge, and ∫KΔ(z)f(z)d2z/(2πΔ2)→Kμu(f)\int K_\Delta(z)f(z)d^2z/(2\pi\Delta^2)\to K_{\mu u}(f)∫KΔ​(z)f(z)d2z/(2πΔ2)→Kμu​(f) as Δ↓0\Delta\downarrow0Δ↓0. This retains the weak-kernel normalization and avoids treating the finite-smearing Gram matrix as the identity.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P65
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakenext100.P65

open MeasureTheory Filter

open QAlgorithms.Papers.Independent.Frontier18.P14 (displacementEntry)

open QAlgorithms.Papers.Independent.Dependency50.P40 (outputFirstChoi)

open scoped ComplexConjugate Matrix Topology

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

/-- PDF p.29 (D9)--(D11): weak-kernel convolution and true wavefunction overlap;
normalized overlaps divide by computed norms. D8's inconsistent intermediate signs
are not repeated; D9 agrees with the declared positive Weyl convention. -/
theorem gkp_exactSmearing (mu nu : Fin 2) (d : ℝ) (hd0 : 0 < d) (hd1 : d ≤ 1) (z : ℂ) :
    0 < smearedNorm mu d ∧ 0 < smearedNorm nu d ∧
    Integrable (fun x : ℝ => conj (smearedWave mu d x) * displaceWave z (smearedWave nu d) x) ∧
    smearedKernelIntegral mu nu d z = smearedKernelSum mu nu d z ∧
    (∫ x : ℝ, conj (smearedWave mu d x) * displaceWave z (smearedWave nu d) x) =
      smearedKernelSum mu nu d z ∧
    (∫ x : ℝ, conj (normalizedSmearedWave mu d x) *
      displaceWave z (normalizedSmearedWave nu d) x) =
      smearedKernelSum mu nu d z /
        (Real.sqrt (smearedNorm mu d * smearedNorm nu d) : ℂ) ∧
    (∀ f : SchwartzMap ℂ ℂ,
      Summable (fun n : ℤ × ℤ => kernelPhase mu nu n * f (kernelLattice mu nu n)) ∧
      (∀ e > (0 : ℝ), Integrable (fun a : ℂ => smearedKernelSum mu nu e a * f a)) ∧
      Tendsto (fun e : ℝ => (∫ a : ℂ, smearedKernelSum mu nu e a * f a) /
        (2 * Real.pi * e ^ 2 : ℂ)) (nhdsWithin 0 (Set.Ioi 0))
          (nhds (idealDisplacementKernel mu nu f))) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P65

end
Source
Performance and structure of single-mode bosonic codes, arXiv:1708.05010v3, PDF p. 29, Appendix D3 (D8)–(D11): exact GKP displacement kernels
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For all μ,ν∈{0,1}\mu,\nu\in\{0,1\}μ,ν∈{0,1}, all real ddd satisfying 0<d≤10<d\le10<d≤1, and every z∈Cz\in\mathbb Cz∈C, define

qμ,r=π(2r+μ),Wμ,d(x)=2π∑r∈Ze−(x−qμ,r)2/(2d2)−d2(x+qμ,r)2/8,Nμ,d=∫R∣Wμ,d(x)∣2 dx,q_{\mu,r}=\sqrt\pi(2r+\mu),\qquad W_{\mu,d}(x)=\sqrt{\frac2{\sqrt\pi}}\sum_{r\in\mathbb Z} e^{-(x-q_{\mu,r})^2/(2d^2)-d^2(x+q_{\mu,r})^2/8}, \qquad N_{\mu,d}=\int_{\mathbb R}|W_{\mu,d}(x)|^2\,dx,qμ,r​=π​(2r+μ),Wμ,d​(x)=π​2​​r∈Z∑​e−(x−qμ,r​)2/(2d2)−d2(x+qμ,r​)2/8,Nμ,d​=∫R​∣Wμ,d​(x)∣2dx,

and let W^μ,d=Wμ,d/Nμ,d\widehat W_{\mu,d}=W_{\mu,d}/\sqrt{N_{\mu,d}}Wμ,d​=Wμ,d​/Nμ,d​​ and

(Dzv)(x)=ei(2 Im⁡(z)x−Re⁡(z)Im⁡(z))v(x−2 Re⁡(z)).(D_zv)(x)=e^{i(\sqrt2\,\operatorname{Im}(z)x-\operatorname{Re}(z)\operatorname{Im}(z))} v(x-\sqrt2\,\operatorname{Re}(z)).(Dz​v)(x)=ei(2​Im(z)x−Re(z)Im(z))v(x−2​Re(z)).

Also set

Kμν(r,s)=π2(2r+μ−ν+is),χμν(r,s)=eiπ(r+(μ+ν)/2)s,w(a,b)=e(ab‾−a‾b)/2,K_{\mu\nu}(r,s)=\sqrt{\frac\pi2}(2r+\mu-\nu+is),\quad \chi_{\mu\nu}(r,s)=e^{i\pi(r+(\mu+\nu)/2)s},\quad w(a,b)=e^{(a\overline b-\overline a b)/2},Kμν​(r,s)=2π​​(2r+μ−ν+is),χμν​(r,s)=eiπ(r+(μ+ν)/2)s,w(a,b)=e(ab−ab)/2, Iμν,d(z)=∑r,s∈Zχμν(r,s)∫Ce−(∣b∣2+∣Kμν(r,s)+b−z∣2)/d2πd2/2w(−b,z)w(z−b,Kμν(r,s)+b−z) db,I_{\mu\nu,d}(z)= \sum_{r,s\in\mathbb Z}\chi_{\mu\nu}(r,s) \int_{\mathbb C} \frac{e^{-(|b|^2+|K_{\mu\nu}(r,s)+b-z|^2)/d^2}}{\pi d^2/2} w(-b,z)w(z-b,K_{\mu\nu}(r,s)+b-z)\,db,Iμν,d​(z)=r,s∈Z∑​χμν​(r,s)∫C​πd2/2e−(∣b∣2+∣Kμν​(r,s)+b−z∣2)/d2​w(−b,z)w(z−b,Kμν​(r,s)+b−z)db,

and

Sμν,d(z)=∑r,s∈Zχμν(r,s)e−∣z−Kμν(r,s)∣2/(2d2)−d2∣z+Kμν(r,s)∣2/8.S_{\mu\nu,d}(z)= \sum_{r,s\in\mathbb Z}\chi_{\mu\nu}(r,s) e^{-|z-K_{\mu\nu}(r,s)|^2/(2d^2)-d^2|z+K_{\mu\nu}(r,s)|^2/8}.Sμν,d​(z)=r,s∈Z∑​χμν​(r,s)e−∣z−Kμν​(r,s)∣2/(2d2)−d2∣z+Kμν​(r,s)∣2/8.

Then Nμ,d>0N_{\mu,d}>0Nμ,d​>0 and Nν,d>0N_{\nu,d}>0Nν,d​>0, the function x↦Wμ,d(x)‾(DzWν,d)(x)x\mapsto\overline{W_{\mu,d}(x)}(D_zW_{\nu,d})(x)x↦Wμ,d​(x)​(Dz​Wν,d​)(x) is Lebesgue integrable, and

Iμν,d(z)=Sμν,d(z),∫RWμ,d(x)‾(DzWν,d)(x) dx=Sμν,d(z),I_{\mu\nu,d}(z)=S_{\mu\nu,d}(z),\qquad \int_{\mathbb R}\overline{W_{\mu,d}(x)}(D_zW_{\nu,d})(x)\,dx=S_{\mu\nu,d}(z),Iμν,d​(z)=Sμν,d​(z),∫R​Wμ,d​(x)​(Dz​Wν,d​)(x)dx=Sμν,d​(z), ∫RW^μ,d(x)‾(DzW^ν,d)(x) dx=Sμν,d(z)Nμ,dNν,d.\int_{\mathbb R}\overline{\widehat W_{\mu,d}(x)}(D_z\widehat W_{\nu,d})(x)\,dx =\frac{S_{\mu\nu,d}(z)}{\sqrt{N_{\mu,d}N_{\nu,d}}}.∫R​Wμ,d​(x)​(Dz​Wν,d​)(x)dx=Nμ,d​Nν,d​​Sμν,d​(z)​.

Furthermore, for every complex-valued Schwartz function fff on C\mathbb CC, the series ∑r,sχμν(r,s)f(Kμν(r,s))\sum_{r,s}\chi_{\mu\nu}(r,s)f(K_{\mu\nu}(r,s))∑r,s​χμν​(r,s)f(Kμν​(r,s)) is summable, the function a↦Sμν,e(a)f(a)a\mapsto S_{\mu\nu,e}(a)f(a)a↦Sμν,e​(a)f(a) is Lebesgue integrable for every real e>0e>0e>0, and

lim⁡e→0+∫CSμν,e(a)f(a) da2πe2=∑r,s∈Zχμν(r,s)f(Kμν(r,s)).\lim_{e\to0^+} \frac{\displaystyle\int_{\mathbb C}S_{\mu\nu,e}(a)f(a)\,da}{2\pi e^2} = \sum_{r,s\in\mathbb Z}\chi_{\mu\nu}(r,s)f(K_{\mu\nu}(r,s)).e→0+lim​2πe2∫C​Sμν,e​(a)f(a)da​=r,s∈Z∑​χμν​(r,s)f(Kμν​(r,s)).

The labels may coincide or differ; d=1d=1d=1 is included, while d=0d=0d=0 is excluded.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me