Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Separability iff an attained restricted BSA has trace one

Open
QAlgorithms.Papers.Independent.Intake100.P76.separability_iff_restricted_trace_one

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

prove2quantum

Let HAH_AHA​ and HBH_BHB​ be finite-dimensional nonzero complex Hilbert spaces, with HAH_AHA​ the first tensor factor, and let ρ\rhoρ be a positive semidefinite operator of trace one on HA⊗HBH_A\otimes H_BHA​⊗HB​. For a set VVV of unit product vectors in range⁡ρ\operatorname{range}\rhorangeρ, write C(V)C(V)C(V) for all finite nonnegative sums of projectors onto vectors in VVV, including zero. Then

ρ is separable  ⟺  ∃V⊆range⁡ρ, ∃S∈C(V): ρ−S⪰0, Tr⁡S=1, ∀T∈C(V), ρ−T⪰0⇒Tr⁡T≤Tr⁡S.\rho\text{ is separable}\iff\exists V\subseteq\operatorname{range}\rho,\ \exists S\in C(V):\ \rho-S\succeq0,\ \operatorname{Tr}S=1,\ \forall T\in C(V),\ \rho-T\succeq0\Rightarrow\operatorname{Tr}T\leq\operatorname{Tr}S.ρ is separable⟺∃V⊆rangeρ, ∃S∈C(V): ρ−S⪰0, TrS=1, ∀T∈C(V), ρ−T⪰0⇒TrT≤TrS.

The set and its attained optimizer are existential witnesses. No attainment assertion for an arbitrary prescribed set is required.

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.2, Condition 3: an existential prescribed-set BSA of trace one
characterizes separability, without assuming attainment for arbitrary V. -/
theorem separability_iff_restricted_trace_one [Nonempty A] [Nonempty B]
    (rho : Matrix (A × B) (A × B) ℂ) (hrho : IsDensityMatrix rho) :
    IsSeparableDensity rho ↔
      ∃ V : Set (EuclideanSpace ℂ (A × B)),
        (∀ v ∈ V, IsUnitProduct v ∧ v ∈ LinearMap.range (Matrix.toEuclideanLin rho)) ∧
        ∃ S, IsBSAOver rho V S ∧ S.trace.re = 1 := by sorry

end QAlgorithms.Papers.Independent.Intake100.P76

end
Source
Separability and entanglement of composite quantum systems, arXiv:quant-ph/9707043v1, PDF p. 2, Condition 3: separability iff a restricted BSA has trace one
Read-back

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

Let A,BA,BA,B be finite nonempty index types with decidable equality, and let ρ\rhoρ be a complex matrix indexed by A×BA\times BA×B that is positive semidefinite and has trace 111. Then ρ\rhoρ is a finite convex combination of product density matrices if and only if there exist a set V⊆CA×BV\subseteq\mathbb C^{A\times B}V⊆CA×B and a matrix SSS with the following properties: every v∈Vv\in Vv∈V has coordinates v(a,b)=e(a)f(b)v(a,b)=e(a)f(b)v(a,b)=e(a)f(b) for some vectors e∈CAe\in\mathbb C^Ae∈CA, f∈CBf\in\mathbb C^Bf∈CB with ∥e∥=∥f∥=1\|e\|=\|f\|=1∥e∥=∥f∥=1, and every such vvv belongs to the range of multiplication by ρ\rhoρ; SSS is a finite sum ∑jwjvjvj†\sum_j w_jv_jv_j^\dagger∑j​wj​vj​vj†​ with wj≥0w_j\ge0wj​≥0 and vj∈Vv_j\in Vvj​∈V; ρ−S\rho-Sρ−S is positive semidefinite; every other finite sum TTT of the same form satisfying ρ−T≥0\rho-T\ge0ρ−T≥0 has Re⁡tr⁡T≤Re⁡tr⁡S\operatorname{Re}\operatorname{tr}T\le\operatorname{Re}\operatorname{tr}SRetrT≤RetrS; and Re⁡tr⁡S=1\operatorname{Re}\operatorname{tr}S=1RetrS=1. Here a product density matrix means Aj⊗BjA_j\otimes B_jAj​⊗Bj​, where both factors are positive semidefinite with trace 111, and a finite convex combination has nonnegative real weights summing to 111. The finite sums defining SSS and TTT may be empty, giving zero, although the required trace of SSS excludes that choice.

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