Redirecting the output to a work tape #
outputToTape tm behaves like tm, except that whatever tm would append to the write-only
output tape is written on a fresh work tape instead, whose head always stands at the write
frontier.
Since the output is append-only, the frontier position is a function of the configuration —
the length of the output so far — so the redirected machine mirrors the original through the
configuration map outCfg. The main lemmas show that one step and an entire run of the redirected
machine mirror the corresponding step and run of tm.
tm, with its output writes redirected onto a fresh last work tape, whose head always stands
at the write frontier.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A configuration of tm, as the redirected machine sees it: the output so far sits on the
last work tape with the head at its end, and the real output is empty.
Equations
- One or more equations did not get rendered due to their size.
Instances For
outputToTape tm never writes the real output, so replacing it commutes with a step.
The redirected run commutes with the real output already present.
outputToTape's space does not depend on the real output already present.
The initial configuration of the redirected machine is the original's through outCfg.
Space of the output-redirected machine. The k inner tapes visit exactly what the original
does, and the frontier head only walks between the initial and the final length of the output, so
the redirection costs at most the final output length plus one.