P4366T2OuterGeometry #
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.P4366T2OuterGeometry
(q : Fin 4 → CircleCoordinates)
(cfg : BandOrderedGeneralConfiguration q)
(C0 Ci : BandCircle)
(i : Fin 3)
(hC0 : q 0 = ↑↑C0)
(hCi : q i.succ = ↑↑Ci)
(T0 T0' : ProtoTile)
(h0 h0' : PartialOdometer)
(cert : BandOrderedGeneralLayoutCertificate q cfg C0 T0)
(hsym : QuarterTurnSymmetric T0)
(hO0 : TileOdometer (↑↑C0) T0 h0)
(hO0' : TileOdometer (↑↑C0) T0' h0')
(hlarge : 1 < (↑↑Ci).1)
(hcentroid : TileCentroid T0' - TileCentroid T0 = GaussianRealPoint (BandVectors.1 (q i.succ) (q 0)))
(orientation : Bool)
(base Rminus Rplus : ProtoTile)
(tiles : List ProtoTile)
(centerShift : GaussianInt)
(hf : BoundaryString C0 Ci i orientation T0 base Rminus Rplus tiles)
(hminus hplus : PartialOdometer)
(hOm : TileOdometer (↑↑Ci) Rminus hminus)
(hOp : TileOdometer (↑↑Ci) Rplus hplus)
(hmc : (TileTranslation (TileHalfTurn Rminus) centerShift).cells = Rplus.cells)
(hpc : (TileTranslation (TileHalfTurn Rplus) centerShift).cells = Rminus.cells)
:
∃ (EM : ExactTileInterfaceTriple T0 T0' Rminus) (EP : ExactTileInterfaceTriple T0 T0' Rplus),
SimpleGridPathBetween (FootprintVertices T0 ∩ FootprintVertices T0') (FootprintEdges T0 ∩ FootprintEdges T0') EM.point
EP.point ∧ LatticeTile T0 ∧ LatticeTile T0' ∧ LatticeTile Rminus ∧ LatticeTile Rplus ∧ Disjoint T0.cells T0'.cells ∧ Disjoint T0.cells Rminus.cells ∧ Disjoint T0'.cells Rminus.cells ∧ Disjoint T0.cells Rplus.cells ∧ Disjoint T0'.cells Rplus.cells ∧ (∀ x ∈ FootprintVertices T0,
∀ y ∈ FootprintVertices T0, FourNeighborAdjacent x y → {x, y} ∈ FootprintEdges T0) ∧ (∀ x ∈ FootprintVertices T0',
∀ y ∈ FootprintVertices T0', FourNeighborAdjacent x y → {x, y} ∈ FootprintEdges T0') ∧ Rminus ≠ Rplus ∧ ¬TileTouching Rminus Rplus