P4812T1AffineTransport #
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.P4812T1AffineTransport
(L : AddSubgroup GaussianInt)
(k : ℤ × ℤ ≃+ ↥L)
(P : PlaneTriangulation (ℤ × ℤ))
(up down : ℤ × ℤ → P.Face)
(hadj : ∀ (x y : ℤ × ℤ), P.adjacent x y ↔ TriangularLatticeAdjacent x y)
(hu : Function.Injective up)
(hd : Function.Injective down)
(hud : ∀ (x y : ℤ × ℤ), up x ≠ down y)
(hall : ∀ (f : P.Face), (∃ (x : ℤ × ℤ), f = up x) ∨ ∃ (x : ℤ × ℤ), f = down x)
(hup :
∀ (x : ℤ × ℤ), P.faceVertex (up x) 0 = x ∧ P.faceVertex (up x) 1 = x + (1, 0) ∧ P.faceVertex (up x) 2 = x - (0, 1))
(hdown :
∀ (x : ℤ × ℤ),
P.faceVertex (down x) 0 = x ∧ P.faceVertex (down x) 1 = x - (1, 0) ∧ P.faceVertex (down x) 2 = x + (0, 1))
(hpos : ∀ (x : ℤ × ℤ), P.position x = (↑x.1 - ↑x.2 / 2, ↑x.2))
(harc :
∀ (z x y : ℤ × ℤ), P.edgeArc (z + x) (z + y) = (fun (p : ℝ × ℝ) => p + (↑z.1 - ↑z.2 / 2, ↑z.2)) '' P.edgeArc x y)
(hregions :
∀ (z x : ℤ × ℤ),
P.faceRegion (up (z + x)) = (fun (p : ℝ × ℝ) => p + (↑z.1 - ↑z.2 / 2, ↑z.2)) '' P.faceRegion (up x) ∧ P.faceRegion (down (z + x)) = (fun (p : ℝ × ℝ) => p + (↑z.1 - ↑z.2 / 2, ↑z.2)) '' P.faceRegion (down x))
(H : ℝ × ℝ ≃ₜ ℝ × ℝ)
(hadd : ∀ (p r : ℝ × ℝ), H (p + r) = H p + H r)
(hcoord : ∀ (x : ℤ × ℤ), H (↑x.1 - ↑x.2 / 2, ↑x.2) = GaussianRealPoint ↑(k x))
:
Nonempty (P4812T1AffineDrawing L k)