Explicit-stack iterative CSR depth-first search (O(N + M)) #
Exports the DFS register invariant DfsRegs and proves the private single-root traversal
specification visitRootCode_spec used by the forward DFS and Kosaraju passes through
import all.
Explicit-stack iterative CSR depth-first search (O(N + M)) #
structure Cslib.Algorithms.WordRAM.DFS.DfsRegs (offAddr edgeAddr visAddr finAddr stkAddr : ℕ) (x : WordRAM.Data 28) :
Register invariant of the depth-first search: constants and array bases.