FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
18states 17 transitions · 3 final · |Σ| = 9
Non-deterministic: one path per word, all leaving q0. One state has more than one transition on the same symbol (in red).
- NFA 18
- subset construction 14
- minimal 12
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 | c | l | n | o | p | r | t | v | Nonterminal | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| → | q0 | — | q1 | — | — | — | {q6, q11} | — | — | — | S |
| q1 | q2 | — | — | — | — | — | — | — | — | A | |
| q2 | — | — | — | q3 | — | — | — | — | — | B | |
| q3 | — | — | — | — | — | — | — | q4 | — | C | |
| q4 | — | — | — | — | q5 | — | — | — | — | D | |
| ∗ | q5 | — | — | — | — | — | — | — | — | — | O |
| q6 | q7 | — | — | — | — | — | — | — | — | E | |
| q7 | — | — | — | — | — | — | q8 | — | — | F | |
| q8 | — | — | q9 | — | — | — | — | — | — | G | |
| q9 | — | — | — | — | q10 | — | — | — | — | H | |
| ∗ | q10 | — | — | — | — | — | — | — | — | — | P |
| q11 | q12 | — | — | — | — | — | — | — | — | I | |
| q12 | — | — | — | — | — | — | q13 | — | — | J | |
| q13 | — | — | q14 | — | — | — | — | — | — | K | |
| q14 | q15 | — | — | — | — | — | — | — | — | L | |
| q15 | — | — | — | — | — | — | — | — | q16 | M | |
| q16 | q17 | — | — | — | — | — | — | — | — | N | |
| ∗ | q17 | — | — | — | — | — | — | — | — | — | Q |
→ initial, ∗ final. Empty cells (—) lead to rejection.