Title: Properties of Regular Languages
1Properties of Regular Languages
2For regular languages and we will
prove that
Star
Reversal
Complement
Intersection
3We say Regular languages are closed under
Star
Reversal
Complement
Intersection
4A useful transformation use one accept state
NFA
2 accept states
Equivalent NFA
1 accept state
5In General
NFA
Equivalent NFA
Single accepting state
6Extreme case
NFA without accepting state
7Take two languages
8Example
9Union
10Example
NFA for
11Concatenation
12Example
13Star Operation
14Example
15Reverse
NFA for
1. Reverse all transitions
2. Make initial state accepting state and
vice versa
16Example
17Complement
1. Take the DFA that accepts
2. Make accepting states non-final, and
vice-versa
18Example
19Intersection
regular
We show
regular
regular
20DeMorgans Law
21Example
regular
regular
regular
22Another Proof for Intersection Closure
Machine
Machine
DFA
for
for
DFA
Construct a new DFA that accepts
simulates in parallel and
23States in
State in
State in
24DFA
DFA
transition
transition
DFA
New transition
25DFA
DFA
initial state
initial state
DFA
New initial state
26DFA
DFA
accept state
accept states
DFA
New accept states
Both constituents must be accepting states
27Example
28Automaton for intersection
29simulates in parallel and
accepts string
if and only if
accepts string
and accepts string