Direct-unrolling transition-case generator #
Exact contracts for the forward stream of a fixed transition case, together with soundness of the complete case-formula emitter.
Complete fixed transition-case emission is sound.
Complete fixed-case emission has an all-prefix width certificate under one bounded-selector arithmetic envelope. The symbol-selector hypotheses are the semantic ranges of transition-table data; the cap simultaneously covers the wire frontier, absolute references, and the read-size arithmetic scratch.
A clean case-formula entry state satisfies every framed arithmetic, reference, and gate-emission precondition of the complete emitter.
Complete case emission restores every owned scratch register and advances the wire frontier by exactly the canonical case-schedule size.
Complete case emission is byte-for-byte the canonical numeric transition case schedule, not merely a circuit with the same gate count.
The clean-entry contract suffices for the forward member stream.
The forward member stream restores its owned reference scratch and only retains the final tape and symbol selectors while advancing the wire frontier.
The forward member stream is exactly the canonical numeric member schedule in choice, state, input, work-tape, and output order.