Lecture 24: the pumping lemma [018I]

These lecture notes were prepared by Jon Sterling by adapting prior notes created by Andrew Pitts that I inherited from Frank Stajano.

In Lecture 21, we asked ourselves several questions concerning regular expression matching. We have answered three of those questions in Lecture 23 by means of Kleene’s theorem, which proves regular expressions and finite automata generate the same class of formal languages. Today’s lecture will provide evidence for our response to the final question, that not every formal language is going to be regular. The theorem that we will use to verify non-regularity for our counterexamples is (annoyingly) called the pumping lemma.

That’s the end! But you will learn more of the amazing mysteries of languages and models of computation in IB Computation Theory.

Backlinks

Jargon. Theorems, propositions, lemmas, corollaries, oh my! [019A]

Lectures on discrete mathematics › Table of Lectures › Formal languages and automata (5 lectures) [019R]

Related

Theorem. Kleene’s theorem [018B]

Definition. Regular language [017Y]

Lecture 23: regular languages and Kleene’s theorem [017X]

Kinds of finite automata [017J]

Discussion. Questions about regular expression matching [017F]

Regular expression matching [017C]

Regular expressions [0178]

Lecture 21: regular expressions and pattern matching [0174]

Definition. Formal language [016M]

Person. Andrew Pitts [andrewpitts]

Person. Frank Stajano [frankstajano]

Person. Jon Sterling [jonmsterling]