P3544T1RayParity #
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.
Let $C_p$ be P3544T1BoundaryCarrier. A vector $d$ is generic
at $x\notin C_p$ if $\det(d,p_i-x)\ne0$ and
$\det(d,p_{i+1}-p_i)\ne0$ for every index $i$. Count those side indices
whose closed segment meets $x+td$ for some $t>0$; write this finite count
as $N_p(x,d)$. The set $O_p$ consists of the points $x\notin C_p$ for
which some generic $d$ has $N_p(x,d)$ odd. Here
$\det(u,v)=u_1v_2-u_2v_1$. The existential convention does not assume
direction independence, connectedness, diskness, or separation.
Equations
- One or more equations did not get rendered due to their size.