PartialOdometerAffineTranslateFormulas #
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.PartialOdometerAffineTranslateFormulas
(h : PartialOdometer)
(u a : GaussianInt)
(b : ℤ)
:
(PartialOdometerAffineTranslate h u a b).domain = Finset.image (GaussianTranslation u) h.domain ∧ (∀ (x : GaussianInt), x ∈ (PartialOdometerAffineTranslate h u a b).domain ↔ x - u ∈ h.domain) ∧ (∀ x ∈ (PartialOdometerAffineTranslate h u a b).domain,
(PartialOdometerAffineTranslate h u a b).value x = h.value (x - u) + a.re * x.re + a.im * x.im + b) ∧ ↑(PartialOdometerAffineTranslate h u a b).domain = GaussianTranslation u '' ↑h.domain ∧ (∀ (T : ProtoTile),
↑h.domain = FootprintVertices T →
↑(PartialOdometerAffineTranslate h u a b).domain = FootprintVertices (TileTranslation T u)) ∧ PartialOdometerSlope (PartialOdometerAffineTranslate h u a b) = Option.map (fun (p : ℝ × ℝ) => (p.1 + ↑a.re, p.2 + ↑a.im)) (PartialOdometerSlope h)