Clarification of Answer by
leapinglizard-ga
on
29 Oct 2002 21:17 PST
The question "Does a given PDA accept all strings?" is indeed
undecidable, and user jburnim-ga has given a correct proof in his
comment below. As he points out, the difficulty is in showing that the
set of computation histories for all strings rejected by a Turing
machine M constitutes a context-free language. I thought I would try
to think of a simpler proof, but I've failed.
I did, however, locate a PDF document used in a Computational Theory
course that addresses precisely your question.
Yih-Kuen Tsay, National University of Taiwan
lecture notes on reducibility: original PDF document
http://www.im.ntu.edu.tw/~tsay/courses/theory/ch5slides.pdf
Yih-Kuen Tsay, National University of Taiwan
lecture notes on reducibility: rendered as text
://www.google.ca/search?q=cache:4fhl-09o1McC:www.im.ntu.edu.tw/~tsay/courses/theory/ch5slides.pdf+CFG+all+strings+undecidable&hl=en&ie=UTF-8
The PDF download is rather slow -- I have it crawling along at
0.2KB/s, with no end in sight -- so you may prefer the text rendering.
The latter is not very pretty, and a number of Greek symbols are
missing, but it's readable if you're familiar with the context. You'll
find your problem on page 18.
Here, they call the problem ALL_CFG, and the treatment is identical to
that in jburnim's comment. They assume as a foregone conclusion that
the set of non-accepting computation histories of any Turing machine M
is a context-free language. You'd do best to cite this as a known
result, preferably with reference to a theorem covered in your class
textbook or in a lecture, if applicable.
I apologize for jumping the gun, and hope that your question has
nonetheless been answered to your satisfaction.
Regards,
leapinglizard