CSE 237, Spring 2006
Homework
10
due 4/24/06 in class


Problem 1. Decidable questions about context-free languages (answers in textbook)

(a) 4.9

(b) 4.13

Problem 2. EQCFG

(a) Show that EQCFG is co-recognizable

(b) Prove that EQCFG is not decidable. 
Hint: use a reduction from ALLCFG, defined on p. 197 of the textbook

(c) We have proved in class that EQREX is decidable.  Explain why an analogous proof of the decidability of EQCFG would not work.

(d) What can we conclude about EQCFG based (a) and (b)? Explain.

Problem 3.  Undecidable questions

(a) Let us define CONTEXT_FREETM as follows:

CONTEXT_FREETM = {<M>: M is a TM which accepts a context-free language}.

Show that CONTEXT_FREETM is not decidable. 
Hint
: this is analogous to the proof that REGULARTM is not decidable, see textbook section 5.1.

(b) Problem 5.12

(c) Problem 5.13