Documentation

LeanPool.ApollonianSuperharmonic.P4953T1TriangleSections

P4953T1TriangleSections #

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.P4953T1TriangleSections (σ : ℝ) (A x B : ℂ) (hAx : A.im < x.im) (hxB : x.im < B.im) (hgap : 0 < σ * (A.re + (B.re - A.re) * (x.im - A.im) / (B.im - A.im) - x.re)) :
have d := fun (y : ℝ) => A.re + (B.re - A.re) * (y - A.im) / (B.im - A.im); have e := fun (y : ℝ) => A.re + (x.re - A.re) * (y - A.im) / (x.im - A.im); have f := fun (y : ℝ) => x.re + (B.re - x.re) * (y - x.im) / (B.im - x.im); have T := (convexHull ℝ) {x, A, B}; (∀ (z : ℂ), z ∈ interior T ↔ 0 < σ * (d z.im - z.re) ∧ 0 < σ * (z.re - e z.im) ∧ 0 < σ * (z.re - f z.im)) ∧ (∀ (z : ℂ), A.im ≤ z.im → z.im ≤ x.im → (z ∈ T ↔ 0 ≤ σ * (z.re - e z.im) ∧ 0 ≤ σ * (d z.im - z.re))) ∧ (∀ (z : ℂ), x.im ≤ z.im → z.im ≤ B.im → (z ∈ T ↔ 0 ≤ σ * (z.re - f z.im) ∧ 0 ≤ σ * (d z.im - z.re))) ∧ frontier T = segment ℝ x A ∪ segment ℝ x B ∪ segment ℝ A B