Applications of the pumping lemma [018P]

We can use the pumping lemma to show that the examples described in Example [018J] are not regular. First, it is helpful to transform the pumping lemma into a more convenient contrapositive form.

Now we are ready to proceed.

The same argument shows that set of strings over {\mathopen {}\left \{a,b\right \}\mathclose {}} consisting of some number of as followed by the same number of bs is not regular.

Context

Lecture 24: the pumping lemma [018I]

Related

Corollary. The pumping lemma for regular languages [018N]

Example. Some non-regular languages [018J]

Definition. Regular language [017Y]