SimpleGridPath #
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.
A footprint graph $(V,E)$ is a simple nontrivial grid path when its vertices can be listed without repetition as $p_0,\ldots,p_n$ with $n\geq1$, and its edges are exactly the unordered pairs $\{p_j,p_{j+1}\}$ of consecutive vertices. Every consecutive pair must differ by one of $\pm1,\pm i$, so each displayed pair is an actual unit edge of the Gaussian-integer lattice.
Equations
- One or more equations did not get rendered due to their size.