COMS W3261
Computer Science Theory
Lecture 15: October 28, 2009
Pumping Lemma and Closure Properties for CFL's

1. Outline

2. Review

3. Pumping Lemma for CFL's

4. Applications of the Pumping Lemma

5. Closure Properties of CFL's

6. Nonclosure Properties of CFL's

7. Practice Problems

  1. Show that { anbncn | n ≥ 0 } is not context free.
  2. Show that { anbnci | in } is not context free.
  3. Show that { ssRs | s is a string of a's and b's } is not context free.
  4. (Hard) Show that the complement of { ss | ss is a string of a's and b's } is context free.

8. Reading Assignment



aho@cs.columbia.edu