P3996T1SRowParameters #
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.
A numerical $S$-row entry consists of a child slot $l\in\operatorname{Fin}3$, a child sign and a source sign, two periodic subtile indices $X,Y$, a Boolean recording whether $X$ is exterior, a quadruple $p$ of circle coordinates, a parent slot $m\in\operatorname{Fin}3$, a rotation $s\in\operatorname{Fin}4$, and three Gaussian integers $b,d,a$. The last three numbers are respectively the child occurrence shift, the right displacement, and the old-companion shift. An entry has no assertions or geometric certificates.
- childSlot : Fin 3
The selected child slot in the signed decomposition.
- childSign : Bool
The sign of the selected child occurrence.
- sourceSign : Bool
The sign of the source occurrence in the row.
- childIndex : PeriodicSubtileIndex
The literal periodic index of the child occurrence.
- parentIndex : PeriodicSubtileIndex
The literal periodic index of its parent occurrence.
- childIsExterior : Bool
Whether the child occurrence occupies the exterior role in this row.
- predecessor : Fin 4 → CircleCoordinates
The fixed predecessor presentation prescribed by the row.
- parentSlot : Fin 3
The parent slot within that predecessor presentation.
- rotation : Fin 4
The prescribed quarter-turn index of the child-parent presentation.
- childShift : GaussianInt
The translation of the selected child occurrence.
- rightShift : GaussianInt
The right-neighbor displacement prescribed by the row.
- oldShift : GaussianInt
The translation of the old companion occurrence.