FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
10states 9 transitions · 2 final · |Σ| = 5
Non-deterministic: one path per word, all leaving q0. One state has more than one transition on the same symbol (in red).
- NFA 10
- subset construction 6
- minimal 6
Hover or tap a word to trace its path. Double circles are final states. Red symbols leave a state on more than one transition.
Transition table
| State | a | k | l | s | t | Nonterminal | |
|---|---|---|---|---|---|---|---|
| → | q0 | — | — | — | — | {q1, q5} | S |
| q1 | q2 | — | — | — | — | A | |
| q2 | — | — | q3 | — | — | B | |
| q3 | — | q4 | — | — | — | C | |
| ∗ | q4 | — | — | — | — | — | H |
| q5 | q6 | — | — | — | — | D | |
| q6 | — | — | q7 | — | — | E | |
| q7 | — | q8 | — | — | — | F | |
| q8 | — | — | — | q9 | — | G | |
| ∗ | q9 | — | — | — | — | — | I |
→ initial, ∗ final. Empty cells (—) lead to rejection.