Aka. NFA. Has multiple transitions for the same input symbol are allowed. Can have multiple possible starting states.
More flexible in terms of construction and may simplify the process of creating an FA for a regular language. Useful for theorem-proving.
Transition Function
Defined as . The function maps a state and an input symbol to a set of possible next states, rather than a single state as in DFA.
Extended Transition Function
Defined as . It handles strings instead of individual symbols. is the set of states reachable from state after reading string .
Rules:
Union of the sets of states reachable from each state in after reading symbol .
Acceptance by a NFA
Let .
A string is accepted iff .
A string is accepted if at least one of the states reachable from the start state after reading the string is an accepting state.