Let INFINITE PDA = {<M>|M is a PDA and L(M) is an infinite language}.
--> Build a turing machine that will do the following .
--> Read <M> and create an equivalent context-free grammar G.
--> Convert G to Chomsky Normal Form. Call it G'
--> Do a breadth-first search of the grammar rules of G' looking for recursion
--> That is, does there exist a derivation A ⇒ uAv?
--> If so, then accept <M>
--> If not, then reject <M>
Let INFINITE PDA = {<M>|M is a PDA and L(M) is an infinite language}. Show that...
Let INFINITE PDA ={<M>|M is a PDA and L(M) is an infinite language} Show that INFINITE PDA is decidable.
5. Let CONTAINPDA DFA L(M1) C (M2)}. Show that CONTAIN PDA DFA is decidable. {{M1, M2) M1 is a PDA and M2 is a DFA such that = 5. Let CONTAINPDA DFA L(M1) C (M2)}. Show that CONTAIN PDA DFA is decidable. {{M1, M2) M1 is a PDA and M2 is a DFA such that =
(c) Let Sigma = {0, 1}. Consider the problem of determining whether a PDA accepts some string that contains substring �101� is decidable. Formulate it as a language, and then show that this language is decidable
c) Determine the language, L, that is recognized by this PDA. q8 q7 c,b:A c) Determine the language, L, that is recognized by this PDA. q8 q7 c,b:A
Show that the following language is decidable. L={〈A〉 | A is a DFA that recognizes Σ∗ } M =“On input 〈A〉 where A is a DFA:
Use a Turing Reduction to show that the following language is undecidable. L={ | L(M) is infinite}.
Construct a PDA (pushdown automata) for the following language L={0^n 1^m 2^m 3^n | n>=1, m>=1}
1) Given language L = {a"62"n >0} a) Give an informal english description of a PDA for L b) Give a PDA for L
(6 pts- 2 pts each) Let L be a language such that L Sm A your answers to the following questions: and AM Sm L. Justify a) Is L decidable? b) Is L Turing-recognizable? c) Is L Turing-recognizable? (6 pts- 2 pts each) Let L be a language such that L Sm A your answers to the following questions: and AM Sm L. Justify a) Is L decidable? b) Is L Turing-recognizable? c) Is L Turing-recognizable?