← Student tools · Problem 10 · Lecture 7 · Round 1 (30 pts)

ELBA is undecidable

Build an LBA BM,w that recognizes accepting computation histories of M on w.

CLO-2R1·30 ptsL7
🔊 Listen

An LBA (linear bounded automaton) is a TM restricted to use only the cells of its input — no scratch space outside the original |w| cells. Two surprising facts sit side by side:

The reduction ATMm ¬ELBA exploits computation histories from Problem 9.

The construction f(⟨M, w⟩) = ⟨BM,w

Build LBA BM,w that on input string x performs four local checks:

  1. Parse: x has the form C1 # C2 # … # C.
  2. Start: C1 = q0w (initial config of M on w).
  3. Step: for every i, (Ci, Ci+1) follows by one δ-step of M.
  4. Accept: C contains qaccept.

If all four pass, BM,w accepts x. Otherwise rejects.

Key claim: L(BM,w) ≠ ∅ iff M accepts w. The forward direction is direct — if M accepts w, write down its accepting computation history σ, and BM,w(σ) succeeds. The reverse direction uses determinism: any string x accepted by BM,w is the genuine accepting history of M on w, which witnesses ⟨M, w⟩ ∈ ATM.

🔊 Listen
B_{M,w}'s tape — only the input cells, nothing more C₁ # C₂ # C₃ # ··· # C_ℓ total tape = |x|, no extra space sweep 1: parse #-separators, check C₁ = start sweep 2: walk pairs (Cᵢ, Cᵢ₊₁), check δ-step sweep 3: check C_ℓ contains q_accept What B does NOT need ✗ Run M itself ✗ Generate the history ✗ Allocate extra tape ✗ Decide whether M halts B just verifies, given input x. All checks are local — fit in |x| cells.

Each sweep is a finite-state walk across the input. The hard work — producing the history — is offloaded onto whoever provides x. BM,w only validates. That is exactly the LBA's job description.

🔊 Listen
Inside BM,w: what is checked, what is not Auto-plays
🔊 Listen
🔊 Listen
🔊 Listen

Sipser: §5.1, Theorem 5.10 (ELBA is undecidable). Lecture notes: Module 3 slides 2–3 (LBA definition, BM,w construction). Companion problems: P9 (computation histories — prerequisite), P11 (ALLCFG — sibling technique using CFGs instead of LBAs), P62 (ALBA vs ELBA).