A polynomial-time machine for the code map of Definition 31
ProvedNQueensComp.NPC.reduce36Bits_polytimen-queensparsimonious-reduction
Let be the total bit-string map that checks a Restricted 1-in-3-SAT code, constructs the gadget family of Definition 31 on valid inputs, and writes its sorted unary encoding. It outputs the empty bit string on invalid inputs. There exist a fixed CookLevin multitape Turing machine and natural numbers such that for every bit string , the machine outputs and halts within
steps. This is the machine-realization part of the code-level form of Theorem 36.
Preamble
import Definitions.Def_CookLevin_Complexity import Definitions.Def_NQueensComp_NPC_CodeReduction36 open NQueensComp.NPC
Formal statement
theorem NQueensComp.NPC.reduce36Bits_polytime :
CookLevin.IsPolyTimeComputable reduce36Bits := by sorrySource
I. P. Gent, C. Jefferson and P. Nightingale, “Complexity of n-Queens Completion,” JAIR 59 (2017), 815–848. Unary size convention on p. 820, Definition 31 on p. 834, Theorem 36 on p. 836, and the polynomial-time observation in the proof of Theorem 37 on p. 837. https://doi.org/10.1613/jair.5512