Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Remark 2.24

Open
QAlgorithms.Papers.Independent.Extend50.P34.schur_rsk_law

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

prove2quantum

Let ρ\rhoρ be a ddd-dimensional density matrix, d≥1d\ge1d≥1, and let DDD list its eigenvalues in any order. For every n≥0n\ge0n≥0 and every partition λ⊢n\lambda\vdash nλ⊢n of height at most ddd,

SWρn(λ)=Pr⁡w∼D⊗n[RSK⁡(w)=λ].\mathrm{SW}_\rho^n(\lambda)=\Pr_{w\sim D^{\otimes n}}[\operatorname{RSK}(w)=\lambda].SWρn​(λ)=w∼D⊗nPr​[RSK(w)=λ].

The left side is the Born mass of the full shape-isotypic projector. This supplies a classical random-word realization of the physical Schur law.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P34
Formal statement
noncomputable section

open scoped Matrix BigOperators

open MeasureTheory

namespace QAlgorithms.Papers.Independent.Extend50.P34

attribute [local instance] Classical.propDecidable

-- Reuse exact pinned definitions; these are imports, not local declarations.

open QAlgorithms.Papers.Independent.Support50.P38 (tv wordMass)

open QAlgorithms.Papers.Independent.Advance50.P28 (counts)

/-- Remark 2.24, arXiv:1501.05028v1, PDF p.21.  -/
theorem schur_rsk_law
    (d n : ℕ) (hd : 0 < d) (rho : Matrix (Fin d) (Fin d) ℂ)
    (hrho : IsDensityMatrix rho) (eta : Fin d → ℝ)
    (heta : Learning.IsDistribution eta)
    (hspec : ∃ pi : Equiv.Perm (Fin d), eta = decreasingSpectrum rho ∘ pi)
    (lambda : Schur.Partition d n) :
    sw rho lambda = ∑ w : Fin n → Fin d,
      if rsk w = lambda.val then wordMass eta w else 0 := by sorry

end QAlgorithms.Papers.Independent.Extend50.P34

end
Source
Quantum Spectrum Testing, arXiv:1501.05028v1, PDF p. 21, Remark 2.24
Read-back

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

Let d>0d>0d>0 and n≥0n\ge0n≥0 be natural numbers, let ρ\rhoρ be a positive semidefinite complex d×dd\times dd×d matrix of trace 111, and let η∈Rd\eta\in\mathbb R^dη∈Rd have nonnegative coordinates summing to 111, with η=λ↓(ρ)∘π\eta=\lambda^\downarrow(\rho)\circ\piη=λ↓(ρ)∘π for some coordinate permutation π\piπ. For every Young diagram λ\lambdaλ with nnn cells and at most ddd rows, the following identity holds:

Re⁡Tr⁡(Pλρ⊗n)=∑w∈{0,…,d−1}n1{Λ(w)=λ}∏i=0n−1ηwi.\operatorname{Re}\operatorname{Tr}(P_\lambda\rho^{\otimes n}) = \sum_{w\in\{0,\ldots,d-1\}^n} \mathbf1_{\{\Lambda(w)=\lambda\}}\prod_{i=0}^{n-1}\eta_{w_i}.ReTr(Pλ​ρ⊗n)=w∈{0,…,d−1}n∑​1{Λ(w)=λ}​i=0∏n−1​ηwi​​.

Here Λ(w)\Lambda(w)Λ(w) is obtained by inserting letters in order, replacing and displacing the first strictly larger entry in each row, appending when none is larger, and finally sorting the row lengths in decreasing order. The tensor power has entries ∏iρxi,yi\prod_i\rho_{x_i,y_i}∏i​ρxi​,yi​​. The matrix PλP_\lambdaPλ​ is defined as follows: choose the construction’s cell-numbering bijection ν:λ→{0,…,n−1}\nu:\lambda\to\{0,\ldots,n-1\}ν:λ→{0,…,n−1}, let Rλ,Cλ⊆SnR_\lambda,C_\lambda\subseteq S_nRλ​,Cλ​⊆Sn​ preserve the rows and columns under this numbering, let VλV_\lambdaVλ​ be the range in CSn\mathbb C^{S_n}CSn​ of Yλ(g,h)=∑a∈Rλ,b∈Cλ1{g=hab}sgn⁡(b)Y_\lambda(g,h)=\sum_{a\in R_\lambda,b\in C_\lambda}\mathbf1_{\{g=hab\}}\operatorname{sgn}(b)Yλ​(g,h)=∑a∈Rλ​,b∈Cλ​​1{g=hab}​sgn(b), and let Πλ\Pi_\lambdaΠλ​ be its orthogonal projection. Set Lσ(g,h)=1{g=σh}L_\sigma(g,h)=\mathbf1_{\{g=\sigma h\}}Lσ​(g,h)=1{g=σh}​, χλ(σ)=Tr⁡(LσΠλ)\chi_\lambda(\sigma)=\operatorname{Tr}(L_\sigma\Pi_\lambda)χλ​(σ)=Tr(Lσ​Πλ​), and Tσ(x,y)=1{x=y∘σ−1}T_\sigma(x,y)=\mathbf1_{\{x=y\circ\sigma^{-1}\}}Tσ​(x,y)=1{x=y∘σ−1}​ for words x,yx,yx,y of length nnn over ddd letters; then

Pλ=dim⁡CVλn!∑σ∈Snχλ(σ−1)Tσ.P_\lambda=\frac{\dim_{\mathbb C}V_\lambda}{n!} \sum_{\sigma\in S_n}\chi_\lambda(\sigma^{-1})T_\sigma.Pλ​=n!dimC​Vλ​​σ∈Sn​∑​χλ​(σ−1)Tσ​.

The case n=0n=0n=0 is included, with one empty word 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