Inlining a bounded Boolean oracle in an ordinary multistack Turing machine
ProvedBinaryTM2.inline_bounded_oraclebin-packingcomputational-complexityfixed-parameter-tractabilityinteger-programming
Fix a Boolean oracle TM2 and an ordinary Boolean TM2 . A single ordinary TM2 simulates every -step run of whose queries have length at most , provided computes the oracle on every word of length at most within steps. The simulation costs at most steps for a constant independent of the input, oracle and bounds. No separate bound on the answer length is needed.
Preamble
import Mathlib import Definitions.Def_HMBinPacking_OracleMachine import Definitions.Def_HMBinPacking_OutputsWithin
Formal statement
namespace BinaryTM2
theorem inline_bounded_oracle (A : HMBinPacking.OracleMachine) (S : Turing.TM2ComputableAux Bool Bool) :
∃ (M : Turing.TM2ComputableAux Bool Bool) (a : ℕ), ∀ (O : List Bool → List Bool)
(x y : List Bool) (t Q N : ℕ), HMBinPacking.ORunsWithin A O x y t Q →
(∀ q : List Bool, q.length ≤ Q → HMBinPacking.OutputsWithin S q (O q) N) →
HMBinPacking.OutputsWithin M x y (a * (t + 1) * (N + Q + 1)) := by sorry
end BinaryTM2Source
Boolean counterpart of IntConeFPT.oracle_substitution (Prove2Me theorem 88563dbb-cef1-5a5c-8f96-3648c7bd5164), with an intrinsic bound for the ordinary machine's output length. Used in implementing oracle reductions for high-multiplicity bin packing.