The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V30. Combinatorics

Mathlib.Combinatorics.Enumerative.Partition.YoungDiagram

10 declarations. Mathlib docs · Source

theorem YoungDiagram.toPartition.congr_simp E1 #

∀ {n : ℕ} (μ μ_1 : YoungDiagram) (e_μ : μ = μ_1) (h : μ.card = n), μ.toPartition h = μ_1.toPartition ⋯

def YoungDiagram.toPartition E1 #

{n : ℕ} → (μ : YoungDiagram) → μ.card = n → n.Partition

Convert a Young diagram to a partition.

def YoungDiagram.ofPartition E1 #

{n : ℕ} → n.Partition → YoungDiagram

Convert a partition to a Young diagram.

theorem YoungDiagram.rowLens_ofPartition_eq_sort_parts E0 #

∀ {n : ℕ} (p : n.Partition), (YoungDiagram.ofPartition p).rowLens = p.parts.sort fun x1 x2 ↦ x1 ≥ x2

theorem YoungDiagram.card_ofPartition E0 #

∀ {n : ℕ} (p : n.Partition), (YoungDiagram.ofPartition p).card = n

theorem YoungDiagram.ofPartition_toPartition E0 #

∀ {n : ℕ} {μ : YoungDiagram} (h : μ.card = n), YoungDiagram.ofPartition (μ.toPartition h) = μ

theorem YoungDiagram.toPartition_ofPartition E0 #

∀ {n : ℕ} {p : n.Partition}, (YoungDiagram.ofPartition p).toPartition ⋯ = p

def YoungDiagram.equivPartition E1 #

{n : ℕ} → { μ // μ.card = n } ≃ n.Partition

Equivalence between Young diagrams of cardinality n and partitions of n.

def Nat.Partition.conjugate E1 #

{n : ℕ} → n.Partition → n.Partition

Conjugate a partition (equivalent to transposing its Young diagram).

theorem Nat.Partition.conjugate_conjugate E0 #

∀ {n : ℕ} (p : n.Partition), p.conjugate.conjugate = p

Conjugation is an involution.