Oracle inlining with an input context on Boolean multistack Turing machines
ProvedBinaryTM2.inline_oracle_with_prefixbin-packingcomputational-complexityfixed-parameter-tractabilityinteger-programming
For any Boolean oracle machine and ordinary Boolean TM2 , one ordinary machine simulates given a caller input and a separately framed prefix . Each oracle call on runs on the raw concatenation . If those calls take at most steps for words of length at most , a -step oracle run is simulated in at most ordinary steps. The prefix can vary with the input.
Preamble
import Mathlib import Definitions.Def_HMBinPacking_OracleMachine import Definitions.Def_HMBinPacking_OutputsWithin
Formal statement
namespace BinaryTM2
theorem inline_oracle_with_prefix (A : HMBinPacking.OracleMachine) (S : Turing.TM2ComputableAux Bool Bool) :
∃ (M : Turing.TM2ComputableAux Bool Bool) (a : ℕ), ∀ (O : List Bool → List Bool)
(s x y : List Bool) (t Q N : ℕ), HMBinPacking.ORunsWithin A O x y t Q →
(∀ q : List Bool, q.length ≤ Q → HMBinPacking.OutputsWithin S (s++q) (O q) N) →
HMBinPacking.OutputsWithin M (s.flatMap (fun b => [true,b]) ++ false::x) y
(a*(t+1)*(N+Q+s.length+1)) := by sorry
end BinaryTM2Source
Auxiliary machine-composition theorem for High-Multiplicity Bin Packing, Lemmas 5 and 8.