Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 2.5: general extremality criterion and rank bound

Open
QAlgorithms.Papers.Independent.Intakethird100.P12.general_extremality_criterion

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let d1,d2d_1,d_2d1​,d2​ be the dimensions of finite-dimensional complex Hilbert spaces with chosen orthonormal bases. Let ρ1,ρ2\rho_1,\rho_2ρ1​,ρ2​ be positive semidefinite operators of trace one. Write C(ρ1,ρ2)C(\rho_1,\rho_2)C(ρ1​,ρ2​) for all joint density matrices with these two partial traces, and E(ρ1,ρ2)E(\rho_1,\rho_2)E(ρ1​,ρ2​) for its extreme points over the real scalars. Coordinates in the tensor product use lexicographic order.

For every ρ∈C(ρ1,ρ2)\rho\in C(\rho_1,\rho_2)ρ∈C(ρ1​,ρ2​) of rank kkk, extremality necessarily implies

k≤d12+d22−1.k\le\sqrt{d_1^2+d_2^2-1}.k≤d12​+d22​−1​.

For every rank-block representation below, allowing k=nk=nk=n and then a zero-column AAA, the following criterion holds.

Set n=d1d2n=d_1d_2n=d1​d2​ and k=rank⁡ρk=\operatorname{rank}\rhok=rankρ. Let σ\sigmaσ be a permutation unitary, AAA a complex k×(n−k)k\times(n-k)k×(n−k) matrix, and KKK a strictly positive definite k×kk\times kk×k matrix satisfying

σρσ−1=BA(K),BA(L)=(LLAA†LA†LA).\sigma\rho\sigma^{-1}=B_A(K),\qquad B_A(L)=\begin{pmatrix}L&LA\\A^\dagger L&A^\dagger LA\end{pmatrix}.σρσ−1=BA​(K),BA​(L)=(LA†L​LAA†LA​).

Here †\dagger† denotes conjugate transpose. Both marginals of σ−1BA(L)σ\sigma^{-1}B_A(L)\sigmaσ−1BA​(L)σ are computed in the original tensor coordinates.

Put R=[Ik∣A]R=[I_k\mid A]R=[Ik​∣A] and

D={Rσ(X1⊗Id2+Id1⊗X2)σ−1R†:X1=X1†, X2=X2†}.D=\{R\sigma(X_1\otimes I_{d_2}+I_{d_1}\otimes X_2)\sigma^{-1}R^\dagger:X_1=X_1^\dagger,\ X_2=X_2^\dagger\}.D={Rσ(X1​⊗Id2​​+Id1​​⊗X2​)σ−1R†:X1​=X1†​, X2​=X2†​}.

Then

ρ∈E(ρ1,ρ2)⟺D=Herm⁡(k),\rho\in E(\rho_1,\rho_2)\quad\Longleftrightarrow\quad D=\operatorname{Herm}(k),ρ∈E(ρ1​,ρ2​)⟺D=Herm(k),

where Herm⁡(k)\operatorname{Herm}(k)Herm(k) is the real vector space of all Hermitian matrices of order kkk. This characterizes extremality by a concrete finite-dimensional image and also bounds the possible ranks.

Formalization Note The printed column [I;At][I;A^t][I;At] is changed to [I;A†][I;A^\dagger][I;A†], following (2.11) on PDF p.6 and the AXA†AXA^\daggerAXA† expansion on PDF p.11. This correction requires independent moderation.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P12
Formal statement
namespace QAlgorithms.Papers.Independent.Intakethird100.P12

open scoped ComplexConjugate ComplexOrder

/-- Theorem 2.5, PDF pp.7–8: BOTH the rank bound and full iff criterion.
Printed D ends with [I;A^t]; changed to [I;A†], required by (2.11), PDF p.6,
and the AXA† expansion, PDF p.11. Independent moderation of this correction is pending.
Here k=n is allowed, with zero-column A. -/
theorem general_extremality_criterion {d1 d2 k : ℕ}
    (rho1 : Matrix (Fin d1) (Fin d1) ℂ) (rho2 : Matrix (Fin d2) (Fin d2) ℂ)
    (hm1 : IsDensityMatrix rho1) (hm2 : IsDensityMatrix rho2)
    (rho : Matrix (Fin d1 × Fin d2) (Fin d1 × Fin d2) ℂ)
    (hmem : rho ∈ finiteCouplingSet rho1 rho2) (hrank : rho.rank = k) :
    (rho ∈ Set.extremePoints ℝ (finiteCouplingSet rho1 rho2) →
      (k : ℝ) ≤ Real.sqrt ((d1 : ℝ)^2 + (d2 : ℝ)^2 - 1)) ∧
    ∀ (hkn : k ≤ d1*d2) (p : Equiv.Perm (Fin (d1*d2)))
      (A : Matrix (Fin k) (Fin (d1*d2-k)) ℂ) (K : Matrix (Fin k) (Fin k) ℂ),
      K.PosDef → permuteMatrix p (flatMatrix rho) = rankBlockMatrix hkn K A →
      (rho ∈ Set.extremePoints ℝ (finiteCouplingSet rho1 rho2) ↔
        compressedLocalSpace hkn p A = {L | L.IsHermitian}) := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P12
Source
Extremal Quantum States in Coupled Systems, arXiv:quant-ph/0307182v1, PDF p. 7, Theorem 2.5: general extremality criterion and rank bound (original abstract seed)
Read-back

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

For any natural numbers d1,d2,kd_1,d_2,kd1​,d2​,k, let ρ1,ρ2\rho_1,\rho_2ρ1​,ρ2​ be complex positive semidefinite matrices of sizes d1,d2d_1,d_2d1​,d2​, each with trace 111. Let CCC be the set of positive semidefinite, trace-111 matrices σ\sigmaσ on the product index set satisfying ∑jσ(i,j),(i′,j)=(ρ1)i,i′\sum_j\sigma_{(i,j),(i',j)}=(\rho_1)_{i,i'}∑j​σ(i,j),(i′,j)​=(ρ1​)i,i′​ and ∑iσ(i,j),(i,j′)=(ρ2)j,j′\sum_i\sigma_{(i,j),(i,j')}=(\rho_2)_{j,j'}∑i​σ(i,j),(i,j′)​=(ρ2​)j,j′​ for all appropriate indices. Suppose ρ∈C\rho\in Cρ∈C and rank⁡C(ρ)=k\operatorname{rank}_{\mathbb C}(\rho)=krankC​(ρ)=k. Then the following conjunction holds: if ρ\rhoρ is an extreme point of CCC over the real numbers, then

k≤d12+d22−1;k\le\sqrt{d_1^2+d_2^2-1};k≤d12​+d22​−1​;

and, for every inequality k≤n:=d1d2k\le n:=d_1d_2k≤n:=d1​d2​, every permutation ppp of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, every complex k×(n−k)k\times(n-k)k×(n−k) matrix AAA, and every complex k×kk\times kk×k matrix KKK, if KKK is positive definite and

Fp(ρ)=(KKAA∗KA∗KA),F_p(\rho)= \begin{pmatrix}K&KA\\A^*K&A^*KA\end{pmatrix},Fp​(ρ)=(KA∗K​KAA∗KA​),

then ρ\rhoρ is an extreme point of CCC if and only if

{R Fp(X1⊗Id2+Id1⊗X2) R∗ | X1=X1∗∈Cd1×d1, X2=X2∗∈Cd2×d2}={L∈Ck×k:L=L∗}.\left\{ R\,F_p(X_1\otimes I_{d_2}+I_{d_1}\otimes X_2)\,R^* \ \middle|\ X_1=X_1^*\in\mathbb C^{d_1\times d_1},\ X_2=X_2^*\in\mathbb C^{d_2\times d_2} \right\} = \{L\in\mathbb C^{k\times k}:L=L^*\}.{RFp​(X1​⊗Id2​​+Id1​​⊗X2​)R∗ ​ X1​=X1∗​∈Cd1​×d1​, X2​=X2∗​∈Cd2​×d2​}={L∈Ck×k:L=L∗}.

Here β(i,j)=id2+j\beta(i,j)=id_2+jβ(i,j)=id2​+j, Fp(M)u,v=Mβ−1(p(u)),β−1(p(v))F_p(M)_{u,v}=M_{\beta^{-1}(p(u)),\beta^{-1}(p(v))}Fp​(M)u,v​=Mβ−1(p(u)),β−1(p(v))​, R=[ Ik  A ]R=[\,I_k\ \ A\,]R=[Ik​  A], and ∗^{*}∗ denotes conjugate transpose; the displayed block matrix uses the first kkk and last n−kn-kn−k coordinates. The universal statement includes k=nk=nk=n, in which case AAA has no columns and R=InR=I_nR=In​. The trace-111 and rank hypotheses rule out k=0k=0k=0 and zero marginal dimensions.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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