Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

III.E: displacement leaves the graph unchanged

Open
QAlgorithms.Papers.Independent.Intake100.P30.displacement_preserves_graph

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

prove2quantum

Let fff be a normalized centered Gaussian wavefunction and z=(d,p)z=(d,p)z=(d,p) a real phase-space displacement. Its Weyl-displaced function is g(q)=eip⋅(q−d/2)f(q−d)g(q)=e^{ip\cdot(q-d/2)}f(q-d)g(q)=eip⋅(q−d/2)f(q−d). It remains normalized, has integrable first and second quadrature forms, has first moment zzz, and satisfies

Σg=Σf,Zcentered(g)=Zcentered(f)=Z(f).\Sigma_g=\Sigma_f,\qquad Z_{\mathrm{centered}}(g)=Z_{\mathrm{centered}}(f)=Z(f).Σg​=Σf​,Zcentered​(g)=Zcentered​(f)=Z(f).

Thus the graph is unchanged by displacement. Centering is essential on the displaced state; the uncentered expectation formula applies to the original centered representative.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P30
Formal statement
noncomputable section

open MeasureTheory Filter

open scoped BigOperators ENNReal ComplexOrder Matrix.Norms.Frobenius Topology

open QAlgorithms.Papers.Independent.Dependency50.P10 (Phase complexify sigma)

namespace QAlgorithms.Papers.Independent.Intake100.P30

open QAlgorithms.Papers.Independent.Claimed50.P41
  (Schrodinger gaussianWave IsCenteredGaussianFunction quadratureFunction waveMean waveCovariance displacedFunction IsImplementer)

/-- PDF p.11: displacement preserves centered moments and hence the graph.
The uncentered extraction is only asserted equal on the centered input. -/
theorem displacement_preserves_graph {n : ℕ} (f : (Fin n → ℝ) → ℂ)
    (hf : NormalizedGaussian f) (z : Phase n → ℝ) :
    let g := displacedFunction z f
    NormalizedWave g ∧ HasQuadratureForms g ∧
    (∀ a, waveMean g a = z a) ∧
    waveCovariance g = waveCovariance f ∧
    centeredGraph g = centeredGraph f ∧ centeredGraph f = extractedGraph f := by sorry

end QAlgorithms.Papers.Independent.Intake100.P30

end
Source
Graphical calculus for Gaussian pure states, arXiv:1007.0725v3, PDF p. 11, III.E: displacement leaves the graph unchanged
Read-back

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

For every natural number nnn, including 000, let f:Rn→Cf:\mathbb R^n\to\mathbb Cf:Rn→C have the pointwise form

f(q)=cexp⁡ ⁣(−12∑j,kqj(ujk+ivjk)qk)f(q)=c\exp\!\left(-\frac12\sum_{j,k}q_j(u_{jk}+iv_{jk})q_k\right)f(q)=cexp​−21​j,k∑​qj​(ujk​+ivjk​)qk​​

for some real positive definite n×nn\times nn×n matrix uuu, real symmetric n×nn\times nn×n matrix vvv, and nonzero c∈Cc\in\mathbb Cc∈C, and suppose fff belongs to L2L^2L2 and ∫∣f(q)∣2 dq=1\int|f(q)|^2\,dq=1∫∣f(q)∣2dq=1. For any real vector zzz indexed by two copies of the nnn coordinates, write xj=zqjx_j=z_{q_j}xj​=zqj​​ and pj=zpjp_j=z_{p_j}pj​=zpj​​, and set

g(q)=exp⁡ ⁣(i∑jpj(qj−xj/2))f(q−x).g(q)=\exp\!\left(i\sum_jp_j(q_j-x_j/2)\right)f(q-x).g(q)=exp(ij∑​pj​(qj​−xj​/2))f(q−x).

For a function hhh, define Qjh(q)=qjh(q)Q_jh(q)=q_jh(q)Qj​h(q)=qj​h(q) and Pjh(q)=−i Dh(q)[ej]P_jh(q)=-i\,Dh(q)[e_j]Pj​h(q)=−iDh(q)[ej​], using the real Fréchet derivative, and let RaR_aRa​ denote the corresponding operator for each position or momentum index aaa. Using Lebesgue measure throughout, define

ma(h)=∫Re⁡(h(q)‾Rah(q)) dq,C(h)ab=∫Re⁡(Rah(q)‾Rbh(q)) dq−ma(h)mb(h),m_a(h)=\int\operatorname{Re}\bigl(\overline{h(q)}R_ah(q)\bigr)\,dq,\qquad C(h)_{ab}=\int\operatorname{Re}\bigl(\overline{R_ah(q)}R_bh(q)\bigr)\,dq -m_a(h)m_b(h),ma​(h)=∫Re(h(q)​Ra​h(q))dq,C(h)ab​=∫Re(Ra​h(q)​Rb​h(q))dq−ma​(h)mb​(h),

and define complex moment matrices

Mqq(h)jk=∫Qjh(q)‾Qkh(q) dq,Mqp(h)jk=∫Qjh(q)‾Pkh(q) dq.M_{qq}(h)_{jk}=\int\overline{Q_jh(q)}Q_kh(q)\,dq,\qquad M_{qp}(h)_{jk}=\int\overline{Q_jh(q)}P_kh(q)\,dq.Mqq​(h)jk​=∫Qj​h(q)​Qk​h(q)dq,Mqp​(h)jk​=∫Qj​h(q)​Pk​h(q)dq.

Finally, embedding real covariance blocks into complex matrices, put

Zc(h)=C(h)qq−1(C(h)qp+i21),Ze(h)=Mqq(h)−1Mqp(h),Z_{\mathrm c}(h)=C(h)_{qq}^{-1} \left(C(h)_{qp}+\frac i2\mathbf1\right), \qquad Z_{\mathrm e}(h)=M_{qq}(h)^{-1}M_{qp}(h),Zc​(h)=C(h)qq−1​(C(h)qp​+2i​1),Ze​(h)=Mqq​(h)−1Mqp​(h),

with the inverses understood as the total matrix inverses used in the definitions. Then ggg belongs to L2L^2L2, ∫∣g(q)∣2 dq=1\int|g(q)|^2\,dq=1∫∣g(q)∣2dq=1, every g‾ Rag\overline g\,R_agg​Ra​g and every Rag‾ Rbg\overline{R_ag}\,R_bgRa​g​Rb​g is integrable, and

ma(g)=zafor every a,C(g)=C(f),Zc(g)=Zc(f),Zc(f)=Ze(f).m_a(g)=z_a\quad\text{for every }a,\qquad C(g)=C(f),\qquad Z_{\mathrm c}(g)=Z_{\mathrm c}(f),\qquad Z_{\mathrm c}(f)=Z_{\mathrm e}(f).ma​(g)=za​for every a,C(g)=C(f),Zc​(g)=Zc​(f),Zc​(f)=Ze​(f).

For n=0n=0n=0, there are no position or momentum indices, and the matrix assertions concern empty matrices.

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