The Pumping Lemma for Regular Languages

Use a repeated state to derive the pumping condition and handle the quantifier order in a nonregularity proof.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. A long enough path revisits a state
  2. A contradiction must cover every allowed split

A long enough path revisits a state

If a DFA has \(p\) states, any accepted word of length at least \(p\) visits \(p+1\) state positions within its first \(p\) letters. Repetition gives a split \(xyz\) with \(y\) nonempty and \(|xy|\le p\). Reading \(y\) traverses a cycle, so \(xy^iz\) is accepted for every \(i\ge0\). The lemma asserts existence of a suitable split for each long accepted word.

A contradiction must cover every allowed split

For \(L=\{0^n1^n:n\ge0\}\), choose \(0^p1^p\). Every allowed \(y\) then contains only zeros. Deleting it changes the zero count without changing the one count, so the result leaves \(L\). This contradicts the unavoidable cycle property for any proposed \(p\). The condition can rule out regularity. Constructing a recognizer or using Myhill–Nerode equivalence gives stronger two-way characterizations. Context-free pumping allows two linked repeatable regions.[1][2]

References

  1. Michael Sipser, Introduction to the Theory of Computation ↩
  2. MIT OpenCourseWare, Automata, Computability, and Complexity: Lecture Notes ↩