TriangularBoundaryStrip #
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 distinct endpoints $x,y\in\mathbb Z^2$, their left boundary strip is
the height window
$$ \mathcal B(x,y)=\{z\in\mathbb Z^2:0\leq \Phi_{x,y}(z)<M_{x,y}\}, $$
where $\Phi$ and $M$ are respectively
TriangularSignedHeight and
TriangularMaxIncrement.
The same formula is used when $x=y$; in that case $M_{x,x}=0$ and the
window is empty. The equal-endpoint string is handled separately by the
segment definition.
Equations
- One or more equations did not get rendered due to their size.