Polynomial-time input conversion for bounded scheduling
ProvedNisanRonen.Rounding.checkedColumns_input_polytimedynamic-programmingschedulingturing-machines
For a fixed machine count and a fixed cap, a Mathlib TM2 reads the binary encoding of a rounded instance and writes its checked columns in framed binary form. A column is written as missing if any of its entries exceeds the cap. The machine runs in polynomial time in the length of the original encoding.
Preamble
import Mathlib.Computability.TuringMachine.Computable import Definitions.Def_NisanRonen_Rounding_checkedColumns import Definitions.Def_NisanRonen_Rounding_encodeInstance
Formal statement
namespace NisanRonen.Rounding
theorem checkedColumns_input_polytime (n cap : ℕ) :
Nonempty (Turing.TM2ComputableInPolyTime (encodeInstance (n := n)) encCheckedColumns
(fun cols => cols.map (checkColumn cap))) := by sorry
end NisanRonen.Rounding
Source
Nisan and Ronen (2001), Algorithmic Mechanism Design, §5.6, p. 192, https://doi.org/10.1006/game.1999.0790. TM2 implementation of the rounded scheduling algorithm.