Direct-unrolling read-formula generator #
A stack-free proof-carrying routine that emits the exact numeric gate schedule for reading one symbol from a bounded encoded configuration.
Complete read-formula emission is sound.
One reverse-fold connector has a pointwise width certificate when its frontier and both reference registers fit the shared width.
Complete read-formula emission has a pointwise width certificate when the wire frontier and every head- and cell-reference intermediate fit the shared width.
The clean-entry contract suffices for every arithmetic, loop, reference, and raw-gate leaf in complete read-formula emission.
Complete read-formula emission restores all owned scratch and only advances the wire frontier, by four gates per possible head position plus the false identity gate.
Complete read-formula emission produces exactly the canonical serialized read-formula schedule at the current horizon and wire frontier.