Sparse RAM program controller -- proof internals #
The exact snapshot work image satisfies the complete reusable instruction ABI whenever its sparse store is canonical.
Final sparse lookup and Boolean emission recover the RAM verdict register.
Final sparse lookup overwrites the loop's halt-test bit with the RAM verdict, so the controller and extractor compose without an output reset.
The loop's fixed three-step rewind/check tail preserves every tape exactly.
The decrementing selector emits the verdict of the selected instruction and restores its scratch tape to the clean ABI.
Copy the canonical PC, select its fixed-program instruction, and emit its halt verdict while restoring the complete instruction ABI.
One loop iteration realizes one pure sparse step and either halts on the
successor's halt instruction or returns to the body start with blank output.
A halted fuel-bounded sparse run is realized by the fixed controller loop. The extra iteration handles a snapshot that is already halted at fuel zero.