Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 17, first clause: equivariant positive-map correspondence

Open
QAlgorithms.Papers.Independent.Extend50.P13.equivariant_positive_map_correspondence

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. Fix r≥1r\ge1r≥1 and let f:Mdr→Mdf:M_d^r\to M_df:Mdr​→Md​ be complex multilinear. Then

f(UX1U−1,…,UXrU−1)=Uf(X)U−1∀U∈U(d),X,f(X)≥0∀Xi≥0⟺∃!P: f=fP, P is Hermitian, block positive, and invariant under U⊗(r+1) ∀U.\begin{aligned} &f(UX_1U^{-1},\ldots,UX_rU^{-1})=Uf(X)U^{-1}\quad\forall U\in U(d),X,\quad f(X)\ge0\quad\forall X_i\ge0\\ &\quad\Longleftrightarrow\quad\exists!P:\ f=f_P,\ P\text{ is Hermitian, block positive, and invariant under }U^{\otimes(r+1)}\ \forall U. \end{aligned}​f(UX1​U−1,…,UXr​U−1)=Uf(X)U−1∀U∈U(d),X,f(X)≥0∀Xi​≥0⟺∃!P: f=fP​, P is Hermitian, block positive, and invariant under U⊗(r+1) ∀U.​

Here fP(X)=tr⁡1…r[P(X1⊗⋯⊗Xr⊗I)]f_P(X)=\operatorname{tr}_{1\ldots r}[P(X_1\otimes\cdots\otimes X_r\otimes I)]fP​(X)=tr1…r​[P(X1​⊗⋯⊗Xr​⊗I)]. Block positivity tests all fully separable states. No trace-polynomial representation is an extra hypothesis. This retains the sound first-clause correspondence; the full optimal-witness assertion is separately deferred.

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

/-- Corollary 17, first clause (PDF p.16), with the bidirectional correspondence
from p.15. Complex multilinearity is intrinsic to f; no trace-polynomial
representation is assumed as a certificate. The optimal-witness clause is deferred. -/
theorem equivariant_positive_map_correspondence {d r : ℕ} (hd : 0 < d) (hr : 1 ≤ r)
    (f : MultilinearMap ℂ (fun _ : Fin r => (Matrix (Fin d) (Fin d) ℂ)) ((Matrix (Fin d) (Fin d) ℂ))) :
    (ConjugationEquivariant f ∧ PositiveMap f) ↔
      ∃! P : (Matrix (Fin (r+1) → Fin d) (Fin (r+1) → Fin d) ℂ),
        DiagonalUnitaryInvariant P ∧ FullyBlockPositive P ∧ ∀ X, contractInputs P X = f X := by sorry

end QAlgorithms.Papers.Independent.Extend50.P13

end
Source
Positive maps and trace polynomials from the symmetric group, arXiv:2002.12887v2, PDF p. 16, Corollary 17, first clause: equivariant positive-map correspondence
Read-back

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

For all natural numbers d>0d>0d>0 and r≥1r\ge1r≥1, and every complex multilinear map fff from rrr copies of the space of complex d×dd\times dd×d matrices to that same matrix space, the following are equivalent: fff satisfies

f(UX0U∗,…,UXr−1U∗)=Uf(X0,…,Xr−1)U∗f(UX_0U^*,\ldots,UX_{r-1}U^*)=Uf(X_0,\ldots,X_{r-1})U^*f(UX0​U∗,…,UXr−1​U∗)=Uf(X0​,…,Xr−1​)U∗

for every unitary UUU and every tuple of matrices XXX, and f(X)f(X)f(X) is positive semidefinite whenever every XiX_iXi​ is positive semidefinite; there exists exactly one complex matrix PPP, indexed by ddd-valued (r+1)(r+1)(r+1)-tuples, which is invariant under P↦U⊗(r+1)P(U⊗(r+1))∗P\mapsto U^{\otimes(r+1)}P(U^{\otimes(r+1)})^*P↦U⊗(r+1)P(U⊗(r+1))∗ for every unitary UUU, is Hermitian, satisfies

Im⁡Tr⁡ ⁣(P⨂i=0rvivi∗)=0,Re⁡Tr⁡ ⁣(P⨂i=0rvivi∗)≥0\operatorname{Im}\operatorname{Tr}\!\left(P\bigotimes_{i=0}^{r}v_iv_i^*\right)=0, \qquad \operatorname{Re}\operatorname{Tr}\!\left(P\bigotimes_{i=0}^{r}v_iv_i^*\right)\ge0ImTr(Pi=0⨂r​vi​vi∗​)=0,ReTr(Pi=0⨂r​vi​vi∗​)≥0

for all vectors v0,…,vr∈Cdv_0,\ldots,v_r\in\mathbb C^dv0​,…,vr​∈Cd, and represents fff by

f(X)a,b=∑x,y∈{0,…,d−1}rP(x,a),(y,b)∏i=0r−1(Xi)yi,xi.f(X)_{a,b} =\sum_{x,y\in\{0,\ldots,d-1\}^{r}} P_{(x,a),(y,b)}\prod_{i=0}^{r-1}(X_i)_{y_i,x_i}.f(X)a,b​=x,y∈{0,…,d−1}r∑​P(x,a),(y,b)​i=0∏r−1​(Xi​)yi​,xi​​.

Here vv∗vv^*vv∗ denotes the matrix vavb‾v_a\overline{v_b}va​vb​​, and (x,a)(x,a)(x,a) appends the final coordinate.

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