claimroutineinferred_dep
Callback compiles virtual padded input reads
Callback answers virtual padded-input reads using four -bit words
avoids storing the exponentially long padded input
Claim·§13.4 Compiling the virtual input operations·inside thmEffective compiler from randomized to deterministic logspace
Statement (paper)
The generated machine simulates the library on the padded input, answering each virtual input read by a callback that uses only the four auxiliary words (the length count , , , ), each of at most bits. The callback returns the correct endmarker when or , regenerates the prefix symbol at address from the real input, and returns zero for a padding address, leaving the library's work tapes untouched. Every auxiliary routine terminates, is total, and the generation of is a finite effective process that does not test the source's promises.
In plain English
The deterministic machine simulates the library on the padded input without writing it out, answering each virtual input read with a callback that keeps only four auxiliary words (, , , ) of at most bits each. The callback returns the endmarker at addresses and , recomputes the prefix symbol at address from the real input, and returns zero on padding addresses, all without disturbing the library's work tapes; every routine terminates, so is total and its generation is effective without checking the source's promises.
Why it's here
This makes the padded input (whose acceptance behaviour matches by the padding claim) available to the library using only a few logarithmic-size words, so no exponentially long input is ever stored. It supplies the callback data whose space is bounded alongside the library's tapes in the next claim, and ensures is a total, effectively generated machine independent of whether meets its promises.
Classified routine:
Standard virtual-input (composition of logspace computations by recomputing input symbols on demand) technique, as in the textbook proof that logspace reductions compose (e.g., Arora–Barak), applied to the padded input from the earlier padding claim.
Uses
Used by
Sources
PaperOpen
- Section
- §13.4 Compiling the virtual input operations
- Page
- —
- Label
—- Line
sections/compiler.tex:353
Leannot aligned
Phase 2 aligns this node to a Lean declaration.
Friction
- infoinferred_depoutline: "Callback compiles virtual padded input reads" rests on claim-thm-effective-simulation-1
- infoinferred_depoutline: "Callback compiles virtual padded input reads" rests on claim-thm-effective-simulation-2