Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Example 14 / Eqs.(49)–(51): bilinear tensor-power inequality

Open
QAlgorithms.Papers.Independent.Extend50.P13.bilinear_tensor_power_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 λ=(2,1)\lambda=(2,1)λ=(2,1), fλ(X,Y)=[2tr⁡(X)tr⁡(Y)I−XY−YX]/3f_\lambda(X,Y)=[2\operatorname{tr}(X)\operatorname{tr}(Y)I-XY-YX]/3fλ​(X,Y)=[2tr(X)tr(Y)I−XY−YX]/3. Let ρ,μ\rho,\muρ,μ be density matrices on H=⨂j=1nCdjH=\bigotimes_{j=1}^n\mathbb C^{d_j}H=⨂j=1n​Cdj​, dj≥1d_j\ge1dj​≥1, n≥0n\ge0n≥0. Write ρS=tr⁡Scρ\rho_S=\operatorname{tr}_{S^c}\rhoρS​=trSc​ρ, use TAT_ATA​ for partial transpose on A⊆SA\subseteq SA⊆S, and ιS\iota_SιS​ for identity embedding in the original positions. Then

fλ⊗n(ρ,μ)=(23)n∑S⊆[n]∑A⊆S(−12)∣S∣ιS[(ρSTAμSTA)TA]≥0.f_\lambda^{\otimes n}(\rho,\mu)=\left(\frac23\right)^n\sum_{S\subseteq[n]}\sum_{A\subseteq S}\left(-\frac12\right)^{|S|}\iota_S\left[(\rho_S^{T_A}\mu_S^{T_A})^{T_A}\right]\ge0.fλ⊗n​(ρ,μ)=(32​)nS⊆[n]∑​A⊆S∑​(−21​)∣S∣ιS​[(ρSTA​​μSTA​​)TA​]≥0.

For two parties, writing {B,C}=BC+CB\{B,C\}=BC+CB{B,C}=BC+CB and ρj,μj\rho_j,\mu_jρj​,μj​ for the single-party reductions, this is also

19[4I+(ρT1μT1)T1+(ρT2μT2)T2−2({ρ1,μ1}⊗I+I⊗{ρ2,μ2})+{ρ,μ}].\frac19\left[4I+(\rho^{T_1}\mu^{T_1})^{T_1}+(\rho^{T_2}\mu^{T_2})^{T_2}-2\bigl(\{\rho_1,\mu_1\}\otimes I+I\otimes\{\rho_2,\mu_2\}\bigr)+\{\rho,\mu\}\right].91​[4I+(ρT1​μT1​)T1​+(ρT2​μT2​)T2​−2({ρ1​,μ1​}⊗I+I⊗{ρ2​,μ2​})+{ρ,μ}].

Tensor powers use the vertical-projector contraction. The complete sum is PSD; individual products are not asserted Hermitian.

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 14, Eqs.49–51 (PDF p.12). SOURCE CORRECTION: Eq.51 prints (3/2)^n;
its prefactor must be (2/3)^n, as Eq.50, n=1, and the 4/9 empty-subset term in
Eq.49 all require. Individual partially transposed products are not asserted PSD.
The normalized one-party map, bipartite expansion and all-party expansion are included. -/
theorem bilinear_tensor_power_example
    (lambda : QAlgorithms.Schur.Partition 3 3) (hshape : lambda.val.rowLens = [2,1]) :
    (∀ (d : ℕ), 0 < d → ∀ X Y : (Matrix (Fin d) (Fin d) ℂ),
      polarizedMap lambda ![X,Y] = (1/3 : ℂ) • mixedThree X Y) ∧
    (∀ (dims : Fin 2 → ℕ), (∀ j, 0 < dims j) →
      ∀ rho mu : (Matrix ((∀ j, Fin (dims j))) ((∀ j, Fin (dims j))) ℂ), QAlgorithms.IsDensityMatrix rho → QAlgorithms.IsDensityMatrix mu →
        mixedMap dims (fun _ => lambda) ![rho,mu] = bipartiteExpansion dims rho mu ∧
        (bipartiteExpansion dims rho mu).PosSemidef) ∧
    (∀ (n : ℕ) (dims : Fin n → ℕ), (∀ j, 0 < dims j) →
      ∀ rho mu : (Matrix ((∀ j, Fin (dims j))) ((∀ j, Fin (dims j))) ℂ), QAlgorithms.IsDensityMatrix rho → QAlgorithms.IsDensityMatrix mu →
        mixedMap dims (fun _ => lambda) ![rho,mu] = bilinearExpansion dims rho mu ∧
        (bilinearExpansion dims rho mu).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, Example 14 / Eqs.(49)–(51): bilinear tensor-power inequality
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 [2,1][2,1][2,1]. Using its fixed cell numbering, let Rλ,CλR_\lambda,C_\lambdaRλ​,Cλ​ be its 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}​. For every natural dimension ddd, set

Pλ,d=χλ(1)3!∑σ∈S3χλ(σ−1)Tσ,(Tσ)y,x=1{y=x∘σ−1},P_{\lambda,d}=\frac{\chi_\lambda(1)}{3!} \sum_{\sigma\in S_3}\chi_\lambda(\sigma^{-1})T_\sigma, \qquad (T_\sigma)_{y,x}=\mathbf1_{\{y=x\circ\sigma^{-1}\}},Pλ,d​=3!χλ​(1)​σ∈S3​∑​χλ​(σ−1)Tσ​,(Tσ​)y,x​=1{y=x∘σ−1}​,

and define

Fλ,d(X,Y)a,b=∑x0,x1,y0,y1(Pλ,d)(x0,x1,a),(y0,y1,b)Xy0,x0Yy1,x1.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}.Fλ,d​(X,Y)a,b​=x0​,x1​,y0​,y1​∑​(Pλ,d​)(x0​,x1​,a),(y0​,y1​,b)​Xy0​,x0​​Yy1​,x1​​.

The first assertion is that for every d>0d>0d>0 and all complex d×dd\times dd×d matrices X,YX,YX,Y,

Fλ,d(X,Y)=13(2tr⁡X tr⁡Y Id−XY−YX).F_{\lambda,d}(X,Y)=\frac13 \left(2\operatorname{tr}X\,\operatorname{tr}Y\,I_d-XY-YX\right).Fλ,d​(X,Y)=31​(2trXtrYId​−XY−YX).

For a family of positive dimensions djd_jdj​, j<nj<nj<n, let H=∏j<n{0,…,dj−1}\mathcal H=\prod_{j<n}\{0,\ldots,d_j-1\}H=∏j<n​{0,…,dj​−1} and define the mixed matrix

F(ρ,μ)a,b=∑x0,x1,y0,y1∈H∏j<n(Pλ,dj)(x0(j),x1(j),a(j)),(y0(j),y1(j),b(j))ρy0,x0μy1,x1.\mathcal F(\rho,\mu)_{a,b} =\sum_{x_0,x_1,y_0,y_1\in\mathcal H} \prod_{j<n}(P_{\lambda,d_j})_{(x_0(j),x_1(j),a(j)), (y_0(j),y_1(j),b(j))} \rho_{y_0,x_0}\mu_{y_1,x_1}.F(ρ,μ)a,b​=x0​,x1​,y0​,y1​∈H∑​j<n∏​(Pλ,dj​​)(x0​(j),x1​(j),a(j)),(y0​(j),y1​(j),b(j))​ρy0​,x0​​μy1​,x1​​.

For a subset SSS of the subsystem labels, write ρS\rho_SρS​ for the reduced matrix obtained by summing equal row and column coordinates outside SSS; write ES(M)E_S(M)ES​(M) for the matrix with entries Ma∣S,b∣SM_{a|_S,b|_S}Ma∣S​,b∣S​​ when a,ba,ba,b agree outside SSS, and 000 otherwise; write τA\tau_AτA​ for the partial transpose that exchanges row and column coordinates in AAA; and write {A,B}=AB+BA\{A,B\}=AB+BA{A,B}=AB+BA. The second assertion is that for n=2n=2n=2 and any positive semidefinite trace-one matrices ρ,μ\rho,\muρ,μ on H\mathcal HH, F(ρ,μ)\mathcal F(\rho,\mu)F(ρ,μ) equals the following positive semidefinite matrix:

19[4I+τ{0} ⁣(τ{0}(ρ)τ{0}(μ))+τ{1} ⁣(τ{1}(ρ)τ{1}(μ))−2(E{0}({ρ{0},μ{0}})+E{1}({ρ{1},μ{1}}))+{ρ,μ}].\frac19\left[ 4I+ \tau_{\{0\}}\!\left(\tau_{\{0\}}(\rho)\tau_{\{0\}}(\mu)\right) +\tau_{\{1\}}\!\left(\tau_{\{1\}}(\rho)\tau_{\{1\}}(\mu)\right) -2\left(E_{\{0\}}(\{\rho_{\{0\}},\mu_{\{0\}}\}) +E_{\{1\}}(\{\rho_{\{1\}},\mu_{\{1\}}\})\right) +\{\rho,\mu\}\right].91​[4I+τ{0}​(τ{0}​(ρ)τ{0}​(μ))+τ{1}​(τ{1}​(ρ)τ{1}​(μ))−2(E{0}​({ρ{0}​,μ{0}​})+E{1}​({ρ{1}​,μ{1}​}))+{ρ,μ}].

The third assertion is that for every natural number nnn, every such family of positive dimensions, and all positive semidefinite trace-one matrices ρ,μ\rho,\muρ,μ, F(ρ,μ)\mathcal F(\rho,\mu)F(ρ,μ) equals the following positive semidefinite matrix:

(23)n∑S⊆{0,…,n−1} ∑A⊆S(−12)∣S∣ES ⁣(τA ⁣(τA(ρS)τA(μS))).\left(\frac23\right)^n \sum_{S\subseteq\{0,\ldots,n-1\}}\ \sum_{A\subseteq S} \left(-\frac12\right)^{|S|} E_S\!\left(\tau_A\!\left(\tau_A(\rho_S)\tau_A(\mu_S)\right)\right).(32​)nS⊆{0,…,n−1}∑​ A⊆S∑​(−21​)∣S∣ES​(τA​(τA​(ρS​)τA​(μS​))).

In this last expression the transposes act within the coordinates of SSS. The case n=0n=0n=0 is included, with a singleton empty-coordinate index set and empty products equal to 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