Decidability & Computability


Answer & solution
Answer: M′ halts on x iff M halts and outputs 1 on every input. (no official key was published)
If M′ halts on x, its simulation finishes regardless of the ignored input w, and M then halts with output 1 for every w. If M′ does not halt on x, M loops on every w, so its description is not in the target language. Thus ⟨M′,x⟩ belongs to HALT iff the computably constructed ⟨M⟩ belongs to {⟨N⟩: N halts and outputs 1 on every input}. A decider for the target language would decide HALT by constructing M and invoking that decider, which is impossible. Hence the target language is undecidable.