DFA Definition

Example DFAs

States

Alphabet

Start & Final States

Transition Table

✓ DFA is valid and ready for conversion
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.

Conversion Process

Elimination Order

Drag to reorder elimination sequence (qs and qf cannot be eliminated):

Step 0: Initial DFA

No conversion performed yet. Click "Convert to Regex" to begin.

No regular expression generated yet.