Documentation

LeanPool.ApollonianSuperharmonic.P3381T1TriangleDeterminant

P3381T1TriangleDeterminant #

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.

For three plane points $p_0,p_1,p_2$, put $$ d(p)= (p_1-p_0)_1(p_2-p_0)_2-(p_2-p_0)_1(p_1-p_0)_2. $$ Thus $d(p)\ne0$ means that the triangle is nondegenerate; its unsigned area is $|d(p)|/2$.

Equations
Instances For