Constructing the input of the clocked bin-packing oracle simulation
ProvedHMBinPacking.prepare_clocked_oracle_inputbin-packingcomputational-complexityfixed-parameter-tractabilityinteger-programming
On the binary code of a bin-packing instance , compute the self-delimited context for oracle calls and the header for the integer-feasibility algorithm. With , the time bound is polynomial in , the flat dimension and the input length, for each fixed .
Preamble
import Mathlib import Definitions.Def_HMBinPacking_ILP import Definitions.Def_HMBinPacking_Encoding import Definitions.Def_HMBinPacking_OutputsWithin open ExponomialAssortment.FPTAS (encodeNat encodeRat)
Formal statement
namespace HMBinPacking
theorem prepare_clocked_oracle_input (k : ℕ) :
∃ (M : Turing.TM2ComputableAux Bool Bool) (a b : ℕ), ∀ I : Instance,
let x := encodeInstance I
let L := inputLength I
let F := 2 ^ (k * I.d ^ 3)
let s := List.replicate F true ++ false::x
let σ := D I + 2*L + 7
let h := encodeNat (D I) ++ encodeRat (2^L : ℚ) ++ encodeNat σ
OutputsWithin M x (s.flatMap (fun z => [true,z]) ++ false::h) (a*(F+σ+L+1)^b) := by sorry
end HMBinPackingSource
Input preparation for High-Multiplicity Bin Packing is FPT, Theorem 1.