Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem A.1: graph symmetry, uniqueness and positive imaginary part

Open
QAlgorithms.Papers.Independent.Intake100.P30.gaussian_graph_unique

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

prove2quantum

Let ψ\psiψ be a normalized centered nnn-mode Gaussian pure state in the full Schrödinger Hilbert space L2(Rn)L^2(\mathbb R^n)L2(Rn). Its norm is one, and there exists exactly one graph extracted from its quadrature second moments that represents it:

Z=⟨qqT⟩−1⟨qpT⟩,ZT=Z,Im⁡Z>0.Z=\langle qq^T\rangle^{-1}\langle qp^T\rangle,\qquad Z^T=Z,\qquad\operatorname{Im}Z>0.Z=⟨qqT⟩−1⟨qpT⟩,ZT=Z,ImZ>0.

Representing a vector means using an almost-everywhere equal normalized Gaussian wavefunction to evaluate these moments. This gives graph uniqueness for an actual state, rather than defining states as graph parameters.

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 pp.19–20, Theorem A.1: every actual centered normalized
Gaussian vector has a unique valid expectation-defined graph. The state is an
L2 vector; it is not defined to be a covariance or a graph. -/
theorem gaussian_graph_unique {n : ℕ} (psi : Schrodinger n)
    (hPsi : IsGaussianVector psi) :
    ‖psi‖ = 1 ∧ ∃! Z : Matrix (Fin n) (Fin n) ℂ, ValidGraph Z ∧ GaussianGraphRepresents Z psi := by sorry

end QAlgorithms.Papers.Independent.Intake100.P30

end
Source
Graphical calculus for Gaussian pure states, arXiv:1007.0725v3, PDF p. 19, Theorem A.1: graph symmetry, uniqueness and positive imaginary part
Read-back

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

Let nnn be any natural number, including zero, and let ψ∈L2(RFin⁡(n),C)\psi\in L^2(\mathbb R^{\operatorname{Fin}(n)},\mathbb C)ψ∈L2(RFin(n),C), with Lebesgue measure. Call a function f:RFin⁡(n)→Cf:\mathbb R^{\operatorname{Fin}(n)}\to\mathbb Cf:RFin(n)→C a normalized centered Gaussian if it belongs to L2L^2L2, satisfies ∫∣f(q)∣2 dq=1\int |f(q)|^2\,dq=1∫∣f(q)∣2dq=1, and there exist real n×nn\times nn×n matrices u,vu,vu,v and c∈Cc\in\mathbb Cc∈C such that uuu is positive definite, vT=vv^{\mathsf T}=vvT=v, c≠0c\ne0c=0, and

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

Suppose ψ\psiψ has such a representative almost everywhere. For any such function fff, define Qjf(q)=qjf(q)Q_jf(q)=q_jf(q)Qj​f(q)=qj​f(q), Pjf(q)=−i Df(q)[ej]P_jf(q)=-i\,Df(q)[e_j]Pj​f(q)=−iDf(q)[ej​], with DDD the real Fréchet derivative, and

Q(f)jk=∫Qjf(q)‾ Qkf(q) dq,M(f)jk=∫Qjf(q)‾ Pkf(q) dq,Z(f)=Q(f)−1M(f).Q(f)_{jk}=\int\overline{Q_jf(q)}\,Q_kf(q)\,dq, \qquad M(f)_{jk}=\int\overline{Q_jf(q)}\,P_kf(q)\,dq, \qquad \mathcal Z(f)=Q(f)^{-1}M(f).Q(f)jk​=∫Qj​f(q)​Qk​f(q)dq,M(f)jk​=∫Qj​f(q)​Pk​f(q)dq,Z(f)=Q(f)−1M(f).

Then ∥ψ∥=1\|\psi\|=1∥ψ∥=1, and there exists exactly one Z∈Cn×nZ\in\mathbb C^{n\times n}Z∈Cn×n such that ZT=ZZ^{\mathsf T}=ZZT=Z, Im⁡Z\operatorname{Im}ZImZ is positive definite, and there is a normalized centered Gaussian fff equal to ψ\psiψ almost everywhere with Z=Z(f)Z=\mathcal Z(f)Z=Z(f). Uniqueness concerns matrices satisfying this entire conjunction. The case n=0n=0n=0, with empty matrices and empty sums, is included.

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