FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
12states 11 transitions · 4 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 20
- subset construction 12
- minimal 11
Hover or tap a word to trace its path. Double circles are final states.
Transition table
| State | a | d | e | k | l | s | t | w | Nonterminal | NFA states | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| → | q0 | — | — | — | — | — | — | q1 | q2 | S | {q0} |
| q1 | q3 | — | — | — | — | — | — | — | A | {q11,q15} | |
| q2 | q4 | — | — | — | — | — | — | — | B | {q1,q5} | |
| q3 | — | — | — | — | q5 | — | — | — | C | {q12,q16} | |
| q4 | — | — | — | — | q6 | — | — | — | D | {q2,q6} | |
| q5 | — | — | — | q7 | — | — | — | — | E | {q13,q17} | |
| q6 | — | — | — | q8 | — | — | — | — | F | {q3,q7} | |
| ∗ | q7 | — | — | — | — | — | q9 | — | — | G | {q14,q18} |
| ∗ | q8 | — | — | q10 | — | — | — | — | — | H | {q4,q8} |
| ∗ | q9 | — | — | — | — | — | — | — | — | J | {q19} |
| q10 | — | q11 | — | — | — | — | — | — | I | {q9} | |
| ∗ | q11 | — | — | — | — | — | — | — | — | K | {q10} |
→ initial, ∗ final. Empty cells (—) lead to rejection.