← Student tools · Problem 61 · Lecture 5 · Round 1 (30 pts)

The bridge theorem · build a decider from two recognizers

L is decidable iff both L and L̅ are Turing-recognizable. Watch the interleaved-simulation trick that builds the decider.

CLO-1R1·30 pts · R1.9L5
🔊 NarrationWalks through the theorem, the forward direction, the interleaved-simulation construction, and applications.
🔊 Listen
Bridge theorem (Sipser §4.2, Theorem 4.22)

A language L is decidable if and only if both L and its complement L̅ are Turing-recognizable.

Why it deserves the name "bridge"

Decidable lies inside Recognizable. The theorem says decidability = "doubly recognizable" — you need a recognizer for L AND one for ¬L. Either one alone isn't enough (ATM has a recognizer but its complement doesn't, so ATM is undecidable).

🔊 Listen
Interleaved simulation, step by step Auto-plays
🔊 Listen
If L is decidable, both L and L̅ are recognizable

Easy. Let D be a decider for L. D always halts and outputs accept/reject. As a recognizer for L, D works directly. For L̅, build D′: on input x, run D(x), output the OPPOSITE answer. D′ is a decider for L̅, hence a recognizer.

🔊 Listen
Given recognizers R_L and R_¬L, build a decider for L

The new machine D on input x:

  1. Simulate R_L on x AND R_¬L on x in parallel, by running them in lockstep (one step of R_L, then one step of R_¬L, then back).
  2. If R_L accepts: D accepts.
  3. If R_¬L accepts: D rejects.
  4. Both can't accept (would mean x ∈ L AND x ∉ L). Exactly one accepts, eventually — because either x ∈ L (so R_L halts and accepts) or x ∉ L (so R_¬L halts and accepts).

Why D always halts: for every x, exactly one of x ∈ L or x ∉ L holds; the corresponding recognizer is guaranteed to halt and accept; the parallel simulation reaches that decision in finite time.

🔊 Listen