Exact one-way input block runs
DefinitionJointInputBlockRuncomplexity-theory
A block run executes a finite one-work-tape program from one work configuration to another while consuming a designated Boolean block. The run stops at the transition that consumes the final bit of the block.
Definition code
import Definitions.Def_AnchoredOneWorkTapeRun
set_option autoImplicit false
namespace PvsNP.OnlineJointHybrid
open WorkBoundarySplice OnlineWindowIO
variable {Q A : Type}
/-- An input block run stops at the first time its final input bit is
consumed. Each transition tests an existing bit in the block. -/
inductive BlockRun (M : OnlineMachine Q A) :
Config Q A → List Bool → Config Q A → ℕ → Prop
| empty (c : Config Q A) : BlockRun M c [] c 0
| next {a c : Config Q A} {bit : Bool} {rest : List Bool}
{q : Q} {symbol : A} {move : Motion} {eat : Bool} {ticks : ℕ} :
M a.state (a.tape a.head) (some bit) = some (q,symbol,move,eat) →
BlockRun M ⟨q,move.shift a.head,write a.tape a.head symbol⟩
(unreadAfter eat (bit::rest)) c ticks →
BlockRun M a (bit::rest) c (ticks+1)
end PvsNP.OnlineJointHybrid
Source
Finite operational semantics for independent time-window substitution.