Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The optimal Werner remainder is the weighted singlet

Open
QAlgorithms.Papers.Independent.Intake100.P76.werner_bsa_singlet

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

prove2quantum

Let 0<x<10<x<10<x<1, ∣Ψ−⟩=(∣01⟩−∣10⟩)/2|\Psi^-\rangle=(|01\rangle-|10\rangle)/\sqrt2∣Ψ−⟩=(∣01⟩−∣10⟩)/2​, and ρ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∣Ψ−⟩⟨Ψ−∣. Let S∗S_*S∗​ be the selected unrestricted BSA and λ(x)=Tr⁡S∗\lambda(x)=\operatorname{Tr}S_*λ(x)=TrS∗​. The selected operator is an actual optimizer, and there exists a normalized separable density matrix σ\sigmaσ with S∗=λ(x)σS_*=\lambda(x)\sigmaS∗​=λ(x)σ and

ρw(x)=λ(x)σ+(1−λ(x))∣Ψ−⟩⟨Ψ−∣.\rho_w(x)=\lambda(x)\sigma+(1-\lambda(x))|\Psi^-\rangle\langle\Psi^-|.ρw​(x)=λ(x)σ+(1−λ(x))∣Ψ−⟩⟨Ψ−∣.

For x≤1/3x\leq1/3x≤1/3, λ(x)=1\lambda(x)=1λ(x)=1 and ρw(x)=σ\rho_w(x)=\sigmaρw​(x)=σ; for x>1/3x>1/3x>1/3, 0≤λ(x)<10\leq\lambda(x)<10≤λ(x)<1. This identifies the optimal residual, without introducing an additional piecewise formula for the weight.

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, Eq. (16): the optimal Werner remainder is the weighted singlet.
The separable weight is the computed optimal trace; no extra formula for it
is added. A normalized separable component exists also when its weight is zero. -/
theorem werner_bsa_singlet (x : ℝ) (hx : 0 < x) (hx1 : x < 1) :
    IsBSA (wernerDensity x) (bsaRepresentative (wernerDensity x)) ∧
      ∃ sigma : Matrix (Fin 2 × Fin 2) (Fin 2 × Fin 2) ℂ,
        IsDensityMatrix sigma ∧ IsSeparableDensity sigma ∧
        bsaRepresentative (wernerDensity x) = (bsaWeight (wernerDensity x) : ℂ) • sigma ∧
        wernerDensity x = (bsaWeight (wernerDensity x) : ℂ) • sigma +
          ((1 - bsaWeight (wernerDensity x) : ℝ) : ℂ) • QAlgorithms.Papers.Independent.Dependency50.P06.singlet ∧
        (x ≤ 1 / 3 → bsaWeight (wernerDensity x) = 1 ∧ wernerDensity x = sigma) ∧
        (1 / 3 < x → 0 ≤ bsaWeight (wernerDensity x) ∧
          bsaWeight (wernerDensity x) < 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, Eq. (16): Werner BSA remainder is the singlet
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, set ρ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​ in the standard basis of C2⊗C2\mathbb C^2\otimes\mathbb C^2C2⊗C2. A maximizing separable part of ρx\rho_xρx​ means a finite nonnegative real combination SSS of product density matrices such that ρx−S≥0\rho_x-S\ge0ρx​−S≥0 and Re⁡tr⁡T≤Re⁡tr⁡S\operatorname{Re}\operatorname{tr}T\le\operatorname{Re}\operatorname{tr}SRetrT≤RetrS for every other such feasible TTT; the factors of each product are positive semidefinite with trace 111, while the combination itself has no weight-sum requirement and may be empty. Let S∗S_*S∗​ be the selected such part if one exists, and zero otherwise, and let b=Re⁡tr⁡S∗b=\operatorname{Re}\operatorname{tr}S_*b=RetrS∗​. Then S∗S_*S∗​ is a maximizing separable part, and there exists a positive semidefinite trace-one matrix σ\sigmaσ, itself a finite convex combination of product density matrices, such that

S∗=bσ,ρx=bσ+(1−b)ss†.S_*=b\sigma,\qquad \rho_x=b\sigma+(1-b)ss^\dagger.S∗​=bσ,ρx​=bσ+(1−b)ss†.

If x≤1/3x\le1/3x≤1/3, then b=1b=1b=1 and ρx=σ\rho_x=\sigmaρx​=σ; if 1/3<x1/3<x1/3<x, then 0≤b<10\le b<10≤b<1. The statement includes the threshold x=1/3x=1/3x=1/3, and imposes no strictly positive lower bound on bbb in the latter case.

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