PositiveCutCompanionRow #
Adapted from Wesley Pegden’s Apache-2.0 Trellis formalization of Levine–Pegden–Smart. Changes: pool module paths, public exports, project namespace and current Mathlib compatibility.
Fix an ordered-general layout certificate and one positive precursor cut
$x$. A positive-cut web row records a proper birth
$p=(M,D,E,F)$, a raw parent slot $r\in\mathbb Z/3\mathbb Z$, a rotation
$s\in\mathbb Z/4\mathbb Z$, a selected whole-child occurrence $U$ for
$M$, and a selected parent occurrence $W$ for $p_{r+1}$. The row includes
the certificate that the precursor $O$ has a nonempty cell set, the
corresponding BandPrototile certificates, and the two cut
memberships $x\in\operatorname{foot}(U)\cap\operatorname{foot}(W)$. Some incident $U$-cell is
opposite an incident $W$-cell, and the two footprints contain the
five-point star
$$ x,\qquad x+1,\qquad x-1,\qquad x+\mathrm{i},\qquad x-\mathrm{i}. $$
Put $$ u_R=\mathrm{i}^s\begin{cases}v_{0,r+1},&s\text{ even},\\ v_{r+1,0},&s\text{ odd}. \end{cases} $$ The row records that translation closure makes $U+u_R$ a prototile for $M$ and, crucially, that $$ x\notin\operatorname{foot}(U+u_R). \tag{1} $$ Thus the right companion is always the actual translated child prescribed by the web rule, rather than an occurrence guessed from a circle label.
The literal tag is exactly one of the following eight alternatives: $$ \begin{array}{c|c|c|c|c|c} p&x&U&W&r&s\\ \hline (C_2,D,C_3,C_4)&a&Q_2^+&S_3^-&1&1\\ (C_2,D,C_3,C_4)&a&Q_2^+&O&2&0\\ (C_2,D,C_3,C_4)&b&S_2^-&Q_3^+&1&3\\ (C_2,D,C_3,C_4)&b&S_2^-&O&2&2\\ (C_4,D,C_2,C_3)&a&O&Q_2^+&1&1\\ (C_4,D,C_2,C_3)&a&O&S_3^-&2&0\\ (C_4,D,C_2,C_3)&b&O&S_2^-&1&3\\ (C_4,D,C_2,C_3)&b&O&Q_3^+&2&2. \end{array} \tag{2} $$ For the first and third rows only, the row additionally records observable equality, meaning equality of cell sets and equality of anchors when those sets are empty, of $U+u_R$ with $P_2^+$ and $P_2^-$, respectively. These are the two fixed $Q$--$S$ companions identified in the manuscript. No literal support is asserted for the other six rows merely from their tags. In particular the four $C_4$-birth rows do not identify their companions with $Q_4^+$ or $S_4^-$.
- precursorNonempty : Finset.Nonempty cert.O.cells
- birth : Fin 4 → CircleCoordinates
The proper birth presentation prescribed by the literal positive-cut row.
- parentIndex : Fin 3
The parent slot fixed by that row in its birth presentation.
- rotation : Fin 4
The quarter-turn index fixed by that literal row.
- child : ProtoTile
The selected whole-child occurrence through the precursor attachment.
- parent : ProtoTile
The selected parent occurrence on the opposite side of the attachment.
- proper : ProperBandQuadruple self.birth
- childPrototile : BandPrototile (self.birth 0) self.child
- parentPrototile : BandPrototile (self.birth self.parentIndex.succ) self.parent
- rightPrototile : let uR := { re := 0, im := 1 } ^ ↑self.rotation * if Even ↑self.rotation then BandVectors.1 (self.birth 0) (self.birth self.parentIndex.succ) else BandVectors.1 (self.birth self.parentIndex.succ) (self.birth 0); BandPrototile (self.birth 0) (TileTranslation self.child uR)
- rightAbsent : let uR := { re := 0, im := 1 } ^ ↑self.rotation * if Even ↑self.rotation then BandVectors.1 (self.birth 0) (self.birth self.parentIndex.succ) else BandVectors.1 (self.birth self.parentIndex.succ) (self.birth 0); x ∉ FootprintVertices (TileTranslation self.child uR)
- fixedPlusCompanion : self.child = cert.Q 1 true → self.parent = cert.S 2 false → let uR := { re := 0, im := 1 } ^ ↑self.rotation * if Even ↑self.rotation then BandVectors.1 (self.birth 0) (self.birth self.parentIndex.succ) else BandVectors.1 (self.birth self.parentIndex.succ) (self.birth 0); (TileTranslation self.child uR).cells = (cert.P 1 true).cells ∧ ((TileTranslation self.child uR).cells = ∅ → (TileTranslation self.child uR).anchor = (cert.P 1 true).anchor)
- fixedMinusCompanion : self.child = cert.S 1 false → self.parent = cert.Q 2 true → let uR := { re := 0, im := 1 } ^ ↑self.rotation * if Even ↑self.rotation then BandVectors.1 (self.birth 0) (self.birth self.parentIndex.succ) else BandVectors.1 (self.birth self.parentIndex.succ) (self.birth 0); (TileTranslation self.child uR).cells = (cert.P 1 false).cells ∧ ((TileTranslation self.child uR).cells = ∅ → (TileTranslation self.child uR).anchor = (cert.P 1 false).anchor)
- literalRow : self.birth = ![q 2, self.birth 1, q 3, cfg.firstPredecessor 1] ∧ self.parentIndex = 1 ∧ self.rotation = 1 ∧ x = cert.exceptionalSegments.a ∧ self.child = cert.Q 1 true ∧ self.parent = cert.S 2 false ∨ self.birth = ![q 2, self.birth 1, q 3, cfg.firstPredecessor 1] ∧ self.parentIndex = 2 ∧ self.rotation = 0 ∧ x = cert.exceptionalSegments.a ∧ self.child = cert.Q 1 true ∧ self.parent = cert.O ∨ self.birth = ![q 2, self.birth 1, q 3, cfg.firstPredecessor 1] ∧ self.parentIndex = 1 ∧ self.rotation = 3 ∧ x = cert.exceptionalSegments.b ∧ self.child = cert.S 1 false ∧ self.parent = cert.Q 2 true ∨ self.birth = ![q 2, self.birth 1, q 3, cfg.firstPredecessor 1] ∧ self.parentIndex = 2 ∧ self.rotation = 2 ∧ x = cert.exceptionalSegments.b ∧ self.child = cert.S 1 false ∧ self.parent = cert.O ∨ self.birth = ![cfg.firstPredecessor 1, self.birth 1, q 2, q 3] ∧ self.parentIndex = 1 ∧ self.rotation = 1 ∧ x = cert.exceptionalSegments.a ∧ self.child = cert.O ∧ self.parent = cert.Q 1 true ∨ self.birth = ![cfg.firstPredecessor 1, self.birth 1, q 2, q 3] ∧ self.parentIndex = 2 ∧ self.rotation = 0 ∧ x = cert.exceptionalSegments.a ∧ self.child = cert.O ∧ self.parent = cert.S 2 false ∨ self.birth = ![cfg.firstPredecessor 1, self.birth 1, q 2, q 3] ∧ self.parentIndex = 1 ∧ self.rotation = 3 ∧ x = cert.exceptionalSegments.b ∧ self.child = cert.O ∧ self.parent = cert.S 1 false ∨ self.birth = ![cfg.firstPredecessor 1, self.birth 1, q 2, q 3] ∧ self.parentIndex = 2 ∧ self.rotation = 2 ∧ x = cert.exceptionalSegments.b ∧ self.child = cert.O ∧ self.parent = cert.Q 2 true