One-input machines are exactly CSLib's multi-tape machines #
The multi-input model of MIPRE.TM.MultiInput.Deterministic specializes, at input arity
one, to the vendored CSLib model Turing.MultiTapeTM — exactly, not just up to
simulation. This file provides the two machine translations
MultiInputTM.toCSLib : MultiInputTM 1 w Symbol State → MultiTapeTM w Symbol State,MultiInputTM.ofCSLib : MultiTapeTM w Symbol State → MultiInputTM 1 w Symbol State,
shows they are mutually inverse, and proves that along the configuration correspondence
MultiInputTM.cfgEquiv they preserve step, configs, outputString, spaceUsed, and
ComputesInTimeAndSpace on the nose (Milestone A acceptance criteria,
planning/tm-infrastructure.md).
Throughout, a one-input tuple is written fun _ : Fin 1 => input (never ![input]), so
that the dependent input-head positions transport definitionally.
Reinterpret a one-input machine as a CSLib multi-tape machine.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Reinterpret a CSLib multi-tape machine as a one-input machine.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Configurations of a CSLib machine on input correspond exactly to configurations of a
one-input machine on the tuple fun _ => input.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The input symbol read is preserved by the configuration correspondence.
The tuple of input symbols of a transported configuration.
The work symbols read are preserved by the configuration correspondence.
The step functions agree along the configuration correspondence.
The step-indexed runs agree along the configuration correspondence.
The emitted symbols agree along the configuration correspondence.
The output strings agree along the configuration correspondence.
The visited work-tape cells agree along the configuration correspondence.
The space usage agrees along the configuration correspondence.
The initial configurations correspond.
A one-input machine and its CSLib avatar compute the same input/output/time/space quadruples.