Module-1_Introduction to Automata
Module-1_Introduction to Automata
Introduction to Automata
Theory
CPU memory
input memory
CPU
output memory
Program memory
temporary memory
input memory
CPU
output memory
Program memory
compute xx
2/16/2023
compute x x2
Dakhole Dipali K 5
f ( x) = x 3
temporary memory
input memory
x=2
CPU
output memory
Program memory
compute xx
2/16/2023
compute x x2
Dakhole Dipali K 6
temporary memory f ( x) = x 3
z = 2*2 = 4
f ( x) = z * 2 = 8
input memory
x=2
CPU
output memory
Program memory
compute xx
2/16/2023
compute x x2
Dakhole Dipali K 7
temporary memory f ( x) = x 3
z = 2*2 = 4
f ( x) = z * 2 = 8
input memory
x=2
CPU
f ( x) = 8
Program memory output memory
compute xx
2/16/2023
compute x x2
Dakhole Dipali K 8
Automata theory is the study of
abstract machines and automata.
The computational problems can be
solved using them.
It is a theory in theoretical computer
science and discrete mathematics
Automaton
input memory
CPU
output memory
Program memory
temporary memory
input memory
Turing
Machine output memory
w = a1a2 an abba
v = b1b2 bm bbbaaa
1. Concatenation
uv = aababaab = 8
uv = u + v = 3 + 5 = 8
• Observations:
=0
w = w = w
• Definition: w0 =
(abba )0 =
• Example:
= a, b
* = , a, b, aa, ab, ba, bb, aaa,
• Languages:
a, aa, aab
{ , abba, baba, aa, ab, aaaaaa}
Sets = { } {}
Set size {} = = 0
Set size {} = 1
String length =0
ab
L abb L
aabb
aaaaabbbbb
Examples:
ab, aab, baba = ba, baa, abab
R
L = {a b : n 0}
n n
LR
= {b a : n 0}
n n
L = {a b : n 0}
n n
L = {a b a b : n, m 0}
2 n n m m
2
aabbaaabbb L
,
• Example:
a, bb,
a, bb* =
aa , abb, bba , bbbb,
aaa, aabb, abba, abbbb,
+
Definition:
L = L L
1 2
= L * −
a, bb,
+
a, bb = aa, abb, bba, bbbb,
aaa, aabb, abba, abbbb,
2/16/2023 Dakhole Dipali K
40