Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq.(54): four fine-grained positive maps

Open
QAlgorithms.Papers.Independent.Extend50.P13.fine_grained_positive_maps

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 X,Y≥0X,Y\ge0X,Y≥0, each of the following four matrices is positive semidefinite:

F0=[2tr⁡Xtr⁡Y+2tr⁡(XY)]I−tr⁡(X)Y−tr⁡(Y)X−XY−YX,F1=[2tr⁡Xtr⁡Y−2tr⁡(XY)]I+tr⁡(X)Y+tr⁡(Y)X−XY−YX,F2=[2tr⁡Xtr⁡Y−tr⁡(XY)]I+2tr⁡(X)Y−tr⁡(Y)X−XY−YX,F3=[2tr⁡Xtr⁡Y+tr⁡(XY)]I−2tr⁡(X)Y+tr⁡(Y)X−XY−YX.\begin{aligned} F_0&=[2\operatorname{tr}X\operatorname{tr}Y+2\operatorname{tr}(XY)]I-\operatorname{tr}(X)Y-\operatorname{tr}(Y)X-XY-YX,\\ F_1&=[2\operatorname{tr}X\operatorname{tr}Y-2\operatorname{tr}(XY)]I+\operatorname{tr}(X)Y+\operatorname{tr}(Y)X-XY-YX,\\ F_2&=[2\operatorname{tr}X\operatorname{tr}Y-\operatorname{tr}(XY)]I+2\operatorname{tr}(X)Y-\operatorname{tr}(Y)X-XY-YX,\\ F_3&=[2\operatorname{tr}X\operatorname{tr}Y+\operatorname{tr}(XY)]I-2\operatorname{tr}(X)Y+\operatorname{tr}(Y)X-XY-YX. \end{aligned}F0​F1​F2​F3​​=[2trXtrY+2tr(XY)]I−tr(X)Y−tr(Y)X−XY−YX,=[2trXtrY−2tr(XY)]I+tr(X)Y+tr(Y)X−XY−YX,=[2trXtrY−tr(XY)]I+2tr(X)Y−tr(Y)X−XY−YX,=[2trXtrY+tr(XY)]I−2tr(X)Y+tr(Y)X−XY−YX.​

Writing Tab=T((ab))T_{ab}=T((ab))Tab​=T((ab)) and C=T((123))+T((132))C=T((123))+T((132))C=T((123))+T((132)), the physical operators

E0,1=16[2I±(2T12−T13−T23)−C],E2,3=16[2I±(2T23−T12−T13)−C]E_{0,1}=\tfrac16[2I\mathbin{\pm}(2T_{12}-T_{13}-T_{23})-C],\quad E_{2,3}=\tfrac16[2I\mathbin{\pm}(2T_{23}-T_{12}-T_{13})-C]E0,1​=61​[2I±(2T12​−T13​−T23​)−C],E2,3​=61​[2I±(2T23​−T12​−T13​)−C]

are Hermitian idempotents, with E0+E1=E2+E3=P(2,1)E_0+E_1=E_2+E_3=P_{(2,1)}E0​+E1​=E2​+E3​=P(2,1)​ and both products in either pair zero. Their contractions against (X,Y)(X,Y)(X,Y) equal Fi(X,Y)/6F_i(X,Y)/6Fi​(X,Y)/6 for arbitrary complex inputs. Any mixed vertical tensor product of these four maps is positive on globally PSD input pairs, including heterogeneous dimensions and zero parties. These are the two fine-grained orthogonal decompositions behind the four inequalities.

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

/-- Eq.54 and both orthogonal projector decompositions (PDF p.13). Every formula
is six times its normalized contraction. The later prose omits a factor two in
adding the displayed unscaled polynomials; that erroneous equality is not used. -/
theorem fine_grained_positive_maps
    (lambda : QAlgorithms.Schur.Partition 3 3) (hshape : lambda.val.rowLens = [2,1]) :
    (∀ (d : ℕ), 0 < d →
      (∀ i : Fin 4, (fineProjector d i).IsHermitian ∧
        fineProjector d i * fineProjector d i = fineProjector d i ∧
        (∀ X Y : (Matrix (Fin d) (Fin d) ℂ), contractInputs (fineProjector d i) ![X,Y] =
          (1/6 : ℂ) • finePolynomial i X Y) ∧
        (∀ X Y : (Matrix (Fin d) (Fin d) ℂ), X.PosSemidef → Y.PosSemidef →
          (finePolynomial i X Y).PosSemidef)) ∧
      fineProjector d 0 + fineProjector d 1 = centralProjector d lambda ∧
      fineProjector d 0 * fineProjector d 1 = 0 ∧
      fineProjector d 1 * fineProjector d 0 = 0 ∧
      fineProjector d 2 + fineProjector d 3 = centralProjector d lambda ∧
      fineProjector d 2 * fineProjector d 3 = 0 ∧
      fineProjector d 3 * fineProjector d 2 = 0) ∧
    (∀ (n : ℕ) (dims : Fin n → ℕ), (∀ j, 0 < dims j) →
      ∀ (choice : Fin n → Fin 4) (X Y : (Matrix ((∀ j, Fin (dims j))) ((∀ j, Fin (dims j))) ℂ)),
      X.PosSemidef → Y.PosSemidef →
      (contractInputs (verticalOperators dims (fun j => fineProjector (dims j) (choice j)))
        ![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. 13, Eq.(54): four fine-grained positive maps
Read-back

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

For every Young diagram λ\lambdaλ with three cells, at most three rows, and row-length list exactly [2,1][2,1][2,1], the following assertions hold. For each natural number d>0d>0d>0, let Tπ(y,x)=1{y=x∘π−1}T_\pi(y,x)=\mathbf1_{\{y=x\circ\pi^{-1}\}}Tπ​(y,x)=1{y=x∘π−1}​ on ddd-valued triples, write TabT_{ab}Tab​ for the transposition of positions a,ba,ba,b, and let ccc be the cycle through 0,1,20,1,20,1,2. For i∈{0,1,2,3}i\in\{0,1,2,3\}i∈{0,1,2,3}, put si=(01)s_i=(01)si​=(01) if i<2i<2i<2, si=(12)s_i=(12)si​=(12) otherwise, put ei=1e_i=1ei​=1 for even iii and ei=−1e_i=-1ei​=−1 for odd iii, and define

Pi=16(2I+ei(3Tsi−T01−T02−T12)−Tc−Tc−1).P_i=\frac16\left(2I+e_i(3T_{s_i}-T_{01}-T_{02}-T_{12})-T_c-T_{c^{-1}}\right).Pi​=61​(2I+ei​(3Tsi​​−T01​−T02​−T12​)−Tc​−Tc−1​).

For complex d×dd\times dd×d matrices X,YX,YX,Y, define

F0(X,Y)=(2Tr⁡XTr⁡Y+2Tr⁡(XY))I−Tr⁡X Y−Tr⁡Y X−XY−YX,F1(X,Y)=(2Tr⁡XTr⁡Y−2Tr⁡(XY))I+Tr⁡X Y+Tr⁡Y X−XY−YX,F2(X,Y)=(2Tr⁡XTr⁡Y−Tr⁡(XY))I+2Tr⁡X Y−Tr⁡Y X−XY−YX,F3(X,Y)=(2Tr⁡XTr⁡Y+Tr⁡(XY))I−2Tr⁡X Y+Tr⁡Y X−XY−YX.\begin{aligned} F_0(X,Y)&=(2\operatorname{Tr}X\operatorname{Tr}Y+2\operatorname{Tr}(XY))I -\operatorname{Tr}X\,Y-\operatorname{Tr}Y\,X-XY-YX,\\ F_1(X,Y)&=(2\operatorname{Tr}X\operatorname{Tr}Y-2\operatorname{Tr}(XY))I +\operatorname{Tr}X\,Y+\operatorname{Tr}Y\,X-XY-YX,\\ F_2(X,Y)&=(2\operatorname{Tr}X\operatorname{Tr}Y-\operatorname{Tr}(XY))I +2\operatorname{Tr}X\,Y-\operatorname{Tr}Y\,X-XY-YX,\\ F_3(X,Y)&=(2\operatorname{Tr}X\operatorname{Tr}Y+\operatorname{Tr}(XY))I -2\operatorname{Tr}X\,Y+\operatorname{Tr}Y\,X-XY-YX. \end{aligned}F0​(X,Y)F1​(X,Y)F2​(X,Y)F3​(X,Y)​=(2TrXTrY+2Tr(XY))I−TrXY−TrYX−XY−YX,=(2TrXTrY−2Tr(XY))I+TrXY+TrYX−XY−YX,=(2TrXTrY−Tr(XY))I+2TrXY−TrYX−XY−YX,=(2TrXTrY+Tr(XY))I−2TrXY+TrYX−XY−YX.​

Each PiP_iPi​ is Hermitian and satisfies Pi2=PiP_i^2=P_iPi2​=Pi​; for all X,YX,YX,Y, its contraction satisfies

∑x0,x1,y0,y1(Pi)(x0,x1,a),(y0,y1,b)Xy0,x0Yy1,x1=16Fi(X,Y)a,b,\sum_{x_0,x_1,y_0,y_1} (P_i)_{(x_0,x_1,a),(y_0,y_1,b)} X_{y_0,x_0}Y_{y_1,x_1} =\frac16F_i(X,Y)_{a,b},x0​,x1​,y0​,y1​∑​(Pi​)(x0​,x1​,a),(y0​,y1​,b)​Xy0​,x0​​Yy1​,x1​​=61​Fi​(X,Y)a,b​,

and Fi(X,Y)F_i(X,Y)Fi​(X,Y) is positive semidefinite whenever X,YX,YX,Y are positive semidefinite. Moreover,

P0+P1=Cλ(d),P0P1=P1P0=0,P2+P3=Cλ(d),P2P3=P3P2=0.P_0+P_1=C_\lambda^{(d)},\quad P_0P_1=P_1P_0=0,\qquad P_2+P_3=C_\lambda^{(d)},\quad P_2P_3=P_3P_2=0.P0​+P1​=Cλ(d)​,P0​P1​=P1​P0​=0,P2​+P3​=Cλ(d)​,P2​P3​=P3​P2​=0.

Here Cλ(d)=χλ(1)6∑π∈S3χλ(π−1)TπC_\lambda^{(d)}=\frac{\chi_\lambda(1)}6\sum_{\pi\in S_3}\chi_\lambda(\pi^{-1})T_\piCλ(d)​=6χλ​(1)​∑π∈S3​​χλ​(π−1)Tπ​: using the fixed cell numbering, let Rλ,CλR_\lambda,C_\lambdaRλ​,Cλ​ be the row-preserving and column-preserving permutations, let Πλ\Pi_\lambdaΠλ​ project orthogonally onto the range of the matrix Y(g,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\}}Y(g,h)=∑a∈Rλ​,b∈Cλ​​sgn(b)1{g=hab}​, and define χλ(π)=Tr⁡(LπΠλ)\chi_\lambda(\pi)=\operatorname{Tr}(L_\pi\Pi_\lambda)χλ​(π)=Tr(Lπ​Πλ​) with Lπ(g,h)=1{g=πh}L_\pi(g,h)=\mathbf1_{\{g=\pi h\}}Lπ​(g,h)=1{g=πh}​. Finally, for every natural number nnn, every collection of positive natural dimensions djd_jdj​, every choice ij∈{0,1,2,3}i_j\in\{0,1,2,3\}ij​∈{0,1,2,3}, and all positive semidefinite matrices X,YX,YX,Y on the register Ω=∏j=0n−1{0,…,dj−1}\Omega=\prod_{j=0}^{n-1}\{0,\ldots,d_j-1\}Ω=∏j=0n−1​{0,…,dj​−1}, the matrix

Ha,b=∑x0,x1,y0,y1∈Ω[∏j=0n−1(Pij(dj))(x0(j),x1(j),a(j)),(y0(j),y1(j),b(j))]Xy0,x0Yy1,x1H_{a,b} =\sum_{x_0,x_1,y_0,y_1\in\Omega} \left[\prod_{j=0}^{n-1} (P_{i_j}^{(d_j)})_{(x_0(j),x_1(j),a(j)),(y_0(j),y_1(j),b(j))} \right]X_{y_0,x_0}Y_{y_1,x_1}Ha,b​=x0​,x1​,y0​,y1​∈Ω∑​[j=0∏n−1​(Pij​(dj​)​)(x0​(j),x1​(j),a(j)),(y0​(j),y1​(j),b(j))​]Xy0​,x0​​Yy1​,x1​​

is positive semidefinite; this includes n=0n=0n=0, when Ω\OmegaΩ is a singleton and the product is 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