Documentation

LeanPool.ApollonianSuperharmonic.P3597T1DirectionParity

P3597T1DirectionParity #

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.P3597T1DirectionParity {n : ℕ} (p : P3381T1PolygonBoundary n) (x d d' : ℝ × ℝ) (hx : x ∉ P3544T1BoundaryCarrier p) (hdv : ∀ (i : Fin (n + 3)), d.1 * (p.vertex i - x).2 - d.2 * (p.vertex i - x).1 ≠ 0) (hdv' : ∀ (i : Fin (n + 3)), d'.1 * (p.vertex i - x).2 - d'.2 * (p.vertex i - x).1 ≠ 0) :
{i : Fin (n + 3) | ∃ (t : ℝ), 0 < t ∧ x + t • d ∈ segment ℝ (p.vertex i) (p.vertex (i + 1))}.ncard % 2 = {i : Fin (n + 3) | ∃ (t : ℝ), 0 < t ∧ x + t • d' ∈ segment ℝ (p.vertex i) (p.vertex (i + 1))}.ncard % 2