Nfa Epsilon Defined
Nfa Epsilon Defined
transitions
Sipser pages 47-54
NFAs with Transitions
{ an | n is even or divisible by 3 }
This is the version of
the NFA on page 53
of Sipser.
Definition
Q is a set of states
is the alphabet of input symbols
q0Q is the initial state
F Q is the set of final states
Q P(Q) is the transition function
Note is never a member of
is defined to be (
-NFA
-closure of a state
The -closure of the state q, denoted ECLOSE(q), is the set that
contains q, together with all states that can be reached starting
at q by following only -transitions.
Computing eclose
Compute eclose by adding new
states until no new states can be
added
Theorem
Any NFAe can be turned into an NFA
How?