paper

From regular expressions to deterministic finite automata: states are necessary and sufficient

arXiv:2504.20555

Abstract

It is proved that every regular expression of alphabetic width , that is, with occurrences of symbols of the alphabet, can be transformed into a deterministic finite automaton (DFA) with states recognizing the same language (the best upper bound up to date is ). At the same time, it is also shown that this bound is close to optimal, namely, that there exist regular expressions of alphabetic width over a two-symbol alphabet, such that every DFA for the same language has at least states (the previously known lower bound is ). The same bounds are obtained for an intermediate problem of determinizing nondetermistic finite automata (NFA) with each state having all incoming transitions by the same symbol.

20 pages, 4 figures