P4217T2SquareGeometry #
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.P4217T2SquareGeometry
(q : ℕ)
(g : IntegerLatticeFunction)
(hq : 0 < q)
:
↑(P4217T2SquareRestriction q g).domain = FordVertexDomain q ∧ (∀ x ∈ (P4217T2SquareRestriction q g).domain, (P4217T2SquareRestriction q g).value x = g x) ∧ PartialOdometerSquares (P4217T2SquareRestriction q g) = (FordTile q).cells ∧ (PartialOdometerSquares (P4217T2SquareRestriction q g)).card = q * q ∧ (PartialOdometerSquares (P4217T2SquareRestriction q g)).Nonempty