Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Natural-representation PBT trace and multiplicity average

Open
QAlgorithms.Papers.Independent.Extend50.P28.naturalTraceFormula

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

prove2quantum

Let n,d≥2n,d\ge2n,d≥2, let H=(Cd)⊗nH=(\mathbb C^d)^{\otimes n}H=(Cd)⊗n with its fixed computational orthonormal basis, and put N=n−1N=n-1N=n−1. For a=1,…,Na=1,\ldots,Na=1,…,N, let TaT_aTa​ be the last-factor partial transpose of the tensor permutation swapping aaa and nnn, and put ρ=∑aTa\rho=\sum_aT_aρ=∑a​Ta​. Write dηd_\etadη​ for the actual Specht dimension and mηm_\etamη​ for the multiplicity of that Specht module in the appropriate tensor permutation representation; these are defined by dimensions of actual intertwiner spaces. For physical α\alphaα, sum over every retained branch ν,μ⊃α\nu,\mu\supset\alphaν,μ⊃α, and let λν(α)=d+c(ν/α)\lambda_\nu(\alpha)=d+c(\nu/\alpha)λν​(α)=d+c(ν/α). For any port aaa,

Tr⁡H(ρ−1/2Taρ−1/2Ta)=1(n−1)2∑h(α)≤dmαdα∑ν,μ⊃αdνdμλν(α)λμ(α),mα=1(n−2)!∑σ∈S(n−2)χα(σ−1)dℓ(σ).\operatorname{Tr}_H(\rho^{-1/2}T_a\rho^{-1/2}T_a)=\frac{1}{(n-1)^2}\sum_{h(\alpha)\le d}\frac{m_\alpha}{d_\alpha}\sum_{\nu,\mu\supset\alpha}d_\nu d_\mu\sqrt{\lambda_\nu(\alpha)\lambda_\mu(\alpha)},\qquad m_\alpha=\frac{1}{(n-2)!}\sum_{\sigma\in S(n-2)}\chi^\alpha(\sigma^{-1})d^{\ell(\sigma)}.TrH​(ρ−1/2Ta​ρ−1/2Ta​)=(n−1)21​h(α)≤d∑​dα​mα​​ν,μ⊃α∑​dν​dμ​λν​(α)λμ​(α)​,mα​=(n−2)!1​σ∈S(n−2)∑​χα(σ−1)dℓ(σ).

The trace equality is complex equality to the displayed real scalar, also fixing its imaginary part. This retains (118)–(119) without asserting the false regular specialization (117).

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P28
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Extend50.P28

open scoped Matrix Matrix.Norms.L2Operator ComplexOrder

attribute [local instance] Classical.propDecidable Classical.decEq

local notation "Shape" => (fun k : ℕ => QAlgorithms.Schur.Partition k k)

local notation "Word" => (fun d n : ℕ => Fin n → Fin d)

/-- PDF p.24, Corollary 51(b), Eqs.(118)–(119), with n=k+2: the independently
valid natural specialization. All retained branches, actual multiplicities, and
the single d_alpha in the denominator are explicit. The complex equality also
asserts that the trace has zero imaginary part. -/
theorem naturalTraceFormula (k d : ℕ) (hd : 2 ≤ d) (a : Fin (k + 1)) :
    naturalTrace d (k + 1) a =
      (((∑ alpha : PhysicalLower d k,
        (tensorMultiplicity d alpha.val : ℝ) / (irrepDim alpha.val : ℝ) *
          ∑ nu : Retained d alpha.val, ∑ mu : Retained d alpha.val,
            (irrepDim nu.val.val : ℝ) * (irrepDim mu.val.val : ℝ) *
              Real.sqrt (contentEigenvalue d alpha.val.val nu.val.val.val *
                contentEigenvalue d alpha.val.val mu.val.val.val)) /
        ((k + 1 : ℕ) : ℝ) ^ 2 : ℝ) : ℂ) ∧
    (∀ alpha : PhysicalLower d k,
      (tensorMultiplicity d alpha.val : ℂ) =
        (∑ sigma : Equiv.Perm (Fin k), QAlgorithms.Schur.spechtCharacter alpha.val sigma⁻¹ *
          (d : ℂ) ^ cycleCount sigma) / (k.factorial : ℂ)) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P28

end
Source
Simplified formalism of the algebra of partially transposed permutation operators with applications, arXiv:1708.02434v2, PDF p. 24, Corollary 51(b), independently valid natural trace
Read-back

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

For every pair of natural numbers k,dk,dk,d with d≥2d\ge2d≥2, and every a∈{0,…,k}a\in\{0,\ldots,k\}a∈{0,…,k}, the two assertions below hold. Write Sm=Shape(m)\mathcal S_m=\mathrm{Shape}(m)Sm​=Shape(m), whose defining expression is not supplied, and let GmG_mGm​ be the permutations of mmm letters. For each shape λ\lambdaλ with mmm cells, use the fixed cell numbering from the definitions, let Rλ,Cλ\mathcal R_\lambda,\mathcal C_\lambdaRλ​,Cλ​ be the permutations preserving respectively rows and columns, and define

(Yλ)g,h=∑u∈Rλ∑v∈Cλsgn⁡(v)1{g=huv},Vλ=range⁡(Yλ),rλ=dim⁡CVλ.(Y_\lambda)_{g,h} =\sum_{u\in\mathcal R_\lambda}\sum_{v\in\mathcal C_\lambda} \operatorname{sgn}(v)\mathbf 1_{\{g=huv\}},\qquad V_\lambda=\operatorname{range}(Y_\lambda),\qquad r_\lambda=\dim_{\mathbb C}V_\lambda.(Yλ​)g,h​=u∈Rλ​∑​v∈Cλ​∑​sgn(v)1{g=huv}​,Vλ​=range(Yλ​),rλ​=dimC​Vλ​.

Let PλP_\lambdaPλ​ be orthogonal projection onto VλV_\lambdaVλ​, let (ℓσ)g,h=1{g=σh}(\ell_\sigma)_{g,h}=\mathbf 1_{\{g=\sigma h\}}(ℓσ​)g,h​=1{g=σh}​, and define χλ(σ)=tr⁡(ℓσPλ)\chi_\lambda(\sigma)=\operatorname{tr}(\ell_\sigma P_\lambda)χλ​(σ)=tr(ℓσ​Pλ​). On the complex space Hd,mH_{d,m}Hd,m​ indexed by words of length mmm over {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, let (Td,m(σ))y,x=1{y=x∘σ−1}(T_{d,m}(\sigma))_{y,x}=\mathbf 1_{\{y=x\circ\sigma^{-1}\}}(Td,m​(σ))y,x​=1{y=x∘σ−1}​. Define mα(d)m_\alpha(d)mα​(d) as the complex dimension of the space of complex linear maps f:Vα→Hd,kf:V_\alpha\to H_{d,k}f:Vα​→Hd,k​ such that

f(Pαℓσv)=Td,k(σ)f(v)for every σ∈Gk, v∈Vα.f(P_\alpha\ell_\sigma v)=T_{d,k}(\sigma)f(v) \quad\text{for every }\sigma\in G_k,\ v\in V_\alpha.f(Pα​ℓσ​v)=Td,k​(σ)f(v)for every σ∈Gk​, v∈Vα​.

Let

A={α∈Sk:colLen⁡α(0)≤d},Ud(α)={ν∈Sk+1:colLen⁡ν(0)≤d, cells⁡(α)⊆cells⁡(ν)},\mathcal A=\{\alpha\in\mathcal S_k:\operatorname{colLen}_\alpha(0)\le d\}, \qquad \mathcal U_d(\alpha)= \{\nu\in\mathcal S_{k+1}: \operatorname{colLen}_\nu(0)\le d,\ \operatorname{cells}(\alpha)\subseteq\operatorname{cells}(\nu)\},A={α∈Sk​:colLenα​(0)≤d},Ud​(α)={ν∈Sk+1​:colLenν​(0)≤d, cells(α)⊆cells(ν)},

and, with cell coordinates numbered from zero, put

cα,ν(d)=d+∑(i,j)∈cells⁡(ν)∖cells⁡(α)(j−i).c_{\alpha,\nu}(d) =d+\sum_{(i,j)\in\operatorname{cells}(\nu)\setminus\operatorname{cells}(\alpha)}(j-i).cα,ν​(d)=d+(i,j)∈cells(ν)∖cells(α)∑​(j−i).

For b∈{0,…,k}b\in\{0,\ldots,k\}b∈{0,…,k}, let SbS_bSb​ be the last-coordinate partial transpose of Td,k+2((b  k+1))T_{d,k+2}((b\,\,k+1))Td,k+2​((bk+1)), so

(Sb)x,y=1{x k+1←yk+1=y k+1←xk+1∘(b  k+1)−1}.(S_b)_{x,y} =\mathbf 1_{\{x^{\,k+1\leftarrow y_{k+1}} =y^{\,k+1\leftarrow x_{k+1}}\circ(b\,\,k+1)^{-1}\}}.(Sb​)x,y​=1{xk+1←yk+1​=yk+1←xk+1​∘(bk+1)−1}​.

Put A=∑b=0kSbA=\sum_{b=0}^{k}S_bA=∑b=0k​Sb​ and let LLL be the continuous functional calculus of AAA for the real function t↦(t)−1t\mapsto(\sqrt t)^{-1}t↦(t​)−1. The first assertion is the complex equality

tr⁡(LSaLSa)=[1(k+1)2∑α∈Amα(d)rα∑ν∈Ud(α)∑μ∈Ud(α)rνrμcα,ν(d)cα,μ(d)]C,\operatorname{tr}(L S_a L S_a) = \left[ \frac{1}{(k+1)^2} \sum_{\alpha\in\mathcal A} \frac{m_\alpha(d)}{r_\alpha} \sum_{\nu\in\mathcal U_d(\alpha)} \sum_{\mu\in\mathcal U_d(\alpha)} r_\nu r_\mu \sqrt{c_{\alpha,\nu}(d)c_{\alpha,\mu}(d)} \right]_{\mathbb C},tr(LSa​LSa​)=​(k+1)21​α∈A∑​rα​mα​(d)​ν∈Ud​(α)∑​μ∈Ud​(α)∑​rν​rμ​cα,ν​(d)cα,μ​(d)​​C​,

where the bracket denotes embedding the displayed real number into C\mathbb CC, and all dimensions inside it are interpreted as real numbers. The second assertion is that for every α∈A\alpha\in\mathcal Aα∈A,

\bigl(m_\alpha(d)\bigr)_{\mathbb C} = \frac{1}{k!}\sum_{\sigma\in G_k} \chi_\alpha(\sigma^{-1})\,d^{\,k-|\operatorname{supp}(\sigma)|+ |\operatorname{cycleType}(\sigma)|}}.

Here the subtraction in the exponent is natural-number subtraction, and ∣cycleType⁡(σ)∣|\operatorname{cycleType}(\sigma)|∣cycleType(σ)∣ is the number of entries in its cycle-type multiset. All divisions are the total divisions of the relevant field, so division by zero gives zero; the real square root of a negative number is zero. The case k=0k=0k=0 is included, and empty sums are zero.

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