Documentation

CslibFrontier.Computability.Complexity.Problems.Halting

NP-hardness of the halting problem #

Arora and Barak, Chapter 2, Exercise 3 (2007-01-08 draft, printed p. 62 / PDF p. 78) asks whether HALT is NP-complete. It is NP-hard, but not in NP. Here HALT uses native finite-state binary multitape machine descriptions paired with inputs. Partializing a decider for bounded termination gives a fixed machine that halts exactly on positive instances. Pairing its constant description with the original input is polynomial-time; EXP-hardness of bounded termination and NP ⊆ EXP then give NP-hardness of HALT.

Bounded termination reduces to HALT by a constant machine description and an unchanged input. The machine semidecides bounded termination; its execution need not be polynomial-time.

Arora–Barak, Chapter 2, Exercise 3: HALT is NP-hard under polynomial-time many-one reductions, with machine descriptions and inputs encoded as a framed pair of bit strings.