Documentation

LeanPool.MacMahon.Partitions

The ten two-triangle inventories #

The ten unordered partitions, choosing the triple containing label 0.

Equations
Instances For

    One copy of each directed edge within either triple.

    Equations
    Instances For

      The ten candidates, defined structurally rather than by a matrix table.

      Equations
      Instances For
        theorem MacMahon.triple_card (b : Fin 10) :
        (triple b).card = 3
        theorem MacMahon.partition_complete (s : Finset Label) :
        s.card = 3 → ∃ (b : Fin 10), twoTriangles s = winner b
        theorem MacMahon.winners_iff_two_triangles (a : Inventory) :
        (∃ (b : Fin 10), a = winner b) ↔ ∃ (s : Finset Label), s.card = 3 ∧ a = twoTriangles s
        theorem MacMahon.winner_properties (b : Fin 10) :
        DiagonalZero (winner b) ∧ total (winner b) = 12 ∧ ∀ (p : Pair), winner b p ≤ 1