Skip to main content

Using the Pumping Lemma

  • Chapter
Automata and Computability

Part of the book series: Undergraduate Texts in Computer Science ((UTCS))

  • 1170 Accesses

Abstract

Let’s use the pumping lemma in the form of the demon game to show that the set

$$ A = \left\{ {{a^n}{b^n}\left| {n \ge m} \right.} \right\}$$

is not regular. The set A is the set of strings in a * b * with no more b’s than a’s. The demon, who is betting that A is regular, picks some number k. A good response for you is to pick x = a k, y = b k, and z = ɛ. Then xyz = a k b kA and |y| = k; so far you have followed the rules. The demon must now pick u, v, w such that y = uvw and vɛ. Say the demon picks u, v, w of length j, m, n, respectively, with k = j + m + n and m > 0. No matter what the demon picks, you can take i = 2 and you win:

$$ \begin{array}{l} xu{v^2}wz = {a^k}{b^j}{b^m}{b^m}{b^n} \\ = {a^k}{b^{j + 2m + n}} \\ = {a^k}{b^{k + m}} \\ \end{array}$$

, which is not in A, because the number of b’s is strictly larger than the number of a’s.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1977 Springer Science+Business Media New York

About this chapter

Cite this chapter

Kozen, D.C. (1977). Using the Pumping Lemma. In: Automata and Computability. Undergraduate Texts in Computer Science. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-85706-5_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-85706-5_13

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-85708-9

  • Online ISBN: 978-3-642-85706-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics