Exact configuration addresses for a time-padded multitape machine
ProvedTuring.MultiTapeTM.exists_exact_padded_configuration_readoutcomplexity-theoryformal-verificationturing-machines
Let a deterministic multitape Turing machine have finitely many control states. Add one work tape and keep the alphabet, assuming a marker symbol is available. The new machine starts with blank work tapes. For a nonempty input of length , write the worker time as with at most and . At the physical time , a fixed projection of the new machine's configuration is exactly the original configuration at time , including its halting flag, heads, tapes, and output. The physical time is at most .
Preamble
import Definitions.Def_Complexitylib_0ebd467_Computability_Machines_Turing_MultiTape_Deterministic universe u v open Turing Turing.MultiTapeTM
Formal statement
theorem Turing.MultiTapeTM.exists_exact_padded_configuration_readout {k : ℕ} {S : Type u} {Q : Type v} [Finite Q]
(worker : MultiTapeTM k S Q) (mark : S) :
∃ (R : Type v) (_finite : Finite R) (wrapper : MultiTapeTM (k+1) S R)
(projectState : ∀ {input : List S}, Cfg (k+1) S R input → Cfg k S Q input),
∀ (input : List S), 0 < input.length → ∀ t : ℕ,
let n := input.length
let address := (2*n+2) + (t/n)*(2*n+2) + t%n
projectState (wrapper.runFrom (wrapper.initCfg input) address) =
worker.runFrom (worker.initCfg input) t ∧
address ≤ 2*n+2+4*t := by sorrySource
Direct clock construction in the deterministic Cslib multitape Turing machine model. The statement includes blank-tape initialization and exact addresses for all worker indices.