Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Example 10: three-box antisymmetric map

Open
QAlgorithms.Papers.Independent.Extend50.P13.antisymmetric_three_example

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. For λ=(1,1,1)\lambda=(1,1,1)λ=(1,1,1),

fλ(X,Y)=16[(tr⁡(X)tr⁡(Y)−tr⁡(XY))I−tr⁡(X)Y−tr⁡(Y)X+XY+YX].f_\lambda(X,Y)=\frac16\left[(\operatorname{tr}(X)\operatorname{tr}(Y)-\operatorname{tr}(XY))I-\operatorname{tr}(X)Y-\operatorname{tr}(Y)X+XY+YX\right].fλ​(X,Y)=61​[(tr(X)tr(Y)−tr(XY))I−tr(X)Y−tr(Y)X+XY+YX].

It vanishes for all complex 2×22\times22×2 inputs. In every positive dimension it is positive semidefinite whenever X,Y≥0X,Y\ge0X,Y≥0. This is the normalized three-box antisymmetric example.

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

/-- Example 10, Eq.40 (PDF p.11): exact 1/6 normalization, the identity in
dimension two, and positivity for all positive dimensions. -/
theorem antisymmetric_three_example
    (lambda : QAlgorithms.Schur.Partition 3 3) (hshape : lambda.val.rowLens = [1,1,1]) :
    (∀ (d : ℕ), 0 < d → ∀ X Y : (Matrix (Fin d) (Fin d) ℂ),
      polarizedMap lambda ![X,Y] = (1/6 : ℂ) • antisymmetricThree X Y) ∧
    (∀ X Y : (Matrix (Fin 2) (Fin 2) ℂ), polarizedMap lambda ![X,Y] = 0) ∧
    (∀ (d : ℕ), 0 < d → ∀ X Y : (Matrix (Fin d) (Fin d) ℂ),
      X.PosSemidef → Y.PosSemidef → (polarizedMap lambda ![X,Y]).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. 11, Example 10: three-box antisymmetric map
Read-back

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

Let λ\lambdaλ be a Young diagram with three cells and at most three rows whose row lengths are exactly [1,1,1][1,1,1][1,1,1]. Using its fixed cell numbering, let Rλ,CλR_\lambda,C_\lambdaRλ​,Cλ​ be the row-preserving and column-preserving permutations, define Yg,h=∑a∈Rλ,b∈Cλsgn⁡(b)1{g=hab}Y_{g,h}=\sum_{a\in R_\lambda,b\in C_\lambda}\operatorname{sgn}(b)\mathbf1_{\{g=hab\}}Yg,h​=∑a∈Rλ​,b∈Cλ​​sgn(b)1{g=hab}​, and put χλ(σ)=tr⁡(LσΠrange⁡Y)\chi_\lambda(\sigma)=\operatorname{tr}(L_\sigma\Pi_{\operatorname{range}Y})χλ​(σ)=tr(Lσ​ΠrangeY​), where (Lσ)g,h=1{g=σh}(L_\sigma)_{g,h}=\mathbf1_{\{g=\sigma h\}}(Lσ​)g,h​=1{g=σh}​. Let (Tσ)y,x=1{y=x∘σ−1}(T_\sigma)_{y,x}=\mathbf1_{\{y=x\circ\sigma^{-1}\}}(Tσ​)y,x​=1{y=x∘σ−1}​, and define

Pλ,d=χλ(1)3!∑σ∈S3χλ(σ−1)Tσ,Fλ,d(X,Y)a,b=∑x0,x1,y0,y1(Pλ,d)(x0,x1,a),(y0,y1,b)Xy0,x0Yy1,x1,P_{\lambda,d}=\frac{\chi_\lambda(1)}{3!} \sum_{\sigma\in S_3}\chi_\lambda(\sigma^{-1})T_\sigma, \quad F_{\lambda,d}(X,Y)_{a,b} =\sum_{x_0,x_1,y_0,y_1} (P_{\lambda,d})_{(x_0,x_1,a),(y_0,y_1,b)} X_{y_0,x_0}Y_{y_1,x_1},Pλ,d​=3!χλ​(1)​σ∈S3​∑​χλ​(σ−1)Tσ​,Fλ,d​(X,Y)a,b​=x0​,x1​,y0​,y1​∑​(Pλ,d​)(x0​,x1​,a),(y0​,y1​,b)​Xy0​,x0​​Yy1​,x1​​,

where every summation coordinate ranges from 000 to d−1d-1d−1. The declaration asserts that for every natural number d>0d>0d>0 and all complex d×dd\times dd×d matrices X,YX,YX,Y,

Fλ,d(X,Y)=16[(tr⁡X tr⁡Y−tr⁡(XY))Id−tr⁡X Y−tr⁡Y X+XY+YX];F_{\lambda,d}(X,Y)=\frac16\left[ \bigl(\operatorname{tr}X\,\operatorname{tr}Y-\operatorname{tr}(XY)\bigr)I_d -\operatorname{tr}X\,Y-\operatorname{tr}Y\,X+XY+YX\right];Fλ,d​(X,Y)=61​[(trXtrY−tr(XY))Id​−trXY−trYX+XY+YX];

that Fλ,2(X,Y)=0F_{\lambda,2}(X,Y)=0Fλ,2​(X,Y)=0 for all complex 2×22\times22×2 matrices X,YX,YX,Y; and that Fλ,d(X,Y)F_{\lambda,d}(X,Y)Fλ,d​(X,Y) is positive semidefinite whenever d>0d>0d>0 and both X,YX,YX,Y are positive semidefinite. The first two assertions impose no positivity assumptions.

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