BandOrderedGeneralInteriorStarClassification #
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.BandOrderedGeneralInteriorStarClassification
(q : Fin 4 → CircleCoordinates)
(cfg : BandOrderedGeneralConfiguration q)
(C₀ : BandCircle)
(T : ProtoTile)
(cert : BandOrderedGeneralLayoutCertificate q cfg C₀ T)
(hT : LatticeTile T)
(x : GaussianInt)
(hx : x ∈ FootprintVertices T)
(hxb : x ∉ BoundaryFootprintVertices T)
:
have k := Nat.card { is : Fin 3 × Bool // x ∈ BoundaryFootprintVertices (cert.P is.1 is.2) };
(k = 2 → GaussianRealPoint x ≠ TileCentroid T → BandOrderedGeneralInteriorWebRow cert x false) ∧ (k = 3 → BandOrderedGeneralInteriorWebRow cert x true ∧ GaussianRealPoint x ≠ TileCentroid T) ∧ k ≠ 4 ∧ (k = 2 → GaussianRealPoint x = TileCentroid T → (cfg.firstPredecessor 1).1 = 0)