From regular expressions to deterministic finite automata: 2n2+n( n)(1) states are necessary and sufficient

Abstract

It is proved that every regular expression of alphabetic width n, that is, with n occurrences of symbols of the alphabet, can be transformed into a deterministic finite automaton (DFA) with 2n2+(2 e22+o(1))n n states recognizing the same language (the best upper bound up to date is 2n). At the same time, it is also shown that this bound is close to optimal, namely, that there exist regular expressions of alphabetic width n over a two-symbol alphabet, such that every DFA for the same language has at least 2n2+(2 + o(1))n n states (the previously known lower bound is 542n2). 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.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…