1 · Why this matters · the BIG picture
This Venn diagram is the map of computability. Once you have proved a few landmark theorems
(ATM recognizable but undecidable; co-ATM not even recognizable; EQTM neither),
every other classification result is about placing new languages into the right region of this diagram.
Pedagogically, this is the cleanest organizing picture in the course. When a student asks "what does it mean for
a language to be undecidable?", the answer is a finger pointing at the recognizable-but-not-decidable crescent.
The four regions
- Decidable · TM always halts with correct answer. Closed under complement, union, intersection.
- Recognizable \\ Decidable · TM accepts yes-inputs, may loop on no-inputs (e.g. ATM, HALTTM).
- co-Rec \\ Decidable · complement is recognizable (e.g. ¬ATM, ¬HALTTM).
- Neither · neither L nor L̅ is recognizable (e.g. EQTM).
2 · Setup · the bridge theorem
The central observation that organizes everything:
Bridge theorem
L is decidable ⇔ both L and L̅ are recognizable.
Proof (⇐): run the recognizers in parallel; one of them must accept. Whichever fires first tells you the answer. (⇒) trivial.
Contrapositive form: if L is undecidable but recognizable, then L̅ is not recognizable. This is how we
locate co-ATM in the diagram: ATM sits in "recognizable \\ decidable" ⇒ co-ATM sits in "co-rec \\ decidable", and ¬ATM ∉ recognizable at all.
3 · How to classify · the decision tree
- Can you give a TM that always halts? → Decidable. Done.
- Can you give a TM that accepts yes-inputs (may loop on no)? → Recognizable.
- Can you give a TM that accepts no-inputs (may loop on yes)? → co-Recognizable.
- Both 2 and 3? → Decidable (bridge theorem) — go back to 1.
- Neither? → Neither region.
The tricky step is always #5 — proving non-recognizability typically requires a reduction from co-ATM or similar.
4 · Animated demo · auto-plays · loops
5 · Worked example · classifying ¬ETM
Let's place ¬ETM = {⟨M⟩ : L(M) ≠ ∅} in the diagram. Is it recognizable?
Recognizer for ¬ETM
N = "on input ⟨M⟩:
1. enumerate strings w1, w2, … in shortlex order;
2. for k = 1, 2, …:
simulate M on w1, …, wk for k steps each;
if any simulation accepts: accept ⟨M⟩."
This dovetailing trick is the canonical way to show "exists w such that M(w) accepts" languages are recognizable. So ¬ETM is recognizable. ETM itself is not (it would be decidable by the bridge theorem, which it isn't — see Problem 6).
6 · Connections · the placement of every famous language
| Language |
Region |
Reason |
| ADFA, EDFA, EQDFA | Decidable | Simulate / graph reachability |
| ACFG, ECFG | Decidable | CYK / emptiness checking |
| ATM, HALTTM | Rec \\ Dec | Universal TM; diagonal kills decider |
| ¬ATM, ¬HALTTM | co-Rec \\ Dec | Bridge theorem |
| ETM | co-Rec \\ Dec | ¬ETM recognizable (dovetail) |
| EQTM | Neither | Two reductions (Problem 8) |
| All non-trivial properties | ≥ Rec \\ Dec | Rice's theorem (Problem 14) |
7 · Common pitfalls · what students miss
- "Recognizable means decidable." No — recognizable allows looping. Decidable requires halting on every input.
- Forgetting closure properties differ. Decidable is closed under complement; recognizable is not.
- Mixing up "L is recognizable" with "L̅ is recognizable". They are different statements. The bridge theorem says both together is equivalent to decidability.
- "Empty language is recognizable but not decidable." No — ∅ is decidable (the TM that always rejects).
- Calling something "not recognizable" without proof. Non-recognizability usually needs a reduction from co-ATM.
8 · Q&A defence notes
Q1. Why is ATM recognizable but not decidable?
Universal TM gives the recognizer. Problem 3 shows no decider can exist.
Q2. Why is the complement of ATM not recognizable?
If it were, both ATM and its complement would be recognizable. By the bridge theorem, ATM would then be decidable. Contradiction.
Q3. Give an example outside both circles.
EQTM = {⟨M1, M2⟩ : L(M1) = L(M2)}. Neither EQTM nor its complement is recognizable.
Q4. Is every finite language decidable?
Yes — hard-code the membership check as a lookup.
Q5 (bonus). Are there languages outside even "Neither"?
Yes — there are uncountably many languages over {0,1}* but only countably many TM descriptions. Most languages are not even definable, let alone recognizable.
9 · How to present this in class
Total time: 10 minutes.
- (1 min) Sketch the Venn diagram on the board: outer rectangle = all languages, two overlapping circles = recognizable / co-recognizable, intersection = decidable.
- (3 min) State and prove the bridge theorem with parallel-simulation argument.
- (3 min) Run the visualization. Pause on each language. Walk through "what region, what reason".
- (2 min) Worked example: the dovetail recognizer for ¬ETM.
- (1 min) Tie to Rice's theorem: every non-trivial property is at least Rec \\ Dec.