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 #
IsFreeRowandIsFreeColumn: board lines crossed by no selected light boundary.Geometry: the four outward-facing nearest-boundary conditions.
Main results #
CycleShade.geometry: every uniformly light oriented red board in a locally allowed matching shade grid satisfies the full nearest-boundary conditions.
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.
No selected light vertical border crosses this strict board row.
No selected light horizontal border crosses this strict board column.
Nearest selected borders around each interior free-line crossing point face outwards, with every intervening position clear of selected borders.
- verticalBoundary {column row : ℕ} : quarterWest west < column → column < quarterEast east → quarterSouth south < row → row < quarterNorth north → IsFreeRow indexGrid shadeGrid west east row → ¬IsFreeColumn indexGrid shadeGrid south north column → selectedHorizontalFor (componentAt indexGrid column row) (quadrantAt column row) (shadeGrid column row) ≠ none ∨ (∃ (boundary : ℕ), row < boundary ∧ boundary < quarterNorth north ∧ selectedHorizontalFor (componentAt indexGrid column boundary) (quadrantAt column boundary) (shadeGrid column boundary) = some VerticalDirection.north ∧ ∀ (y : ℕ), row < y → y < boundary → selectedHorizontalFor (componentAt indexGrid column y) (quadrantAt column y) (shadeGrid column y) = none) ∨ ∃ (boundary : ℕ), quarterSouth south < boundary ∧ boundary < row ∧ selectedHorizontalFor (componentAt indexGrid column boundary) (quadrantAt column boundary) (shadeGrid column boundary) = some VerticalDirection.south ∧ ∀ (y : ℕ), boundary < y → y < row → selectedHorizontalFor (componentAt indexGrid column y) (quadrantAt column y) (shadeGrid column y) = none
A free row meets a selected horizontal boundary locally or at its nearest outward-facing boundary above or below.
- horizontalBoundary {column row : ℕ} : quarterWest west < column → column < quarterEast east → quarterSouth south < row → row < quarterNorth north → IsFreeColumn indexGrid shadeGrid south north column → ¬IsFreeRow indexGrid shadeGrid west east row → selectedVerticalFor (componentAt indexGrid column row) (quadrantAt column row) (shadeGrid column row) ≠ none ∨ (∃ (boundary : ℕ), column < boundary ∧ boundary < quarterEast east ∧ selectedVerticalFor (componentAt indexGrid boundary row) (quadrantAt boundary row) (shadeGrid boundary row) = some HorizontalDirection.east ∧ ∀ (x : ℕ), column < x → x < boundary → selectedVerticalFor (componentAt indexGrid x row) (quadrantAt x row) (shadeGrid x row) = none) ∨ ∃ (boundary : ℕ), quarterWest west < boundary ∧ boundary < column ∧ selectedVerticalFor (componentAt indexGrid boundary row) (quadrantAt boundary row) (shadeGrid boundary row) = some HorizontalDirection.west ∧ ∀ (x : ℕ), boundary < x → x < column → selectedVerticalFor (componentAt indexGrid x row) (quadrantAt x row) (shadeGrid x row) = none
A free column meets a selected vertical boundary locally or at its nearest outward-facing boundary to the right or left.
A valid light Robinson board has the outward-facing nearest boundaries required by the obstruction-signal argument.