Nondeterministic finite automaton
Builds on AlphabetStringFormal languagePower setDeterministic finite automaton
Definition
A nondeterministic finite automaton (NFA) is a tuple where:
- is a nonempty finite set of states;
- is an alphabet;
- is the transition function, with values in the power set of ;
- is the initial state;
- is the set of accepting states.
The NFA accepts a string with when there are states with , for , and . The language of is the formal language of all strings that accepts.
Remarks
Example: over , take , , , , , and . A run ends in state exactly when it moves to state on the second-to-last letter, and that letter is . So is the set of words whose second-to-last letter is . Non-example: an automaton with a transition that reads no symbol, an -move, is not an NFA in this sense, because is only defined on ; it is an -NFA. A DFA is the NFA with . Some authors allow a set of initial states instead of a single one; this does not change the class of accepted languages.
Reading path
To understand this page from the ground up, read these 6 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Alphabet concept
- Deterministic finite automaton concept
- Formal language concept
- Power set concept
- String concept
- Nondeterministic finite automaton definition
Further reading
About this page
| Tag | ZWCSB3YHWM |
|---|---|
| URI | m2://ZWCSB3YHWM |
| Kind | definition |
| Writing | W0 stub |
| MSC | 68Q45 |
| Defines | Nondeterministic finite automaton |
| Uses | Alphabet, String, Formal language, Power set, Deterministic finite automaton |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.