Professional Documents
Culture Documents
DFA = NFA
0 1 1
Q0 Q1 Q2 Q3
“0011” -- {0,3}
Automata and Formal Languages
0,1 Now consider all possible strings
0 1 1
Q0 Q1 Q2 Q3
1
When processing if we
see a set exactly {q0,q3} 0 {q0,q1}
the same as a set
constructed earlier 1
we mark it in red.
{q0}
{q0} 0 {q0,q1} 0
{q0,q1}
1 1 1
{q0} {q0,q2}
0
{q0,q1} 0
1 0
{q0,q3} 0 {q0,q1}
0 01
1
1
{q0}
0
02 0
By “bending” the arrows 1
to the red sets back to 1
the first known set
with those elements 03
we construct a DFA.
0 1 1
Q0 Q1 Q2 Q3
δ({q0,q1,q3},0)
= ∆(q0,0)∪ ∆(q1,0)∪ ∆(q3,0)
= {q0,q1} ∪ ∅ ∪ ∅
= {q0,q1}
Exponential Blowup