Complete charged execution of the shared encoder #
Main results #
Encoding.exec_coordinates: all shared coordinate transforms, with charged loop control.Encoding.exec: complete initialization, transforms and fixed-output copy with an explicit240 * (L+1) * 10^Lnative instruction bound.
The code is directly over the standard unsigned WordRAM. Its signed add/subtract blocks use two extra target bits and respectively at most fifteen/seventeen actual instructions. There is no whole-program signed compiler in this construction and no uncharged simulation premise.
References #
The encodings are from [AlmanWilliams2026, Section 2.4.1]; see Encoding for provenance.
Explicit total instruction bound, including header preparation, all index arithmetic, stage and cell loop control, and the final copy. A final halt costs one additional instruction.
Instances For
Every coordinate stage is executed natively. Charging every stage at the maximum buffer
size gives L * (207 * 10^L + 14) + 2 instructions, including both outer loop controls.
The encoder runs from a concrete flat memory layout and preserves every cell outside its output/scratch region. Only the original input magnitude and explicit address bounds are assumed; every intermediate signed arithmetic fit is derived in the coordinate-stage proof.