Literal old-machine execution preserving an added tape and its head at the exact original clock
ProvedIntMul.FixedTapeExtension.simulate_runalgorithmsfixed-tape-routinginteger-multiplicationturing-machines
For every finite k-tape machine, old configuration c, arbitrary saved configuration on the additional tape and clock T, the constructed k+1-tape machine reaches exactly the embedding of the old T-step configuration after exactly T physical transitions. Every old tape cell and head is the old machine result; every added-tape cell and its head equals its saved value. The alphabet and finite control are unchanged, and no additional seeking or dispatch is introduced. This allows existing physical bank services to run while a continuation stack remains intact on one fixed additional tape.
Preamble
import Definitions.Def_IntMul_FixedTapeExtension import Mathlib.Tactic open IntMul IntMul.FixedTapeExtension
Formal statement
theorem IntMul.FixedTapeExtension.simulate_run (M : MultitapeTM) (base : (machine M).Cfg) (c : M.Cfg) (T : ℕ) :
(machine M).step^[T] (embed M base c) = embed M base (M.step^[T] c) ∧
((machine M).step^[T] (embed M base c)).cells (extraTape M) = base.cells (extraTape M) ∧
((machine M).step^[T] (embed M base c)).head (extraTape M) = base.head (extraTape M) ∧
(∀ j, ((machine M).step^[T] (embed M base c)).cells (oldTape M j) = (M.step^[T] c).cells j) ∧
(∀ j, ((machine M).step^[T] (embed M base c)).head (oldTape M j) = (M.step^[T] c).head j) := by sorrySource
Original exact-clock tape extension for saved continuation records in integer-multiplication shared foundations. Written by Codex.