Young diagram helpers #
Shared Young-diagram vocabulary: the square diagram and the hook
membership predicate. The hook IsInHook a b μ is the confinement
region of the alive shapes in the hook-confinement argument, and the
square diagram is the shape whose dimension growth drives that
confinement.
The s × s square Young diagram.
Equations
Instances For
Membership in the (a, b) hook: every row after the first a
has length at most b (rows are indexed from 0, so this reads
rowLen a ≤ b by antitonicity of row lengths).
Equations
- RS.IsInHook a b μ = (μ.rowLen a ≤ b)
Instances For
Square diagram: row lengths and membership #
The row-length list of the s × s square diagram is s copies
of s.
The length of row a in the s × s square diagram is s when
a < s.
The cardinality (number of cells) of the s × s square diagram
is s².
Square diagram containment #
If the (s − 1)-th row of μ has length at least s, the
s × s square fits inside μ.
Hook predicate #
The negation of the hook predicate is equivalent to the cell
(a, b) belonging to the diagram.
List-to-diagram bridge #
The row length of the diagram built from w at index i equals
w.getD i 0: the i-th entry when i is in range, and 0
otherwise.
Containment of diagrams is containment of cell sets, so the cell count is monotone.
The number of cells of a Young diagram is the sum of its row lengths.