The Timpson Lyceum · Computation Theory
Lecture 18 (Computation Theory) Undecidable Problems and Mapping Reducibility
Overview
This lecture turns the informal "reduction" we have been using into a precise tool: mapping reducibility. We first warm up by re-proving that the equality problem for Turing machines is undecidable using a general reduction, then define a computable function and use it to give an exact definition of . From this single definition we get a family of transfer theorems: a mapping reduction lets us push decidability, undecidability, recognizability, and unrecognizability between problems. We re-prove the halting problem undecidable as a clean mapping-reduction example, and finish by showing that the equality problem is neither recognizable nor co-recognizable — an entirely new complexity class beyond anything seen so far.
Key Concepts
Reduction (high-level idea). We say reduces to when any solution to yields a solution to . The intuition: is at least as hard as . So if is known to be unsolvable, must be unsolvable too — because a solution to would hand us one for . This is exactly why the relation is written with a sign.
The standard undecidable problems (reused as the "hard core" we reduce from):
- Acceptance problem: . Undecidable.
- Halting problem: . Undecidable.
- Emptiness problem: . Undecidable.
- Equality problem: .
Computable function. A function is computable if some Turing machine , on every input , halts with exactly written on its tape. Example: squaring is computable — input , the machine halts with on the tape.
Mapping reducibility (the exact definition). A language is mapping reducible to a language , written , if there is a computable function such that for every string , Such an is called a reduction from to . It relabels instances of as instances of : things in map into , and things not in map outside .
The transfer theorems. Once via some :
- Decidability transfers downward: if and is decidable, then is decidable.
- Undecidability transfers upward: if and is undecidable, then is undecidable.
- Recognizability transfers downward: if and is Turing-recognizable, then is recognizable.
- Unrecognizability transfers upward: if and is unrecognizable, then is unrecognizable.
Why the directions work. To decide given a decider for and a reduction : build that on input runs on and copies its answer. Since , accepts exactly the strings of . The recognizer version is identical (replace "decider" with "recognizer"). The upward (undecidable / unrecognizable) versions are the contrapositives.
Complement symmetry. is the same statement as — the same computable works, because is logically identical to . This lets us flip a reduction to talk about complements.
Co-recognizable. A language is co-recognizable if its complement is Turing-recognizable. Showing a language is neither recognizable nor co-recognizable places it strictly above (which is recognizable but not decidable) in the hierarchy.
Worked Example
Goal: prove the halting problem is undecidable via a mapping reduction .
We construct a computable that sends to , where is a new machine that halts on exactly when accepts :
Now check the defining equivalence of a mapping reduction:
Since is computable and satisfies , we have . Because is undecidable, upward transfer gives that is undecidable.
Second example (reduction map for ). To show , define , where is a fixed machine that rejects every input (its start state is also a reject state, so ). Then . So , and since is undecidable, is undecidable.
Summary
- A mapping reduction is a computable function with ; it makes the loose " reduces to " idea exact.
- means is at least as hard as , justifying the notation.
- Decidability and recognizability transfer downward ( has it has it); undecidability and unrecognizability transfer upward ( lacks it lacks it).
- Each transfer proof is the same pattern: run the reduction , feed to the machine for , and echo its answer — using .
- Because is equivalent to , the same map handles complements, letting us reason about co-recognizability.
- is neither recognizable nor co-recognizable: shows is unrecognizable, and shows its complement is too — placing it strictly above the recognizable languages.