Chapter 4: Decidability
11P
Let
Show thatis decidable.
16P
Let is a regular expression describing a language containing at least one string w that has 111 as a substring . Show that A is decidable.
17P
Prove that is decidable by testing the two DFAs on all strings up to a certain size. Calculate a size that works.
18P
Let C be a language. Prove that C is Turing-recognizable if a decidable language D exists such that .
21P
Let Show that S is decidable.
26P
Let . Show thatis decidable.
27P
Let is a DFA that accepts some string with more 1s than 0s}. Show that E is decidable. (Hint: Theorems about CFLs are helpful here.)
Q22P
Let role="math" localid="1659933266276" . Show that is decidable. Why does a similar approach fail to show that is decidable?
Q23P
Say that an NFA is ambiguous if it accepts some string along two different computation branches
Show that is decidable. (Suggestion: One elegant way to solve this problem is to construct a suitable DFA and then run on it.)
Q24P
A useless state in a pushdown automaton is never entered on any input string. Consider the problem of determining whether a pushdown automaton has any useless states. Formulate this problem as a language and show that it is decidable