Posted: Oct 30, 2008
Due: Before class on Nov 13, 2008
Let T = {(i,j,k) | i,j,k are natural numbers}. Show that T is countable.
Let
INFPDA = {<M> | M is a PDA and L(M) is an infinite language}.Show that INFPDA is decidable.
Let
PALDFA = {<M> | M is a DFA that accepts some palindrome}.Show that PALDFA is decidable. As a hint, properties of context-free languages may be useful here. For concreteness, you may assume that the alphabet is simply {a,b}.
Let
C = {<G,x> | G is a CFG that generates at least one string that has x as a substring}.Show that C is decidable. (Suggestion: an elegant solution to this problem uses the decider for ECFG.)
Let C be a language. Prove that C is Turing-recognizable if and only if a decidable language D exists such that C = {x | ∃y <x,y> &isin D}. (Hint: For any fixed n, is it decidable if a Turing machine accepts a string in (at most) n steps?)
Last updated on Oct 30, 2008 by gopalan atsign cs dot umn dot edu.