Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Unnumbered finite-copy version of the Werner-family reduction

Open
QAlgorithms.Papers.Independent.Bridge50.P37.finite_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 n≥2n\ge2n≥2, let P:Md1→Md2P:M_{d_1}\to M_{d_2}P:Md1​​→Md2​​ be nontrivial and nnn-tensor-stable positive, and choose either d=d1d=d_1d=d1​ or d=d2d=d_2d=d2​ with d≥2d\ge2d≥2. Then

∃p∈[−1,0):Pd,p=Wd,p⊗(ϑd∘Wd,p) is ⌊n/2⌋-tensor-stable positive and nontrivial.\exists p\in[-1,0):\quad P_{d,p}=W_{d,p}\otimes(\vartheta_d\circ W_{d,p})\text{ is }\lfloor n/2\rfloor\text{-tensor-stable positive and nontrivial}.∃p∈[−1,0):Pd,p​=Wd,p​⊗(ϑd​∘Wd,p​) is ⌊n/2⌋-tensor-stable positive and nontrivial.

This is the finite-copy version of the preceding construction. The restriction n≥2n\ge2n≥2 ensures a positive output copy count.

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]

/-- Unnumbered finite-copy reduction, PDF p.19: nontriviality inherited from Theorem 3's
proof, n>=2 so floor(n/2) is a positive number of copies. -/
theorem finite_werner_family_reduction (d1 d2 d n : ℕ) [NeZero d1] [NeZero d2]
    (hd : 2 ≤ d) (hchoice : d = d1 ∨ d = d2) (hn : 2 ≤ n)
    (P : MatrixMap (Fin d1) (Fin d2)) (hP : NTensorStable P n) (hnt : Nontrivial P) :
    ∃ p : ℝ, -1 ≤ p ∧ p < 0 ∧ NTensorStable (candidateMap d p) (n/2) ∧
      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. 19, Unnumbered finite-copy version of the Werner-family reduction
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 d,nd,nd,n be natural numbers with d≥2d\ge2d≥2, n≥2n\ge2n≥2, and d=d1d=d_1d=d1​ or d=d2d=d_2d=d2​, 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 complex-linear. Suppose PPP and P⊗nP^{\otimes n}P⊗n preserve positive semidefinite matrices, while neither PPP nor X↦(PX)TX\mapsto(PX)^{\mathsf T}X↦(PX)T is completely positive. Here tensor powers are defined by linear extension of their action on matrix units, and complete positivity means preservation of positive semidefiniteness by every amplification id⁡Mr⊗P\operatorname{id}_{M_r}\otimes PidMr​​⊗P, including r=0r=0r=0. Then there exists a real ppp with −1≤p<0-1\le p<0−1≤p<0 such that, on Md2(C)M_{d^2}(\mathbb C)Md2​(C), the map

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

preserves positive semidefinite matrices, its tensor power Cd,p⊗⌊n/2⌋C_{d,p}^{\otimes\lfloor n/2\rfloor}Cd,p⊗⌊n/2⌋​ preserves positive semidefinite matrices, and neither Cd,pC_{d,p}Cd,p​ nor T∘Cd,p\mathsf T\circ C_{d,p}T∘Cd,p​ is completely positive. The tensor product of maps is the complex-linear extension satisfying (F⊗G)(Eij⊗Eab)=F(Eij)⊗G(Eab)(F\otimes G)(E_{ij}\otimes E_{ab})=F(E_{ij})\otimes G(E_{ab})(F⊗G)(Eij​⊗Eab​)=F(Eij​)⊗G(Eab​); the transpose following Cd,pC_{d,p}Cd,p​ transposes its entire output matrix. The tensor-stability conclusion also asserts ⌊n/2⌋>0\lfloor n/2\rfloor>0⌊n/2⌋>0; in particular, n=2n=2n=2 and n=3n=3n=3 both give tensor order 111.

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