Native read-only seed accumulation #
Read a seed word in index order. A code-bit function of the retained context and the index masks each bit before the shared base-six update. The first absent bit halts the scan. The resource certificate assumes a native linear-space code-bit function on the encoded context and binary index.
The code context and the registers for a single read-only seed scan.
Scan the seed from index zero and return the accumulated binary weight at the first absent input bit.
The five scan components have native linear-space certificates given a binary-indexed code-bit certificate on the retained context.
Replacing the finish handler preserves first halt at the first absent bit. The emitted word is the new handler applied to the final registers.
For a fixed initial context, the native raw seed scan can return any certified binary function of the final registers. The output length is charged to the workspace bound.
For a fixed initial code context, accumulate a raw seed word in native linear space. The uniform code-bit certificate is used at every read.