P4590T1RightInteriorGeometry #
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.P4590T1RightInteriorGeometry
(q : Fin 4 → CircleCoordinates)
(cfg : BandOrderedGeneralConfiguration q)
(C : BandCircle)
(T : ProtoTile)
(cert : BandOrderedGeneralLayoutCertificate q cfg C T)
:
LatticeTile T →
∀ x ∈ FootprintVertices T,
x ∉ BoundaryFootprintVertices T →
Nat.card { is : Fin 3 × Bool // x ∈ BoundaryFootprintVertices (cert.P is.1 is.2) } = 2 →
(x ∈ FootprintVertices (cert.P 0 true) →
x ∈ FootprintVertices (cert.P 1 true) →
x ∈ FootprintVertices (cert.Q 1 true) ∧ (∀ (y : GaussianInt),
y = x ∨ y = x + 1 ∨ y = x - 1 ∨ y = x + { re := 0, im := 1 } ∨ y = x - { re := 0, im := 1 } →
y ∈ FootprintVertices (cert.Q 1 true) ∨ y ∈ FootprintVertices (cert.P 1 true)) ∧ ∀ (z : GaussianInt),
z = x ∨ z = x - 1 ∨ z = x - { re := 0, im := 1 } ∨ z = x - 1 - { re := 0, im := 1 } →
z ∈ (cert.Q 1 true).cells ∨ z ∈ (cert.P 1 true).cells) ∧ (x ∈ FootprintVertices (cert.P 0 false) →
x ∈ FootprintVertices (cert.P 1 false) →
x ∈ FootprintVertices (cert.S 1 false) ∧ (∀ (y : GaussianInt),
y = x ∨ y = x + 1 ∨ y = x - 1 ∨ y = x + { re := 0, im := 1 } ∨ y = x - { re := 0, im := 1 } →
y ∈ FootprintVertices (cert.S 1 false) ∨ y ∈ FootprintVertices (cert.P 1 false)) ∧ ∀ (z : GaussianInt),
z = x ∨ z = x - 1 ∨ z = x - { re := 0, im := 1 } ∨ z = x - 1 - { re := 0, im := 1 } →
z ∈ (cert.S 1 false).cells ∨ z ∈ (cert.P 1 false).cells)