Theory of Computer Science
- C4. Regular Languages: Pumping Lemma, Closure Properties
and Decidability Gabriele R¨
- ger
University of Basel
March 30, 2020
Gabriele R¨
- ger (University of Basel)
Theory of Computer Science March 30, 2020 1 / 35
Theory of Computer Science C4. Regular Languages: Pumping Lemma, - - PowerPoint PPT Presentation
Theory of Computer Science C4. Regular Languages: Pumping Lemma, Closure Properties and Decidability Gabriele R oger University of Basel March 30, 2020 Gabriele R oger (University of Basel) Theory of Computer Science March 30, 2020 1
University of Basel
Gabriele R¨
Theory of Computer Science March 30, 2020 1 / 35
March 30, 2020 — C4. Regular Languages: Pumping Lemma, Closure Properties and Decidability
Gabriele R¨
Theory of Computer Science March 30, 2020 2 / 35
Decidability Pumping Lemma
Gabriele R¨
Theory of Computer Science March 30, 2020 3 / 35
Decidability Pumping Lemma
Automata & Formal Languages Languages & Grammars Regular Languages Regular Grammars DFAs NFAs Regular Expressions Pumping Lemma Properties Context-free Languages Context-sensitive & Type-0 Languages
Gabriele R¨
Theory of Computer Science March 30, 2020 4 / 35
Decidability Pumping Lemma
You can show that a language is regular by specifying an appropriate grammar, finite automaton, or regular expression. How can you you show that a language is not regular?
Picture courtesy of imagerymajestic / FreeDigitalPhotos.net Gabriele R¨
Theory of Computer Science March 30, 2020 5 / 35
Decidability Pumping Lemma
1 |v| ≥ 1, 2 |uv| ≤ n, and 3 uviw ∈ L for all i = 0, 1, 2, . . . .
Gabriele R¨
Theory of Computer Science March 30, 2020 6 / 35
Decidability Pumping Lemma
1 |v| ≥ 1, 2 |uv| ≤ n, and 3 uviw ∈ L for all i = 0, 1, 2, . . . .
Gabriele R¨
Theory of Computer Science March 30, 2020 7 / 35
Decidability Pumping Lemma
1 |v| ≥ 1, 2 |uv| ≤ n, and 3 uviw ∈ L for all i = 0, 1, 2, . . . .
Gabriele R¨
Theory of Computer Science March 30, 2020 8 / 35
Decidability Pumping Lemma
1 |v| ≥ 1, 2 |uv| ≤ n, and 3 uviw ∈ L for all i = 0, 1, 2, . . . .
Gabriele R¨
Theory of Computer Science March 30, 2020 9 / 35
Decidability Pumping Lemma
Gabriele R¨
Theory of Computer Science March 30, 2020 10 / 35
Decidability Pumping Lemma
Gabriele R¨
Theory of Computer Science March 30, 2020 11 / 35
Decidability Pumping Lemma
Gabriele R¨
Theory of Computer Science March 30, 2020 12 / 35
Decidability Pumping Lemma
Gabriele R¨
Theory of Computer Science March 30, 2020 13 / 35
Decidability Pumping Lemma
Gabriele R¨
Theory of Computer Science March 30, 2020 14 / 35
Decidability Closure Properties
Gabriele R¨
Theory of Computer Science March 30, 2020 15 / 35
Decidability Closure Properties
Picture courtesy of stockimages / FreeDigitalPhotos.net Gabriele R¨
Theory of Computer Science March 30, 2020 16 / 35
Decidability Closure Properties
◮ special case: Ln = Ln−1L, where L0 = {ε} ◮ also called product
k≥0 Lk over Σ
German: Abschlusseigenschaften, Vereinigung, Schnitt, Komplement, German: Produkt, Stern
Gabriele R¨
Theory of Computer Science March 30, 2020 17 / 35
Decidability Closure Properties
German: Abgeschlossenheit, K ist abgeschlossen unter Vereinigung German: (Schnitt, Komplement, Produkt, Stern)
Gabriele R¨
Theory of Computer Science March 30, 2020 18 / 35
Decidability Closure Properties
Gabriele R¨
Theory of Computer Science March 30, 2020 19 / 35
Decidability Closure Properties
German: Kreuzproduktautomat
Gabriele R¨
Theory of Computer Science March 30, 2020 20 / 35
Decidability Decidability
Gabriele R¨
Theory of Computer Science March 30, 2020 21 / 35
Decidability Decidability
German: Entscheidungsproblem, Eingabe, Eigenschaft, Ausgabe, German: entscheidbar
Gabriele R¨
Theory of Computer Science March 30, 2020 22 / 35
Decidability Decidability
Gabriele R¨
Theory of Computer Science March 30, 2020 23 / 35
Decidability Decidability
German: Leerheitsproblem
Gabriele R¨
Theory of Computer Science March 30, 2020 24 / 35
Decidability Decidability
German: Wortproblem (f¨ ur regul¨ are Sprachen)
Gabriele R¨
Theory of Computer Science March 30, 2020 25 / 35
Decidability Decidability
Gabriele R¨
Theory of Computer Science March 30, 2020 26 / 35
Decidability Decidability
German: Leerheitsproblem
Gabriele R¨
Theory of Computer Science March 30, 2020 27 / 35
Decidability Decidability
Gabriele R¨
Theory of Computer Science March 30, 2020 28 / 35
Decidability Decidability
German: Endlichkeitsproblem
Gabriele R¨
Theory of Computer Science March 30, 2020 29 / 35
Decidability Decidability
Gabriele R¨
Theory of Computer Science March 30, 2020 30 / 35
Decidability Decidability
German: Schnittproblem
Gabriele R¨
Theory of Computer Science March 30, 2020 31 / 35
Decidability Decidability
Gabriele R¨
Theory of Computer Science March 30, 2020 32 / 35
Decidability Decidability
German: ¨ Aquivalenzproblem
Gabriele R¨
Theory of Computer Science March 30, 2020 33 / 35
Decidability Decidability
Gabriele R¨
Theory of Computer Science March 30, 2020 34 / 35
Decidability Summary
Gabriele R¨
Theory of Computer Science March 30, 2020 35 / 35