FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
15states 14 transitions · 2 final · |Σ| = 8
Deterministic, by subset construction on the NFA: the prefix tree (trie) of the words. Hover a state to see the NFA states it stands for. Partial: a missing transition means rejection (an implicit dead state).
- NFA 15
- subset construction 15
- minimal 11
Hover or tap a word to trace its path. Double circles are final states.
Transition table
| State | a | c | l | n | p | r | t | v | Nonterminal | NFA states | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| → | q0 | — | q1 | — | — | q2 | — | — | — | S | {q0} |
| q1 | q3 | — | — | — | — | — | — | — | A | {q1} | |
| q2 | q4 | — | — | — | — | — | — | — | B | {q8} | |
| q3 | — | — | — | q5 | — | — | — | — | C | {q2} | |
| q4 | — | — | — | — | — | q6 | — | — | D | {q9} | |
| q5 | — | — | — | — | — | — | q7 | — | E | {q3} | |
| q6 | — | — | q8 | — | — | — | — | — | F | {q10} | |
| q7 | q9 | — | — | — | — | — | — | — | G | {q4} | |
| q8 | q10 | — | — | — | — | — | — | — | H | {q11} | |
| q9 | — | — | — | — | — | — | — | q11 | I | {q5} | |
| q10 | — | — | — | — | — | — | — | q12 | J | {q12} | |
| q11 | q13 | — | — | — | — | — | — | — | K | {q6} | |
| q12 | q14 | — | — | — | — | — | — | — | L | {q13} | |
| ∗ | q13 | — | — | — | — | — | — | — | — | M | {q7} |
| ∗ | q14 | — | — | — | — | — | — | — | — | N | {q14} |
→ initial, ∗ final. Empty cells (—) lead to rejection.