Runtime extension preserves Turing machine decision verdict
ProvedCookLevin.decidesIn_time_addcost-modeldecidesininvarianceruntime-extensionturing-machine
If a multi-tape Turing machine with tapes decides a verdict on input strings within steps, then running for any additional steps preserves the exact same halting state and verdict bit:
Because halts at or before step , the configuration reached at step is in the halting state . By execute_of_halted_le, any subsequent execution steps leave the state and all tape contents completely unchanged. In particular, the verdict tape cell 1 continues to hold at step .
This is a foundational invariance lemma for the cost model of multi-tape Turing machines.
Preamble
import Definitions.Def_CookLevin_Cost
Formal statement
namespace CookLevin
theorem decidesIn_time_add (M : Machine) (k : Nat) (xs ws : List Symbol) (t1 t2 : Nat) (b : Bool)
(h : DecidesIn M k xs ws t1 b) :
DecidesIn M k xs ws (t1 + t2) b := by sorry
end CookLevinSource