Polynomial-time computation of the unary bit-string map for Definition 16
ProvedNQueensComp.NPC.reduce19Bits_polytimen-queensparsimonious-reduction
There is a deterministic Cook–Levin multitape machine computing the total function reduce19Bits in time polynomial in the input length. The function validates a unary Problem 4 code, applies Definition 16 to a valid instance and writes a sorted Problem 3 code. For malformed or invalid input its output is empty. The machine bound must cover parsing, validation, construction and serialization on every input.
Preamble
import Definitions.Def_CookLevin_Complexity import Definitions.Def_NQueensComp_NPC_CodeReduction19 open NQueensComp.NPC
Formal statement
theorem NQueensComp.NPC.reduce19Bits_polytime :
CookLevin.IsPolyTimeComputable reduce19Bits := by sorrySource
Gent, Jefferson and Nightingale, Complexity of n-Queens Completion, JAIR 59 (2017), pp. 820, 827, Definition 16 and Theorem 19. https://doi.org/10.1613/jair.5512