Americas
Europe
Problem 10
Let \(I N F I N I T E_{\mathrm{DFA}}=\\{\langle A\rangle \mid A\) is a DFA and \(L(A)\) is an infinite language \(\\} .\) Show that INFINITE DFA is decidable.
What do you think about this solution?
We value your feedback to improve our textbook solutions.
Let \(E=\\{\langle M\rangle \mid M\) is a DFA that accepts some string with more 1 s than \(0 s\\}\). Show that \(E\) is decidable. (Hint: Theorems about CFLs are helpful here.)
Say that an NFA is ambiguous if it accepts some string along two different computation branches. Let \(A M B I G_{N F A}=\\{\langle N\rangle \mid N\) is an ambiguous NFA \(\\} .\) Show that \(A M B I G_{\text {NFA }}\) is decidable. (Suggestion: One elegant way to solve this problem is to construct a suitable DFA and then run \(E_{D F A}\) on it.)
Prove that the class of decidable languages is not closed under homomorphism.
Consider the problem of determining whether a DFA and a regular expression are equivalent. Express this problem as a language and show that it is decidable.
Let \(A=\\{\langle M\rangle \mid M\) is a DFA that doesn't accept any string containing an odd number of \(1 \mathrm{~s}\\}\). Show that \(A\) is decidable.
The first learning app that truly has everything you need to ace your exams in one place.