Polynomial-time conversion from framed binary allocations to machine symbols
ProvedNisanRonen.Rounding.encodedAllocation_output_polytimedynamic-programmingschedulingturing-machines
For a fixed positive number of machines, a Mathlib TM2 reads the framed unary list encoding of an allocation and writes the same allocation using one machine symbol per task. The time bound is polynomial in the length of the framed input.
Preamble
import Mathlib.Computability.TuringMachine.Computable import Definitions.Def_NisanRonen_Rounding_checkedColumns
Formal statement
namespace NisanRonen.Rounding
theorem encodedAllocation_output_polytime (n : ℕ) [NeZero n] :
Nonempty (Turing.TM2ComputableInPolyTime
(Turing.MultiTapeTM.encList (encAgent n))
(id : List (Fin n) → List (Fin n)) (id : List (Fin n) → List (Fin n))) := 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.