Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

IV.D: bipartite self-inverse H-graph maps to the same ideal graph

Open
QAlgorithms.Papers.Independent.Intake100.P30.bipartite_self_inverse_cluster

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

prove2quantum

Let G=\begin{psmallmatrix}0&G_0^T\\G_0&0\end{psmallmatrix} be real with G2=IG^2=IG2=I, where G0G_0G0​ is initially rectangular with ppp rows and nnn columns. Then n=pn=pn=p and G0TG0=G0G0T=IG_0^TG_0=G_0G_0^T=IG0T​G0​=G0​G0T​=I. For every α>0\alpha>0α>0, Fourier transforming one part of the H-graph state gives

Z′=isech⁡2αI+tanh⁡2αG,E(Z′)=nsech⁡2α.Z'=i\operatorname{sech}2\alpha I+\tanh2\alpha G,\qquad E(Z')=n\operatorname{sech}2\alpha.Z′=isech2αI+tanh2αG,E(Z′)=nsech2α.

The output is valid, tends to GGG as α→+∞\alpha\to+\inftyα→+∞, and its error tends to zero. The empty graph is allowed. No general optimality claim is added.

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.15, (4.15)–(4.17): a bipartite self-inverse graph has
balanced parts and orthogonal cross-block; a Fourier transform on one part
gives the same ideal graph and exact finite scalar error. -/
theorem bipartite_self_inverse_cluster (n p : ℕ) (G0 : Matrix (Fin p) (Fin n) ℝ)
    (hInv : (Matrix.fromBlocks 0 G0.transpose G0 0) *
      (Matrix.fromBlocks 0 G0.transpose G0 0) = (1 : Matrix (Fin n ⊕ Fin p) (Fin n ⊕ Fin p) ℝ)) :
    let G : Matrix (Fin n ⊕ Fin p) (Fin n ⊕ Fin p) ℝ := Matrix.fromBlocks 0 G0.transpose G0 0
    n = p ∧ G0.transpose * G0 = 1 ∧ G0 * G0.transpose = 1 ∧
    (∀ alpha : ℝ, 0 < alpha →
      graphLocalMobius 0 (-1) 1 0 (hGraph G alpha) = sechGraph G alpha ∧
      graphError (sechGraph G alpha) = (n : ℝ) * (Real.cosh (2*alpha))⁻¹ ∧
      ValidGraph (sechGraph G alpha)) ∧
    Tendsto (fun alpha => graphLocalMobius 0 (-1) 1 0 (hGraph G alpha)) atTop (nhds (complexify G)) ∧
    Tendsto (fun alpha => graphError (sechGraph G alpha)) atTop (nhds 0) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P30

end
Source
Graphical calculus for Gaussian pure states, arXiv:1007.0725v3, PDF p. 15, IV.D: bipartite self-inverse H-graph maps to the same ideal graph
Read-back

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

Let n,pn,pn,p be arbitrary natural numbers, including zero, and let G0∈Rp×nG_0\in\mathbb R^{p\times n}G0​∈Rp×n. Suppose

G=(0G0TG00)satisfiesG2=In+p.G=\begin{pmatrix}0&G_0^{\mathsf T}\\G_0&0\end{pmatrix} \quad\text{satisfies}\quad G^2=I_{n+p}.G=(0G0​​G0T​0​)satisfiesG2=In+p​.

Then n=pn=pn=p, G0TG0=InG_0^{\mathsf T}G_0=I_nG0T​G0​=In​, and G0G0T=IpG_0G_0^{\mathsf T}=I_pG0​G0T​=Ip​. For a complex matrix MMM on Fin⁡(n)⊔Fin⁡(p)\operatorname{Fin}(n)\sqcup\operatorname{Fin}(p)Fin(n)⊔Fin(p), define the local transformation

F(M)=[(In000)+(000Ip)M][(000Ip)+(−In000)M]−1.\mathcal F(M)= \left[ \begin{pmatrix}I_n&0\\0&0\end{pmatrix} +\begin{pmatrix}0&0\\0&I_p\end{pmatrix}M \right] \left[ \begin{pmatrix}0&0\\0&I_p\end{pmatrix} +\begin{pmatrix}-I_n&0\\0&0\end{pmatrix}M \right]^{-1}.F(M)=[(In​0​00​)+(00​0Ip​​)M][(00​0Ip​​)+(−In​0​00​)M]−1.

For every real α>0\alpha>0α>0,

F(iexp⁡(−2αG))=tanh⁡(2α)G+icosh⁡(2α)−1In+p.\mathcal F\bigl(i\exp(-2\alpha G)\bigr) =\tanh(2\alpha)G+i\cosh(2\alpha)^{-1}I_{n+p}.F(iexp(−2αG))=tanh(2α)G+icosh(2α)−1In+p​.

The matrix on the right is symmetric with positive definite imaginary part, and half the trace of its imaginary part is ncosh⁡(2α)−1n\cosh(2\alpha)^{-1}ncosh(2α)−1. Moreover, as α→+∞\alpha\to+\inftyα→+∞, F(iexp⁡(−2αG))→G\mathcal F(i\exp(-2\alpha G))\to GF(iexp(−2αG))→G, with GGG embedded entrywise into C\mathbb CC, and half the trace of the imaginary part of tanh⁡(2α)G+icosh⁡(2α)−1In+p\tanh(2\alpha)G+i\cosh(2\alpha)^{-1}I_{n+p}tanh(2α)G+icosh(2α)−1In+p​ tends to zero. All statements include the case n=p=0n=p=0n=p=0.

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