P4210T1FordCellRectangles #
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.P4210T1FordCellRectangles
(q : ℕ)
(z : GaussianInt)
:
(z ∈ (FordTile q).cells ↔ 0 ≤ z.re ∧ z.re < ↑q ∧ 0 ≤ z.im ∧ z.im < ↑q) ∧ ∀ (r s : ℕ),
q = r + s →
(z ∈ (FordTile q).cells ↔ z ∈ (FordTile r).cells ∨ z ∈ (TileTranslation (FordTile r) { re := ↑s, im := ↑s }).cells ∨ z ∈ (TileTranslation (FordTile s) { re := ↑r, im := 0 }).cells ∨ z ∈ (TileTranslation (FordTile s) { re := 0, im := ↑r }).cells)