Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem A.3: Gaussian-unitary Mobius transformation

Open
QAlgorithms.Papers.Independent.Intake100.P30.gaussian_unitary_mobius

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

prove2quantum

Let a real symplectic matrix S=\begin{psmallmatrix}A&B\\C&D\end{psmallmatrix} have a Gaussian unitary implementer on L2(Rn)L^2(\mathbb R^n)L2(Rn), in the convention U^†xU^=Sx\widehat U^\dagger x\widehat U=SxU†xU=Sx. Let ψ\psiψ be an actual centered normalized Gaussian vector represented by valid graph ZZZ. Then A+BZA+BZA+BZ is invertible, U^ψ\widehat U\psiUψ is Gaussian, and

Z′=(C+DZ)(A+BZ)−1,ΣZ′=SΣZST.Z'=(C+DZ)(A+BZ)^{-1},\qquad\Sigma_{Z'}=S\Sigma_ZS^T.Z′=(C+DZ)(A+BZ)−1,ΣZ′​=SΣZ​ST.

The expectation-defined graph of the output is Z′Z'Z′ and is again symmetric with positive definite imaginary part. Output physicality is a conclusion.

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.20–21, Theorem A.3: Mobius law on expectation-defined
graphs of actual states under Gaussian unitaries, including output Gaussianity,
denominator invertibility, covariance congruence, and output physicality. -/
theorem gaussian_unitary_mobius {n : ℕ} (A B C D : Matrix (Fin n) (Fin n) ℝ)
    (hS : graphBlockSymplectic A B C D) (Z : Matrix (Fin n) (Fin n) ℂ) (hZ : ValidGraph Z)
    (psi : Schrodinger n) (hPsi : GaussianGraphRepresents Z psi)
    (Uop : Schrodinger n ≃ₗᵢ[ℂ] Schrodinger n)
    (hOp : IsImplementer (Matrix.fromBlocks A B C D) Uop) :
    IsUnit (complexify A + complexify B * Z).det ∧
    ValidGraph (mobius A B C D Z) ∧ IsGaussianVector (Uop psi) ∧
    GaussianGraphRepresents (mobius A B C D Z) (Uop psi) ∧
    graphCovariance (mobius A B C D Z) =
      (Matrix.fromBlocks A B C D) * graphCovariance Z * (Matrix.fromBlocks A B C D).transpose := by sorry

end QAlgorithms.Papers.Independent.Intake100.P30

end
Source
Graphical calculus for Gaussian pure states, arXiv:1007.0725v3, PDF p. 20, Theorem A.3: Gaussian-unitary Mobius transformation
Read-back

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

For every natural number nnn, including 000, let A,B,C,DA,B,C,DA,B,C,D be real n×nn\times nn×n matrices, put S=(ABCD)S=\begin{pmatrix}A&B\\C&D\end{pmatrix}S=(AC​BD​) and J=(0In−In0)J=\begin{pmatrix}0&I_n\\-I_n&0\end{pmatrix}J=(0−In​​In​0​), and assume SJST=JSJS^{T}=JSJST=J. Let ZZZ be a complex symmetric n×nn\times nn×n matrix whose entrywise imaginary part is positive definite. Let ψ\psiψ belong to L2(Rn;C)L^{2}(\mathbb R^{n};\mathbb C)L2(Rn;C), and assume that it agrees almost everywhere with a function fff satisfying

f(q)=cexp⁡ ⁣(−12∑j,kqj(ujk+ivjk)qk),u>0,v=vT,c≠0,f(q)=c\exp\!\left(-\frac12\sum_{j,k}q_j(u_{jk}+iv_{jk})q_k\right), \qquad u>0,\quad v=v^{T},\quad c\ne0,f(q)=cexp​−21​j,k∑​qj​(ujk​+ivjk​)qk​​,u>0,v=vT,c=0,

where u,vu,vu,v are real matrices, fff belongs to L2L^{2}L2, and ∫Rn∣f(q)∣2 dq=1\int_{\mathbb R^n}|f(q)|^{2}\,dq=1∫Rn​∣f(q)∣2dq=1. Define Qjh(q)=qjh(q)Q_jh(q)=q_jh(q)Qj​h(q)=qj​h(q), Pjh(q)=−i Dh(q)[ej]P_jh(q)=-i\,Dh(q)[e_j]Pj​h(q)=−iDh(q)[ej​], M(h)jk=∫Qjh(q)‾Qkh(q) dqM(h)_{jk}=\int\overline{Q_jh(q)}Q_kh(q)\,dqM(h)jk​=∫Qj​h(q)​Qk​h(q)dq, and N(h)jk=∫Qjh(q)‾Pkh(q) dqN(h)_{jk}=\int\overline{Q_jh(q)}P_kh(q)\,dqN(h)jk​=∫Qj​h(q)​Pk​h(q)dq, and assume Z=M(f)−1N(f)Z=M(f)^{-1}N(f)Z=M(f)−1N(f). Here DhDhDh is the real Fréchet derivative, with the total derivative convention that it is zero where differentiability fails. Let UUU be a surjective complex linear isometry of L2(Rn;C)L^{2}(\mathbb R^{n};\mathbb C)L2(Rn;C). For z=(x,p)∈Rn⊕Rnz=(x,p)\in\mathbb R^{n}\oplus\mathbb R^{n}z=(x,p)∈Rn⊕Rn, define

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

Assume that for every zzz and every η∈L2\eta\in L^{2}η∈L2, there is ϕ∈L2\phi\in L^{2}ϕ∈L2 whose representative equals Dzη\mathcal D_z\etaDz​η almost everywhere and whose image UϕU\phiUϕ equals DSz(Uη)\mathcal D_{Sz}(U\eta)DSz​(Uη) almost everywhere. Then det⁡(A+BZ)≠0\det(A+BZ)\ne0det(A+BZ)=0, and

Z′=(C+DZ)(A+BZ)−1Z'=(C+DZ)(A+BZ)^{-1}Z′=(C+DZ)(A+BZ)−1

is complex symmetric with positive definite imaginary part. Moreover, UψU\psiUψ agrees almost everywhere with a normalized function of the same centered Gaussian form, and such a function ggg can be chosen with Z′=M(g)−1N(g)Z'=M(g)^{-1}N(g)Z′=M(g)−1N(g). Finally, defining for any complex matrix WWW, with UW=Im⁡WU_W=\operatorname{Im}WUW​=ImW and VW=Re⁡WV_W=\operatorname{Re}WVW​=ReW,

Γ(W)=12(UW−1UW−1VWVWUW−1UW+VWUW−1VW),\Gamma(W)=\frac12 \begin{pmatrix} U_W^{-1}&U_W^{-1}V_W\\ V_WU_W^{-1}&U_W+V_WU_W^{-1}V_W \end{pmatrix},Γ(W)=21​(UW−1​VW​UW−1​​UW−1​VW​UW​+VW​UW−1​VW​​),

the identity Γ(Z′)=SΓ(Z)ST\Gamma(Z')=S\Gamma(Z)S^{T}Γ(Z′)=SΓ(Z)ST holds. All almost-everywhere statements and integrals use Lebesgue measure; matrix inverses are the total matrix inverse operation, including in the moment expressions where invertibility is not separately assumed.

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