14 - Decidability

ucla | CS 181 | 2024-06-05 14:13


Table of Contents

Is a Language Decidable?

  • lang L is decidable L,L are both recognizable
  • is trivial
  • can be proved by running M(L) and M(L) in parallel, and one of them will halt
  • Note, L(M) is the language M recognizes, but if M happens to decide it as well, it is always equivalent to L

    Undecidable

  • L=w:wL(Mw) is not recognizable, and thus not decidable
  • HALT lang is recognizable but not decidable
  • HALT is not recognizable

    Rice’s Theorem

    If some subset of Turing Recognizable languages, C and C then $L={:L(M)\in \mathcal C\}$ is undecidable