Documentation

CslibFrontier.Computability.WangTile.Robinson.Shading.Geometry

Outward-facing light boundaries of Robinson boards #

A matching shade assignment gives a discrete signed face height inside every uniformly light oriented red cycle. The local shade rules conserve flow and forbid right turns; the outer cycle has height one. The resulting minimum principle forces the nearest selected boundary on each side of a free row or column to face outwards. The free-line predicates are provided for the subsequent free-grid construction; this module does not establish the existence of free rows or columns.

Main definitions #

Main results #

References #

The outward-facing boundary construction is after [JV20], §3.3, Figure 18 (manuscript pp. 27–28). Prior formalization: lean-wang, revision 64268a3, modules Closed104.OrientedLightHeightWeights, OrientedLightHeight, OrientedLightFreeHeight, OrientedLightBoundarySearch, OrientedLightHorizontalGeometry, OrientedLightVerticalGeometry, ShadedObstructionGeometry and ShadedLightBoardFreeLines. The hypotheses, quarter-coordinate conventions and nearest-boundary conclusion agree with OrientedLightGeometry.CycleShade.geometry there.

def Cslib.WangTile.Robinson.IsFreeRow (indexGrid : ℕ → ℕ → Index) (shadeGrid : ℕ → ℕ → ShadeState) (west east row : ℕ) :

No selected light vertical border crosses this strict board row.

def Cslib.WangTile.Robinson.IsFreeColumn (indexGrid : ℕ → ℕ → Index) (shadeGrid : ℕ → ℕ → ShadeState) (south north column : ℕ) :

No selected light horizontal border crosses this strict board column.

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

Nearest selected borders around each interior free-line crossing point face outwards, with every intervening position clear of selected borders.

theorem Cslib.WangTile.Robinson.CycleShade.geometry {indexGrid : ℕ → ℕ → Index} {stateGrid : ℕ → ℕ → ShadeState} {west east south north : ℕ} (shaded : CycleShade stateGrid west east south north Shade.light) (cycle : CycleOn indexGrid west east south north) (valid : ValidShadeGrid indexGrid stateGrid) :
Geometry indexGrid stateGrid west east south north

A valid light Robinson board has the outward-facing nearest boundaries required by the obstruction-signal argument.