An Introduction to Formal Languages and Automata, 6th Edition

Book description

The Sixth Edition of An Introduction to Formal Languages and Automata provides an accessible, student-friendly presentation of all material essential to an introductory Theory of Computation course. Written to address the fundamentals of formal languages, automata, and computability, the text is designed to familiarize students with the foundations and principles of computer science and to strengthen the students' ability to carry out formal and rigorous mathematical arguments. The author, Peter Linz, continues to offer a straightforward, uncomplicated treatment of formal languages and automata and avoids excessive mathematical detail so that students may focus on and understand the underlying principles.

Table of contents

  1. Cover Page
  2. Title Page
  3. Copyright Page
  4. Contents
  5. Preface
  6. Chapter 1: Introduction to the Theory of Computation
    1. 1.1 Mathematical Preliminaries and Notation
      1. Sets
      2. Functions and Relations
      3. Graphs and Trees
      4. Proof Techniques
    2. 1.2 Three Basic Concepts
      1. Languages
      2. Grammars
      3. Automata
    3. 1.3 Some Applications*
  7. Chapter 2: Finite Automata
    1. 2.1 Deterministic Finite Accepters
      1. Languages and Dfa’s
      2. Regular Languages
    2. 2.2 Nondeterministic Finite Accepters
      1. Definition of a Nondeterministic Accepter
      2. Why Nondeterminism?
    3. 2.3 Equivalence of Deterministic and Nondeterministic Finite Accepters
    4. 2.4 Reduction of the Number of States in Finite Automata*
  8. Chapter 3: Regular Languages and Regular Grammars
    1. 3.1 Regular Expressions
      1. Formal Definition of a Regular Expression
      2. Languages Associated with Regular Expressions
    2. 3.2 Connection Between Regular Expressions and Regular Languages
      1. Regular Expressions Denote Regular Languages
      2. Regular Expressions for Regular Languages
      3. Regular Expressions for Describing Simple Patterns
    3. 3.3 Regular Grammars
      1. Right- and Left-Linear Grammars
      2. Right-Linear Grammars Generate Regular Languages
      3. Right-Linear Grammars for Regular Languages
      4. Equivalence of Regular Languages and Regular Grammars
  9. Chapter 4: Properties of Regular Languages
    1. 4.1 Closure Properties of Regular Languages
      1. Closure under Simple Set Operations
      2. Closure under Other Operations
    2. 4.2 Elementary Questions about Regular Languages
    3. 4.3 Identifying Nonregular Languages
      1. Using the Pigeonhole Principle
      2. A Pumping Lemma
  10. Chapter 5: Context-Free Languages
    1. 5.1 Context-Free Grammars
      1. Examples of Context-Free Languages
      2. Leftmost and Rightmost Derivations
      3. Derivation Trees
      4. Relation Between Sentential Forms and Derivation Trees
    2. 5.2 Parsing and Ambiguity
      1. Parsing and Membership
      2. Ambiguity in Grammars and Languages
    3. 5.3 Context-Free Grammars and Programming Languages
  11. Chapter 6: Simplification of Context-Free Grammars and Normal Forms
    1. 6.1 Methods for Transforming Grammars
      1. A Useful Substitution Rule
      2. Removing Useless Productions
      3. Removing λ-Productions
      4. Removing Unit-Productions
    2. 6.2 Two Important Normal Forms
      1. Chomsky Normal Form
      2. Greibach Normal Form
    3. 6.3 A Membership Algorithm for Context-Free Grammars*
  12. Chapter 7: Pushdown Automata
    1. 7.1 Nondeterministic Pushdown Automata
      1. Definition of a Pushdown Automaton
      2. The Language Accepted by a Pushdown Automaton
    2. 7.2 Pushdown Automata and Context-Free Languages
      1. Pushdown Automata for Context-Free Languages
      2. Context-Free Grammars for Pushdown Automata
    3. 7.3 Deterministic Pushdown Automata and Deterministic Context-Free Languages
    4. 7.4 Grammars for Deterministic Context-Free Languages*
  13. Chapter 8: Properties of Context-Free Languages
    1. 8.1 Two Pumping Lemmas
      1. A Pumping Lemma for Context-Free Languages
      2. A Pumping Lemma for Linear Languages
    2. 8.2 Closure Properties and Decision Algorithms for Context-Free Languages
      1. Closure of Context-Free Languages
      2. Some Decidable Properties of Context-Free Languages
  14. Chapter 9: Turing Machines
    1. 9.1 The Standard Turing Machine
      1. Definition of a Turing Machine
      2. Turing Machines as Language Accepters
      3. Turing Machines as Transducers
    2. 9.2 Combining Turing Machines for Complicated Tasks
    3. 9.3 Turing’s Thesis
  15. Chapter 10: Other Models of Turing Machines
    1. 10.1 Minor Variations on the Turing Machine Theme
      1. Equivalence of Classes of Automata
      2. Turing Machines with a Stay-Option
      3. Turing Machines with Semi-Infinite Tape
      4. The Off-Line Turing Machine
    2. 10.2 Turing Machines with More Complex Storage
      1. Multitape Turing Machines
      2. Multidimensional Turing Machines
    3. 10.3 Nondeterministic Turing Machines
    4. 10.4 A Universal Turing Machine
    5. 10.5 Linear Bounded Automata
  16. Chapter 11: A Hierarchy of Formal Languages and Automata
    1. 11.1 Recursive and Recursively Enumerable Languages
      1. Languages That Are Not Recursively Enumerable
      2. A Language That Is Not Recursively Enumerable
      3. A Language That Is Recursively Enumerable but Not Recursive
    2. 11.2 Unrestricted Grammars
    3. 11.3 Context-Sensitive Grammars and Languages
      1. Context-Sensitive Languages and Linear Bounded Automata
      2. Relation Between Recursive and Context-Sensitive Languages
    4. 11.4 The Chomsky Hierarchy
  17. Chapter 12: Limits of Algorithmic Computation
    1. 12.1 Some Problems That Cannot Be Solved by Turing Machines
      1. Computability and Decidability
      2. The Turing Machine Halting Problem
      3. Reducing One Undecidable Problem to Another
    2. 12.2 Undecidable Problems for Recursively Enumerable Languages
    3. 12.3 The Post Correspondence Problem
    4. 12.4 Undecidable Problems for Context-Free Languages
    5. 12.5 A Question of Efficiency
  18. Chapter 13: Other Models of Computation
    1. 13.1 Recursive Functions
      1. Primitive Recursive Functions
      2. Ackermann’s Function
      3. μ Recursive Functions
    2. 13.2 Post Systems
    3. 13.3 Rewriting Systems
      1. Matrix Grammars
      2. Markov Algorithms
      3. L-Systems
  19. Chapter 14: An Overview of Computational Complexity
    1. 14.1 Efficiency of Computation
    2. 14.2 Turing Machine Models and Complexity
    3. 14.3 Language Families and Complexity Classes
    4. 14.4 The Complexity Classes P and NP
    5. 14.5 Some NP Problems
    6. 14.6 Polynomial-Time Reduction
    7. 14.7 NP-Completeness and an Open Question
  20. Appendix A: Finite-State Transducers
    1. A.1 A General Framework
    2. A.2 Mealy Machines
    3. A.3 Moore Machines
    4. A.4 Moore and Mealy Machine Equivalence
    5. A.5 Mealy Machine Minimization
    6. A.6 Moore Machine Minimization
    7. A.7 Limitations of Finite-State Transducers
  21. Appendix B: Jflap: A Useful Tool
  22. Answers Solutions and Hints for Selected Exercises
  23. References for Further Reading
  24. Index

Product information

  • Title: An Introduction to Formal Languages and Automata, 6th Edition
  • Author(s): Peter Linz
  • Release date: January 2016
  • Publisher(s): Jones & Bartlett Learning
  • ISBN: 9781284077254