FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
8states 8 transitions · 1 final · |Σ| = 6
Minimal DFA (Moore’s partition refinement): states with the same future are merged, so shared suffixes are drawn once. Partial: a missing transition means rejection (an implicit dead state).
- NFA 13
- subset construction 9
- minimal 8
Hover or tap a word to trace its path. Double circles are final states.
Transition table
| State | a | l | o | p | r | v | Nonterminal | DFA states | |
|---|---|---|---|---|---|---|---|---|---|
| → | q0 | — | — | — | q1 | — | — | S | {q0} |
| q1 | q2 | — | — | — | — | — | A | {q1} | |
| q2 | — | — | — | — | q3 | — | B | {q2} | |
| q3 | — | q4 | — | — | — | — | C | {q3} | |
| q4 | q5 | — | q6 | — | — | — | D | {q4} | |
| q5 | — | — | — | — | — | q7 | E | {q5} | |
| ∗ | q6 | — | — | — | — | — | — | G | {q6,q8} |
| q7 | q6 | — | — | — | — | — | F | {q7} |
→ initial, ∗ final. Empty cells (—) lead to rejection.