Documentation

LeanPool.MacMahon.Geometry

Equivalence of physical faces and corner matching #

theorem MacMahon.face_corner_equivalence (i j : Label) :
i ≠ j → ∀ (p : Pair) (k : Slot), HasCorner p (cornerAt i j k) ↔ ∃ (r : Fin 24), FaceFits (i, j) p k r
theorem MacMahon.builds_iff_physical (a : Inventory) (i j : Label) (h : i ≠ j) :

Corner matching is exactly matching the exposed faces by proper rotations.