Documentation

Atlas.AlgebraicCombinatorics.code.PartitionEquiv

Partition ↔ YoungDiagram equivalence #

This file provides the equivalence Nat.Partition n ≃ {μ : YoungDiagram | μ.card = n}, which is the missing bridge between Mathlib's Nat.Partition type and the YoungDiagram type used in the coefficient-level commutation relation.

Main results #

Auxiliary lemmas #

theorem YoungEigenvalues.sort_coe_sortedGE_eq_reverse (l : List ) (hl : l.SortedGE) :
((↑l).sort fun (x1 x2 : ) => x1 x2) = l.reverse

Sorting a SortedGE list by ≤ gives its reverse.

card of ofRowLens #

Partition ≃ YoungDiagram equivalence #

Convert a Nat.Partition n to a YoungDiagram by sorting its parts in decreasing order and using them as row lengths.

Instances For
    def YoungEigenvalues.ydToPart {n : } (μ : YoungDiagram) ( : μ.card = n) :

    Convert a YoungDiagram with n cells to a Nat.Partition n.

    Instances For

      ydToPart is a left inverse of partToYD.

      theorem YoungEigenvalues.partToYD_ydToPart {n : } (μ : YoungDiagram) ( : μ.card = n) :
      partToYD (ydToPart μ ) = μ

      partToYD composed with ydToPart is the identity.

      The equivalence Nat.Partition n ≃ {μ : YoungDiagram // μ.card = n}.

      Instances For