Equal crossing records allow splicing two single-tape runs
ProvedPvsNP.WorkBoundarySplice.splicecomplexity-theoryformal-verification
Two finite runs start at a common head position, end with a specified control-state property, and have the same sequence of arrival states across a fixed work-tape boundary. The mixed initial configuration takes the starting-side half-tape from one run and the other half from the other run. Its run reaches the same terminal property with the same crossing record in at most the sum of the two original step counts.
Preamble
import Definitions.Def_SingleTapeWorkBoundary
set_option autoImplicit false
open PvsNP.WorkBoundarySplice
variable {Q Γ : Type*}
Formal statement
theorem PvsNP.WorkBoundarySplice.splice {M : Machine Q Γ} {cut : ℤ} {accept : Q → Prop}
{record : List Q} {a b : Config Q Γ} {n m : ℕ}
(sameHead : a.head = b.head)
(left : Run M cut accept a record n) (right : Run M cut accept b record m) :
∃ k, k ≤ n+m ∧ Run M cut accept (patch cut (rightOf cut a.head) a b) record k := by sorrySource
Formalized crossing-sequence splicing after F. C. Hennie (1965), doi:10.1016/S0019-9958(65)90399-2.