Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix D: equal-thermal-noise covariance extension

Open
QAlgorithms.Papers.Independent.Intake100.P30.isotropic_thermal_covariance

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

prove2quantum

Let SSS be a finite real symplectic matrix in grouped quadrature order and let κ≥1\kappa\ge1κ≥1 be the common thermal parameter in Eq. (D1). With vacuum covariance I/2I/2I/2, the covariance is

Σ=12Sdiag⁡(κI,κI)ST=κ 12SST.\Sigma=\tfrac12S\operatorname{diag}(\kappa I,\kappa I)S^T=\kappa\,\tfrac12SS^T.Σ=21​Sdiag(κI,κI)ST=κ21​SST.

Its symplectic eigenvalues are all κ/2\kappa/2κ/2. There exists a valid graph ZZZ with Σ=κΣZ\Sigma=\kappa\Sigma_ZΣ=κΣZ​, recovered by applying pure covariance extraction to Σ/κ\Sigma/\kappaΣ/κ. This states the explicit equal-thermal-noise covariance extension and fixes the paper's adjacent inconsistent uses of the word eigenvalue.

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.24, (D1): common thermal parameter kappa scales the pure
covariance and gives actual symplectic eigenvalues kappa/2. The physical
convention is kappa>=1, and the graph is that of Sigma/kappa. -/
theorem isotropic_thermal_covariance (n : ℕ) (kappa : ℝ) (hKappa : 1 ≤ kappa)
    (A B C D : Matrix (Fin n) (Fin n) ℝ) (hS : graphBlockSymplectic A B C D) :
    let S := Matrix.fromBlocks A B C D
    let Sigma := (1/2 : ℝ) • (S * Matrix.fromBlocks (kappa • 1) 0 0 (kappa • 1) * S.transpose)
    Sigma = kappa • ((1/2 : ℝ) • (S * S.transpose)) ∧
    HasSymplecticSpectrum Sigma (fun _ => kappa/2) ∧
    ∃ Z : Matrix (Fin n) (Fin n) ℂ, ValidGraph Z ∧
      Sigma = kappa • graphCovariance Z ∧ covarianceGraph (kappa⁻¹ • Sigma) = Z := by sorry

end QAlgorithms.Papers.Independent.Intake100.P30

end
Source
Graphical calculus for Gaussian pure states, arXiv:1007.0725v3, PDF p. 24, Appendix D: equal-thermal-noise covariance extension
Read-back

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

For every natural number nnn, real number κ≥1\kappa\ge1κ≥1, and real n×nn\times nn×n matrices A,B,C,DA,B,C,DA,B,C,D, put

S=(ABCD),Jn=(0In−In0),S=\begin{pmatrix}A&B\\ C&D\end{pmatrix}, \qquad J_n=\begin{pmatrix}0&I_n\\-I_n&0\end{pmatrix},S=(AC​BD​),Jn​=(0−In​​In​0​),

and assume SJnST=JnSJ_nS^T=J_nSJn​ST=Jn​. Define

Σ=12S(κIn00κIn)ST.\Sigma=\frac12S \begin{pmatrix}\kappa I_n&0\\0&\kappa I_n\end{pmatrix}S^T.Σ=21​S(κIn​0​0κIn​​)ST.

Then Σ=κ 12SST\Sigma=\kappa\,\frac12SS^TΣ=κ21​SST; every index j<nj<nj<n satisfies 0<κ/20<\kappa/20<κ/2; and the characteristic polynomial of the real matrix ΣJn\Sigma J_nΣJn​ is

det⁡(xI2n−ΣJn)=∏j<n(x2+(κ2)2).\det(xI_{2n}-\Sigma J_n) =\prod_{j<n}\left(x^2+\left(\frac{\kappa}{2}\right)^2\right).det(xI2n​−ΣJn​)=j<n∏​(x2+(2κ​)2).

Furthermore, there exists a complex n×nn\times nn×n matrix ZZZ with ZT=ZZ^T=ZZT=Z and positive definite entrywise imaginary part H=Im⁡ZH=\operatorname{Im}ZH=ImZ such that, writing V=Re⁡ZV=\operatorname{Re}ZV=ReZ,

Σ=κ2(H−1H−1VVH−1H+VH−1V).\Sigma=\frac{\kappa}{2} \begin{pmatrix} H^{-1}&H^{-1}V\\ VH^{-1}&H+VH^{-1}V \end{pmatrix}.Σ=2κ​(H−1VH−1​H−1VH+VH−1V​).

If QQQ and RRR are respectively the upper-left and upper-right blocks of κ−1Σ\kappa^{-1}\Sigmaκ−1Σ, then, regarding them as complex matrices,

Q−1(R+i2In)=Z.Q^{-1}\left(R+\frac{i}{2}I_n\right)=Z.Q−1(R+2i​In​)=Z.

The statement includes n=0n=0n=0, with empty matrices, empty product 111, and a vacuous coordinatewise positivity assertion.

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