Young diagrams #
A Young diagram is a finite set of up-left justified boxes:
□□□□□
□□□
□□□
□
This Young diagram corresponds to the [5, 3, 3, 1] partition of 12.
We represent it as a lower set in ℕ × ℕ
in the product partial order. We write (i, j) ∈ μ
to say that (i, j)
(in matrix coordinates) is in the Young diagram μ
.
Main definitions #
young_diagram
: Young diagramsyoung_diagram.card
: the number of cells in a Young diagram (its cardinality)young_diagram.distrib_lattice
: a distributive lattice instance for Young diagrams ordered by containment, with(⊥ : young_diagram)
the empty diagram.
Notation #
In "English notation", a Young diagram is drawn so that (i1, j1) ≤ (i2, j2)
means (i1, j1) is weakly up-and-left of (i2, j2). This terminology is used
below, e.g. in young_diagram.up_left_mem
.
Tags #
Young diagram
References #
A Young diagram is a finite collection of cells on the ℕ × ℕ
grid such that whenever
a cell is present, so are all the ones above and to the left of it. Like matrices, an (i, j)
cell
is a cell in row i
and column j
, where rows are enumerated downward and columns rightward.
Young diagrams are modeled as finite sets in ℕ × ℕ
that are lower sets with respect to the
standard order on products.
Instances for young_diagram
Equations
- young_diagram.prod.set_like = {coe := ↑young_diagram.cells, coe_injective' := young_diagram.prod.set_like._proof_1}
In "English notation", a Young diagram is drawn so that (i1, j1) ≤ (i2, j2) means (i1, j1) is weakly up-and-left of (i2, j2).
Equations
- young_diagram.has_sup = {sup := λ (μ ν : young_diagram), {cells := μ.cells ∪ ν.cells, is_lower_set := _}}
Equations
- young_diagram.has_inf = {inf := λ (μ ν : young_diagram), {cells := μ.cells ∩ ν.cells, is_lower_set := _}}
The empty Young diagram is (⊥ : young_diagram).
Equations
- young_diagram.order_bot = {bot := {cells := ∅, is_lower_set := young_diagram.order_bot._proof_1}, bot_le := young_diagram.order_bot._proof_2}
Equations
Equations
- young_diagram.distrib_lattice = function.injective.distrib_lattice young_diagram.cells young_diagram.distrib_lattice._proof_1 young_diagram.distrib_lattice._proof_2 young_diagram.distrib_lattice._proof_3
Cardinality of a Young diagram