A fixed sparse-RAM block for one Turing-machine transition #
The generated program depends only on the Turing machine. Its interleaved
layout computes cell addresses at runtime, so no tape or time bound is baked
into the program. The exact address/loading layers, selected action, complete
nested dispatch, fixed iteration controller, and transfer to concrete compiled
RAM execution are checked. The separate Sparse.ABI surface supplies the
public input/output marshalling layer.
Computing a named tape's current-cell address preserves the represented configuration and returns the exact sparse cell register.
The fixed loading prelude preserves the complete sparse representation, initializes its constants, and recovers the state and every head symbol.
Once the loaded finite state and symbols select an action, the fixed sparse operations represent the exact TM successor.
The fixed structured program, determined solely by tm, performs exactly
one nonhalting TM transition with the advertised source instruction count.
The complete fixed source block decodes to the exact successor without a tape-window premise.
Exact transfer of the uniform one-step theorem to the concrete compiled RAM block, including the compiler's logarithmic cost and peak space.
The fixed loop controller follows any exact halting TM run and retains a complete representation of its halted configuration.
The same fixed loop decodes to the exact halted TM configuration.
Exact compiled-RAM transfer for the complete fixed simulation loop.
Quantitative one-step theorem for the fixed sparse program. The exact source step count, logarithmic time, and peak sparse-store space are all checked against one explicit envelope.
Quantitative iteration theorem for the fixed sparse simulator. Starting
with heads bounded by base, steps transitions fit one envelope at
base + steps; costs compose into runTimeBound.
The accumulated exact cost expression is linear in the number of simulated steps and logarithmic in the common sparse word bound.
Concrete compiled-RAM resource transfer from a canonical sparse encoding.
This is the finite, directly checkable core of the forward containment: a
steps-step halting TM run is simulated by one program depending only on
tm, with the stated logarithmic time and sparse-store space bounds.