Documentation

LeanPool.ApollonianSuperharmonic.P3161T1SquareTriangleComplement

P3161T1SquareTriangleComplement #

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.P3161T1SquareTriangleComplement (S : Finset (ℤ × ℤ)) (hS : S ⊆ {(0, 0), (1, 0), (0, 1)}) (a b : ℤ × ℤ) (ha : a ∉ S) (hb : b ∉ S) :
Relation.ReflTransGen (fun (x y : ℤ × ℤ) => (x.1 = y.1 ∧ (x.2 + 1 = y.2 ∨ y.2 + 1 = x.2) ∨ x.2 = y.2 ∧ (x.1 + 1 = y.1 ∨ y.1 + 1 = x.1)) ∧ x ∉ S ∧ y ∉ S) a b