Example DFAs
States
Alphabet
Start & Final States
Transition Table
What is the State Elimination Method?
The State Elimination Method converts a DFA to a regular expression by:
1. Converting the DFA to a Generalized NFA (GNFA) with new start (q_s) and final (q_f) states
2. Repeatedly eliminating intermediate states using the formula:
Rij' = Rij + Rik (Rkk)* Rkj
3. When only q_s and q_f remain, the label from q_s to q_f is the equivalent regular expression.
Elimination Order
Drag to reorder elimination sequence (qs and qf cannot be eliminated):
No conversion performed yet. Click "Convert to Regex" to begin.