Documentation

CslibFrontier.Computability.WangTile.Compactness

Compactness for Wang tilings #

Finite matching squares of every size suffice to tile the plane. With a prescribed southwest tile they suffice to tile the quadrant. Both results use Mathlib's Rado selection lemma: on any finite set of cells the selected global labelling agrees with one sufficiently large patch.

Main results #

theorem Cslib.WangTile.tilesPlane_iff_squares (τ : List WangTile) :
TilesPlane τ ↔ ∀ (n : ℕ), Nonempty (Rectangle τ (n + 1) (n + 1))

A finite palette tiles the plane iff it tiles squares of every positive side length.

A seeded palette tiles the quadrant iff it has seeded squares of every positive side.