Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Section 4.3, p. 20 — the SWAP Gram matrix M(p, q, r) of a 2-positive pseudo-density is PSD

Proved
QMCProduct.HalfApprox.gram_psd

by mikedeng1 · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

monogamy-of-entanglementp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-informationsemidefinite-programming

For a level-2 pseudo-density ρ~\widetilde\rhoρ​ and three distinct qubits i,j,ki,j,ki,j,k, set p=sijp=s_{ij}p=sij​, q=sikq=s_{ik}q=sik​, r=sjkr=s_{jk}r=sjk​ and t=(p+q+r−1)/2t=(p+q+r-1)/2t=(p+q+r−1)/2. The real SWAP Gram matrix is

M=\begin{pmatrix}1&p&q&r\p&1&t&t\q&t&1&t\r&t&t&1\end{pmatrix}\succeq0.

This matrix packages the three adjacent edge values into the semidefinite constraint used by Lemma 8.

Formalization Note The four rows correspond to I,Sij,Sik,SjkI,S_{ij},S_{ik},S_{jk}I,Sij​,Sik​,Sjk​. All three sites are required to be distinct.

Preamble
import Definitions.Def_QMCProduct_HalfApprox_Basic

set_option autoImplicit false
Formal statement
namespace QMCProduct.HalfApprox

/-- Section 4.3, p. 20: the SWAP Gram matrix is positive semidefinite. -/
theorem gram_psd {n : ℕ} (ρt : Op n) (hρ : IsPseudoDensity 2 ρt)
    (i j k : Fin n) (hij : i ≠ j) (hik : i ≠ k) (hjk : j ≠ k) :
    (swapGram (s ρt i j) (s ρt i k) (s ρt j k)).PosSemidef := by sorry

end QMCProduct.HalfApprox
Source
Parekh & Thompson, An Optimal Product-State Approximation for 2-Local Quantum Hamiltonians with Positive Terms, arXiv:2206.08342v2, p. 20, Section 4.3, displayed matrix M
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 21, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me