Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 23: multiplicity-square cycle-count formula

Open
QAlgorithms.Papers.Independent.Extend50.P33.proposition23

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

prove2quantum

Let d≥2d\ge2d≥2 and r≥0r\ge0r≥0. Let mνm_\numν​ be the actual multiplicities of the height-at-most-ddd diagrams of size rrr in the natural tensor permutation action. For σ∈Sr\sigma\in S_rσ∈Sr​, let ℓ(σ)\ell(\sigma)ℓ(σ) count all cycles, including fixed points. Then

∑ν⊢r, h(ν)≤dmν2=1r!∑σ∈Srd2ℓ(σ).\sum_{\nu\vdash r,\,h(\nu)\le d}m_\nu^2=\frac1{r!}\sum_{\sigma\in S_r}d^{2\ell(\sigma)}.ν⊢r,h(ν)≤d∑​mν2​=r!1​σ∈Sr​∑​d2ℓ(σ).

At degree zero both sides equal one. This identity evaluates the multiplicity normalization used in the optimal resource.

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 p.24 Proposition23 Eq.(84): fixed points count as cycles, including r=0. -/
theorem proposition23 (d r : ℕ) (hd : 2 ≤ d) :
    squareSum d r = (1/(r.factorial:ℝ)) *
      ∑ pi : Equiv.Perm (Fin r), (d:ℝ)^(2 * cycles pi) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P33

end
Source
Port-based teleportation in arbitrary dimension, arXiv:1612.09260v3, PDF p. 24, Proposition 23: multiplicity-square cycle-count formula
Read-back

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

For all natural numbers d,rd,rd,r with d≥2d\ge2d≥2, let Pd,r\mathcal P_{d,r}Pd,r​ be the Young diagrams with rrr cells and first-column length at most ddd. For each λ∈Pd,r\lambda\in\mathcal P_{d,r}λ∈Pd,r​, use its fixed cell numbering by {0,…,r−1}\{0,\ldots,r-1\}{0,…,r−1} to form the row-preserving and column-preserving permutation sets Rλ,CλR_\lambda,C_\lambdaRλ​,Cλ​. On ddd-letter words of length rrr, 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 Jλ=∑u∈Rλ∑v∈Cλsgn⁡(v)TuvJ_\lambda=\sum_{u\in R_\lambda}\sum_{v\in C_\lambda}\operatorname{sgn}(v)T_{uv}Jλ​=∑u∈Rλ​​∑v∈Cλ​​sgn(v)Tuv​, and put mλ=dim⁡Cran⁡Jλm_\lambda=\dim_{\mathbb C}\operatorname{ran}J_\lambdamλ​=dimC​ranJλ​ and Sd,r=∑λ∈Pd,rmλ2S_{d,r}=\sum_{\lambda\in\mathcal P_{d,r}}m_\lambda^2Sd,r​=∑λ∈Pd,r​​mλ2​. For π∈Sr\pi\in S_rπ∈Sr​, let c(π)c(\pi)c(π) be the number of its nontrivial cycles plus r−∣supp⁡π∣r-|\operatorname{supp}\pi|r−∣suppπ∣, thus counting fixed points as cycles. Then

Sd,r=1r!∑π∈Srd 2c(π).S_{d,r}=\frac1{r!}\sum_{\pi\in S_r}d^{\,2c(\pi)}.Sd,r​=r!1​π∈Sr​∑​d2c(π).

This includes r=0r=0r=0, where the permutation sum has one term and gives Sd,0=1S_{d,0}=1Sd,0​=1.

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