Chapter 1 Introd. To Automata
Chapter 1 Introd. To Automata
Chapter 1 Introd. To Automata
Angkor Wat,
Cambodia
1
Outline
1.1 Why Study Automata Theory?
1.2 Introduction to Formal Proof
1.3 Additional Forms of Proof
1.4 Inductive Proofs
1.5 Central Concepts of Automata
Theory
Chapter 1 - 2
1.1 Why Study Automata
Theory?
1.1.1 Introduction to Automata
Properties of finite-state systems
Having a finite number of states
Chapter 1 - 3
1.1 Why Study Automata
Theory?
Example 1.1 --- an FA modeling an on/off switch
push
start off on
push
t h e n
start t th the then
Chapter 1 - 4
1.1 Why Study Automata
Theory?
1.1.2 Structural Representation
Two other models (not automaton-like)
Grammar --- processing data with a recursive structure
E.g., grammatical rule E E + E for generating arithmetic e
xpressions
Regular expression --- describing text strings
E.g., UNIX-style regular expression
’[A-Z][a-z]*[ ][A-Z][A-Z]’ describes Ithaca NY, Lafayette IN
…
Chapter 1 - 5
1.1 Why Study Automata
Theory?
1.1.3 Automata and Complexity
Computability:
Studying problems which can be solved by
Chapter 1 - 6
1.1 Why Study Automata
Theory?
1.1.3 Automata and Complexity
What can a computer do efficiently? ---
Computational Complexity:
Studying tractable problems solvable with some
complexity. Chapter 1 - 7
1.2 Introduction to Formal
Proof
1.2.0 Concepts ---
Formal proof techniques are indispensable
Logic principles
Chapter 1 - 11
1.4 Inductive Proofs ( 歸納法 )
1.4.1 Induction on Integers
To prove a statement S(n) about an integer n b
y induction, we do:
alphabet
Language --- a set of strings from the same
alphabet
Chapter 1 - 13
1.5 Central Concepts of
Automata Theory
1.5.1 Alphabets
Definition ---
Chapter 1 - 14
1.5 Central Concepts of
Automata Theory
1.5.1 Alphabets
a, b, …, z} …
Chapter 1 - 15
1.5 Central Concepts of
Automata Theory
1.5.2 Strings
Definition ---
Example ---
1011 is a string from alphabet
Chapter 1 - 16
1.5 Central Concepts of
Automata Theory
1.5.2 Strings
occurrences of symbols
Length |w| of string w --- the number of
Chapter 1 - 17
1.5 Central Concepts of
Automata Theory
1.5.2 Strings
Chapter 1 - 19
1.5 Central Concepts of
Automata Theory
1.5.2 Strings
Therefore, we have
Example ---
since w = ww.
Chapter 1 - 21
1.5 Central Concepts of
Automata Theory
1.5.2 Strings (supplemental)
x0 = (by definition)
xi = xxi-1
Chapter 1 - 22
1.5 Central Concepts of
Automata Theory
1.5.3 Languages
Definition ---
Chapter 1 - 23
1.5 Central Concepts of
Automata Theory
1.5.3 Languages
Examples ---
The set of all legal English words is a
language. Why? What is the alphabet here?
Answer: the set of all letters
for n 0:
{, 01, 0011, 000111, …}
Chapter 1 - 25
1.5 Central Concepts of
Automata Theory
1.5.3 Languages
(note: L4 = L3 = L2)
Chapter 1 - 28
1.5 Central Concepts of
Automata Theory
1.5.3 Languages
Ways to define languages (3/3) ---
Description by integer parameters ---
L5 = {abn | n 0}
(note: L5 = L4 = L3 = L2)
Chapter 1 - 30
A
Chapter 1 - 33
1.5 Central Concepts of
Automata Theory
1.5.4 Problems
A problem in automata theory ---