RAM-to-TM time-class containment #
The fixed twenty-work-tape simulators transfer logarithmic-cost RAM deciders to deterministic Turing deciders. The sparse fallback gives the original quartic polynomial envelope; the dense-input overlay gives the sharp quadratic parametric containment. Together with the sparse TM-to-RAM compiler, these establish machine-model robustness of polynomial time.
Evaluating the packaged simulator polynomial gives its concrete runtime envelope with the supplied polynomial RAM-time bound.
Every RAM decider transfers to the fixed sparse Turing simulator with the explicit fourth-degree envelope around its logarithmic-time bound.
Every RAM decider transfers to the optimized fixed dense-input simulator with an explicit quadratic envelope in input length plus RAM time.
Under the standard assumption that the RAM time bound dominates reading
the input, logarithmic-cost RAM time T is contained in deterministic Turing
time T².
Every polynomial logarithmic-cost RAM language is in deterministic polynomial Turing time.
Polynomial time is invariant between the concrete multitape TM and logarithmic-cost RAM models formalized in the library.