Documentation

LeanPool.ApollonianSuperharmonic.ThreeOwnerDesignatedOppositePair

ThreeOwnerDesignatedOppositePair #

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.threeOwnerDesignatedOppositePairOfCells (X Y Z : ProtoTile) (x : GaussianInt) (hXY : Disjoint X.cells Y.cells) (hYZ : Disjoint Y.cells Z.cells) (hZX : Disjoint Z.cells X.cells) (hcheckerX : NoCheckerboardCellVertex ↑X.cells) (hcheckerY : NoCheckerboardCellVertex ↑Y.cells) (hcheckerZ : NoCheckerboardCellVertex ↑Z.cells) (hexhaust : ∀ (j : Fin 4), LatticeVertexIncidentCell x j ∈ X.cells ∨ LatticeVertexIncidentCell x j ∈ Y.cells ∨ LatticeVertexIncidentCell x j ∈ Z.cells) (hXocc : ∃ (j : Fin 4), LatticeVertexIncidentCell x j ∈ X.cells) (hYocc : ∃ (j : Fin 4), LatticeVertexIncidentCell x j ∈ Y.cells) (hZocc : ∃ (j : Fin 4), LatticeVertexIncidentCell x j ∈ Z.cells) (D : ProtoTile) :
D = X ∨ D = Y ∨ D = Z → ∃ (U : ProtoTile) (V : ProtoTile) (R : ProtoTile), (D = U ∨ D = V) ∧ (U = X ∧ V = Y ∧ R = Z ∨ U = Y ∧ V = X ∧ R = Z ∨ U = X ∧ V = Z ∧ R = Y ∨ U = Z ∧ V = X ∧ R = Y ∨ U = Y ∧ V = Z ∧ R = X ∨ U = Z ∧ V = Y ∧ R = X) ∧ (∃ (j : Fin 4), LatticeVertexIncidentCell x j ∈ U.cells ∧ LatticeVertexIncidentCell x (j + 2) ∈ V.cells) ∧ x ∈ FootprintVertices U ∧ x ∈ FootprintVertices V ∧ ∀ (y : GaussianInt), y = x ∨ y = x + 1 ∨ y = x - 1 ∨ y = x + { re := 0, im := 1 } ∨ y = x - { re := 0, im := 1 } → y ∈ FootprintVertices U ∨ y ∈ FootprintVertices V

The designated opposite pair follows from the cells and their incidence conditions.

theorem ApollonianSuperharmonic.ThreeOwnerDesignatedOppositePair (X Y Z : ProtoTile) (x : GaussianInt) :
LatticeTile X → LatticeTile Y → LatticeTile Z → Disjoint X.cells Y.cells → Disjoint Y.cells Z.cells → Disjoint Z.cells X.cells → NoCheckerboardCellVertex ↑X.cells → NoCheckerboardCellVertex ↑Y.cells → NoCheckerboardCellVertex ↑Z.cells → (∀ (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) → ∀ (D : ProtoTile), D = X ∨ D = Y ∨ D = Z → ∃ (U : ProtoTile) (V : ProtoTile) (R : ProtoTile), (D = U ∨ D = V) ∧ (U = X ∧ V = Y ∧ R = Z ∨ U = Y ∧ V = X ∧ R = Z ∨ U = X ∧ V = Z ∧ R = Y ∨ U = Z ∧ V = X ∧ R = Y ∨ U = Y ∧ V = Z ∧ R = X ∨ U = Z ∧ V = Y ∧ R = X) ∧ (∃ (j : Fin 4), LatticeVertexIncidentCell x j ∈ U.cells ∧ LatticeVertexIncidentCell x (j + 2) ∈ V.cells) ∧ x ∈ FootprintVertices U ∧ x ∈ FootprintVertices V ∧ ∀ (y : GaussianInt), y = x ∨ y = x + 1 ∨ y = x - 1 ∨ y = x + { re := 0, im := 1 } ∨ y = x - { re := 0, im := 1 } → y ∈ FootprintVertices U ∨ y ∈ FootprintVertices V