Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3: one-parameter Werner family reduction, both directions

Open
QAlgorithms.Papers.Independent.Bridge50.P37.werner_family_reduction

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.

Let d1,d2≥1d_1,d_2\ge1d1​,d2​≥1, and choose either d=d1d=d_1d=d1​ or d=d2d=d_2d=d2​ with d≥2d\ge2d≥2. Put

Wd,p(X)=(d−p)tr⁡(X)Id−(1−dp)XTd2−1,Pd,p=Wd,p⊗(ϑd∘Wd,p).W_{d,p}(X)=\frac{(d-p)\operatorname{tr}(X)I_d-(1-dp)X^T}{d^2-1},\qquad P_{d,p}=W_{d,p}\otimes(\vartheta_d\circ W_{d,p}).Wd,p​(X)=d2−1(d−p)tr(X)Id​−(1−dp)XT​,Pd,p​=Wd,p​⊗(ϑd​∘Wd,p​).

If a nontrivial tensor-stable positive map Md1→Md2M_{d_1}\to M_{d_2}Md1​​→Md2​​ exists, then

∃p∈[−1,0):Pd,p is tensor-stable positive.\exists p\in[-1,0):\quad P_{d,p}\text{ is tensor-stable positive}.∃p∈[−1,0):Pd,p​ is tensor-stable positive.

Conversely, for each p∈[−1,0)p\in[-1,0)p∈[−1,0), tensor-stable positivity of Pd,pP_{d,p}Pd,p​ implies that it is neither CP nor coCP. The reduction applies separately to each choice of ddd; the candidate is not asserted to be a channel.

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]

/-- Theorem 3, PDF pp.3,18--19: both directions, for EACH chosen local dimension.
The Werner formulas are used only for d>=2, excluding their scalar zero denominator. -/
theorem werner_family_reduction (d1 d2 d : ℕ) [NeZero d1] [NeZero d2]
    (hd : 2 ≤ d) (hchoice : d = d1 ∨ d = d2) :
    ((∃ P : MatrixMap (Fin d1) (Fin d2), TensorStable P ∧ Nontrivial P) →
      ∃ p : ℝ, -1 ≤ p ∧ p < 0 ∧ TensorStable (candidateMap d p)) ∧
    (∀ p : ℝ, -1 ≤ p → p < 0 → TensorStable (candidateMap d p) →
      Nontrivial (candidateMap d p)) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P37

end
Source
Positivity of linear maps under tensor powers, arXiv:1502.05630v2, PDF p. 3, Theorem 3: one-parameter Werner family reduction, both directions
Read-back

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

For natural numbers d1,d2≠0d_1,d_2\ne0d1​,d2​=0 and d≥2d\ge2d≥2 satisfying d=d1d=d_1d=d1​ or d=d2d=d_2d=d2​, the declaration asserts two implications. First, if there exists a complex-linear map P:Md1(C)→Md2(C)P:M_{d_1}(\mathbb C)\to M_{d_2}(\mathbb C)P:Md1​​(C)→Md2​​(C) that preserves positive semidefinite matrices at every positive tensor power and for which neither PPP nor its output-transposed map is completely positive, then there exists a real p∈[−1,0)p\in[-1,0)p∈[−1,0) such that Cd,pC_{d,p}Cd,p​ preserves positive semidefinite matrices at every positive tensor power. Second, for every real p∈[−1,0)p\in[-1,0)p∈[−1,0), if Cd,pC_{d,p}Cd,p​ has that tensor-positivity property, then neither Cd,pC_{d,p}Cd,p​ nor its output-transposed map is completely positive. The map in these conclusions is

Wd,p(X)=(d−p)tr⁡(X)Id−(1−dp)XTd2−1,Cd,p=Wd,p⊗(τd∘Wd,p),τd(X)=XT,W_{d,p}(X)= \frac{(d-p)\operatorname{tr}(X)I_d-(1-dp)X^{\mathsf T}}{d^2-1}, \qquad C_{d,p}=W_{d,p}\otimes(\tau_d\circ W_{d,p}), \quad \tau_d(X)=X^{\mathsf T},Wd,p​(X)=d2−1(d−p)tr(X)Id​−(1−dp)XT​,Cd,p​=Wd,p​⊗(τd​∘Wd,p​),τd​(X)=XT,

acting on matrices indexed by Fin d×Fin d\mathrm{Fin}\,d\times\mathrm{Fin}\,dFind×Find. For maps F,GF,GF,G, their tensor map means (F⊗G)(X)=∑i,j,a,bX(i,j),(a,b)F(Eia)⊗G(Ejb)(F\otimes G)(X)=\sum_{i,j,a,b}X_{(i,j),(a,b)}F(E_{ia})\otimes G(E_{jb})(F⊗G)(X)=∑i,j,a,b​X(i,j),(a,b)​F(Eia​)⊗G(Ejb​); for any map F:MJ(C)→MK(C)F:M_J(\mathbb C)\to M_K(\mathbb C)F:MJ​(C)→MK​(C), its nnn-fold tensor map has entries ∑x,y∈JnXxy∏ℓ<nF(Exℓyℓ)uℓvℓ\sum_{x,y\in J^n}X_{xy}\prod_{\ell<n}F(E_{x_\ell y_\ell})_{u_\ell v_\ell}∑x,y∈Jn​Xxy​∏ℓ<n​F(Exℓ​yℓ​​)uℓ​vℓ​​. Preserving positivity at every positive tensor power means that FFF itself and this tensor map preserve positive semidefinite matrices for every n>0n>0n>0. Complete positivity means preservation of positive semidefiniteness under every finite identity amplification, including dimension zero; output transposition for Cd,pC_{d,p}Cd,p​ transposes its entire output matrix.

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