11.4 Halting Problem
11.4 Halting Problem The halting problem asks whether a Turing machine eventually stops. Given a machine $M$ and an input word $w$, we ask: $$ \text{Does } M \text{ halt on input } w? $$ Here “halt” means that the computation eventually reaches a stopping state, such as: $$ q_{\mathrm{accept}} $$ or: $$ q_{\mathrm{reject}} $$ If $M$ reaches one of these states after finitely many steps, then $M$ halts on...