Question

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.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

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>

Add a comment
Know the answer?
Add Answer to:
Let INFINITE PDA = {<M>|M is a PDA and L(M) is an infinite language}. Show that...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT