Decidability & Computability


Answer & solution
Answer: D (no official key was published)
1. The halting language H is recognizable, but its complement is not recognizable: recognizers for both would yield a decider by dovetailing them.
2. Map each halting-instance pair (M,w) to ⟨M,w,1⟩. It belongs to L exactly when M does not halt. Therefore a recognizer for L would recognize the complement of H, impossible.
3. Map the same pair to ⟨M,w,0⟩. It belongs to the complement of L exactly when M does not halt. A recognizer for that complement would give the same contradiction.
4. Neither tagged language is recognizable, so D. The different tags are essential; halting and nonhalting cases are not simply being unioned without a tag.
Solution: Let H be the halting language. If L were recursively enumerable, mapping (M,w) to ⟨M,w,1⟩ would make the complement of H recursively enumerable, a contradiction. If the complement of L were recursively enumerable, mapping (M,w) to ⟨M,w,0⟩ would again recognize the complement of H. Therefore neither L nor its complement is recursively enumerable, option D. The tag prevents the union from simply being the universal set.