Documentation

CslibFrontier.Computability.WangTile.Robinson.Signals

The shaded Robinson signal scaffold #

Directed obstruction signals pass unchanged between light borders. At a light border the outer edge carries a signal and the inner edge may absorb one. Dark wires do not constrain signals. Clear horizontal and vertical edges determine which payload directions the scaffold carries; the clear northeast quarter of index zero additionally marks a seeded crossing.

Main definitions #

Main results #

References #

The obstruction signals are a step of the seed-removal construction in [JV20], Section 3.3, pp. 26–29 of the authors' manuscript, using its corrected 104-tile alphabet. The directed encoding and the precise absorption rule here are those of lean-wang's Signals. Prior formalization, revision 64268a3: lean-wang, modules QuarterRegrouping (phase_even, exists_southwest_origin, block_spec), Signals, ShadedSignals, ShadedSignalRoutingScaffold and ShadedRoutedPlaneDecode.

Quarter edge codes retain the corrected parent index and quadrant.

A matching plane of quarter sites, before regrouping into corrected parent tiles.

An exact regrouping of a quarter plane into matching corrected parent tiles.

Matching subdivision phases fix a global alignment; internal seams recover each parent.

Direction relative to the positive coordinate direction of an edge.

Directed obstruction signals on the four edges of a quarter tile.

The state with all four signal directions absent.

The one-dimensional obstruction rule. A positive interior is east or north.

Code west as negative and east as positive; absence remains absent.

Code south as negative and north as positive; absence remains absent.

Apply the common obstruction rule to the two horizontal edges.

Apply the common obstruction rule to the two vertical edges.

The horizontal and vertical obstruction rules for the selected light borders.

A decorated site has independent quarter, red-shade and obstruction-signal components. Admissibility is checked when forming the finite palette.

  • quarter : QuarterIndex

    The corrected tile and its quadrant.

  • shade : ShadeState

    The light/dark decoration of its red paths.

  • signal : SignalState

    Its directed obstruction signals.

Code optional red shades as edge colours: absent is zero, light is one, dark is two. The canonical seam certificates use the same coding as the scaffold's shade layer.

The shade edge code retains absence and both shades.

Each edge pairs the quarter colour with the shade code, then with the signal code.

Horizontal matching means quarter matching and equality of both decorations.

Vertical matching means quarter matching and equality of both decorations.

The effective role decoder. Clear crossings at index zero's northeast quarter carry the seed.

A site carries horizontal data exactly when both horizontal signal edges are clear.

A site carries vertical data exactly when both vertical signal edges are clear.

The unique seeded role is an all-clear northeast quarter of corrected index zero.

Simultaneous clear directions give a crossing, possibly the seeded crossing.

The corrected shaded Robinson obstruction scaffold with its payload roles.

@[simp]

The scaffold uses the concrete clear-edge role decoder.

Scaffold membership is exactly local shade and signal admissibility.

A locally admissible decorated site belongs to the concrete scaffold.

The semantic content of a scaffold plane; all components retain their shared-edge rules.

Decode any ordinary scaffold plane; no choice of special plane or hierarchy is assumed.

Forget decorations while retaining matching of quarter edges.

theorem Cslib.WangTile.Robinson.QuarterPlane.Regrouped.quarter_at {Q : QuarterPlane} (R : Q.Regrouped) (a b : ℤ) (x y : ℕ) :
Q.quarter (R.origin.1 + 2 * a + ↑x) (R.origin.2 + 2 * b + ↑y) = { index := R.parent.index (a + ↑(x / 2)) (b + ↑(y / 2)), quadrant := quadrantAt x y }

Regrouping describes every natural quarter coordinate above any parent origin.

structure Cslib.WangTile.Robinson.ValidSignalGrid (indexGrid : ℕ → ℕ → Index) (shadeGrid : ℕ → ℕ → ShadeState) (signalGrid : ℕ → ℕ → SignalState) :

Compatible shade and signal assignments on the natural quarter grid of an indexed plane.

  • shadeValid : ValidShadeGrid indexGrid shadeGrid

    Local incidence, propagation and matching of the shades.

  • signalAllowed (x y : ℕ) : signalsAllowed { index := indexGrid (x / 2) (y / 2), quadrant := quadrantAt x y } (shadeGrid x y) (signalGrid x y) = true

    Both signal directions obey the selected light-border rules.

  • horizontal (x y : ℕ) : (signalGrid x y).east = (signalGrid (x + 1) y).west

    Horizontal signal edges match.

  • vertical (x y : ℕ) : (signalGrid x y).north = (signalGrid x (y + 1)).south

    Vertical signal edges match.

Restrict a decoded plane to natural quarter coordinates above a chosen parent origin.

theorem Cslib.WangTile.Robinson.DecodedPlane.validGrid {P : Plane scaffold.tiles} (D : DecodedPlane P) (R : D.quarterPlane.Regrouped) (a b : ℤ) :
ValidSignalGrid (fun (i j : ℕ) => R.parent.index (a + ↑i) (b + ↑j)) (fun (x y : ℕ) => (D.siteGrid R a b x y).shade) fun (x y : ℕ) => (D.siteGrid R a b x y).signal

Both decorations of an arbitrary decoded plane remain valid on its regrouped quarter grid.