Step-by-step Finite Automata optimization via Table Filling or Partitioning
Format: State: symbol->NextState, symbol->NextState
Algorithm steps will appear here.
Initialize to see the table.
Random Generated DFA: Creates a DFA guaranteed to have reducible states.
User Input Mode: Define your own DFA with custom states and transitions.
Table Filling (Myhill-Nerode): Marks distinguishable state pairs step-by-step.
Partitioning Method: Iteratively splits state partitions until stable. Groups are color-coded in the graph.
Enter transitions one per line: A: 0->B, 1->C
The first state listed becomes the start state. List accept states comma-separated below.
Click Initialize then use Next / Prev to walk through. Watch the Transition Table highlight the active state(s) at each step.
A: 0->B, 1->C B: 0->A, 1->D C: 0->C, 1->C D: 0->D, 1->D Accept States: C,D