PeriodicTileTotalIndegree #
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.PeriodicTileTotalIndegree
(C : BandCircle)
(T : ProtoTile)
(h : PartialOdometer)
(g : IntegerLatticeFunction)
(hdom : ↑h.domain = FootprintVertices T)
(hT : BandPrototile (↑↑C) T)
(hlat : LatticeTile T)
(htile : ExactTileTiling (RegularTileFamily T (TilingLattice C)))
(hweb : ∀ x ∈ BoundaryFootprintVertices T, FourNeighborLaplacian g x = 1)
(hperiod :
∃ (b : ℝ × ℝ),
∀ v ∈ TilingLattice C,
∀ (x : GaussianInt),
↑(g (x + v)) - LatticeQuadraticForm (CircleMatrix C) (x + v) - (b.1 * ↑(x + v).re + b.2 * ↑(x + v).im) = ↑(g x) - LatticeQuadraticForm (CircleMatrix C) x - (b.1 * ↑x.re + b.2 * ↑x.im))
:
have D := {x ∈ h.domain | decide (x ∉ BoundaryFootprintVertices T) = true};
∑ x ∈ D, (2 + FourNeighborLaplacian g x) = ↑({e ∈ D.product D | decide (FourNeighborAdjacent e.1 e.2) = true}.card / 2)