BandOrderedGeneralRightRoutingCertificate #
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.
Given a BandOrderedGeneralRightInterfaceCertificate, a right routing
certificate records an actual common outer footprint edge through the
normalized point, the two induced-edge properties, and opposite incident
cells of the transformed root and fixed tiles. It selects a signed piece of
the fixed decomposition containing the root-side cell and the corresponding
central layout occurrence containing the fixed-side cell. It records their
literal occurrence indices, observable alignment, routed memberships, and
five-point cover, together with the common occurrence edge and selected
contact row returned by shifted routed-boundary localization.
- edgeAtPoint : ∃ (edge : Finset GaussianInt), normalization.normalizedPoint ∈ edge ∧ edge ∈ FootprintEdges normalization.normalizedRoot ∩ FootprintEdges normalization.normalizedFixed
- root_induced (y : GaussianInt) : y ∈ FootprintVertices normalization.normalizedRoot → ∀ z ∈ FootprintVertices normalization.normalizedRoot, FourNeighborAdjacent y z → {y, z} ∈ FootprintEdges normalization.normalizedRoot
- fixed_induced (y : GaussianInt) : y ∈ FootprintVertices normalization.normalizedFixed → ∀ z ∈ FootprintVertices normalization.normalizedFixed, FourNeighborAdjacent y z → {y, z} ∈ FootprintEdges normalization.normalizedFixed
- routedDirection : Fin 4
The incident-square direction with root and fixed cells in opposite sectors.
- routed_root_cell : LatticeVertexIncidentCell normalization.normalizedPoint self.routedDirection ∈ normalization.normalizedRoot.cells
- routed_fixed_cell : LatticeVertexIncidentCell normalization.normalizedPoint (self.routedDirection + 2) ∈ normalization.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 normalization.normalizedPoint self.routedDirection ∈ (normalization.pieces self.selectedSlot self.selectedSign).cells
- selected_boundary_piece : self.selectedSlot = normalization.rightFirstSlot ∧ self.selectedSign = normalization.firstBoundarySign ∨ self.selectedSlot = normalization.rightSecondSlot ∧ self.selectedSign = normalization.secondBoundarySign
- 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 }
- selected_exterior_cells : (normalization.pieces self.selectedSlot self.selectedSign).cells = (SubtileOccurrenceInterpretation normalization.layout.P normalization.layout.u normalization.layout.v self.exteriorIndex).cells
- selected_exterior_empty_anchor : (normalization.pieces self.selectedSlot self.selectedSign).cells = ∅ → (normalization.pieces self.selectedSlot self.selectedSign).anchor = (SubtileOccurrenceInterpretation normalization.layout.P normalization.layout.u normalization.layout.v self.exteriorIndex).anchor
- selected_exterior_footprint : FootprintVertices (normalization.pieces self.selectedSlot self.selectedSign) = FootprintVertices (SubtileOccurrenceInterpretation normalization.layout.P normalization.layout.u normalization.layout.v self.exteriorIndex)
- selected_exterior_domain : ↑(normalization.functions self.selectedSlot self.selectedSign).domain = FootprintVertices (SubtileOccurrenceInterpretation normalization.layout.P normalization.layout.u normalization.layout.v self.exteriorIndex)
- exterior_routed_cell : LatticeVertexIncidentCell normalization.normalizedPoint self.routedDirection ∈ (SubtileOccurrenceInterpretation normalization.layout.P normalization.layout.u normalization.layout.v self.exteriorIndex).cells
- central_routed_cell : LatticeVertexIncidentCell normalization.normalizedPoint (self.routedDirection + 2) ∈ (SubtileOccurrenceInterpretation normalization.layout.P normalization.layout.u normalization.layout.v self.centralIndex).cells
- selected_star (y : GaussianInt) : y = normalization.normalizedPoint ∨ y = normalization.normalizedPoint + 1 ∨ y = normalization.normalizedPoint - 1 ∨ y = normalization.normalizedPoint + { re := 0, im := 1 } ∨ y = normalization.normalizedPoint - { re := 0, im := 1 } → y ∈ FootprintVertices (SubtileOccurrenceInterpretation normalization.layout.P normalization.layout.u normalization.layout.v self.exteriorIndex) ∨ y ∈ FootprintVertices (SubtileOccurrenceInterpretation normalization.layout.P normalization.layout.u normalization.layout.v self.centralIndex)
- localizedEdge : Finset GaussianInt
The common occurrence footprint edge returned by shifted boundary localization.
- localized_edge_common : self.localizedEdge ∈ FootprintEdges (SubtileOccurrenceInterpretation normalization.layout.P normalization.layout.u normalization.layout.v self.exteriorIndex) ∩ FootprintEdges (SubtileOccurrenceInterpretation normalization.layout.P normalization.layout.u normalization.layout.v self.centralIndex)
- localized_contact : Nonempty (BandOrderedGeneralSelectedContactRow normalization.normalizedPresentation normalization.configuration normalization.normalizedCircle normalization.normalizedFixed normalization.layout self.exteriorIndex self.centralIndex)