Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 7: extraction of entangled Werner states from positive maps

Open
QAlgorithms.Papers.Independent.Bridge50.P37.werner_extraction

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

prove2quantum

Write MdM_dMd​ for complex d×dd\times dd×d matrices in fixed orthonormal bases; positive means positive semidefinite. All maps are complex-linear and all dimensions are positive integers. CP means completely positive, coCP means that output transposition composed with the map is CP, and nontrivial means neither. Tensor-stable positivity means positivity at every positive tensor degree. The symbols ∥⋅∥⋄\|\cdot\|_\diamond∥⋅∥⋄​, ∥⋅∥1\|\cdot\|_1∥⋅∥1​ and ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​ denote the diamond, trace and spectral norms, respectively; ∗*∗ denotes the Hilbert--Schmidt adjoint. Choi matrices and maximally entangled projections use the normalized, reference-first convention.

Let P:Md1→Md2P:M_{d_1}\to M_{d_2}P:Md1​​→Md2​​ be positive and not coCP. For each d∈{d1,d2}d\in\{d_1,d_2\}d∈{d1​,d2​} there exist a separable CP map S:Md1⊗Md2→Md⊗MdS:M_{d_1}\otimes M_{d_2}\to M_d\otimes M_dS:Md1​​⊗Md2​​→Md​⊗Md​ and p∈[−1,0)p\in[-1,0)p∈[−1,0) such that

S(CP)=ρW,d(p),ρW,d(p) is a normalized entangled Werner state.S(C_P)=\rho_{W,d}^{(p)},\qquad \rho_{W,d}^{(p)}\text{ is a normalized entangled Werner state}.S(CP​)=ρW,d(p)​,ρW,d(p)​ is a normalized entangled Werner state.

The parameter ppp is the flip expectation. The input CPC_PCP​ is only block-positive; positivity and trace one of the output are conclusions. SSS is not required to preserve trace.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P37
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

open Filter MeasureTheory

-- Only the following exact definition bodies are reused from pinned accepted papers.

open QAlgorithms.Papers.Independent.Information100.P04 (gamma copies)

open QAlgorithms.Papers.Independent.Information100.P30 (MatrixMap IsPositiveMap)

open QAlgorithms.Papers.Independent.Information100.P50 (maxEigenvalue)

open QAlgorithms.Papers.Independent.Information100.P63 (Mat)

open QAlgorithms.Papers.Independent.Information100.P69 (diamond)

open QAlgorithms.Papers.Independent.Information100.P56 (normalizedChoi)

open QAlgorithms.Papers.Independent.Information100.P76 (swapMatrix)

open QAlgorithms.Papers.Independent.Next46.P39 (inverseSqrt)

namespace QAlgorithms.Papers.Independent.Bridge50.P37

attribute [local instance] Classical.propDecidable Classical.decEq

variable {A B C D : Type} [Fintype A] [Fintype B] [Fintype C] [Fintype D]
  [DecidableEq A] [DecidableEq B] [DecidableEq C] [DecidableEq D]

/-- Lemma 7, PDF pp.17--18: the Choi input need only be block-positive. Positivity,
normalization and entanglement of the extracted Werner state are conclusions. -/
theorem werner_extraction (d1 d2 d : ℕ) [NeZero d1] [NeZero d2]
    (P : MatrixMap (Fin d1) (Fin d2)) (hP : IsPositiveMap P) (hnco : ¬ OutputCoPositive P)
    (hd : d = d1 ∨ d = d2) :
    ∃ S : MatrixMap (Fin d1 × Fin d2) (Fin d × Fin d), ∃ p : ℝ,
      SeparableMap S ∧ -1 ≤ p ∧ p < 0 ∧ S (normalizedChoi P) = flipParamWernerState d p ∧
      IsDensityMatrix (S (normalizedChoi P)) ∧ ¬ Entanglement.IsSeparablePositive (S (normalizedChoi P)) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P37

end
Source
Positivity of linear maps under tensor powers, arXiv:1502.05630v2, PDF p. 17, Lemma 7: extraction of entangled Werner states from positive maps
Read-back

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

Let d1,d2d_1,d_2d1​,d2​ be nonzero natural numbers, let ddd be a natural number equal to d1d_1d1​ or d2d_2d2​, and let P:Md1(C)→Md2(C)P:M_{d_1}(\mathbb C)\to M_{d_2}(\mathbb C)P:Md1​​(C)→Md2​​(C) be a complex-linear map sending positive semidefinite matrices to positive semidefinite matrices. Suppose X↦(PX)TX\mapsto(PX)^{\mathsf T}X↦(PX)T is not completely positive, where complete positivity means that every amplification by an identity map on MrM_rMr​, for every natural number rrr, preserves positive semidefiniteness. Define the normalized Choi matrix by (JP)(i,a),(j,b)=P(Eij)a,b/d1(J_P)_{(i,a),(j,b)}=P(E_{ij})_{a,b}/d_1(JP​)(i,a),(j,b)​=P(Eij​)a,b​/d1​. Then there exist a complex-linear map S:Md1d2(C)→Md2(C)S:M_{d_1d_2}(\mathbb C)\to M_{d^2}(\mathbb C)S:Md1​d2​​(C)→Md2​(C) and a real ppp with −1≤p<0-1\le p<0−1≤p<0 such that

S(X)=∑ℓ=0m−1(Fℓ⊗Gℓ)X(Fℓ⊗Gℓ)†,S(JP)=(d−p)Id2+(dp−1)Fdd(d2−1),S(X)=\sum_{\ell=0}^{m-1}(F_\ell\otimes G_\ell)X(F_\ell\otimes G_\ell)^\dagger, \qquad S(J_P)=\frac{(d-p)I_{d^2}+(dp-1)F_d}{d(d^2-1)},S(X)=ℓ=0∑m−1​(Fℓ​⊗Gℓ​)X(Fℓ​⊗Gℓ​)†,S(JP​)=d(d2−1)(d−p)Id2​+(dp−1)Fd​​,

for some natural number mmm and matrices Fℓ:Cd1→CdF_\ell:\mathbb C^{d_1}\to\mathbb C^dFℓ​:Cd1​→Cd, Gℓ:Cd2→CdG_\ell:\mathbb C^{d_2}\to\mathbb C^dGℓ​:Cd2​→Cd, with FdF_dFd​ the operator interchanging the two ddd-dimensional factors. The matrix S(JP)S(J_P)S(JP​) is positive semidefinite with trace 111, and it cannot be expressed as any finite sum ∑jwjAj⊗Bj\sum_j w_jA_j\otimes B_j∑j​wj​Aj​⊗Bj​ with wj≥0w_j\ge0wj​≥0 and each Aj,BjA_j,B_jAj​,Bj​ positive semidefinite of trace 111; the excluded representations include the empty sum and impose no condition that the weights sum to 111. The representation of SSS likewise has no trace-preservation or completeness requirement. No separate lower bound d≥2d\ge2d≥2 is assumed; at d=1d=1d=1, the displayed state formula uses the total convention 1/0=01/0=01/0=0, yielding the zero matrix, which cannot satisfy its asserted trace-111 condition.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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