Documentation

CslibFrontier.Computability.WangTile.Robinson.FreeGrid.Basic

Arbitrarily large marked free grids in Robinson planes #

For every size, each decoded scaffold plane contains a uniformly light board with that many consecutive free rows and columns. Their southwest crossing is the northeast quarter of corrected tile zero. The hierarchy provides a zero-root substituted patch; canonical shade comparison supplies sparse free lines, and sorting all free lines above the marker fills gaps.

Main definitions #

Main results #

References #

The construction uses the corrected Robinson scaffold of [JV20]. After lean-wang, revision 64268a3: CanonicalEvenFreeLines, CanonicalOddFreeLines, CanonicalShadeComparison, CanonicalOddShadeComparison, ShadedMarkedFreeGrid, SparseFreeLineDecodedMarkedGrid and ShadedConsecutiveFreeGrid. Closed coordinate formulas replace branch lists, and one shade comparison handles both parity phases.

structure Cslib.WangTile.Robinson.MarkedFreeGrid (indexGrid : ℕ → ℕ → Index) (shadeGrid : ℕ → ℕ → ShadeState) (west east south north n : ℕ) :

Consecutive free rows and columns inside one board, with a marked southwest crossing. The parameter n denotes one less than the number of selected rows and columns.

  • column : Fin (n + 1) → ℕ

    Increasing quarter coordinates of columns.

  • row : Fin (n + 1) → ℕ

    Increasing quarter coordinates of rows.

  • column_strictMono : StrictMono self.column

    Columns are distinct and increasing.

  • row_strictMono : StrictMono self.row

    Rows are distinct and increasing.

  • column_west (i : Fin (n + 1)) : quarterWest west < self.column i

    Columns lie to the right of the west boundary.

  • column_east (i : Fin (n + 1)) : self.column i < quarterEast east

    Columns lie to the left of the east boundary.

  • row_south (i : Fin (n + 1)) : quarterSouth south < self.row i

    Rows lie above the south boundary.

  • row_north (i : Fin (n + 1)) : self.row i < quarterNorth north

    Rows lie below the north boundary.

  • freeColumn (i : Fin (n + 1)) : IsFreeColumn indexGrid shadeGrid south north (self.column i)

    Selected columns have no horizontal light obstruction.

  • freeRow (i : Fin (n + 1)) : IsFreeRow indexGrid shadeGrid west east (self.row i)

    Selected rows have no vertical light obstruction.

  • noFreeColumnBetween (i : Fin n) (k : ℕ) : self.column i.castSucc < k → k < self.column i.succ → ¬IsFreeColumn indexGrid shadeGrid south north k

    No unselected free column lies between consecutive selected columns.

  • noFreeRowBetween (i : Fin n) (k : ℕ) : self.row i.castSucc < k → k < self.row i.succ → ¬IsFreeRow indexGrid shadeGrid west east k

    No unselected free row lies between consecutive selected rows.

  • marker : { index := indexGrid (self.column 0 / 2) (self.row 0 / 2), quadrant := quadrantAt (self.column 0) (self.row 0) } = { index := 0, quadrant := Quadrant.northeast }

    The southwest crossing is the northeast quarter of tile zero.

theorem Cslib.WangTile.Robinson.exists_markedFreeGrid {P : Plane scaffold.tiles} (D : DecodedPlane P) (R : D.quarterPlane.Regrouped) (n : ℕ) :
∃ (a : ℤ) (b : ℤ) (scale : ℕ), CycleOn (fun (i j : ℕ) => R.parent.index (a + ↑i) (b + ↑j)) scale (3 * scale) scale (3 * scale) ∧ CycleShade (fun (x y : ℕ) => (D.siteGrid R a b x y).shade) scale (3 * scale) scale (3 * scale) Shade.light ∧ Nonempty (MarkedFreeGrid (fun (i j : ℕ) => R.parent.index (a + ↑i) (b + ↑j)) (fun (x y : ℕ) => (D.siteGrid R a b x y).shade) scale (3 * scale) scale (3 * scale) n)

For each n, every scaffold plane contains a light board with n + 1 consecutive marked free rows and columns.