Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

III.E: Fourier and double-Fourier rules

Open
QAlgorithms.Papers.Independent.Intake100.P30.fourier_and_double_fourier

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

prove2quantum

Let Z=\begin{psmallmatrix}t&r^T\\r&W\end{psmallmatrix} be valid. With the source convention F=Sphase(−π/2)F=S_{\mathrm{phase}}(-\pi/2)F=Sphase​(−π/2), one has t≠0t\ne0t=0 and

F:Z↦(−t−1−t−1rT−t−1rW−t−1rrT),F2:Z↦(t−rT−rW).F:Z\mapsto\begin{pmatrix}-t^{-1}&-t^{-1}r^T\\-t^{-1}r&W-t^{-1}rr^T\end{pmatrix},\qquad F^2:Z\mapsto\begin{pmatrix}t&-r^T\\-r&W\end{pmatrix}.F:Z↦(−t−1−t−1r​−t−1rTW−t−1rrT​),F2:Z↦(t−r​−rTW​).

The second formula also holds algebraically for every finite complex block graph, including real ideal graphs with t=0t=0t=0. The single-Fourier division is never used at that ideal singularity.

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.12, (3.20)–(3.21): F=Sphase(-pi/2) and F^2.
The F^2 polynomial formula also extends to every finite ideal graph, including t=0. -/
theorem fourier_and_double_fourier {J : Type*} [Fintype J] [DecidableEq J]
    (t : ℂ) (r : J → ℂ) (W : Matrix J J ℂ) (hZ : ValidGraph (oneGraph t r W)) :
    t ≠ 0 ∧
    oneAction 0 (-1) 1 0 (oneGraph t r W) =
      oneGraph (-t⁻¹) (fun j => -t⁻¹ * r j) (fun j k => W j k - t⁻¹ * r j * r k) ∧
    oneAction 0 (-1) 1 0 (oneAction 0 (-1) 1 0 (oneGraph t r W)) = oneGraph t (-r) W ∧
    (∀ (t0 : ℂ) (r0 : J → ℂ) (W0 : Matrix J J ℂ),
      oneAction (-1) 0 0 (-1) (oneGraph t0 r0 W0) = oneGraph t0 (-r0) W0) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P30

end
Source
Graphical calculus for Gaussian pure states, arXiv:1007.0725v3, PDF p. 12, III.E: Fourier and double-Fourier rules
Read-back

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

For every finite type JJJ with decidable equality, including the empty type, every t∈Ct\in\mathbb Ct∈C, vector r:J→Cr:J\to\mathbb Cr:J→C, and complex matrix WWW indexed by JJJ, suppose

Z(t,r,W)=(trTrW)Z(t,r,W)=\begin{pmatrix}t&r^{\mathsf T}\\r&W\end{pmatrix}Z(t,r,W)=(tr​rTW​)

on one distinguished coordinate together with JJJ is symmetric with positive definite entrywise imaginary part. Define

La,b,c,d(Z)=(diag⁡(c,0J)+diag⁡(d,1J)Z)(diag⁡(a,1J)+diag⁡(b,0J)Z)−1,\mathcal L_{a,b,c,d}(Z)= \bigl(\operatorname{diag}(c,0_J)+\operatorname{diag}(d,\mathbf1_J)Z\bigr) \bigl(\operatorname{diag}(a,\mathbf1_J)+\operatorname{diag}(b,0_J)Z\bigr)^{-1},La,b,c,d​(Z)=(diag(c,0J​)+diag(d,1J​)Z)(diag(a,1J​)+diag(b,0J​)Z)−1,

using ordinary transpose without conjugation and the total matrix inverse. Then t≠0t\ne0t=0,

L0,−1,1,0(Z(t,r,W))=Z(−t−1, (−t−1rj)j∈J, (Wjk−t−1rjrk)j,k∈J),\mathcal L_{0,-1,1,0}(Z(t,r,W)) = Z\left(-t^{-1},\,(-t^{-1}r_j)_{j\in J},\, (W_{jk}-t^{-1}r_jr_k)_{j,k\in J}\right),L0,−1,1,0​(Z(t,r,W))=Z(−t−1,(−t−1rj​)j∈J​,(Wjk​−t−1rj​rk​)j,k∈J​),

and

L0,−1,1,0 ⁣(L0,−1,1,0(Z(t,r,W)))=Z(t,−r,W).\mathcal L_{0,-1,1,0}\!\left(\mathcal L_{0,-1,1,0}(Z(t,r,W))\right) =Z(t,-r,W).L0,−1,1,0​(L0,−1,1,0​(Z(t,r,W)))=Z(t,−r,W).

Furthermore, for every t0∈Ct_0\in\mathbb Ct0​∈C, vector r0:J→Cr_0:J\to\mathbb Cr0​:J→C, and complex matrix W0W_0W0​ indexed by JJJ, with no symmetry or positivity assumptions on these new data,

L−1,0,0,−1(Z(t0,r0,W0))=Z(t0,−r0,W0).\mathcal L_{-1,0,0,-1}(Z(t_0,r_0,W_0))=Z(t_0,-r_0,W_0).L−1,0,0,−1​(Z(t0​,r0​,W0​))=Z(t0​,−r0​,W0​).

For empty JJJ, these formulas concern only the distinguished coordinate.

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