FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
15states 14 transitions · 4 final · |Σ| = 10
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 23
- subset construction 15
- minimal 12
Hover or tap a word to trace its path. Double circles are final states.
Transition table
| State | a | c | i | l | n | o | p | r | t | v | Nonterminal | NFA states | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| → | q0 | — | q1 | — | — | — | — | q2 | — | — | — | S | {q0} |
| q1 | q3 | — | — | — | — | — | — | — | — | — | A | {q1,q6,q13} | |
| q2 | q4 | — | — | — | — | — | — | — | — | — | B | {q18} | |
| q3 | — | — | — | — | q5 | — | — | — | — | — | C | {q2,q7,q14} | |
| q4 | — | — | — | — | — | — | — | q6 | — | — | D | {q19} | |
| q5 | — | — | — | — | — | — | — | — | q7 | — | E | {q3,q8,q15} | |
| q6 | — | — | — | q8 | — | — | — | — | — | — | F | {q20} | |
| q7 | q9 | — | q10 | — | — | q11 | — | — | — | — | G | {q4,q9,q16} | |
| q8 | — | — | q12 | — | — | — | — | — | — | — | H | {q21} | |
| q9 | — | — | — | — | — | — | — | — | — | q13 | I | {q10} | |
| ∗ | q10 | — | — | — | — | — | — | — | — | — | — | K | {q17} |
| ∗ | q11 | — | — | — | — | — | — | — | — | — | — | L | {q5} |
| ∗ | q12 | — | — | — | — | — | — | — | — | — | — | M | {q22} |
| q13 | q14 | — | — | — | — | — | — | — | — | — | J | {q11} | |
| ∗ | q14 | — | — | — | — | — | — | — | — | — | — | N | {q12} |
→ initial, ∗ final. Empty cells (—) lead to rejection.