ifTM simulation — proof internals #
This file contains the simulation lemmas for ifTM tmTest tmThen tmElse.
Key definitions #
ifTestWrap— embed atmTestconfig into theifTMconfig spaceifThenWrap— embed atmThenconfig into theifTMconfig spaceifElseWrap— embed atmElseconfig into theifTMconfig space
Embed a tmTest config into the ifTM config space (test phase).
Equations
Instances For
Embed a tmThen config into the ifTM config space (then branch).
Equations
Instances For
Embed a tmElse config into the ifTM config space (else branch).
Equations
Instances For
One step of tmTest corresponds to one step of ifTM during the test phase.
Multi-step test phase simulation.
One step of tmThen corresponds to one step of ifTM during the then branch.
Multi-step then-branch simulation.
One step of tmElse corresponds to one step of ifTM during the else branch.
Multi-step else-branch simulation.
When tmThen halts, one step transitions to done.
When tmElse halts, one step transitions to done.
When tmTest halts, one step enters the rewindOut phase.
Extended rewind loop: also tracks that input and work tapes are preserved when they satisfy the stability condition (head ≥ 1, cells ≥ 1 ≠ start).
Check step to then-branch, tracking all tapes.
Check step to else-branch, tracking all tapes.