P3475T1UnitSegmentIntersection #
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.P3475T1UnitSegmentIntersection
(a b c d : GaussianInt)
(hab : FourNeighborAdjacent a b)
(hcd : FourNeighborAdjacent c d)
(hne : {a, b} ≠ {c, d})
:
segment ℝ (GaussianRealPoint a) (GaussianRealPoint b) ∩ segment ℝ (GaussianRealPoint c) (GaussianRealPoint d) = {z : ℝ × ℝ | (z = GaussianRealPoint a ∨ z = GaussianRealPoint b) ∧ (z = GaussianRealPoint c ∨ z = GaussianRealPoint d)}