Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix B / Table II: explicit low-degree polarized maps

Open
QAlgorithms.Papers.Independent.Extend50.P13.low_degree_polarized_maps_table

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. Put a=tr⁡Aa=\operatorname{tr}Aa=trA, b=tr⁡Bb=\operatorname{tr}Bb=trB, c=tr⁡Cc=\operatorname{tr}Cc=trC, and write τ(W)=tr⁡(W)\tau(W)=\operatorname{tr}(W)τ(W)=tr(W). The seven literal Table II polynomials are

F11(A)=aI−A,F21(A,B)=2abI−BA−AB,F111(A,B)=(ab−τ(BA))I−aB−bA+BA+AB,F31(A,B,C)=[3abc+aτ(CB)+τ(BA)c+τ(CA)b]I+abC+caB−τ(BA)C−CBA−BAC−CAB−τ(CA)B−BCA−ABC+bcA−ACB−τ(CB)A,F22(A,B,C)=[2abc−τ(CBA)−τ(BCA)]I−aCB−aBC+2τ(BA)C−cBA−bCA+2τ(CA)B−cAB−bAC+2τ(CB)A,F211(A,B,C)=[3abc−aτ(CB)−τ(BA)c−τ(CA)b]I−abC−caB−τ(BA)C+CBA+BAC+CAB−τ(CA)B+BCA+ABC−bcA+ACB−τ(CB)A,F1111(A,B,C)=[abc−aτ(CB)−τ(BA)c+τ(CBA)+τ(BCA)−τ(CA)b]I−abC+aCB+aBC−caB+τ(BA)C−CBA−BAC+cBA−CAB+bCA+τ(CA)B−BCA−ABC+cAB+bAC−bcA−ACB+τ(CB)A.\begin{aligned} F_{11}(A)&=aI-A,\\ F_{21}(A,B)&=2abI-BA-AB,\\ F_{111}(A,B)&=(ab-\tau(BA))I-aB-bA+BA+AB,\\ F_{31}(A,B,C)&=[3abc+a\tau(CB)+\tau(BA)c+\tau(CA)b]I+abC+caB-\tau(BA)C-CBA-BAC-CAB-\tau(CA)B-BCA-ABC+bcA-ACB-\tau(CB)A,\\ F_{22}(A,B,C)&=[2abc-\tau(CBA)-\tau(BCA)]I-aCB-aBC+2\tau(BA)C-cBA-bCA+2\tau(CA)B-cAB-bAC+2\tau(CB)A,\\ F_{211}(A,B,C)&=[3abc-a\tau(CB)-\tau(BA)c-\tau(CA)b]I-abC-caB-\tau(BA)C+CBA+BAC+CAB-\tau(CA)B+BCA+ABC-bcA+ACB-\tau(CB)A,\\ F_{1111}(A,B,C)&=[abc-a\tau(CB)-\tau(BA)c+\tau(CBA)+\tau(BCA)-\tau(CA)b]I-abC+aCB+aBC-caB+\tau(BA)C-CBA-BAC+cBA-CAB+bCA+\tau(CA)B-BCA-ABC+cAB+bAC-bcA-ACB+\tau(CB)A. \end{aligned}F11​(A)F21​(A,B)F111​(A,B)F31​(A,B,C)F22​(A,B,C)F211​(A,B,C)F1111​(A,B,C)​=aI−A,=2abI−BA−AB,=(ab−τ(BA))I−aB−bA+BA+AB,=[3abc+aτ(CB)+τ(BA)c+τ(CA)b]I+abC+caB−τ(BA)C−CBA−BAC−CAB−τ(CA)B−BCA−ABC+bcA−ACB−τ(CB)A,=[2abc−τ(CBA)−τ(BCA)]I−aCB−aBC+2τ(BA)C−cBA−bCA+2τ(CA)B−cAB−bAC+2τ(CB)A,=[3abc−aτ(CB)−τ(BA)c−τ(CA)b]I−abC−caB−τ(BA)C+CBA+BAC+CAB−τ(CA)B+BCA+ABC−bcA+ACB−τ(CB)A,=[abc−aτ(CB)−τ(BA)c+τ(CBA)+τ(BCA)−τ(CA)b]I−abC+aCB+aBC−caB+τ(BA)C−CBA−BAC+cBA−CAB+bCA+τ(CA)B−BCA−ABC+cAB+bAC−bcA−ACB+τ(CB)A.​

For the respective partitions (1,1),(2,1),(1,1,1),(3,1),(2,2),(2,1,1),(1,1,1,1)(1,1),(2,1),(1,1,1),(3,1),(2,2),(2,1,1),(1,1,1,1)(1,1),(2,1),(1,1,1),(3,1),(2,2),(2,1,1),(1,1,1,1), the Definition-4 normalization is

fλ=sλFλ,(s11,s21,s111,s31,s22,s211,s1111)=(12,13,16,18,112,18,124).f_\lambda=s_\lambda F_\lambda,\qquad(s_{11},s_{21},s_{111},s_{31},s_{22},s_{211},s_{1111})=(\tfrac12,\tfrac13,\tfrac16,\tfrac18,\tfrac1{12},\tfrac18,\tfrac1{24}).fλ​=sλ​Fλ​,(s11​,s21​,s111​,s31​,s22​,s211​,s1111​)=(21​,31​,61​,81​,121​,81​,241​).

Each map is positive on PSD tuples, vanishes on all complex inputs whenever the number of rows exceeds ddd, is equivariant under every unitary, is completely copositive after linearizing and transposing all input factors at every positive ancillary dimension, and is tensor-stable under arbitrary finite powers with independently chosen positive local dimensions and globally PSD inputs. Empty tensor powers use the scalar algebra. These formulas make the table's suppressed positive normalization factors explicit.

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

/-- Appendix B, Table II (PDF pp.24–25). SOURCE NORMALIZATION: the seven printed
entries suppress their positive factors. The Definition-4 factors are respectively
1/2,1/3,1/6,1/8,1/12,1/8,1/24. All seven literal formulas and the Appendix's
positivity/vanishing/equivariance/tensor-stability/copositivity assertions are retained. -/
theorem low_degree_polarized_maps_table :
    (∀ lambda : QAlgorithms.Schur.Partition 2 2, lambda.val.rowLens = [1,1] →
      TableProperties lambda ∧ ∀ (d : ℕ), 0 < d → ∀ X : (Matrix (Fin d) (Fin d) ℂ),
        polarizedMap lambda (fun _ : Fin 1 => X) = (1/2 : ℂ) • reductionPolynomial X) ∧
    (∀ lambda : QAlgorithms.Schur.Partition 3 3, lambda.val.rowLens = [2,1] →
      TableProperties lambda ∧ ∀ (d : ℕ), 0 < d → ∀ X Y : (Matrix (Fin d) (Fin d) ℂ),
        polarizedMap lambda ![X,Y] = (1/3 : ℂ) • mixedThree X Y) ∧
    (∀ lambda : QAlgorithms.Schur.Partition 3 3, lambda.val.rowLens = [1,1,1] →
      TableProperties lambda ∧ ∀ (d : ℕ), 0 < d → ∀ X Y : (Matrix (Fin d) (Fin d) ℂ),
        polarizedMap lambda ![X,Y] = (1/6 : ℂ) • antisymmetricThree X Y) ∧
    (∀ lambda : QAlgorithms.Schur.Partition 4 4, lambda.val.rowLens = [3,1] →
      TableProperties lambda ∧ ∀ (d : ℕ), 0 < d → ∀ A B C : (Matrix (Fin d) (Fin d) ℂ),
        polarizedMap lambda ![A,B,C] = (1/8 : ℂ) • tableFour31 A B C) ∧
    (∀ lambda : QAlgorithms.Schur.Partition 4 4, lambda.val.rowLens = [2,2] →
      TableProperties lambda ∧ ∀ (d : ℕ), 0 < d → ∀ A B C : (Matrix (Fin d) (Fin d) ℂ),
        polarizedMap lambda ![A,B,C] = (1/12 : ℂ) • tableFour22 A B C) ∧
    (∀ lambda : QAlgorithms.Schur.Partition 4 4, lambda.val.rowLens = [2,1,1] →
      TableProperties lambda ∧ ∀ (d : ℕ), 0 < d → ∀ A B C : (Matrix (Fin d) (Fin d) ℂ),
        polarizedMap lambda ![A,B,C] = (1/8 : ℂ) • tableFour211 A B C) ∧
    (∀ lambda : QAlgorithms.Schur.Partition 4 4, lambda.val.rowLens = [1,1,1,1] →
      TableProperties lambda ∧ ∀ (d : ℕ), 0 < d → ∀ A B C : (Matrix (Fin d) (Fin d) ℂ),
        polarizedMap lambda ![A,B,C] = (1/24 : ℂ) • tableFour1111 A B C) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P13

end
Source
Positive maps and trace polynomials from the symmetric group, arXiv:2002.12887v2, PDF p. 25, Appendix B / Table II: explicit low-degree polarized maps
Read-back

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

For each Young diagram λ\lambdaλ having one of the seven row-length lists below, with kkk boxes and at most kkk rows, the statement asserts the properties and formulas described here. To specify all constructions, number its boxes by the fixed cardinality-based bijection with [k]={0,…,k−1}[k]=\{0,\ldots,k-1\}[k]={0,…,k−1}, let Rλ,Cλ⊆SkR_\lambda,C_\lambda\subseteq S_kRλ​,Cλ​⊆Sk​ preserve the rows and columns of the numbered boxes, and 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 QλQ_\lambdaQλ​ be the orthogonal projection onto the range of this matrix, let Lπ(g,h)=1{g=πh}L_\pi(g,h)=\mathbf1_{\{g=\pi h\}}Lπ​(g,h)=1{g=πh}​, and put

χλ(π)=tr⁡(LπQλ),Pλ,d=χλ(1)k!∑π∈Skχλ(π−1)(1{u=v∘π−1})u,v∈[d]k.\chi_\lambda(\pi)=\operatorname{tr}(L_\pi Q_\lambda),\qquad P_{\lambda,d}=\frac{\chi_\lambda(1)}{k!} \sum_{\pi\in S_k}\chi_\lambda(\pi^{-1}) \bigl(\mathbf1_{\{u=v\circ\pi^{-1}\}}\bigr)_{u,v\in[d]^k}.χλ​(π)=tr(Lπ​Qλ​),Pλ,d​=k!χλ​(1)​π∈Sk​∑​χλ​(π−1)(1{u=v∘π−1}​)u,v∈[d]k​.

Write r=k−1r=k-1r=k−1. For any finite index set JJJ and kernel KKK indexed by Jr+1J^{r+1}Jr+1, use

CK(X)a,b=∑x,y∈JrK(x,a),(y,b)∏i=0r−1(Xi)yi,xi,AK,m(Z)(a,u),(b,v)=∑x,y∈JrK(x,a),(y,b)Z(x,u),(y,v),\begin{aligned} \mathcal C_K(X)_{a,b} &=\sum_{x,y\in J^r}K_{(x,a),(y,b)} \prod_{i=0}^{r-1}(X_i)_{y_i,x_i},\\ \mathcal A_{K,m}(Z)_{(a,u),(b,v)} &=\sum_{x,y\in J^r}K_{(x,a),(y,b)} Z_{(x,u),(y,v)}, \end{aligned}CK​(X)a,b​AK,m​(Z)(a,u),(b,v)​​=x,y∈Jr∑​K(x,a),(y,b)​i=0∏r−1​(Xi​)yi​,xi​​,=x,y∈Jr∑​K(x,a),(y,b)​Z(x,u),(y,v)​,​

where the last coordinate is appended. For every such λ\lambdaλ, the asserted properties are: for every d>0d>0d>0, CPλ,d\mathcal C_{P_{\lambda,d}}CPλ,d​​ sends tuples of positive semidefinite matrices to positive semidefinite matrices, vanishes on every complex matrix tuple if ddd is smaller than the number of rows of λ\lambdaλ, obeys

CPλ,d((UXiU∗)i)=UCPλ,d(X)U∗\mathcal C_{P_{\lambda,d}}\bigl((UX_iU^*)_i\bigr) =U\mathcal C_{P_{\lambda,d}}(X)U^*CPλ,d​​((UXi​U∗)i​)=UCPλ,d​​(X)U∗

for every unitary UUU and every complex matrix tuple XXX, and has APλ,d,m(Z)\mathcal A_{P_{\lambda,d},m}(Z)APλ,d​,m​(Z) positive semidefinite for every m>0m>0m>0 and positive semidefinite ZZZ. Moreover, for every natural number nnn and positive dimensions djd_jdj​, the contraction CK\mathcal C_KCK​ is positive on tuples of positive semidefinite matrices on J=∏j=0n−1[dj]J=\prod_{j=0}^{n-1}[d_j]J=∏j=0n−1​[dj​], for the kernel

Ku,v=∏j=0n−1(Pλ,dj)(ui(j))i=0r,(vi(j))i=0r.K_{u,v}=\prod_{j=0}^{n-1} (P_{\lambda,d_j})_{(u_i(j))_{i=0}^{r},(v_i(j))_{i=0}^{r}}.Ku,v​=j=0∏n−1​(Pλ,dj​​)(ui​(j))i=0r​,(vi​(j))i=0r​​.

This includes n=0n=0n=0, with singleton product registers and empty products equal to 111. In addition to these properties, for every d>0d>0d>0 and arbitrary complex d×dd\times dd×d input matrices, the following seven identities hold:

row lengths of λcontraction identity[1,1]CPλ,d(X)=12(tr⁡(X)Id−X)[2,1]CPλ,d(X,Y)=13(2tr⁡(X)tr⁡(Y)Id−XY−YX)[1,1,1]CPλ,d(X,Y)=16((tr⁡(X)tr⁡(Y)−tr⁡(XY))Id−tr⁡(X)Y−tr⁡(Y)X+XY+YX)[3,1]CPλ,d(A,B,C)=18F31(A,B,C)[2,2]CPλ,d(A,B,C)=112F22(A,B,C)[2,1,1]CPλ,d(A,B,C)=18F211(A,B,C)[1,1,1,1]CPλ,d(A,B,C)=124F1111(A,B,C).\begin{array}{c|c} \text{row lengths of }\lambda&\text{contraction identity}\\ \hline [1,1]&\mathcal C_{P_{\lambda,d}}(X)=\frac12\bigl(\operatorname{tr}(X)I_d-X\bigr)\\ [2,1]&\mathcal C_{P_{\lambda,d}}(X,Y)=\frac13 \bigl(2\operatorname{tr}(X)\operatorname{tr}(Y)I_d-XY-YX\bigr)\\ [1,1,1]&\mathcal C_{P_{\lambda,d}}(X,Y)=\frac16 \bigl((\operatorname{tr}(X)\operatorname{tr}(Y)-\operatorname{tr}(XY))I_d -\operatorname{tr}(X)Y-\operatorname{tr}(Y)X+XY+YX\bigr)\\ [3,1]&\mathcal C_{P_{\lambda,d}}(A,B,C)=\frac18 F_{31}(A,B,C)\\ [2,2]&\mathcal C_{P_{\lambda,d}}(A,B,C)=\frac1{12}F_{22}(A,B,C)\\ [2,1,1]&\mathcal C_{P_{\lambda,d}}(A,B,C)=\frac18 F_{211}(A,B,C)\\ [1,1,1,1]&\mathcal C_{P_{\lambda,d}}(A,B,C)=\frac1{24}F_{1111}(A,B,C). \end{array}row lengths of λ[1,1][2,1][1,1,1][3,1][2,2][2,1,1][1,1,1,1]​contraction identityCPλ,d​​(X)=21​(tr(X)Id​−X)CPλ,d​​(X,Y)=31​(2tr(X)tr(Y)Id​−XY−YX)CPλ,d​​(X,Y)=61​((tr(X)tr(Y)−tr(XY))Id​−tr(X)Y−tr(Y)X+XY+YX)CPλ,d​​(A,B,C)=81​F31​(A,B,C)CPλ,d​​(A,B,C)=121​F22​(A,B,C)CPλ,d​​(A,B,C)=81​F211​(A,B,C)CPλ,d​​(A,B,C)=241​F1111​(A,B,C).​​

Here the four cubic expressions are explicitly the following, with

α=tr⁡A,β=tr⁡B,γ=tr⁡C,u=tr⁡(BA),v=tr⁡(CA),w=tr⁡(CB),h=tr⁡(CBA)+tr⁡(BCA),Σ=ABC+ACB+BAC+BCA+CAB+CBA:\begin{gathered} \alpha=\operatorname{tr}A,\quad\beta=\operatorname{tr}B,\quad \gamma=\operatorname{tr}C,\quad u=\operatorname{tr}(BA),\quad v=\operatorname{tr}(CA),\quad w=\operatorname{tr}(CB),\\ h=\operatorname{tr}(CBA)+\operatorname{tr}(BCA),\qquad \Sigma=ABC+ACB+BAC+BCA+CAB+CBA: \end{gathered}α=trA,β=trB,γ=trC,u=tr(BA),v=tr(CA),w=tr(CB),h=tr(CBA)+tr(BCA),Σ=ABC+ACB+BAC+BCA+CAB+CBA:​ F31=(3αβγ+αw+uγ+vβ)Id+(αβ−u)C+(γα−v)B+(βγ−w)A−Σ,F22=(2αβγ−h)Id−α(CB+BC)−γ(BA+AB)−β(CA+AC)+2uC+2vB+2wA,F211=(3αβγ−αw−uγ−vβ)Id−(αβ+u)C−(γα+v)B−(βγ+w)A+Σ,F1111=(αβγ−αw−uγ+h−vβ)Id+(u−αβ)C+(v−γα)B+(w−βγ)A+α(CB+BC)+γ(BA+AB)+β(CA+AC)−Σ.\begin{aligned} F_{31}&=(3\alpha\beta\gamma+\alpha w+u\gamma+v\beta)I_d +(\alpha\beta-u)C+(\gamma\alpha-v)B+(\beta\gamma-w)A-\Sigma,\\ F_{22}&=(2\alpha\beta\gamma-h)I_d -\alpha(CB+BC)-\gamma(BA+AB)-\beta(CA+AC) +2uC+2vB+2wA,\\ F_{211}&=(3\alpha\beta\gamma-\alpha w-u\gamma-v\beta)I_d -(\alpha\beta+u)C-(\gamma\alpha+v)B-(\beta\gamma+w)A+\Sigma,\\ F_{1111}&=(\alpha\beta\gamma-\alpha w-u\gamma+h-v\beta)I_d +(u-\alpha\beta)C+(v-\gamma\alpha)B+(w-\beta\gamma)A\\ &\qquad+\alpha(CB+BC)+\gamma(BA+AB)+\beta(CA+AC)-\Sigma. \end{aligned}F31​F22​F211​F1111​​=(3αβγ+αw+uγ+vβ)Id​+(αβ−u)C+(γα−v)B+(βγ−w)A−Σ,=(2αβγ−h)Id​−α(CB+BC)−γ(BA+AB)−β(CA+AC)+2uC+2vB+2wA,=(3αβγ−αw−uγ−vβ)Id​−(αβ+u)C−(γα+v)B−(βγ+w)A+Σ,=(αβγ−αw−uγ+h−vβ)Id​+(u−αβ)C+(v−γα)B+(w−βγ)A+α(CB+BC)+γ(BA+AB)+β(CA+AC)−Σ.​

The polynomial identities themselves require no positivity or Hermitian assumptions on their input matrices.

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