Documentation

CslibFrontier.Algorithms.WordRAM.ThreeSum.Decision.VisitorForestInvariant

Live frontend forest state for the in-place Chan–He visitor #

The outer proof state records completed root descriptors and the nodes already consumed. Every untouched frontend array remains live. Allocation credit reserves a separate complete recursion budget for each remaining root; no published packed-pointer table is retained.

Restrict one root to its allocation allowance without moving any physical region.

A smaller root allocation allowance retains the admitted native kernel envelope.

The caller's same value and address envelope covers every restricted root.

Proof state of the actual descriptor loop.

  • index : ℕ

    Number of actual root descriptors already consumed.

  • Exact ordered mathematical nodes already supplied to the native solver.

Exact pending mathematical preorder for the untouched frontend descriptors.

Outer traversal credit plus charges for the actual nodes still awaiting the solver.

Loading the next descriptor consumes precisely its recursion preorder before later roots.

Exact outer charge for one root, including descriptor loading, increment and loop control.

Actual descriptors, live memory and Boolean fold at the native outer loop header.