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 #
flowAllowed: the common one-dimensional transmission and border rule.ShadedSite: a quarter with a shade state and an obstruction state.scaffold: the finite shaded Robinson scaffold with its routing decoder.DecodedPlane: the semantic sites of an ordinary scaffold plane.QuarterPlane.regroup: exact parent regrouping of any matching quarter plane.
Main results #
DecodedPlane.validGrid: both decorations remain valid on any regrouped quadrant.ShadedSite.horizontal_iff,ShadedSite.vertical_iff: exact matching semantics.
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.
Quarter site at each integer position.
- horizontal (x y : ℤ) : (quarterTile (self.quarter x y)).right = (quarterTile (self.quarter (x + 1) y)).left
Horizontal matching in the subdivided alphabet.
- vertical (x y : ℤ) : (quarterTile (self.quarter x y)).top = (quarterTile (self.quarter x (y + 1))).bottom
Vertical matching in the subdivided alphabet.
An exact regrouping of a quarter plane into matching corrected parent tiles.
Southwest corner of the parent at the origin.
- parent : IndexPlane
The matching corrected parent plane.
- blocks (x y : ℤ) : Q.quarter (self.origin.1 + 2 * x) (self.origin.2 + 2 * y) = { index := self.parent.index x y, quadrant := Quadrant.southwest } ∧ Q.quarter (self.origin.1 + 2 * x + 1) (self.origin.2 + 2 * y) = { index := self.parent.index x y, quadrant := Quadrant.southeast } ∧ Q.quarter (self.origin.1 + 2 * x) (self.origin.2 + 2 * y + 1) = { index := self.parent.index x y, quadrant := Quadrant.northwest } ∧ Q.quarter (self.origin.1 + 2 * x + 1) (self.origin.2 + 2 * y + 1) = { index := self.parent.index x y, quadrant := Quadrant.northeast }
All four quarters in every parent block have that parent index and the expected phase.
Matching subdivision phases fix a global alignment; internal seams recover each parent.
Direction relative to the positive coordinate direction of an edge.
- none : SignalFlow
- forward : SignalFlow
- backward : SignalFlow
Directed obstruction signals on the four edges of a quarter tile.
- west : SignalFlow
West-edge flow.
- east : SignalFlow
East-edge flow.
- south : SignalFlow
South-edge flow.
- north : SignalFlow
North-edge flow.
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.
The local role is computed from the two clear directions and the unique marker quarter.
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.
Horizontal wire cells have clear horizontal signals and a blocked vertical direction.
Vertical wire cells have a blocked horizontal direction and clear vertical signals.
Simultaneous clear directions give a crossing, possibly the seeded crossing.
The corrected shaded Robinson obstruction scaffold with its payload roles.
The scaffold uses the concrete clear-edge role decoder.
A locally admissible decorated site belongs to the concrete scaffold.
The semantic content of a scaffold plane; all components retain their shared-edge rules.
The three components at each position.
The components encode the original tile.
Local shade rules.
- signalAllowed (x y : ℤ) : signalsAllowed (self.site x y).quarter (self.site x y).shade (self.site x y).signal = true
Local obstruction rules.
- horizontal (x y : ℤ) : (quarterTile (self.site x y).quarter).right = (quarterTile (self.site (x + 1) y).quarter).left ∧ (self.site x y).shade.east = (self.site (x + 1) y).shade.west ∧ (self.site x y).signal.east = (self.site (x + 1) y).signal.west
Quarter and both decoration edges match horizontally.
- vertical (x y : ℤ) : (quarterTile (self.site x y).quarter).top = (quarterTile (self.site x (y + 1)).quarter).bottom ∧ (self.site x y).shade.north = (self.site x (y + 1)).shade.south ∧ (self.site x y).signal.north = (self.site x (y + 1)).signal.south
Quarter and both decoration edges match vertically.
Decode any ordinary scaffold plane; no choice of special plane or hierarchy is assumed.
Forget decorations while retaining matching of quarter edges.
Regrouping describes every natural quarter coordinate above any parent origin.
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 signal edges match.
Vertical signal edges match.
Restrict a decoded plane to natural quarter coordinates above a chosen parent origin.
Both decorations of an arbitrary decoded plane remain valid on its regrouped quarter grid.