Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Spectrum and physical block multiplicities of the unnormalized port ensemble sum

Open
QAlgorithms.Papers.Independent.Extend50.P19.port_average_spectrum

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

prove2quantum

Let d,N≥1d,N\ge1d,N≥1 be integers, and let ρi=ΦAiB+⊗IAic/dN−1\rho_i=\Phi^+_{A_iB}\otimes I_{A_i^c}/d^{N-1}ρi​=ΦAi​B+​⊗IAic​​/dN−1, where Φ+\Phi^+Φ+ is the normalized maximally entangled state in the fixed computational basis. Set ρˉ=∑i=1Nρi\bar\rho=\sum_{i=1}^N\rho_iρˉ​=∑i=1N​ρi​, without dividing by NNN. For a valid partition ν\nuν, write md,ν=dim⁡Vνdm_{d,\nu}=\dim V_\nu^dmd,ν​=dimVνd​ and dν=dim⁡Wνd_\nu=\dim W_\nudν​=dimWν​ for the actual Weyl and Specht dimensions. Let PμP_\muPμ​ be the full SNS_NSN​ isotypic projection on ANA^NAN, and let QαQ_\alphaQα​ be the physical UdU_dUd​ isotypic projection of type VαdV_\alpha^dVαd​ for the action U⊗N⊗U‾U^{\otimes N}\otimes\overline UU⊗N⊗U on ANBA^NBANB. Then

ρˉ=∑α⊢dN−1 ∑μ=α+□rμ,α(Pμ⊗IB)Qα,rμ,α=NdNmd,μdαmd,αdμ.\bar\rho=\sum_{\alpha\vdash_d N-1}\ \sum_{\mu=\alpha+\square}r_{\mu,\alpha}(P_\mu\otimes I_B)Q_\alpha,\qquad r_{\mu,\alpha}=\frac{N}{d^N}\frac{m_{d,\mu}d_\alpha}{m_{d,\alpha}d_\mu}.ρˉ​=α⊢d​N−1∑​ μ=α+□∑​rμ,α​(Pμ​⊗IB​)Qα​,rμ,α​=dNN​md,α​dμ​md,μ​dα​​.

For each displayed pair, the joint block (Pμ⊗IB)Qα(P_\mu\otimes I_B)Q_\alpha(Pμ​⊗IB​)Qα​ has rank md,αdμm_{d,\alpha}d_\mumd,α​dμ​. The equality holds on the full physical space, so the omitted sectors have zero action. It gives both eigenvalues and their representation-theoretic multiplicities, with no requirement d≥Nd\ge Nd≥N.

Formalization Note The mixed isotypic subspace is constructed as the span of images of all intertwining maps from the accepted polynomial Schur module; it is independent of ρˉ\bar\rhoρˉ​ and its spectrum.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P19
Formal statement
set_option backward.isDefEq.respectTransparency.types false

noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

open QAlgorithms

namespace QAlgorithms.Papers.Independent.Extend50.P19

attribute [local instance] Classical.propDecidable

/-- Lemma 3, PDF p.7, (4.9)-(4.10), attributed there to Studzinski et al.
and Christandl et al. Full-space equality makes all other mixed sectors zero;
the second clause retains the stated nonzero-block multiplicities. -/
theorem port_average_spectrum (d N : ℕ) (hd : 0 < d) (hN : 0 < N) :
    portAverage d N =
      (∑ alpha : Schur.Partition d (N-1), ∑ mu : Schur.Partition d N,
        if AddsBox alpha mu then (portEigenvalue alpha mu : ℂ) • mixedBlock alpha mu
        else 0) ∧
    ∀ (alpha : Schur.Partition d (N-1)) (mu : Schur.Partition d N), AddsBox alpha mu →
      Module.finrank ℂ (LinearMap.range (Matrix.toEuclideanLin (mixedBlock alpha mu))) =
        weylDim alpha * spechtDim mu := by sorry

end QAlgorithms.Papers.Independent.Extend50.P19

end
Source
Optimality of the pretty good measurement for port-based teleportation, arXiv:2008.11194v2, PDF p. 7, Lemma 3, (4.9)-(4.10)
Read-back

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

For all natural numbers d,Nd,Nd,N with d>0d>0d>0 and N>0N>0N>0, write [m]={0,…,m−1}[m]=\{0,\ldots,m-1\}[m]={0,…,m−1}, Bm=[m]→[d]B_m=[m]\to[d]Bm​=[m]→[d], and D=BN×[d]D=B_N\times[d]D=BN​×[d]. Define matrices on DDD by

(ρi)(a,b),(a′,b′)={d−N,a(i)=b, a′(i)=b′, and a(j)=a′(j) for every j≠i,0,otherwise,R=∑i∈[N]ρi.(\rho_i)_{(a,b),(a',b')} = \begin{cases} d^{-N},&a(i)=b,\ a'(i)=b',\ \text{and }a(j)=a'(j)\text{ for every }j\ne i,\\ 0,&\text{otherwise}, \end{cases} \qquad R=\sum_{i\in[N]}\rho_i.(ρi​)(a,b),(a′,b′)​={d−N,0,​a(i)=b, a′(i)=b′, and a(j)=a′(j) for every j=i,otherwise,​R=i∈[N]∑​ρi​.

For a Young diagram λ\lambdaλ with mmm cells and at most ddd rows, use its fixed numbering by [m][m][m], and let Rλ,Cλ⊆SmR_\lambda,C_\lambda\subseteq S_mRλ​,Cλ​⊆Sm​ preserve rows and columns. Define

Vλ=span⁡C{∑u∈Rλ,v∈Cλsgn⁡(v)ehuv:h∈Sm},Wλ=span⁡C{∑u∈Rλ,v∈Cλsgn⁡(v)ex∘(uv)−1:x∈Bm},V_\lambda=\operatorname{span}_{\mathbb C} \left\{\sum_{u\in R_\lambda,v\in C_\lambda}\operatorname{sgn}(v)e_{huv}:h\in S_m\right\}, \quad W_\lambda=\operatorname{span}_{\mathbb C} \left\{\sum_{u\in R_\lambda,v\in C_\lambda}\operatorname{sgn}(v)e_{x\circ(uv)^{-1}}:x\in B_m\right\},Vλ​=spanC​⎩⎨⎧​u∈Rλ​,v∈Cλ​∑​sgn(v)ehuv​:h∈Sm​⎭⎬⎫​,Wλ​=spanC​⎩⎨⎧​u∈Rλ​,v∈Cλ​∑​sgn(v)ex∘(uv)−1​:x∈Bm​⎭⎬⎫​,

with sλ=dim⁡CVλs_\lambda=\dim_{\mathbb C}V_\lambdasλ​=dimC​Vλ​ and wλ=dim⁡CWλw_\lambda=\dim_{\mathbb C}W_\lambdawλ​=dimC​Wλ​. If Πλ\Pi_\lambdaΠλ​ is orthogonal projection onto VλV_\lambdaVλ​, Lπeh=eπhL_\pi e_h=e_{\pi h}Lπ​eh​=eπh​, and Tπex=ex∘π−1T_\pi e_x=e_{x\circ\pi^{-1}}Tπ​ex​=ex∘π−1​, put

Jλ=sλm!∑π∈Smtr⁡(Lπ−1Πλ)Tπ.J_\lambda=\frac{s_\lambda}{m!}\sum_{\pi\in S_m} \operatorname{tr}(L_{\pi^{-1}}\Pi_\lambda)T_\pi.Jλ​=m!sλ​​π∈Sm​∑​tr(Lπ−1​Πλ​)Tπ​.

For a diagram α\alphaα with N−1N-1N−1 cells and at most ddd rows, let Hα⊆CDH_\alpha\subseteq\mathbb C^DHα​⊆CD be the span of all vectors AvAvAv, where v∈Wαv\in W_\alphav∈Wα​ and A:Wα→CDA:W_\alpha\to\mathbb C^DA:Wα​→CD is a complex-linear map satisfying, for every unitary d×dd\times dd×d matrix UUU and every v∈Wαv\in W_\alphav∈Wα​,

A ⁣(PWαU⊗(N−1)v)=M(U)Av,M(U)(a,b),(a′,b′)=(∏j∈[N]Ua(j),a′(j))Ub,b′‾.A\!\left(P_{W_\alpha}U^{\otimes(N-1)}v\right)=M(U)Av, \qquad M(U)_{(a,b),(a',b')} = \left(\prod_{j\in[N]}U_{a(j),a'(j)}\right)\overline{U_{b,b'}}.A(PWα​​U⊗(N−1)v)=M(U)Av,M(U)(a,b),(a′,b′)​=​j∈[N]∏​Ua(j),a′(j)​​Ub,b′​​.

Here PWαP_{W_\alpha}PWα​​ is orthogonal projection onto WαW_\alphaWα​, and the tensor matrix has entries given by the corresponding product of entries of UUU. Let PHαP_{H_\alpha}PHα​​ be orthogonal projection onto HαH_\alphaHα​, and define

Bα,μ=(Jμ⊗Id)PHα,λα,μ=NdNwμsαwαsμ.B_{\alpha,\mu}=(J_\mu\otimes I_d)P_{H_\alpha}, \qquad \lambda_{\alpha,\mu} = \frac{N}{d^N}\frac{w_\mu s_\alpha}{w_\alpha s_\mu}.Bα,μ​=(Jμ​⊗Id​)PHα​​,λα,μ​=dNN​wα​sμ​wμ​sα​​.

Then both

R=∑α:∣α∣=N−1, μ:∣μ∣=Nα,μ have at most d rowscells⁡(α)⊆cells⁡(μ)∣μ∣=∣α∣+1λα,μBα,μR= \sum_{\substack{\alpha:\,|\alpha|=N-1,\ \mu:\,|\mu|=N\\ \alpha,\mu\text{ have at most }d\text{ rows}\\ \operatorname{cells}(\alpha)\subseteq\operatorname{cells}(\mu)\\ |\mu|=|\alpha|+1}} \lambda_{\alpha,\mu}B_{\alpha,\mu}R=α:∣α∣=N−1, μ:∣μ∣=Nα,μ have at most d rowscells(α)⊆cells(μ)∣μ∣=∣α∣+1​∑​λα,μ​Bα,μ​

and, for every such pair α,μ\alpha,\muα,μ satisfying the displayed cell inclusion and cardinality condition,

dim⁡Crange⁡(Bα,μ)=wαsμ\dim_{\mathbb C}\operatorname{range}(B_{\alpha,\mu})=w_\alpha s_\mudimC​range(Bα,μ​)=wα​sμ​

hold. The first equality is a matrix equality, and the second concerns the range of the linear map represented by that matrix. Dimension ratios use total real division, with division by zero equal to zero; N=1N=1N=1, and hence the empty diagram for α\alphaα, is included.

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