Documentation

LeanPool.ApollonianSuperharmonic.BandOrderedGeneralRightPlacement

BandOrderedGeneralRightPlacement #

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.

structure ApollonianSuperharmonic.BandOrderedGeneralRightPlacement (q : Fin 4 → CircleCoordinates) (cfg : BandOrderedGeneralConfiguration q) (C0 : BandCircle) (root fixed : ProtoTile) (rootFunction fixedFunction : PartialOdometer) (point : GaussianInt) (pieces : Fin 3 → Bool → ProtoTile) (functions : Fin 3 → Bool → PartialOdometer) (selectedSlot : Fin 3) (selectedSign : Bool) (routedDirection : Fin 4) :

Fix an ordered-general presentation $q$, its configuration, a normalized right-adjacent pair $(\bar T,\bar h),(\bar N,\bar k)$, an externally supplied family $(S_i^e,f_i^e)$ of six supports and partial odometers, a selected slot, the normalized contact point, and its routed incident-square direction. A right-adjacent normalized placement consists of the following data. This record imposes only the branch-specific adjacency, literal layout root, two boundary-piece alignments, occurrence-index roles, routed memberships, star cover, and translated full-neighbor alignment listed below. The tile-odometer facts, cell and domain covers, restriction values, compatibility, centroid formulas, and slope alternatives for $(S_i^e,f_i^e)$ are not fields of this record; they are supplied once by the enclosing normalized routed occurrence bundle.

It contains the transported right-lattice adjacency and one BandOrderedGeneralLayoutCertificate whose root is literally the fixed full tile $\bar N$. It stores a cyclic triple $(i,j,k)$ and a polarity. The same $q$, direction $k$, and polarity explicitly realize the centroid and two slope equations in the transported RightLatticeAdjacent witness. In the positive polarity the full-neighbor displacement is $d=v_{0k}$ and the two boundary signs are $+$ at $i$ and $-$ at $j$; in the reflected polarity they are $d=-v_{0k}$, $-$ at $i$, and $+$ at $j$.

Exactly the two signed pieces on this boundary are retained. In the positive case they are observably aligned with $$ R_i^0=P_i^++v_{0k},\qquad R_j^3=P_j^-+v_{0k}, $$ and in the reflected case with $$ R_i^2=P_i^--v_{0k},\qquad R_j^1=P_j^+-v_{0k}. $$ For each of these two pieces the record stores equality of cells, conditional equality of anchors when those cells are empty, equality of footprints, and equality of the corresponding function domain with the literal boundary footprint. The selected signed piece is one of these two, and it is observably aligned in the same four senses with the retained exterior occurrence $a$. No alignment of the other four decomposed pieces with exterior occurrences is asserted.

The exterior index $a$ is one of the twelve exterior indices. A retained central index $b$ is one of the six central indices and its occurrence contains the routed square belonging to $\bar N$; it is not identified with the whole tile $\bar N$. The occurrence at $a$ contains the opposite routed square, and the two occurrences' footprints cover the five axial vertices at the normalized contact point, as derived from those two routed squares.

Finally the certificate retains the resulting right-neighbor displacement and the observable full-neighbor alignment $$ \operatorname{cells}(\bar T)= \operatorname{cells}(\bar N+d) $$ and equality of the two anchors when this common cell set is empty. Thus the decomposed root is the actual translated outer neighbor of the literal layout root, while the central occurrence selected by the routed square is only a child occurrence of that layout root.

Instances For