Documentation

CslibFrontier.Computability.WangTile.Robinson.Tiles

Corrected Robinson tiles and their substitution #

This module uses lean-wang's corrected transcription of the 104-tile Ollinger–Robinson alphabet and its substitution. Its thin, thick and black layers contribute edge-colour digits in bases 4, 4 and 2. The substitution replaces each tile by a matching square of four tiles, preserves matching across adjacent squares, and reflects matching of their boundaries. Thin-layer matching determines the parity phases of a tiling.

Main definitions #

Main results #

References #

The tile set originates in [Oll08], as presented in [JV20], §3.2 (authors' manuscript pp. 22–26), Figures 13 and 16; the matching and recognition arguments follow the corresponding steps of Proposition 8 on p. 24.

Prior formalization: lean-wang, revision 64268a3, the Robinson.Closed104.Data, Figure16, Tiles and RedBoards modules. Here “corrected” identifies the transcription specified in its plan, lines 94–98: the 104 triples of figures/fig13-human.tsv and the second thick-layer summand at L2b with southeast entry R1 rather than R3 in the transcription of Figure 16(c). Its numeric edge coding retains both boundary lanes and two colours in each thin/thick layer, and one black-layer bit. Agreement with the printed figures is not checked in Lean; the results concern the explicit palette and substitution below.

The four thin-layer phases in the corrected Figure 13 alphabet.

The twenty thick-layer components in the corrected Figure 13 alphabet.

The five black-layer components in the corrected Figure 13 alphabet.

A corrected Robinson tile's three superimposed component layers.

  • thin : Thin

    The thin-layer phase.

  • thick : Thick

    The thick-layer component.

  • black : Black

    The black-layer component.

@[reducible, inline]

Index in the corrected 104-tile alphabet, in Figure 13 order.

Build a balanced table literal for kernel reduction in finite Robinson certificates. Indices in the range of the literal select the corresponding source entry.

The component triple of a tile in the corrected Figure 13 alphabet.

Superimpose thin, thick and black edge digits with weights 1, 4 and 16.

Distinct alphabet indices represent distinct Wang tiles.

The 104 corrected tiles, with the component alphabet's order retained.

Palette membership is witnessed by an index in the corrected alphabet.

Every indexed corrected tile belongs to the concrete palette.

The corrected Figure 16 substitution; x = 0 is west and y = 0 is south. The 416 entries flatten lean-wang's layer rules phiL1Star, phiL2Component1, phiL2Component2 and phiL3 at the revision cited in the module documentation.

Simultaneous substitution of an index grid at the quotient and parity coordinates.

@[simp]
theorem Cslib.WangTile.Robinson.refineIndexGrid_child (grid : ℕ → ℕ → Index) (x y : ℕ) (dx dy : Fin 2) :
refineIndexGrid grid (2 * x + ↑dx) (2 * y + ↑dy) = childBlock (grid x y) dx dy

Substitution at an arbitrary child position.

Iterate simultaneous substitution.

Refining in two successive stages adds their depths.

theorem Cslib.WangTile.Robinson.iterateRefine_eq_of_root_eq {g h : ℕ → ℕ → Index} (eq : g 0 0 = h 0 0) (depth x y : ℕ) :
x < 2 ^ depth → y < 2 ^ depth → iterateRefine depth g x y = iterateRefine depth h x y

The substituted block below the origin depends only on the root tile.

The thin-layer phase immediately east of a given phase.

The thin-layer phase immediately north of a given phase.

theorem Cslib.WangTile.Robinson.child_horizontal (parent : Index) (y : Fin 2) :
(tile (components (childBlock parent 0 y))).right = (tile (components (childBlock parent 1 y))).left

Children in each row of a substituted tile match horizontally.

theorem Cslib.WangTile.Robinson.child_vertical (parent : Index) (x : Fin 2) :
(tile (components (childBlock parent x 0))).top = (tile (components (childBlock parent x 1))).bottom

Children in each column of a substituted tile match vertically.

theorem Cslib.WangTile.Robinson.horizontal_iff_children (left right : Index) :
(tile (components left)).right = (tile (components right)).left ↔ ∀ (y : Fin 2), (tile (components (childBlock left 1 y))).right = (tile (components (childBlock right 0 y))).left

Parent tiles match horizontally exactly when both substitution boundary edges match.

theorem Cslib.WangTile.Robinson.vertical_iff_children (lower upper : Index) :
(tile (components lower)).top = (tile (components upper)).bottom ↔ ∀ (x : Fin 2), (tile (components (childBlock lower x 1))).top = (tile (components (childBlock upper x 0))).bottom

Parent tiles match vertically exactly when both substitution boundary edges match.

theorem Cslib.WangTile.Robinson.thin_east {left right : Index} (matching : (tile (components left)).right = (tile (components right)).left) :

Horizontal matching determines the eastern tile's thin-layer phase.

theorem Cslib.WangTile.Robinson.thin_north {lower upper : Index} (matching : (tile (components lower)).top = (tile (components upper)).bottom) :

Vertical matching determines the northern tile's thin-layer phase.

@[simp]

Two eastward phase steps return to the original phase.

@[simp]

Two northward phase steps return to the original phase.