Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 15: complete copositivity

Open
QAlgorithms.Papers.Independent.Extend50.P13.complete_copositivity

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

prove2quantum

All matrices are complex, d×dd\times dd×d, with d≥1d\ge1d≥1. Write III for the identity and tr⁡\operatorname{tr}tr for the ordinary, unnormalized trace. Matrix inequalities use the Löwner order, so A≥0A\ge0A≥0 includes Hermiticity. For k=r+1≥1k=r+1\ge1k=r+1≥1 and a partition λ⊢k\lambda\vdash kλ⊢k, let T(π)T(\pi)T(π) permute tensor factors by v1⊗⋯⊗vk↦vπ−1(1)⊗⋯⊗vπ−1(k)v_1\otimes\cdots\otimes v_k\mapsto v_{\pi^{-1}(1)}\otimes\cdots\otimes v_{\pi^{-1}(k)}v1​⊗⋯⊗vk​↦vπ−1(1)​⊗⋯⊗vπ−1(k)​, and set Pλ=χλ(e)k!∑π∈Skχλ(π−1)T(π)P_\lambda=\frac{\chi_\lambda(e)}{k!}\sum_{\pi\in S_k}\chi_\lambda(\pi^{-1})T(\pi)Pλ​=k!χλ​(e)​∑π∈Sk​​χλ​(π−1)T(π) and fλ(X1,…,Xr)=tr⁡1…r[Pλ(X1⊗⋯⊗Xr⊗I)]f_\lambda(X_1,\ldots,X_r)=\operatorname{tr}_{1\ldots r}[P_\lambda(X_1\otimes\cdots\otimes X_r\otimes I)]fλ​(X1​,…,Xr​)=tr1…r​[Pλ​(X1​⊗⋯⊗Xr​⊗I)]. Here χλ\chi_\lambdaχλ​ is the character of the shape-labelled Specht representation, independently of ddd; shapes with more than ddd rows are included. Define the complex-linear extension f~λ(Z)=tr⁡1…r[Pλ(Z⊗I)]\widetilde f_\lambda(Z)=\operatorname{tr}_{1\ldots r}[P_\lambda(Z\otimes I)]f​λ​(Z)=tr1…r​[Pλ​(Z⊗I)] on the full joint-input matrix algebra. For every integer m≥1m\ge1m≥1 and every Z≥0Z\ge0Z≥0 on (Cd)⊗r⊗Cm(\mathbb C^d)^{\otimes r}\otimes\mathbb C^m(Cd)⊗r⊗Cm,

[(f~λ∘θ)⊗id⁡m](Z)≥0,[(\widetilde f_\lambda\circ\theta)\otimes\operatorname{id}_m](Z)\ge0,[(f​λ​∘θ)⊗idm​](Z)≥0,

where θ\thetaθ transposes all input factors and leaves the ancillary factor unchanged. This is complete copositivity of the linearization, including its multilinear product-input specialization.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P13
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

namespace QAlgorithms.Papers.Independent.Extend50.P13

attribute [local instance] Classical.propDecidable

/-- Proposition 15, Eq.52 and the first equality in Eq.53 (PDF p.13).
Complete positivity is stated for the transposed linearization on the full
joint-input algebra, for every positive ancillary dimension m. -/
theorem complete_copositivity {d r : ℕ} (hd : 0 < d)
    (lambda : QAlgorithms.Schur.Partition (r+1) (r+1))
    (m : ℕ) (hm : 0 < m) (Z : (Matrix ((Fin r → Fin d) × Fin m) ((Fin r → Fin d) × Fin m) ℂ))
    (hZ : Z.PosSemidef) :
    (copositiveAmplification (centralProjector d lambda) m Z).PosSemidef := by sorry

end QAlgorithms.Papers.Independent.Extend50.P13

end
Source
Positive maps and trace polynomials from the symmetric group, arXiv:2002.12887v2, PDF p. 13, Proposition 15: complete copositivity
Read-back

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

For every pair of natural numbers d,rd,rd,r with d>0d>0d>0, every Young diagram λ\lambdaλ having exactly r+1r+1r+1 cells and at most r+1r+1r+1 rows, every natural number m>0m>0m>0, and every positive semidefinite complex matrix ZZZ indexed by {0,…,d−1}r×{0,…,m−1}\{0,\ldots,d-1\}^{r}\times\{0,\ldots,m-1\}{0,…,d−1}r×{0,…,m−1}, the matrix AAA defined below is positive semidefinite. To specify it, put k=r+1k=r+1k=r+1, fix the cell numbering of λ\lambdaλ used in the definitions, and let Rλ,Cλ⊆SkR_\lambda,C_\lambda\subseteq S_kRλ​,Cλ​⊆Sk​ consist of the permutations preserving, respectively, the row and column of each numbered cell. On CSk\mathbb C^{S_k}CSk​, define Yλ(g,h)=∑a∈Rλ∑b∈Cλsgn⁡(b)1{g=hab}Y_\lambda(g,h)=\sum_{a\in R_\lambda}\sum_{b\in C_\lambda}\operatorname{sgn}(b)\mathbf1_{\{g=hab\}}Yλ​(g,h)=∑a∈Rλ​​∑b∈Cλ​​sgn(b)1{g=hab}​, let Πλ\Pi_\lambdaΠλ​ be the orthogonal projection onto its range, and set χλ(π)=Tr⁡(LπΠλ)\chi_\lambda(\pi)=\operatorname{Tr}(L_\pi\Pi_\lambda)χλ​(π)=Tr(Lπ​Πλ​), where Lπ(g,h)=1{g=πh}L_\pi(g,h)=\mathbf1_{\{g=\pi h\}}Lπ​(g,h)=1{g=πh}​. For ddd-valued kkk-tuples, set Tπ(y,x)=1{y=x∘π−1}T_\pi(y,x)=\mathbf1_{\{y=x\circ\pi^{-1}\}}Tπ​(y,x)=1{y=x∘π−1}​ and

Cλ(d)=χλ(1)k!∑π∈Skχλ(π−1)Tπ,A(a,α),(b,β)=∑x,y∈{0,…,d−1}r(Cλ(d))(x,a),(y,b)Z(x,α),(y,β).C_\lambda^{(d)} =\frac{\chi_\lambda(1)}{k!}\sum_{\pi\in S_k}\chi_\lambda(\pi^{-1})T_\pi, \qquad A_{(a,\alpha),(b,\beta)} =\sum_{x,y\in\{0,\ldots,d-1\}^{r}} (C_\lambda^{(d)})_{(x,a),(y,b)}Z_{(x,\alpha),(y,\beta)}.Cλ(d)​=k!χλ​(1)​π∈Sk​∑​χλ​(π−1)Tπ​,A(a,α),(b,β)​=x,y∈{0,…,d−1}r∑​(Cλ(d)​)(x,a),(y,b)​Z(x,α),(y,β)​.

Here (x,a)(x,a)(x,a) denotes appending aaa as the last coordinate. The conclusion includes r=0r=0r=0, when the sums over x,yx,yx,y each have one empty-tuple index.

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