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

ALBA decidable vs ELBA undecidable

Same machine model (LBA), but one acceptance question is decidable and the other is undecidable. The reason: bounded configurations vs computation-history encoding.

CLO-1R1·30 pts · R1.14L7
🔊 NarrationCounting argument for ALBA decidability, then the computation-history reduction for ELBA undecidability.
🔊 Listen
ALBA = {⟨M, w⟩ : M is an LBA that accepts w}

Decidable. Sipser Theorem 5.9.

ELBA = {⟨M⟩ : M is an LBA and L(M) = ∅}

Undecidable. Sipser Theorem 5.10.

Both questions are about LBAs (linear-bounded automata — Turing machines that can only use cells holding the input). Yet one is decidable, one isn't. Why?

🔊 Listen
Why ALBA is decidable — bounded configurations Auto-plays
Decider for ALBA
  1. On input ⟨M, w⟩ with |w| = n, count the maximum number of distinct configurations: |Q| · n · |Γ|n (state × head position × tape content).
  2. Simulate M on w for at most this many steps.
  3. If M accepts: accept. If M rejects or exceeds the bound: reject (any longer run would repeat a configuration → infinite loop).

Why this works: A loop means the same configuration repeats — so if M hasn't accepted within |Q|·n·|Γ|n steps, it never will. The bound is exponential in n, but it's FINITE, so the algorithm always halts.

🔊 Listen
Why the configuration bound doesn't save ELBA

ALBA asks about one specific w: bound the time, simulate, done. ELBA asks about ALL possible inputs: is the language empty? You'd have to check every string — infinitely many.

Reduction ATMm co-ELBA

Given ⟨M, w⟩, build an LBA BM,w whose language is the set of accepting computation histories of M on w. (A computation history is a string C₁#C₂#…#C_ℓ listing every configuration of M's run.)

Key claims:

  • BM,w can verify a candidate history with three local checks (start config, every step legal, end accepting) — each uses constant tape per cell, so BM,w is genuinely an LBA.
  • L(BM,w) ≠ ∅ iff M accepts w (the witness is the accepting history).
  • So a decider for ELBA would decide co-ATM — impossible.
🔊 Listen
Same machine model. Different scope of question.

ALBA: "does this LBA accept THIS specific w?" — finite simulation suffices because configurations are bounded.

ELBA: "does this LBA accept ANY w?" — checking all strings is infinite, and there's no shortcut because LBAs can encode arbitrary TM computation histories.

🔊 Listen