BandOrderedGeneralRightOuterMarkingCriterion #
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.
theorem
ApollonianSuperharmonic.BandOrderedGeneralRightOuterMarkingCriterion
(C D : BandCircle)
(T N : ProtoTile)
(h k : PartialOdometer)
(x : GaussianInt)
(bundle : BandOrderedGeneralNormalizedOccurrenceBundle C D T N h k x)
(placement :
BandOrderedGeneralRightPlacement bundle.normalizedPresentation bundle.configuration bundle.normalizedCircle
bundle.normalizedRoot bundle.normalizedFixed bundle.normalizedRootFunction bundle.normalizedFixedFunction
bundle.normalizedPoint bundle.pieces bundle.functions bundle.selectedSlot bundle.selectedSign
bundle.routedDirection)
(selectedEdge : Finset GaussianInt)
(hx : bundle.normalizedPoint ∈ selectedEdge)
(hedge :
selectedEdge ∈ FootprintEdges
(SubtileOccurrenceInterpretation placement.layout.P placement.layout.u placement.layout.v
placement.exteriorIndex) ∩
FootprintEdges
(SubtileOccurrenceInterpretation placement.layout.P placement.layout.u placement.layout.v
placement.centralIndex))
(row :
BandOrderedGeneralSelectedContactRow bundle.normalizedPresentation bundle.configuration bundle.normalizedCircle
bundle.normalizedFixed placement.layout placement.exteriorIndex placement.centralIndex)
:
have q := bundle.normalizedPresentation;
have oldRight :=
TileTranslation bundle.normalizedFixed
((if placement.rightNeighborPositive = true then -1 else 1) * BandVectors.1 (q 0) (q bundle.selectedSlot.succ));
(¬∀ (z : GaussianInt),
z = bundle.normalizedPoint ∨ z = bundle.normalizedPoint - 1 ∨ z = bundle.normalizedPoint - { re := 0, im := 1 } ∨ z = bundle.normalizedPoint - 1 - { re := 0, im := 1 } →
z ∈ bundle.normalizedRoot.cells ∨ z ∈ bundle.normalizedFixed.cells) ↔ bundle.normalizedPoint ∈ FootprintVertices oldRight