Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Nonnegative correlation determinant passes the moment test

Open
QAlgorithms.Papers.Independent.Intakenext100.P92.nonnegativeCorrelationMomentCriterion

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

prove2quantum

Let ρ\rhoρ be any normalized two-mode oscillator density with finite first and second moments and covariance V=(ACCTB)V=\begin{pmatrix}A&C\\C^T&B\end{pmatrix}V=(ACT​CB​), in interleaved coordinates with vacuum covariance I4/2I_4/2I4​/2. If det⁡C≥0\det C\ge0detC≥0, then, for J=(01−10)J=\begin{pmatrix}0&1\\-1&0\end{pmatrix}J=(0−1​10​),

det⁡Adet⁡B+(1/4−∣det⁡C∣)2−tr⁡(AJCJBJCTJ)≥det⁡A+det⁡B4.\det A\det B+(1/4-|\det C|)^2-\operatorname{tr}(AJCJBJC^TJ)\ge\frac{\det A+\det B}{4}.detAdetB+(1/4−∣detC∣)2−tr(AJCJBJCTJ)≥4detA+detB​.

Gaussianity is unnecessary for this automatic second-moment test. This conclusion alone does not assert separability of a non-Gaussian state.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P92
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakenext100.P92

open MeasureTheory

open scoped BigOperators ENNReal ComplexOrder

open QAlgorithms.Papers.Independent.Dependency50.P33
  (IsDensity IsSeparable IsBarycenter)

open QAlgorithms.Papers.Independent.Dependency50.P39 (coherentCoefficient)

open QAlgorithms.Papers.Independent.Advance50.P48
  (TwoKernel GaussianTwo IsDiscordCovariance characteristicTwo
   covarianceModeBlock totalPhotonEnergy)

open QAlgorithms.Papers.Independent.Frontier30.P04 (modePhase Covariance twoModeStandard)

open QAlgorithms.Papers.Independent.Claimed50.P30 (canonicalOmega)

open QAlgorithms.Papers.Independent.Gap48.P47 (localSymplecticMatrix)

open QAlgorithms.Papers.Independent.Renew46.P39 (AffineMultimodeGaussianUnitary)

open QAlgorithms.Papers.Independent.Frontier30.P14 (conjugateKernel unitaryCoeff)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.4: every actual finite covariance with det C>=0 satisfies (19).
This moment assertion does not require Gaussianity and does not assert separability. -/
theorem nonnegativeCorrelationMomentCriterion (rho : TwoKernel) (d : (modePhase 2) → ℝ)
    (V : Covariance 2) (hmom : TwoModeMoments rho d V)
    (hC : 0 ≤ simonInvariant V 2) : SimonCriterion V := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P92

end
Source
Peres-Horodecki separability criterion for continuous variable systems, arXiv:quant-ph/9909044v1, PDF p. 4, PDF p.4: nonnegative correlation determinant automatically passes the moment test
Read-back

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

Let ρ\rhoρ be a complex kernel on N2\mathbb N^2N2, d∈R4d\in\mathbb R^4d∈R4, and V∈M4(R)V\in M_4(\mathbb R)V∈M4​(R), using the coordinate order (0,0),(0,1),(1,0),(1,1)(0,0),(0,1),(1,0),(1,1)(0,0),(0,1),(1,0),(1,1). Assume that ρmn=∑r′ur(m)vr(n)‾\rho_{mn}=\sum'_r u_r(m)\overline{v_r(n)}ρmn​=∑r′​ur​(m)vr​(n)​ for ur,vr∈ℓ2(N2;C)u_r,v_r\in\ell^2(\mathbb N^2;\mathbb C)ur​,vr​∈ℓ2(N2;C) with ∑r∥ur∥∥vr∥<∞\sum_r\|u_r\|\|v_r\|<\infty∑r​∥ur​∥∥vr​∥<∞, all finite quadratic forms of ρ\rhoρ are real and nonnegative, its real diagonal is summable with sum 111, VVV is symmetric, and ∑m′max⁡{(m0+m1)Re⁡ρmm,0}<∞\sum'_m\max\{(m_0+m_1)\operatorname{Re}\rho_{mm},0\}<\infty∑m′​max{(m0​+m1​)Reρmm​,0}<∞. Define

Dz(m,n)=e−∣z∣2/2m! n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr!(m−r)!(n−r)!,zk(x)=−xk,1+ixk,02,D_z(m,n)=e^{-|z|^2/2}\sqrt{m!\,n!} \sum_{r=0}^{\min(m,n)} \frac{z^{m-r}(-\overline z)^{n-r}}{r!(m-r)!(n-r)!},\quad z_k(x)=\frac{-x_{k,1}+ix_{k,0}}{\sqrt2},Dz​(m,n)=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​,zk​(x)=2​−xk,1​+ixk,0​​, χρ(x)=∑m′∑n′ρmnDz0(x)(n0,m0)Dz1(x)(n1,m1).\chi_\rho(x)=\sum'_m\sum'_n\rho_{mn} D_{z_0(x)}(n_0,m_0)D_{z_1(x)}(n_1,m_1).χρ​(x)=m∑′​n∑′​ρmn​Dz0​(x)​(n0​,m0​)Dz1​(x)​(n1​,m1​).

Primed sums are assigned zero for nonsummable summands. Assume, for every xxx, that fx(t)=χρ(tx)f_x(t)=\chi_\rho(tx)fx​(t)=χρ​(tx) has derivative i dTxi\,d^\mathsf TxidTx at 000, and its total derivative function, assigned zero where no derivative exists, has derivative −xTVx−(dTx)2-x^\mathsf TVx-(d^\mathsf Tx)^2−xTVx−(dTx)2 at 000. Write A=V00A=V_{00}A=V00​, B=V11B=V_{11}B=V11​, C=V01C=V_{01}C=V01​, and J=(01−10)J=\begin{pmatrix}0&1\\-1&0\end{pmatrix}J=(0−1​10​). If 0≤det⁡C0\le\det C0≤detC, including the case det⁡C=0\det C=0detC=0, then

det⁡A+det⁡B4≤det⁡Adet⁡B+(14−∣det⁡C∣)2−tr⁡(AJCJBJCTJ).\frac{\det A+\det B}{4} \le \det A\det B+\left(\frac14-|\det C|\right)^2 -\operatorname{tr}(AJCJBJC^\mathsf TJ).4detA+detB​≤detAdetB+(41​−∣detC∣)2−tr(AJCJBJCTJ).
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