FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
17states 16 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 25
- subset construction 17
- 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,q8} | |
| q2 | q4 | — | — | — | — | — | — | — | — | — | B | {q13,q18} | |
| q3 | — | — | — | — | q5 | — | — | — | — | — | C | {q2,q9} | |
| q4 | — | — | — | — | — | — | — | q6 | — | — | D | {q14,q19} | |
| q5 | — | — | — | — | — | — | — | — | q7 | — | E | {q3,q10} | |
| q6 | — | — | — | q8 | — | — | — | — | — | — | F | {q15,q20} | |
| q7 | q9 | — | q10 | — | — | — | — | — | — | — | G | {q4,q11} | |
| q8 | q11 | — | — | — | — | q12 | — | — | — | — | H | {q16,q21} | |
| q9 | — | — | — | — | — | — | — | — | — | q13 | I | {q5} | |
| ∗ | q10 | — | — | — | — | — | — | — | — | — | — | M | {q12} |
| q11 | — | — | — | — | — | — | — | — | — | q14 | J | {q22} | |
| ∗ | q12 | — | — | — | — | — | — | — | — | — | — | N | {q17} |
| q13 | q15 | — | — | — | — | — | — | — | — | — | K | {q6} | |
| q14 | q16 | — | — | — | — | — | — | — | — | — | L | {q23} | |
| ∗ | q15 | — | — | — | — | — | — | — | — | — | — | O | {q7} |
| ∗ | q16 | — | — | — | — | — | — | — | — | — | — | P | {q24} |
→ initial, ∗ final. Empty cells (—) lead to rejection.