Uniform runtime virtual-word access #
A single query machine reads a framed binary data header followed by the original read-only
word. It stores only the header, a binary cursor and finite flags, then reads one original bit.
The original word is never copied into workspace. Both counters in the header are binary.
access_inSpace supplies a single native program with constants shared across all data.
access_inOriginalLogSpace measures its workspace against the original word length under the
explicit parameter-size conditions in Admissible. Outside that domain, access remains total
with the general header-size bound; a cut past the input uses the declared suffix offset.
This is an original implementation lemma supporting, rather than proving, Lemma 3.3 of
[GNR+13].
Reversed header and cursor, followed by payload/ready flags and a fetched bit.
Total decoding of the binary cut, literal suffix and binary address.
Initialize by scanning the framed small header, then fetch one original-input bit. A missing frame marker ends initialization; a missing payload is decoded as false.
Initialization finishes with exactly the supplied header and the original-word offset.
One further step reads the original input at the runtime address.
Header decoding has native space linear in the actual header, even for noncanonical bits.
The runtime address is added to the original-word offset only after initialization.
Halting depends only on the fetched-bit flag.
Header loading and the single original-input read use space linear in compact state.
No output is accumulated while scanning.
The final answer uses the existing native selector certificate.
The fixed runtime machine first halts after loading the header and making one input query.
The total runtime operation. When the cut exceeds the original length it still uses the specified cut as the suffix offset; no padded or reconstructed word is allocated.
One compiled native program handles all runtime cuts, suffixes and addresses, with shared constants. The bound explicitly charges arbitrary header sizes, including invalid parameters.
Admissible parameter sizes are measured against the original word, before its header.
The entire encoded input has a small header; its length cannot hide a large workspace allowance. This also covers original lengths zero and one.
Physical runtime states occupy logarithmic space in the original word length.
The compiled program has logarithmic workspace in the original word length, uniformly across all admissible runtime parameters. The framed input is explicit, not a large encoding chosen to inflate the logarithmic bound.