Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Comparison with logarithmic negativity and equality criterion

Open
QAlgorithms.Papers.Independent.Intakethird100.P83.comparisonWithNegativity

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

prove2quantum

Let ρ\rhoρ be any normalized finite-dimensional bipartite state, and write EN(ρ)=log⁡2∥TB(ρ)∥1E_N(\rho)=\log_2\|T_B(\rho)\|_1EN​(ρ)=log2​∥TB​(ρ)∥1​. With WWW defined by SDP (7) and EW=log⁡2WE_W=\log_2WEW​=log2​W, one has

EW(ρ)≤EN(ρ).E_W(\rho)\le E_N(\rho).EW​(ρ)≤EN​(ρ).

There exists a normalized finite-dimensional state for which the inequality is strict. For each ρ\rhoρ, equality holds exactly when there is a Hermitian matrix RRR satisfying

∥R∥∞≤1,Re⁡Tr⁡(TB(ρ)R)=∥TB(ρ)∥1,TB(R)≥0.\|R\|_\infty\le1,\quad \operatorname{Re}\operatorname{Tr}(T_B(\rho)R)=\|T_B(\rho)\|_1,\quad T_B(R)\ge0.∥R∥∞​≤1,ReTr(TB​(ρ)R)=∥TB​(ρ)∥1​,TB​(R)≥0.

Thus equality is characterized by a partial-transpose-positive optimizer of (10). Positivity of RRR itself is not required.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P83
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

open Filter

namespace QAlgorithms.Papers.Independent.Intakethird100.P83

open QAlgorithms.Papers.Independent.Support50.P11 (Loewner)

open QAlgorithms.Papers.Independent.Dependency50.P32 (partialTranspose)

open QAlgorithms.Papers.Independent.Information100.P34 (supportProjector)

variable {A B C D : Type*}

variable [Fintype A] [Fintype B] [Fintype C] [Fintype D]

variable [DecidableEq A] [DecidableEq B] [DecidableEq C] [DecidableEq D]

/-- Theorem 4, PDF p.4: universal comparison, possible strict improvement,
and equality exactly when (10) has a Hermitian optimizer whose partial transpose
is positive. Positivity of the optimizer itself is not required. -/
theorem comparisonWithNegativity [Nonempty A] [Nonempty B]
    (rho : Matrix (A × B) (A × B) ℂ) (hrho : IsDensityMatrix rho) :
    entanglementW rho ≤ entanglementN rho ∧
    (∃ a b : ℕ, ∃ sigma : Matrix (Fin (a+1) × Fin (b+1)) (Fin (a+1) × Fin (b+1)) ℂ,
      IsDensityMatrix sigma ∧ entanglementW sigma < entanglementN sigma) ∧
    (entanglementW rho = entanglementN rho ↔
      ∃ R : Matrix (A × B) (A × B) ℂ,
        R.IsHermitian ∧ complexSpectralNorm R ≤ 1 ∧
        effectProb (partialTranspose rho) R = traceNorm (partialTranspose rho) ∧
        (partialTranspose R).PosSemidef) := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P83

end
Source
Improved Semidefinite Programming Upper Bound on Distillable Entanglement, arXiv:1601.07940v4, PDF p. 4, Theorem 4: comparison with logarithmic negativity and equality criterion
Read-back

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

Let A,BA,BA,B be finite nonempty types with decidable equality, and let ρ≥0\rho\ge0ρ≥0 be a complex matrix on A×BA\times BA×B with trace 111. For a matrix XXX on any finite bipartite coordinate space, define X(i,j),(i′,j′)Γ=X(i,j′),(i′,j)X^\Gamma_{(i,j),(i',j')}=X_{(i,j'),(i',j)}X(i,j),(i′,j′)Γ​=X(i,j′),(i′,j)​, ∥X∥1=Re⁡tr⁡X†X\|X\|_1=\operatorname{Re}\operatorname{tr}\sqrt{X^\dagger X}∥X∥1​=RetrX†X​, and

w(X)=sup⁡{Re⁡tr⁡(XΓR):R=R†, ∥R∥op≤1, RΓ≥0},W(X)=log⁡2w(X),N(X)=log⁡2∥XΓ∥1,w(X)=\sup\{\operatorname{Re}\operatorname{tr}(X^\Gamma R): R=R^\dagger,\ \|R\|_{\mathrm{op}}\le1,\ R^\Gamma\ge0\}, \qquad W(X)=\log_2w(X),\qquad N(X)=\log_2\|X^\Gamma\|_1,w(X)=sup{Retr(XΓR):R=R†, ∥R∥op​≤1, RΓ≥0},W(X)=log2​w(X),N(X)=log2​∥XΓ∥1​,

where ∥⋅∥op\|\cdot\|_{\mathrm{op}}∥⋅∥op​ is the Euclidean operator norm and the supremum uses matrices RRR on the same space as XXX. The theorem asserts W(ρ)≤N(ρ)W(\rho)\le N(\rho)W(ρ)≤N(ρ); it also asserts that there exist natural a,ba,ba,b and a positive semidefinite trace-one matrix σ\sigmaσ on {0,…,a}×{0,…,b}\{0,\ldots,a\}\times\{0,\ldots,b\}{0,…,a}×{0,…,b} for which W(σ)<N(σ)W(\sigma)<N(\sigma)W(σ)<N(σ). Finally, it asserts the equivalence

W(ρ)=N(ρ)⟺∃R,R=R†,∥R∥op≤1,Re⁡tr⁡(ρΓR)=∥ρΓ∥1,RΓ≥0,W(\rho)=N(\rho) \quad\Longleftrightarrow\quad \exists R,\quad R=R^\dagger,\quad \|R\|_{\mathrm{op}}\le1,\quad \operatorname{Re}\operatorname{tr}(\rho^\Gamma R)=\|\rho^\Gamma\|_1,\quad R^\Gamma\ge0,W(ρ)=N(ρ)⟺∃R,R=R†,∥R∥op​≤1,Retr(ρΓR)=∥ρΓ∥1​,RΓ≥0,

where RRR is a complex matrix indexed by A×BA\times BA×B.

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