BandModifiedCellPartition #
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.BandModifiedCellPartition
(P : Fin 3 → Bool → ProtoTile)
(O : ProtoTile)
(u v : GaussianInt)
(L : AddSubgroup GaussianInt)
(R : Finset GaussianInt)
(hu : u ∈ L)
(hv : v ∈ L)
(hfund : LatticeFundamentalSet L R)
(hcoords : ∀ (w : ↥L), ∃! mn : ℤ × ℤ, ↑mn.1 * u + ↑mn.2 * v = ↑w)
(hcover :
∀ (x : LatticeCell), ∃ (o : PeriodicSubtileIndex), x ∈ (ModifiedSubtileOccurrenceInterpretation P O u v o).cells)
(harea :
TileArea (TileCellComplement (P 0 true) O) + TileArea (P 0 false) + TileArea (P 1 true) + TileArea (P 1 false) + TileArea (P 2 true) + TileArea (P 2 false) = R.card)
(x : LatticeCell)
: