LocalLatticeInterfaceSectors #
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.LocalLatticeInterfaceSectors :
(∀ (X Y Z : ProtoTile) (x : GaussianInt),
LatticeTile X →
LatticeTile Y →
LatticeTile Z →
TouchingTriple X Y Z →
x ∈ FootprintVertices X ∩ FootprintVertices Y ∩ FootprintVertices Z →
(∀ (j : Fin 4),
LatticeVertexIncidentCell x j ∈ X.cells ∨ LatticeVertexIncidentCell x j ∈ Y.cells ∨ LatticeVertexIncidentCell x j ∈ Z.cells) ∧ (∃ (j : Fin 4), LatticeVertexIncidentCell x j ∈ X.cells) ∧ (∃ (j : Fin 4), LatticeVertexIncidentCell x j ∈ Y.cells) ∧ (∃ (j : Fin 4), LatticeVertexIncidentCell x j ∈ Z.cells) ∧ ((∃ (j : Fin 4),
LatticeVertexIncidentCell x j ∈ X.cells ∧ LatticeVertexIncidentCell x (j + 2) ∈ Y.cells) ∨ (∃ (j : Fin 4),
LatticeVertexIncidentCell x j ∈ X.cells ∧ LatticeVertexIncidentCell x (j + 2) ∈ Z.cells) ∨ ∃ (j : Fin 4),
LatticeVertexIncidentCell x j ∈ Y.cells ∧ LatticeVertexIncidentCell x (j + 2) ∈ Z.cells)) ∧ ∀ (X Y : ProtoTile) (x : GaussianInt),
LatticeTile X →
LatticeTile Y →
Disjoint X.cells Y.cells →
(∃ (e : Finset GaussianInt) (f : Finset GaussianInt),
e ≠ f ∧ x ∈ e ∧ x ∈ f ∧ e ∈ FootprintEdges X ∩ FootprintEdges Y ∧ f ∈ FootprintEdges X ∩ FootprintEdges Y) →
(∀ (j : Fin 4), LatticeVertexIncidentCell x j ∈ X.cells ∨ LatticeVertexIncidentCell x j ∈ Y.cells) ∧ ∃ (j : Fin 4), LatticeVertexIncidentCell x j ∈ X.cells ∧ LatticeVertexIncidentCell x (j + 2) ∈ Y.cells