BandOrderedGeneralNormalizedOccurrenceBundle #
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.
Let $C,D$ be positive band circles, let $(T,h)$ and $(N,k)$ be tile odometers, and let $x$ be a lattice vertex. A normalized routed occurrence bundle for these data consists of the following single, mutually aligned package.
It contains one proper presentation of $C$, one cyclic parent rotation, and one packing symmetry. Applying that symmetry after that rotation produces one ordered-general presentation $\bar q$, positive circles $\bar C,\bar D$, literal transformed supports $\bar T,\bar N$, literal transformed functions $\bar h,\bar k$, the transformed point $\bar x$, and their defined slopes. All equalities with the corresponding circle, tile, function, and point actions are part of the data.
The bundle contains exactly one family $(S_i^e,f_i^e)$ carrying every conclusion of the single reindexed six-piece odometer decomposition of $(\bar T,\bar h)$: the outer band-prototile certificate, all six tile-odometer certificates, exact cell and domain covers, footprint containments, centroid formulas, restriction equalities, pairwise compatibility, and the six zero-curvature-or-slope alternatives.
It also contains the complete interface of $\bar T$ and $\bar N$ and both
of its endpoint packages. More precisely it stores two third tiles, two
ExactTileInterfaceTriple records whose $\bar T$--$\bar N$ paths
are the same path in opposite orientations, lattice-tile certificates, all
five required cell-disjointness assertions, the two literal touching
triples, an actual common edge through $\bar x$, and the induced-edge
properties for the two outer tiles. It stores the transported five-point
star cover and the direction $j$ returned by
CoveredInterfaceOppositeIncidentCells, so that
$$ \operatorname{inc}(\bar x,j)\in\operatorname{cells}(\bar T),\qquad \operatorname{inc}(\bar x,j+2)\in\operatorname{cells}(\bar N). $$
The selected signed piece $S_i^e$ contains the first of these squares.
Finally the bundle is tagged with exactly one of two placement
certificates. In the right-adjacent case it contains a
BandOrderedGeneralRightPlacement: the layout is literally rooted
at $\bar N$, exactly the two pieces of $\bar T$ meeting $\bar N$ are the
cyclically labelled boundary occurrences, the selected routed piece is one
of those two, and the central routed occurrence is only a child of
$\bar N$; the exact translated outer-neighbor alignment of $\bar T$ with
$\bar N$ is retained separately. The other four pieces remain present in
the bundle's single six-piece decomposition but acquire no exterior role.
In the subtile-adjacent case it contains a
BandOrderedGeneralSubtilePlacement: the layout is literally
rooted at $\bar T$, its six decomposed pieces are central occurrences, and
$\bar N$ is aligned with the exterior occurrence. Each alternative stores
the routed occurrence memberships and the five-point cover derived from
the same two opposite incident squares. Thus the package uses one packing
symmetry and one decomposition family, while never imposing the right
branch's exterior/central roles on the subtile branch or conversely.
- presentation : Fin 4 → CircleCoordinates
The proper source presentation of the root circle.
- presentation_proper : ProperBandQuadruple self.presentation
- parentRotation : Fin 3
The cyclic parent rotation used before applying the packing symmetry.
- symmetry : BandPackingSymmetry
The single packing-symmetry word used throughout the normalization.
- rotatedPresentation : Fin 4 → CircleCoordinates
The source presentation after the chosen cyclic parent rotation.
- rotated_presentation_eq : self.rotatedPresentation = ![self.presentation 0, self.presentation self.parentRotation.succ, self.presentation (self.parentRotation + 1).succ, self.presentation (self.parentRotation + 2).succ]
- normalizedPresentation : Fin 4 → CircleCoordinates
The ordered-general presentation obtained by the symmetry action.
- normalized_presentation_eq : self.normalizedPresentation = BandPackingSymmetryQuadrupleAction self.symmetry self.rotatedPresentation
- configuration : BandOrderedGeneralConfiguration self.normalizedPresentation
The ordered-general predecessor data for the normalized presentation.
- normalizedCircle : BandCircle
The positive root circle in the normalized presentation.
- normalizedFixedCircle : BandCircle
The transformed positive circle of the fixed tile odometer.
- normalized_fixed_circle_eq : ↑↑self.normalizedFixedCircle = BandPackingSymmetryCircleAction self.symmetry ↑↑D
- normalizedRoot : ProtoTile
The literal transformed root support.
- normalizedFixed : ProtoTile
The literal transformed fixed support.
- normalizedRootFunction : PartialOdometer
The transformed root odometer on its actual finite domain.
- normalizedFixedFunction : PartialOdometer
The transformed fixed odometer on its actual finite domain.
- normalizedPoint : GaussianInt
The transformed lattice contact point.
- normalized_root_function_eq : self.normalizedRootFunction = BandPackingSymmetryPartialOdometerAction self.symmetry h
- normalized_fixed_function_eq : self.normalizedFixedFunction = BandPackingSymmetryPartialOdometerAction self.symmetry k
- normalized_root_odometer : TileOdometer (self.normalizedPresentation 0) self.normalizedRoot self.normalizedRootFunction
- normalized_fixed_odometer : TileOdometer (↑↑self.normalizedFixedCircle) self.normalizedFixed self.normalizedFixedFunction
The defined slope of the transformed root odometer.
The defined slope of the transformed fixed odometer.
- normalized_root_slope : PartialOdometerSlope self.normalizedRootFunction = some self.normalizedRootSlope
- normalized_fixed_slope : PartialOdometerSlope self.normalizedFixedFunction = some self.normalizedFixedSlope
The single family of six signed supports in the normalized root decomposition.
- functions : Fin 3 → Bool → PartialOdometer
The literal partial odometers on that same six-piece family.
- root_band : BandPrototile (self.normalizedPresentation 0) self.normalizedRoot
- piece_odometer (i : Fin 3) (s : Bool) : TileOdometer (self.normalizedPresentation i.succ) (self.pieces i s) (self.functions i s)
- piece_cell_cover (z : LatticeCell) : z ∈ self.normalizedRoot.cells ↔ ∃ (i : Fin 3) (s : Bool), z ∈ (self.pieces i s).cells
- piece_footprint (i : Fin 3) (s : Bool) : FootprintVertices (self.pieces i s) ⊆ FootprintVertices self.normalizedRoot
- piece_centroid (i : Fin 3) (s : Bool) : TileCentroid (self.pieces i s) - TileCentroid self.normalizedRoot = (if s = true then 1 else -1) • (1 / 2) • (GaussianRealPoint (BandVectors.1 (self.normalizedPresentation (i + 2).succ) (self.normalizedPresentation (i + 1).succ)) - (-(GaussianRealPoint (BandVectors.1 (self.normalizedPresentation (i + 2).succ) (self.normalizedPresentation (i + 1).succ))).2, (GaussianRealPoint (BandVectors.1 (self.normalizedPresentation (i + 2).succ) (self.normalizedPresentation (i + 1).succ))).1))
- function_domain_cover (z : GaussianInt) : z ∈ self.normalizedRootFunction.domain ↔ ∃ (i : Fin 3) (s : Bool), z ∈ (self.functions i s).domain
- piece_slope (i : Fin 3) (s : Bool) : (self.normalizedPresentation i.succ).1 = 0 ∨ ∃ (p : ℝ × ℝ) (p_i : ℝ × ℝ), PartialOdometerSlope self.normalizedRootFunction = some p ∧ PartialOdometerSlope (self.functions i s) = some p_i ∧ p_i.1 - p.1 = (if s = true then 1 else -1) * (1 / 2) * (↑(BandVectors.2 (self.normalizedPresentation (i + 2).succ) (self.normalizedPresentation (i + 1).succ)).re - ↑(BandVectors.2 (self.normalizedPresentation (i + 2).succ) (self.normalizedPresentation (i + 1).succ)).im) ∧ p_i.2 - p.2 = (if s = true then 1 else -1) * (1 / 2) * (↑(BandVectors.2 (self.normalizedPresentation (i + 2).succ) (self.normalizedPresentation (i + 1).succ)).im + ↑(BandVectors.2 (self.normalizedPresentation (i + 2).succ) (self.normalizedPresentation (i + 1).succ)).re)
- startCompanion : ProtoTile
The literal third tile at the initial endpoint of the root-fixed interface.
- endCompanion : ProtoTile
The literal third tile at the terminal endpoint of that same interface.
- startData : ExactTileInterfaceTriple self.normalizedRoot self.normalizedFixed self.startCompanion
The complete interface triple with its distinguished initial endpoint.
- endData : ExactTileInterfaceTriple self.normalizedRoot self.normalizedFixed self.endCompanion
The complete interface triple with the two root-fixed endpoints exchanged.
- root_lattice : LatticeTile self.normalizedRoot
- fixed_lattice : LatticeTile self.normalizedFixed
- start_lattice : LatticeTile self.startCompanion
- end_lattice : LatticeTile self.endCompanion
- root_fixed_disjoint : Disjoint self.normalizedRoot.cells self.normalizedFixed.cells
- root_start_disjoint : Disjoint self.normalizedRoot.cells self.startCompanion.cells
- fixed_start_disjoint : Disjoint self.normalizedFixed.cells self.startCompanion.cells
- root_end_disjoint : Disjoint self.normalizedRoot.cells self.endCompanion.cells
- fixed_end_disjoint : Disjoint self.normalizedFixed.cells self.endCompanion.cells
- start_touching : TouchingTriple self.normalizedRoot self.normalizedFixed self.startCompanion
- end_touching : TouchingTriple self.normalizedRoot self.normalizedFixed self.endCompanion
- edgeAtPoint : ∃ (edge : Finset GaussianInt), self.normalizedPoint ∈ edge ∧ edge ∈ FootprintEdges self.normalizedRoot ∩ FootprintEdges self.normalizedFixed
- root_induced (y : GaussianInt) : y ∈ FootprintVertices self.normalizedRoot → ∀ z ∈ FootprintVertices self.normalizedRoot, FourNeighborAdjacent y z → {y, z} ∈ FootprintEdges self.normalizedRoot
- fixed_induced (y : GaussianInt) : y ∈ FootprintVertices self.normalizedFixed → ∀ z ∈ FootprintVertices self.normalizedFixed, FourNeighborAdjacent y z → {y, z} ∈ FootprintEdges self.normalizedFixed
- normalized_star (y : GaussianInt) : y = self.normalizedPoint ∨ y = self.normalizedPoint + 1 ∨ y = self.normalizedPoint - 1 ∨ y = self.normalizedPoint + { re := 0, im := 1 } ∨ y = self.normalizedPoint - { re := 0, im := 1 } → y ∈ FootprintVertices self.normalizedRoot ∨ y ∈ FootprintVertices self.normalizedFixed
- routedDirection : Fin 4
The incident-square direction with root and fixed cells in opposite sectors.
- routed_root_cell : LatticeVertexIncidentCell self.normalizedPoint self.routedDirection ∈ self.normalizedRoot.cells
- routed_fixed_cell : LatticeVertexIncidentCell self.normalizedPoint (self.routedDirection + 2) ∈ self.normalizedFixed.cells
- selectedSlot : Fin 3
The selected parent slot of the fixed six-piece decomposition.
- selectedSign : Bool
The sign of that selected occurrence in the same decomposition family.
- selected_piece_cell : LatticeVertexIncidentCell self.normalizedPoint self.routedDirection ∈ (self.pieces self.selectedSlot self.selectedSign).cells
- placement : BandOrderedGeneralRightPlacement self.normalizedPresentation self.configuration self.normalizedCircle self.normalizedRoot self.normalizedFixed self.normalizedRootFunction self.normalizedFixedFunction self.normalizedPoint self.pieces self.functions self.selectedSlot self.selectedSign self.routedDirection ⊕ BandOrderedGeneralSubtilePlacement self.normalizedPresentation self.configuration self.normalizedCircle self.normalizedFixedCircle self.normalizedRoot self.normalizedFixed self.normalizedRootFunction self.normalizedFixedFunction self.normalizedPoint self.pieces self.functions self.selectedSlot self.selectedSign self.routedDirection
The branch-specific right or subtile placement of the single normalized decomposition.