BandOdometerInteriorTable #
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.bandOdometerInteriorTableOfGeometry
(q : Fin 4 → CircleCoordinates)
(hq : ProperBandQuadruple q)
(T : ProtoTile)
(S : Fin 3 → Bool → ProtoTile)
(h : PartialOdometer)
(g : IntegerLatticeFunction)
(hT : BandPrototile (q 0) T)
(hodo : TileOdometer (q 0) T h)
(hext : GlobalOdometerExtends g h)
(hS : ∀ (i : Fin 3) (s : Bool), BandSubtileOccurrence q T i s (S i s))
(hcells : ∀ (x : LatticeCell), x ∈ T.cells ↔ ∃ (i : Fin 3) (s : Bool), x ∈ (S i s).cells)
(x : GaussianInt)
(hx : x ∈ FootprintVertices T)
(hxb : x ∉ BoundaryFootprintVertices T)
:
have k := Nat.card { is : Fin 3 × Bool // x ∈ BoundaryFootprintVertices (S is.1 is.2) };
(k = 2 → GaussianRealPoint x ≠ TileCentroid T → FourNeighborLaplacian g x = 1) ∧ (k = 2 → GaussianRealPoint x = TileCentroid T → FourNeighborLaplacian g x = 0) ∧ (k = 3 → FourNeighborLaplacian g x = 0) ∧ (k = 4 → GaussianRealPoint x ≠ TileCentroid T → FourNeighborLaplacian g x = -1) ∧ (k = 4 → GaussianRealPoint x = TileCentroid T → FourNeighborLaplacian g x = -2) ∧ ((k = 2 ∨ k = 3 ∨ k = 4) ∨ ∃ (i : Fin 3) (s : Bool),
0 < (q i.succ).1 ∧ x ∈ FootprintVertices (S i s) ∧ x ∉ BoundaryFootprintVertices (S i s))
The interior table uses the root odometer and subtile geometry.
theorem
ApollonianSuperharmonic.BandOdometerInteriorTable
(q : Fin 4 → CircleCoordinates)
:
ProperBandQuadruple q →
∀ (T : ProtoTile) (S : Fin 3 → Bool → ProtoTile) (h : PartialOdometer) (hs : Fin 3 → Bool → PartialOdometer)
(g : IntegerLatticeFunction),
BandPrototile (q 0) T →
TileOdometer (q 0) T h →
GlobalOdometerExtends g h →
(∀ (i : Fin 3) (s : Bool), BandSubtileOccurrence q T i s (S i s)) →
(∀ (x : LatticeCell), x ∈ T.cells ↔ ∃ (i : Fin 3) (s : Bool), x ∈ (S i s).cells) →
(∀ (i : Fin 3) (s : Bool), TileOdometer (q i.succ) (S i s) (hs i s)) →
(∀ (i : Fin 3) (s : Bool), GlobalOdometerExtends g (hs i s)) →
∀ x ∈ FootprintVertices T,
x ∉ BoundaryFootprintVertices T →
have k := Nat.card { is : Fin 3 × Bool // x ∈ BoundaryFootprintVertices (S is.1 is.2) };
(k = 2 → GaussianRealPoint x ≠ TileCentroid T → FourNeighborLaplacian g x = 1) ∧ (k = 2 → GaussianRealPoint x = TileCentroid T → FourNeighborLaplacian g x = 0) ∧ (k = 3 → FourNeighborLaplacian g x = 0) ∧ (k = 4 → GaussianRealPoint x ≠ TileCentroid T → FourNeighborLaplacian g x = -1) ∧ (k = 4 → GaussianRealPoint x = TileCentroid T → FourNeighborLaplacian g x = -2) ∧ ((k = 2 ∨ k = 3 ∨ k = 4) ∨ ∃ (i : Fin 3) (s : Bool),
0 < (q i.succ).1 ∧ x ∈ FootprintVertices (S i s) ∧ x ∉ BoundaryFootprintVertices (S i s))