Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

IV.B: partial Fourier transform of an H-graph and stationarity

Open
QAlgorithms.Papers.Independent.Intake100.P30.imaginary_graph_partial_fourier

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

prove2quantum

Let U=\begin{psmallmatrix}U_1&U_2^T\\U_2&U_3\end{psmallmatrix}>0 be real symmetric. For Z=iUZ=iUZ=iU, Fourier transforming the first block gives a valid graph, U1U_1U1​ is invertible, and

Z′=(iU1−1−U1−1U2T−U2U1−1i(U3−U2U1−1U2T)).Z'=\begin{pmatrix}iU_1^{-1}&-U_1^{-1}U_2^T\\-U_2U_1^{-1}&i(U_3-U_2U_1^{-1}U_2^T)\end{pmatrix}.Z′=(iU1−1​−U2​U1−1​​−U1−1​U2T​i(U3​−U2​U1−1​U2T​)​).

The phase-error derivative vanishes at Z′Z'Z′. More generally, applying any integer multiples of π/2\pi/2π/2 on any modes of iUiUiU gives diag⁡(Im⁡Z′Re⁡Z′)=0\operatorname{diag}(\operatorname{Im}Z'\operatorname{Re}Z')=0diag(ImZ′ReZ′)=0 and hence stationarity. Empty selected blocks and selection of all modes are included.

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.14, (4.6): partial Fourier formula and stationarity after
any integer quarter-turns on an imaginary graph. Empty/all selected blocks
are included; U1 invertibility is derived, never assumed. The printed word
"extremum" is read as stationarity, following the vanishing-first-derivative
calculation in Appendix B; that calculation does not establish a minimum. -/
theorem imaginary_graph_partial_fourier {I J : Type*} [Fintype I] [DecidableEq I]
    [Fintype J] [DecidableEq J] (U1 : Matrix I I ℝ) (U2 : Matrix J I ℝ)
    (U3 : Matrix J J ℝ) (hU : (Matrix.fromBlocks U1 U2.transpose U2 U3).PosDef) :
    let Z := Complex.I • complexify (Matrix.fromBlocks U1 U2.transpose U2 U3)
    let Zp := graphLocalMobius 0 (-1) 1 0 Z
    IsUnit U1.det ∧ ValidGraph Zp ∧
    Zp = Matrix.fromBlocks (Complex.I • complexify U1⁻¹)
      (-complexify (U1⁻¹ * U2.transpose)) (-complexify (U2 * U1⁻¹))
      (Complex.I • complexify (U3 - U2 * U1⁻¹ * U2.transpose)) ∧
    HasFDerivAt (phaseError Zp) (0 : (I ⊕ J → ℝ) →L[ℝ] ℝ) 0 ∧
    (∀ k : I ⊕ J → ℤ,
      let H := graphPhaseMobius Z (fun j => (k j : ℝ) * Real.pi / 2)
      (∀ j, (imagPart H * realPart H) j j = 0) ∧
      HasFDerivAt (phaseError H) (0 : (I ⊕ J → ℝ) →L[ℝ] ℝ) 0) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P30

end
Source
Graphical calculus for Gaussian pure states, arXiv:1007.0725v3, PDF p. 14, IV.B: partial Fourier transform of an H-graph and stationarity
Read-back

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

Let I,JI,JI,J be finite types with decidable equality, either of which may be empty, and let U1∈RI×IU_1\in\mathbb R^{I\times I}U1​∈RI×I, U2∈RJ×IU_2\in\mathbb R^{J\times I}U2​∈RJ×I, and U3∈RJ×JU_3\in\mathbb R^{J\times J}U3​∈RJ×J be such that U=(U1U2TU2U3)U=\begin{pmatrix}U_1&U_2^{\mathsf T}\\U_2&U_3\end{pmatrix}U=(U1​U2​​U2T​U3​​) is positive definite. Put Z=iUZ=iUZ=iU, with entrywise complex embedding understood, and define

Z′=[(II000)+(000IJ)Z][(000IJ)+(−II000)Z]−1.Z'= \left[ \begin{pmatrix}I_I&0\\0&0\end{pmatrix} +\begin{pmatrix}0&0\\0&I_J\end{pmatrix}Z \right] \left[ \begin{pmatrix}0&0\\0&I_J\end{pmatrix} +\begin{pmatrix}-I_I&0\\0&0\end{pmatrix}Z \right]^{-1}.Z′=[(II​0​00​)+(00​0IJ​​)Z][(00​0IJ​​)+(−II​0​00​)Z]−1.

Then det⁡U1≠0\det U_1\ne0detU1​=0, Z′Z'Z′ is symmetric with positive definite imaginary part, and

Z′=(iU1−1−U1−1U2T−U2U1−1i(U3−U2U1−1U2T)).Z'= \begin{pmatrix} iU_1^{-1}&-U_1^{-1}U_2^{\mathsf T}\\ -U_2U_1^{-1}&i(U_3-U_2U_1^{-1}U_2^{\mathsf T}) \end{pmatrix}.Z′=(iU1−1​−U2​U1−1​​−U1−1​U2T​i(U3​−U2​U1−1​U2T​)​).

For any complex matrix MMM on I⊔JI\sqcup JI⊔J, set ΦM(θ)=(−Sθ+CθM)(Cθ+SθM)−1\Phi_M(\theta)=(-S_\theta+C_\theta M)(C_\theta+S_\theta M)^{-1}ΦM​(θ)=(−Sθ​+Cθ​M)(Cθ​+Sθ​M)−1 and EM(θ)=12tr⁡Im⁡ΦM(θ)E_M(\theta)=\tfrac12\operatorname{tr}\operatorname{Im}\Phi_M(\theta)EM​(θ)=21​trImΦM​(θ), where CθC_\thetaCθ​ and SθS_\thetaSθ​ are the diagonal cosine and sine matrices. The Fréchet derivative of EZ′E_{Z'}EZ′​ at zero is the zero continuous real-linear map. Also, for every integer-valued function k:I⊔J→Zk:I\sqcup J\to\mathbb Zk:I⊔J→Z, the matrix H=ΦZ((kjπ/2)j)H=\Phi_Z((k_j\pi/2)_j)H=ΦZ​((kj​π/2)j​) satisfies (Im⁡H Re⁡H)jj=0(\operatorname{Im}H\,\operatorname{Re}H)_{jj}=0(ImHReH)jj​=0 for every jjj, and EHE_HEH​ has zero Fréchet derivative at zero. Empty blocks and vacuous coordinate conditions are 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