Introduction To Automata Theory
Introduction To Automata Theory
Theory
Chapter 1
1
2
Theory of Computation: A
Historical Perspective
• Alan Turing studies Turing machines
1930s
• Decidability
• Halting problem
7
8
Alphabet
An alphabet is a finite, non-empty set of
symbols
We use the symbol ∑ (sigma) to denote an
alphabet
Examples:
Binary: ∑ = {0,1}
All lower case letters: ∑ = {a,b,c,..z}
Alphanumeric: ∑ = {a-z, A-Z, 0-9}
DNA molecule letters: ∑ = {a,c,g,t}
…
9
Strings
A string or word is a finite sequence of symbols
chosen from ∑
Empty string is (or “epsilon”)
Powers of an alphabet
Let ∑ be an alphabet.
Kleen Closure
∑* = ∑0 U ∑1 U ∑2 U …
Kleen Plus
∑ + = ∑ 1 U ∑ 2 U ∑3 U …
1
1
Languages
L is a said to be a language over alphabet ∑, only if L ∑*
this is because ∑* is the set of all strings (of all possible length including
0) over the given alphabet ∑
Examples:
●
Let L be the language of all strings consisting of n 0’s followed by n 1’s:
L = {,01,0011,000111,…}
●
Let L be the language of all strings of with equal number of 0’s and 1’s:
L = {,01,10,0011,1100,0101,1010,1001,…}
Definition: Ø denotes the Empty language
Example:
Let w = 100011
Q) Is w the language of strings with
equal number of 0s and 1s?
1
3