Polynomial-time machine for the gadget-family reduction of Definition 20
ProvedNQueensComp.NPC.reduce23Bits_polytimen-queensparsimonious-reduction
Let be the specified bit-string function reduce23Bits: validate a unary Problem 5 code, apply Definition 20 to the gadget family, and encode the sorted output. Invalid inputs give the empty string. There exist a fixed CookLevin multitape Turing machine and natural numbers such that on every input the machine outputs within
steps. This is the machine-realization obligation in the code-level form of Theorem 23.
Preamble
import Definitions.Def_CookLevin_Complexity import Definitions.Def_NQueensComp_NPC_CodeReduction23
Formal statement
theorem NQueensComp.NPC.reduce23Bits_polytime :
CookLevin.IsPolyTimeComputable NQueensComp.NPC.reduce23Bits := by sorrySource
Gent, Jefferson and Nightingale, Complexity of n-Queens Completion, JAIR 59 (2017), 815–848. Unary encoding convention, p. 820. Definition 20, pp. 828–829. Theorem 23, p. 831. https://doi.org/10.1613/jair.5512