Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

IV.D: semidefinite Hessian certificate

Open
QAlgorithms.Papers.Independent.Intake100.P30.bipartite_hessian_certificate

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} with real square orthogonal G0G_0G0​, and let α>0\alpha>0α>0. At Z′=isech⁡2αI+tanh⁡2αGZ'=i\operatorname{sech}2\alpha I+\tanh2\alpha GZ′=isech2αI+tanh2αG,

Im⁡[(I+Z′2)∘Z′]=2sech⁡2αtanh⁡22α [(I+G)∘(I+G)]≥0.\operatorname{Im}[(I+Z'^2)\circ Z']=2\operatorname{sech}2\alpha\tanh^2 2\alpha\,[(I+G)\circ(I+G)]\ge0.Im[(I+Z′2)∘Z′]=2sech2αtanh22α[(I+G)∘(I+G)]≥0.

This is the exact semidefinite Hessian certificate. It does not establish a local or global minimum; the source explicitly leaves that stronger conclusion open.

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.15–16, (4.19): exact positive semidefinite Hessian
certificate only. The source expressly does not infer a local or global minimum. -/
theorem bipartite_hessian_certificate (n : ℕ) (G0 : Matrix (Fin n) (Fin n) ℝ)
    (hLeft : G0.transpose * G0 = 1) (hRight : G0 * G0.transpose = 1) (alpha : ℝ) (hAlpha : 0 < alpha) :
    let G : Matrix (Fin n ⊕ Fin n) (Fin n ⊕ Fin n) ℝ := Matrix.fromBlocks 0 G0.transpose G0 0
    phaseHessian (sechGraph G alpha) =
      (2 * (Real.cosh (2*alpha))⁻¹ * (Real.tanh (2*alpha))^2) •
        (fun j k => ((1 + G) j k)^2) ∧
    (phaseHessian (sechGraph G alpha)).PosSemidef := by sorry

end QAlgorithms.Papers.Independent.Intake100.P30

end
Source
Graphical calculus for Gaussian pure states, arXiv:1007.0725v3, PDF p. 15, IV.D: semidefinite Hessian certificate
Read-back

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

Let nnn be any natural number, including zero, let G0∈Rn×nG_0\in\mathbb R^{n\times n}G0​∈Rn×n satisfy both G0TG0=InG_0^{\mathsf T}G_0=I_nG0T​G0​=In​ and G0G0T=InG_0G_0^{\mathsf T}=I_nG0​G0T​=In​, and let α∈R\alpha\in\mathbb Rα∈R satisfy α>0\alpha>0α>0. Put

G=(0G0TG00),M=tanh⁡(2α)G+icosh⁡(2α)−1I2n,Hjk=Im⁡ ⁣((I2n+M2)jkMjk).G=\begin{pmatrix}0&G_0^{\mathsf T}\\G_0&0\end{pmatrix}, \qquad M=\tanh(2\alpha)G+i\cosh(2\alpha)^{-1}I_{2n}, \qquad H_{jk}=\operatorname{Im}\!\left((I_{2n}+M^2)_{jk}M_{jk}\right).G=(0G0​​G0T​0​),M=tanh(2α)G+icosh(2α)−1I2n​,Hjk​=Im((I2n​+M2)jk​Mjk​).

Then, for every pair of indices j,k∈Fin⁡(n)⊔Fin⁡(n)j,k\in\operatorname{Fin}(n)\sqcup\operatorname{Fin}(n)j,k∈Fin(n)⊔Fin(n),

Hjk=2cosh⁡(2α)−1tanh⁡2(2α)((I2n+G)jk)2,H_{jk}=2\cosh(2\alpha)^{-1}\tanh^2(2\alpha)\bigl((I_{2n}+G)_{jk}\bigr)^2,Hjk​=2cosh(2α)−1tanh2(2α)((I2n​+G)jk​)2,

where the square on the right is the square of an individual real entry, and HHH is positive semidefinite. When n=0n=0n=0, these are statements about empty matrices.

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