P5667T1StraightFrontierLocalSides #
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.P5667T1StraightFrontierLocalSides
(U : Set (ℝ × ℝ))
(hU : IsOpen U)
(he : frontier (closure U)ᶜ = frontier U)
(x B : ℝ × ℝ)
(hB : B ≠ 0)
(r : ℝ)
(hr : 0 < r)
(hchart :
frontier U ∩ Metric.ball x r = ({q : ℝ × ℝ | ∃ (a : ℝ), 0 ≤ a ∧ q = x + a • ‖B‖⁻¹ • B} ∪ {q : ℝ × ℝ | ∃ (a : ℝ), 0 ≤ a ∧ q = x - a • ‖B‖⁻¹ • B}) ∩
Metric.ball x r)
:
∃ (e : Bool), P3934T1LocalSide U x B e ∧ P3934T1LocalSide (closure U)ᶜ x B !e