Same machine model (LBA), but one acceptance question is decidable and the other is undecidable. The reason: bounded configurations vs computation-history encoding.
Decidable. Sipser Theorem 5.9.
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?
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.
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.
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:
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.