Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Sum of squared updown-tableau counts

Open
QAlgorithms.Papers.Independent.Intake100.P65.updownSquareSum

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

prove2quantum

Let n,r≥1n,r\ge1n,r≥1. For each 0≤m≤⌊n/2⌋0\le m\le\lfloor n/2\rfloor0≤m≤⌊n/2⌋ and each rrr-multipartition λ\lambdaλ of n−2mn-2mn−2m, let f(n,λ)=∣Tnud(λ)∣f^{(n,\lambda)}=|T_n^{\mathrm{ud}}(\lambda)|f(n,λ)=∣Tnud​(λ)∣. Then

∑m=0⌊n/2⌋ ∑λ⊢n−2m(f(n,λ))2=rn(2n−1)!!.\sum_{m=0}^{\lfloor n/2\rfloor}\ \sum_{\lambda\vdash n-2m}\bigl(f^{(n,\lambda)}\bigr)^2=r^n(2n-1)!!.m=0∑⌊n/2⌋​ λ⊢n−2m∑​(f(n,λ))2=rn(2n−1)!!.

The formal statement counts the finite disjoint union of pairs of paths with the same terminal shape, binding both mmm and λ\lambdaλ. This is exactly the displayed sum of squares.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P65
Formal statement
noncomputable section

open scoped BigOperators TensorProduct

open QAlgorithms.Papers.Independent.Renew46.P16

open QAlgorithms.Papers.Independent.Support21.P08 (IrreducibleRepresentation)

open QAlgorithms.Papers.Independent.Support21.P12

open QAlgorithms.Papers.Independent.Support21.P14 (BrauerPairing oddPairingCount)

namespace QAlgorithms.Papers.Independent.Intake100.P65

universe u v

/-- Corollary 5.2, PDF p.36: the sum of squared updown-path counts is the
cardinality of the indicated disjoint union, with no free shape or m. -/
theorem updownSquareSum (r n : ℕ) (hr : 1 ≤ r) (hn : 1 ≤ n) :
    Finite (TerminalPathPairs r n) ∧
      Nat.card (TerminalPathPairs r n) = r^n * oddPairingCount n := by sorry

end QAlgorithms.Papers.Independent.Intake100.P65

end
Source
Cyclotomic Nazarov-Wenzl algebras, arXiv:math/0506467v5, PDF p. 36, Corollary 5.2
Read-back

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

For any natural numbers r,nr,nr,n with r≥1r\ge1r≥1 and n≥1n\ge1n≥1, consider all tuples (m,λ,s,t)(m,\lambda,s,t)(m,λ,s,t) where 0≤m≤⌊n/2⌋0\le m\le\lfloor n/2\rfloor0≤m≤⌊n/2⌋, λ\lambdaλ is a finite lower-closed subset of {0,…,r−1}×N2\{0,\ldots,r-1\}\times\mathbb N^2{0,…,r−1}×N2 of cardinality n−2mn-2mn−2m, and s,ts,ts,t are an ordered pair of length-nnn paths from the empty shape to λ\lambdaλ, each step adding or removing one node while preserving lower closure. This set of tuples is finite, and its cardinality is

rn∏j=0n−1(2j+1).r^n\prod_{j=0}^{n-1}(2j+1).rnj=0∏n−1​(2j+1).

Pairs with s=ts=ts=t are included, and lower closure means closure under independently decreasing the two nonnegative node coordinates.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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