BandOrderedGeneralSubtilePlacement #
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 presentation $q$, its configuration, a normalized subtile-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 subtile-adjacent normalized placement consists of the following data. This record imposes only the branch-specific adjacency, literal layout root, occurrence-index roles, cells, empty-anchor, footprint, and domain alignments, routed memberships, star cover, and fixed-to-exterior observable 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 directed subtile-lattice adjacency and one
BandOrderedGeneralLayoutCertificate whose root is literally the
decomposed full tile $\bar T$. Each of the six pieces $S_i^e$ is aligned,
in cells, empty-case anchor, footprint, and function domain, with a literal
occurrence in this layout, and every one of those six indices is one of the
six central indices. The selected piece index is the retained central
index $b$. A retained exterior index $a$ is one of the twelve exterior
indices; its occurrence has exactly the cells of the fixed tile $\bar N$
and the same anchor when this cell set is empty. The occurrences at $a$
and $b$ contain the two routed opposite squares and their footprints cover
the five axial vertices at the normalized contact point, as derived from
those squares. In particular, no decomposed piece is forced to play an
exterior role in this branch.
- adjacency : SubtileLatticeAdjacent C0 fixedCircle root fixed rootFunction fixedFunction
- layout : BandOrderedGeneralLayoutCertificate q cfg C0 root
The literal ordered-general layout rooted at the normalized decomposed root tile.
- pieceIndex : Fin 3 → Bool → PeriodicSubtileIndex
The central periodic occurrence index aligned with each signed decomposition piece.
- piece_index_central (i : Fin 3) (s : Bool) : self.pieceIndex i s = { label := SixSubtileLabel.A, first := 0, second := 0 } ∨ self.pieceIndex i s = { label := SixSubtileLabel.B, first := 0, second := 0 } ∨ self.pieceIndex i s = { label := SixSubtileLabel.C, first := 0, second := 0 } ∨ self.pieceIndex i s = { label := SixSubtileLabel.D, first := 0, second := 0 } ∨ self.pieceIndex i s = { label := SixSubtileLabel.E, first := 0, second := 0 } ∨ self.pieceIndex i s = { label := SixSubtileLabel.F, first := 0, second := 0 }
- piece_layout_footprint (i : Fin 3) (s : Bool) : FootprintVertices (pieces i s) = FootprintVertices (SubtileOccurrenceInterpretation self.layout.P self.layout.u self.layout.v (self.pieceIndex i s))
- piece_layout_domain (i : Fin 3) (s : Bool) : ↑(functions i s).domain = FootprintVertices (SubtileOccurrenceInterpretation self.layout.P self.layout.u self.layout.v (self.pieceIndex i s))
- exteriorIndex : PeriodicSubtileIndex
The literal exterior occurrence selected by the routed contact.
- centralIndex : PeriodicSubtileIndex
The literal central child occurrence selected by the opposite routed square.
- exterior_index : self.exteriorIndex = { label := SixSubtileLabel.A, first := -1, second := -1 } ∨ self.exteriorIndex = { label := SixSubtileLabel.A, first := 0, second := -1 } ∨ self.exteriorIndex = { label := SixSubtileLabel.C, first := 1, second := 0 } ∨ self.exteriorIndex = { label := SixSubtileLabel.C, first := 1, second := 1 } ∨ self.exteriorIndex = { label := SixSubtileLabel.E, first := 0, second := 1 } ∨ self.exteriorIndex = { label := SixSubtileLabel.E, first := -1, second := 0 } ∨ self.exteriorIndex = { label := SixSubtileLabel.B, first := 1, second := 1 } ∨ self.exteriorIndex = { label := SixSubtileLabel.B, first := 0, second := 1 } ∨ self.exteriorIndex = { label := SixSubtileLabel.D, first := -1, second := 0 } ∨ self.exteriorIndex = { label := SixSubtileLabel.D, first := -1, second := -1 } ∨ self.exteriorIndex = { label := SixSubtileLabel.F, first := 0, second := -1 } ∨ self.exteriorIndex = { label := SixSubtileLabel.F, first := 1, second := 0 }
- central_index : self.centralIndex = { label := SixSubtileLabel.A, first := 0, second := 0 } ∨ self.centralIndex = { label := SixSubtileLabel.B, first := 0, second := 0 } ∨ self.centralIndex = { label := SixSubtileLabel.C, first := 0, second := 0 } ∨ self.centralIndex = { label := SixSubtileLabel.D, first := 0, second := 0 } ∨ self.centralIndex = { label := SixSubtileLabel.E, first := 0, second := 0 } ∨ self.centralIndex = { label := SixSubtileLabel.F, first := 0, second := 0 }
- exterior_routed_cell : LatticeVertexIncidentCell point (routedDirection + 2) ∈ (SubtileOccurrenceInterpretation self.layout.P self.layout.u self.layout.v self.exteriorIndex).cells
- central_routed_cell : LatticeVertexIncidentCell point routedDirection ∈ (SubtileOccurrenceInterpretation self.layout.P self.layout.u self.layout.v self.centralIndex).cells
- selected_star (y : GaussianInt) : y = point ∨ y = point + 1 ∨ y = point - 1 ∨ y = point + { re := 0, im := 1 } ∨ y = point - { re := 0, im := 1 } → y ∈ FootprintVertices (SubtileOccurrenceInterpretation self.layout.P self.layout.u self.layout.v self.exteriorIndex) ∨ y ∈ FootprintVertices (SubtileOccurrenceInterpretation self.layout.P self.layout.u self.layout.v self.centralIndex)