Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 12: mixed tensor stability

Open
QAlgorithms.Papers.Independent.Extend50.P13.mixed_tensor_stability

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

prove2quantum

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. Let n≥0n\ge0n≥0, k=r+1≥1k=r+1\ge1k=r+1≥1, local dimensions dj≥1d_j\ge1dj​≥1, and independently chosen partitions λj⊢k\lambda_j\vdash kλj​⊢k be given. For arbitrary globally positive semidefinite inputs X1,…,XrX_1,\ldots,X_rX1​,…,Xr​ on H=⨂j=1nCdjH=\bigotimes_{j=1}^n\mathbb C^{d_j}H=⨂j=1n​Cdj​, define F=⨂jfλjF=\bigotimes_j f_{\lambda_j}F=⨂j​fλj​​ by vertically tensoring the projectors PλjP_{\lambda_j}Pλj​​, regrouping them into kkk copies of HHH, and contracting the first rrr copies against X1,…,XrX_1,\ldots,X_rX1​,…,Xr​. Then

F(X1,…,Xr)≥0.F(X_1,\ldots,X_r)\ge0.F(X1​,…,Xr​)≥0.

Inputs may be entangled across the parties. For n=0n=0n=0, H=CH=\mathbb CH=C and the contraction multiplies the nonnegative scalar inputs. This is mixed tensor stability in the source's precise wiring.

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

/-- Theorem 12, Eq.47 (PDF pp.11–12). Partitions/dimensions are independently
chosen, and inputs may be entangled across all parties. n=0 retains the scalar
empty tensor product and is not excluded. -/
theorem mixed_tensor_stability {n r : ℕ} (dims : Fin n → ℕ)
    (hdims : ∀ j, 0 < dims j)
    (lambda : Fin n → QAlgorithms.Schur.Partition (r+1) (r+1))
    (X : Fin r → (Matrix ((∀ j, Fin (dims j))) ((∀ j, Fin (dims j))) ℂ)) (hX : ∀ i, (X i).PosSemidef) :
    (mixedMap dims lambda X).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. 12, Theorem 12: mixed tensor stability
Read-back

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

For all natural numbers n,rn,rn,r, every family of positive natural dimensions djd_jdj​, 0≤j<n0\le j<n0≤j<n, every family of Young diagrams λj\lambda_jλj​, each having r+1r+1r+1 cells and at most r+1r+1r+1 rows, and every family of positive semidefinite complex matrices XiX_iXi​, 0≤i<r0\le i<r0≤i<r, indexed by H=∏j<n{0,…,dj−1}\mathcal H=\prod_{j<n}\{0,\ldots,d_j-1\}H=∏j<n​{0,…,dj​−1}, the following matrix is positive semidefinite. To define it, for each λj\lambda_jλj​ use its fixed cell numbering to obtain row-preserving and column-preserving permutations Rj,CjR_j,C_jRj​,Cj​, set Yg,h(j)=∑a∈Rj,b∈Cjsgn⁡(b)1{g=hab}Y^{(j)}_{g,h}=\sum_{a\in R_j,b\in C_j}\operatorname{sgn}(b)\mathbf1_{\{g=hab\}}Yg,h(j)​=∑a∈Rj​,b∈Cj​​sgn(b)1{g=hab}​, and put χj(σ)=tr⁡(LσΠrange⁡Y(j))\chi_j(\sigma)=\operatorname{tr}(L_\sigma\Pi_{\operatorname{range}Y^{(j)}})χj​(σ)=tr(Lσ​ΠrangeY(j)​), where (Lσ)g,h=1{g=σh}(L_\sigma)_{g,h}=\mathbf1_{\{g=\sigma h\}}(Lσ​)g,h​=1{g=σh}​. Define

Pj=χj(1)(r+1)!∑σ∈Sr+1χj(σ−1)Tσ(j),(Tσ(j))y,x=1{y=x∘σ−1},P_j=\frac{\chi_j(1)}{(r+1)!} \sum_{\sigma\in S_{r+1}}\chi_j(\sigma^{-1})T^{(j)}_\sigma, \qquad (T^{(j)}_\sigma)_{y,x}=\mathbf1_{\{y=x\circ\sigma^{-1}\}},Pj​=(r+1)!χj​(1)​σ∈Sr+1​∑​χj​(σ−1)Tσ(j)​,(Tσ(j)​)y,x​=1{y=x∘σ−1}​,

where x,yx,yx,y are r+1r+1r+1 coordinates valued in {0,…,dj−1}\{0,\ldots,d_j-1\}{0,…,dj​−1}. The asserted positive semidefinite matrix FFF, indexed by a,b∈Ha,b\in\mathcal Ha,b∈H, has entries

Fa,b=∑x,y∈Hr[∏j<n(Pj)(x0(j),…,xr−1(j),a(j)),(y0(j),…,yr−1(j),b(j))]∏i<r(Xi)yi,xi.F_{a,b}= \sum_{x,y\in\mathcal H^{r}} \left[\prod_{j<n} (P_j)_{(x_0(j),\ldots,x_{r-1}(j),a(j)), (y_0(j),\ldots,y_{r-1}(j),b(j))}\right] \prod_{i<r}(X_i)_{y_i,x_i}.Fa,b​=x,y∈Hr∑​[j<n∏​(Pj​)(x0​(j),…,xr−1​(j),a(j)),(y0​(j),…,yr−1​(j),b(j))​]i<r∏​(Xi​)yi​,xi​​.

No trace normalization is assumed for the XiX_iXi​. Both n=0n=0n=0 and r=0r=0r=0 are included: an empty coordinate product is a singleton and an empty scalar product equals 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