SimpleGridCycle #
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 finite grid graph $(V,E)$ is a simple grid cycle when its vertices have a cyclic listing $p_0,\ldots,p_{n-1}$ without repetition, with $n\geq4$, every consecutive pair (including $p_{n-1},p_0$) is four-neighbor adjacent, and $E$ consists exactly of those consecutive unordered pairs.
Equations
- One or more equations did not get rendered due to their size.