FourNeighborConnected #
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 set of lattice cells is four-neighbor connected when it is
nonempty and every two of its cells can be joined by a finite list of cells
in the set, each consecutive pair sharing a complete unit side in the sense
of FourNeighborAdjacent.
Equations
- One or more equations did not get rendered due to their size.