RootedFourNeighborForest #
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 induced four-neighbor graph $W$ is a \emph{forest rooted at $R\subseteq W$} if every nonroot has a parent joined to it by a lattice edge, ranks strictly increase from parent to child, the rank-zero vertices are exactly $R$, every root is its own parent, and every edge is a parent edge. These conditions force each connected component to be a tree containing exactly one root.
Equations
- One or more equations did not get rendered due to their size.