P3934T1LocalSide #
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 a plane set $U$, a point $z$, a vector $w$, and a Boolean $e$, write $\operatorname{Side}(U,z,w,e)$ if some $r>0$ satisfies $$ U\cap B(z,r)=\{q\in B(z,r):[w,q-z]>0\}\quad(e=\mathrm{true}), $$ and the same equation with $[w,q-z]<0$ if $e=\mathrm{false}$. Here $[w,h]=w_1h_2-w_2h_1$ and balls use the product norm.
Equations
- One or more equations did not get rendered due to their size.