Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Werner BSA entanglement equals its singlet weight

Open
QAlgorithms.Papers.Independent.Intake100.P76.werner_entanglement_singlet_weight

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

prove2quantum

For 0<x<10<x<10<x<1, let ρw(x)=(1−x)I4/4+x∣Ψ−⟩⟨Ψ−∣\rho_w(x)=(1-x)I_4/4+x|\Psi^-\rangle\langle\Psi^-|ρw​(x)=(1−x)I4​/4+x∣Ψ−⟩⟨Ψ−∣, where ∣Ψ−⟩=(∣01⟩−∣10⟩)/2|\Psi^-\rangle=(|01\rangle-|10\rangle)/\sqrt2∣Ψ−⟩=(∣01⟩−∣10⟩)/2​. Let λ(x)\lambda(x)λ(x) be its optimal separable trace and EBSAE_{\mathrm{BSA}}EBSA​ the functional of Eqs. (12)–(13), using base-two entropy. Then

EBSA(ρw(x))=1−λ(x),S2 ⁣(Tr⁡B∣Ψ−⟩⟨Ψ−∣)=S2 ⁣(Tr⁡A∣Ψ−⟩⟨Ψ−∣)=1.E_{\mathrm{BSA}}(\rho_w(x))=1-\lambda(x),\qquad S_2\!\left(\operatorname{Tr}_B|\Psi^-\rangle\langle\Psi^-|\right)=S_2\!\left(\operatorname{Tr}_A|\Psi^-\rangle\langle\Psi^-|\right)=1.EBSA​(ρw​(x))=1−λ(x),S2​(TrB​∣Ψ−⟩⟨Ψ−∣)=S2​(TrA​∣Ψ−⟩⟨Ψ−∣)=1.

The entanglement value is measured in ebits, and the equality concerns this paper's BSA functional.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P76
Formal statement
noncomputable section

open scoped Matrix ComplexOrder ComplexConjugate

open QAlgorithms QAlgorithms.Entanglement

namespace QAlgorithms.Papers.Independent.Intake100.P76

variable {A B I : Type*} [Fintype A] [Fintype B] [Fintype I]
  [DecidableEq A] [DecidableEq B] [DecidableEq I]

/-- PDF p.4, after Eq. (16): the BSA entanglement of a Werner state is the
singlet weight in ebits, since either singlet reduction has entropy one bit. -/
theorem werner_entanglement_singlet_weight (x : ℝ) (hx : 0 < x) (hx1 : x < 1) :
    bsaEntanglement (wernerDensity x) = 1 - bsaWeight (wernerDensity x) ∧
      vnEntropy (traceRight (QAlgorithms.Papers.Independent.Dependency50.P06.singlet)) = 1 ∧
      vnEntropy (traceLeft (QAlgorithms.Papers.Independent.Dependency50.P06.singlet)) = 1 := by sorry

end QAlgorithms.Papers.Independent.Intake100.P76

end
Source
Separability and entanglement of composite quantum systems, arXiv:quant-ph/9707043v1, PDF p. 4, After Eq. (16): Werner BSA entanglement equals singlet weight
Read-back

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

For every real xxx with 0<x<10<x<10<x<1, let ρx=(1−x)I4/4+x ss†\rho_x=(1-x)I_4/4+x\,ss^\daggerρx​=(1−x)I4​/4+xss†, where s=(∣0,1⟩−∣1,0⟩)/2s=(|0,1\rangle-|1,0\rangle)/\sqrt2s=(∣0,1⟩−∣1,0⟩)/2​. Let S∗(ρ)S_*(\rho)S∗​(ρ) be the selected matrix, if one exists, among finite nonnegative combinations of product density matrices satisfying ρ−S≥0\rho-S\ge0ρ−S≥0 and maximizing Re⁡tr⁡S\operatorname{Re}\operatorname{tr}SRetrS; if none exists, set S∗(ρ)=0S_*(\rho)=0S∗​(ρ)=0. Here product density matrices have positive semidefinite trace-one factors, and the combinations allow empty sums and have no weight-sum requirement. Write b(ρ)=Re⁡tr⁡S∗(ρ)b(\rho)=\operatorname{Re}\operatorname{tr}S_*(\rho)b(ρ)=RetrS∗​(ρ), R=ρ−S∗(ρ)R=\rho-S_*(\rho)R=ρ−S∗​(ρ), and w=Re⁡tr⁡Rw=\operatorname{Re}\operatorname{tr}Rw=RetrR, and define E(ρ)=0E(\rho)=0E(ρ)=0 when w=0w=0w=0, and E(ρ)=wH(Tr⁡B(w−1R))E(\rho)=wH(\operatorname{Tr}_B(w^{-1}R))E(ρ)=wH(TrB​(w−1R)) otherwise, where H(X)=−Re⁡tr⁡[f(X)]H(X)=-\operatorname{Re}\operatorname{tr}[f(X)]H(X)=−Retr[f(X)], f(t)=tlog⁡2tf(t)=t\log_2tf(t)=tlog2​t, is defined by continuous functional calculus with log⁡20=0\log_2 0=0log2​0=0. Then

E(ρx)=1−b(ρx),H ⁣(Tr⁡B(ss†))=1,H ⁣(Tr⁡A(ss†))=1,E(\rho_x)=1-b(\rho_x),\qquad H\!\left(\operatorname{Tr}_B(ss^\dagger)\right)=1,\qquad H\!\left(\operatorname{Tr}_A(ss^\dagger)\right)=1,E(ρx​)=1−b(ρx​),H(TrB​(ss†))=1,H(TrA​(ss†))=1,

where each partial trace sums over the indicated tensor factor.

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