Variants of TM & Undecidability
Variants of TM & Undecidability
• The problem of testing whether a DFA B accepts an input w is the same as the
problem of testing whether (B, w) is a member of the language ADFA.
• Similarly, we can formulate other computational problems in terms of testing
membership in a language.
• Showing that the language is decidable is the same as showing that the
computational problem is decidable.
DECIDABLE PROBLEMS CONCERNING
CONTEXT-FREE LANGUAGES
• Here, we describe algorithms to determine whether a CFG generates
a particular string and to determine whether the language of a CFG is
empty. Let