theorem
Hex.GraphIso.Nauty.Sparse.refineWith_bounded
{n : Nat}
(g : Graph n)
(level : Nat)
(lab ptn : Array Nat)
(active : VSet n)
(numcells : Nat)
(scratch : Scratch)
(h : Scratch.Bounded n scratch)
:
Scratch.Bounded n (refineWith g level lab ptn active numcells scratch).toScratch
The complete executed refinement preserves scratch allocation and mark generation bounds, including distance initialization and both splitter paths.
theorem
Hex.GraphIso.Nauty.Sparse.visit_bounded
{n : Nat}
(g : Graph n)
(level numcells : Nat)
(st : State n)
(h : Scratch.Bounded n st.canong.scratch)
:
Visiting a production-search node retains the same persistent bounds.