You are here
Home ›pumping lemma (regular languages)
Primary tabs
pumping lemma (regular languages)
Lemma 1.
Let be a regular language (a.k.a. type 3 language). Then there exist an integer such that, if the length of a word is greater than , then where are subwords such that
1. The length of the subword is less than .
2. The subword cannot be empty (although one of or might happen to be empty).
3. For all integers , it is the case that belongs to , where exponentiation denotes repetition of a subword times.
An important use of this lemma is to show that a language is not regular. (Remember, just because a language happens to be described in terms of an irregular grammar does not automatically preclude the possibility of describing the same language also by a regular grammar.) The idea is to assume that the language is regular, then arrive at a contradiction via this lemma.
An example of such a use of this lemma is afforded by the language
Let be the number whose existence is guaranteed by the lemma. Now, consider the word . There must exist subwords such that and must be of length less than . The only possibilities are the following
1. 2. 3. 4. 5.
In these cases, would have the following form:
1. 2. 3. 4. 5.
It is easy to see that, in each of these five cases, . Hence cannot be a regular language.
Mathematics Subject Classification
68Q42 Grammars and rewriting systems- Forums
- Planetary Bugs
- HS/Secondary
- University/Tertiary
- Graduate/Advanced
- Industry/Practice
- Research Topics
- LaTeX help
- Math Comptetitions
- Math History
- Math Humor
- PlanetMath Comments
- PlanetMath System Updates and News
- PlanetMath help
- PlanetMath.ORG
- Strategic Communications Development
- The Math Pub
- Testing messages (ignore)
- Other useful stuff
Recent Activity
new question: Sorry to steal a few minutes of your time for this question, but i honestly don't know what else to do. by Whrazithar
new question: equality of the determinants of submatrices of an orthogonal matrix by ismayli
Jun 11
new correction: Typo by suitangi
Jun 2
new question: Creating another set with same cardinality. by hkkass
Jun 1
new image: ProblemOneRevised by unlord
new Education: Chapter II by rspuzio
May 31
new collection: The Calculus by Davis and Brenke by rspuzio
new question: Proofs by weixifan
new question: Summation Integration Question by trevor.nickle
May 27
new correction: typo+finite measure hypothesis by Filipe


