P3511T1AttachmentIntersection #
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.P3511T1AttachmentIntersection
{n count : ℕ}
(vertex : Fin (n + 3) → ℝ × ℝ)
(face : Fin count → Fin 3 → Fin (n + 3))
(hexact :
∀ (k l : Fin count),
(convexHull ℝ) (Set.range (vertex ∘ face k)) ∩ (convexHull ℝ) (Set.range (vertex ∘ face l)) = (convexHull ℝ) (vertex '' (Set.range (face k) ∩ Set.range (face l))))
(order : Fin count ≃ Fin count)
(k : Fin count)
(a b c : Fin (n + 3))
(hface : Set.range (face (order k)) = {a, b, c})
(hnew : ∀ (l : Fin count), ↑l < ↑k → c ∉ Set.range (face (order l)))
(hcount : {l : Fin count | ↑l < ↑k ∧ a ∈ Set.range (face (order l)) ∧ b ∈ Set.range (face (order l))}.ncard = 1)
: