lemmaroutine
Fixed interpreter with enforced resource bounds
A fixed randomized interpreter enforces time and space limits on encoded machines
universal machine for padding and library arguments
Lemma·
lem:compiler-interpreter·§13.1 One fixed interpreter with enforced resource boundsStatement (paper)
There is one fixed randomized Turing machine with polynomial
worst-case running time and counted work bits on every
binary input of length , with the following behavior.
Set
On an input with prefix
it first requires and
. It then simulates the encoded machine
for at most transitions, allowing each counted work tape only
coordinates in . It rejects malformed data, a requested move
outside these bounds, or failure to halt by the end of the transition
budget. Otherwise it returns the encoded machine's decision. The
suffix after the complete prefix has no parsing significance.
In plain English
There is a single fixed randomized machine , running in polynomial time and using work bits on inputs of length , that reads a prefix , checks and , and simulates the encoded machine for at most steps with each counted work tape confined to coordinates in . It rejects on malformed data, out-of-bounds moves, or failure to halt in time, and otherwise outputs the encoded machine's decision; anything after the prefix is ignored.
Why it's here
This gives one universal machine whose time and space limits are enforced by the interpreter itself, not assumed of the encoded machine. Later results can therefore treat any encoded machine as a resource-bounded computation of , which is what the padding and fixed-library arguments need.
Classified routine:
This is a standard universal Turing machine with clocked time and space bounds, the usual simulation used in hierarchy theorems and padding arguments (e.g. Arora–Barak textbook). Here it is adapted to a specific input encoding and work-tape cap.
Uses
Nothing else in the paper
Used by
Sources
PaperOpen
- Section
- §13.1 One fixed interpreter with enforced resource bounds
- Page
- —
- Label
lem:compiler-interpreter- Line
sections/compiler.tex:112
Leannot aligned
Phase 2 aligns this node to a Lean declaration.