Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 10: single-factor partial trace of a physical block

Open
QAlgorithms.Papers.Independent.Extend50.P33.lemma10

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

prove2quantum

Let d≥2d\ge2d≥2 be the local dimension, N≥2N\ge2N≥2 the number of ports, and n=N+1n=N+1n=N+1. All physical diagrams have height at most ddd. Write mλm_\lambdamλ​ for its multiplicity in the natural tensor permutation action, dλd_\lambdadλ​ for its Specht dimension, and PλP_\lambdaPλ​ for the full isotypic projector. The relation μ∈α\mu\in\alphaμ∈α means adding one box. For every allowed adjacent pair, the physical block satisfies

Tr⁡nFμ(α)=mαmμPμ.\operatorname{Tr}_nF_\mu(\alpha)=\frac{m_\alpha}{m_\mu}P_\mu.Trn​Fμ​(α)=mμ​mα​​Pμ​.

The direction of the ratio follows also by taking total traces: both sides have trace mαdμm_\alpha d_\mumα​dμ​. This supplies the input-register trace required by the joint dual.

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

noncomputable section

open scoped Matrix ComplexOrder Matrix.Norms.L2Operator

namespace QAlgorithms.Papers.Independent.Extend50.P33

attribute [local instance] Classical.propDecidable Classical.decEq

-- Exact accepted type constructors; local notation only reorders Word's arguments.

local notation "Word" => (fun d r : ℕ =>
  QAlgorithms.Papers.Independent.Information100.P58.Word r d)

local notation "Op" => (fun d r : ℕ =>
  QAlgorithms.Papers.Independent.Information100.P21.Op
    (QAlgorithms.Papers.Independent.Information100.P58.Word r d))

open QAlgorithms.Papers.Independent.Information100.P07 (support)

open QAlgorithms.Papers.Independent.Gap20.P01 (spechtMatrix)

/-- PDF pp.13,29 Lemma10: the ratio is m_alpha/m_mu, confirmed by Eq.(115). -/
theorem lemma10 (d k : ℕ) (hd : 2 ≤ d)
    (a : Schur.Partition d (k+1)) (b : Schur.Partition d (k+2)) (hab : Extends a b) :
    traceFinalQudits 1 (fBlock a b) = ((mult a:ℂ)/(mult b:ℂ)) •
      Schur.isotypicProjector b := by sorry

end QAlgorithms.Papers.Independent.Extend50.P33

end
Source
Port-based teleportation in arbitrary dimension, arXiv:1612.09260v3, PDF p. 13, Lemma 10: single-factor partial trace of a physical block
Read-back

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

For all natural numbers d,kd,kd,k with d≥2d\ge2d≥2, let N=k+2N=k+2N=k+2, let aaa be a Young diagram with N−1N-1N−1 cells and at most ddd rows, and let bbb be a Young diagram with NNN cells and at most ddd rows, assuming that every cell of aaa is also a cell of bbb. For any such diagram λ\lambdaλ with qqq cells, use the fixed cell numbering to define Rλ,Cλ⊆SqR_\lambda,C_\lambda\subseteq S_qRλ​,Cλ​⊆Sq​ as the permutations preserving each cell’s row and column, respectively. On CSq\mathbb C^{S_q}CSq​, define

(Yλ)g,h=∑u∈Rλ∑v∈Cλsgn⁡(v)1{g=huv},Sλ=ran⁡Yλ,sλ=dim⁡CSλ.(Y_\lambda)_{g,h} =\sum_{u\in R_\lambda}\sum_{v\in C_\lambda} \operatorname{sgn}(v)\mathbf1_{\{g=huv\}}, \quad S_\lambda=\operatorname{ran}Y_\lambda, \quad s_\lambda=\dim_{\mathbb C}S_\lambda.(Yλ​)g,h​=u∈Rλ​∑​v∈Cλ​∑​sgn(v)1{g=huv}​,Sλ​=ranYλ​,sλ​=dimC​Sλ​.

If LgL_gLg​ is left multiplication on the permutation basis and PSλP_{S_\lambda}PSλ​​ is orthogonal projection onto SλS_\lambdaSλ​, put χλ(g)=tr⁡(LgPSλ)\chi_\lambda(g)=\operatorname{tr}(L_gP_{S_\lambda})χλ​(g)=tr(Lg​PSλ​​). On Hq=C{0,…,d−1}qH_q=\mathbb C^{\{0,\ldots,d-1\}^{q}}Hq​=C{0,…,d−1}q, define Tg(y,x)=1{y=x∘g−1}T_g(y,x)=\mathbf1_{\{y=x\circ g^{-1}\}}Tg​(y,x)=1{y=x∘g−1}​ and

mλ=dim⁡Cran⁡(∑u∈Rλ∑v∈Cλsgn⁡(v)Tuv),Πλ=sλq!∑g∈Sqχλ(g−1)Tg.m_\lambda=\dim_{\mathbb C}\operatorname{ran} \left(\sum_{u\in R_\lambda}\sum_{v\in C_\lambda} \operatorname{sgn}(v)T_{uv}\right), \qquad \Pi_\lambda=\frac{s_\lambda}{q!}\sum_{g\in S_q}\chi_\lambda(g^{-1})T_g.mλ​=dimC​ran(u∈Rλ​∑​v∈Cλ​∑​sgn(v)Tuv​),Πλ​=q!sλ​​g∈Sq​∑​χλ​(g−1)Tg​.

Let BBB on HN+1H_{N+1}HN+1​ have entry 111 at (x,y)(x,y)(x,y) when xN−1=xNx_{N-1}=x_NxN−1​=xN​, yN−1=yNy_{N-1}=y_NyN−1​=yN​, and xi=yix_i=y_ixi​=yi​ for all i<N−1i<N-1i<N−1, and 000 otherwise. Let SjS_jSj​ swap tensor coordinates jjj and N−1N-1N−1, and define

ηa=∑j=0N−1Sj[(Πa⊗IH2)B]Sj,Fa,b=Pran⁡ηa(Πb⊗IH1),\eta_a=\sum_{j=0}^{N-1}S_j[(\Pi_a\otimes I_{H_2})B]S_j, \qquad F_{a,b}=P_{\operatorname{ran}\eta_a}(\Pi_b\otimes I_{H_1}),ηa​=j=0∑N−1​Sj​[(Πa​⊗IH2​​)B]Sj​,Fa,b​=Pranηa​​(Πb​⊗IH1​​),

where Pran⁡ηaP_{\operatorname{ran}\eta_a}Pranηa​​ is orthogonal projection onto the range of ηa\eta_aηa​. The asserted identity is

Tr⁡lastFa,b=mambΠb.\operatorname{Tr}_{\mathrm{last}}F_{a,b} =\frac{m_a}{m_b}\Pi_b.Trlast​Fa,b​=mb​ma​​Πb​.

Here the partial trace is explicitly

(Tr⁡lastF)x,y=∑z=0d−1Fx⌢z,y⌢z.(\operatorname{Tr}_{\mathrm{last}}F)_{x,y} =\sum_{z=0}^{d-1}F_{x\frown z,y\frown z}.(Trlast​F)x,y​=z=0∑d−1​Fx⌢z,y⌢z​.

There is no additional restriction on kkk, so the statement includes k=0k=0k=0.

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