Sum of Squares of Standard Young Tableaux Equals Factorial (Corollary 8.4) #
This file states Corollary 8.4 from Stanley's Algebraic Combinatorics:
$$\alpha(D^n U^n, \emptyset) = \sum_{\lambda \vdash n} (f^\lambda)^2 = n!$$
where the sum is over all partitions λ of n, and f^λ denotes the number
of standard Young tableaux of shape λ, and α(w, λ) counts Hasse walks
of type w from ∅ to λ.
Main results #
youngDiagramsOfSize: theFinsetof all Young diagrams withncells.walkTypeCount_dnUn_eq_sum_numSYT_sq: the first equality α(D^n U^n, ∅) = ∑(f^λ)².sum_numSYT_sq_eq_factorial: the second equality ∑(f^λ)² = n!.
References #
- Stanley, Algebraic Combinatorics, Corollary 8.4
The finite set of partitions of n #
The cells of a Young diagram are contained in Finset.range card ×ˢ Finset.range card.
The Finset of all Young diagrams of size n (i.e., partitions of n).
Instances For
Corollary 8.4 #
The word D^n U^n as a List HStep.
In the code's convention, steps[0] is the first step applied (corresponding
to the rightmost operator in the book's notation D^n U^n = A_{2n} ⋯ A_1).
For D^n U^n, the walk first goes UP n steps (A₁ through Aₙ are all U),
then DOWN n steps (A_{n+1} through A_{2n} are all D).
Instances For
Any HasseWalk starting with D from ⊥ is impossible.
applyStepWord distributes over list append: processing w₁ ++ w₂ is the
same as processing w₁ first, then w₂.
Corollary 8.4, first equality (Stanley, Algebraic Combinatorics). α(D^n U^n, ∅) = ∑_{λ⊢n} (f^λ)².
The book derives this from Theorem 8.3: for the word w = D^n U^n the down-step product ∏_{i ∈ S_w}(b_i - a_i) equals n!, and Theorem 8.3 gives α(w, λ) = f^λ · ∏(b_i - a_i). Summing over all λ ⊢ n and using the fact that α(D^n U^n, ∅) counts all walks that return to ∅, one obtains the identity.
dnUn n is a valid 0-word: it has net displacement 0 and all prefixes
have non-negative running level.
Corollary 8.4, second equality (Stanley, Algebraic Combinatorics). ∑_{λ⊢n} (f^λ)² = n!.
The book derives this from Theorem 8.3 applied to the word w = D^n U^n:
the down-step positions are S_w = {n, …, 2n−1} with a_i = 2n − 1 − i and
b_i = n, so the product ∏{i=1}^{n} (b_i − a_i) = ∏{i=1}^{n} i = n!.
Combining with the first equality α(D^n U^n, ∅) = ∑(f^λ)² from
walkTypeCount_dnUn_eq_sum_numSYT_sq and the walk count
walkTypeCount_dnUn_bot_eq_factorial, the result follows by transitivity.