Intersecting Dense Automata

Abstract

We observe that the classical Cartesian product construction for the intersection of (languages of) nondeterministic finite automata (NFA) is non-optimal in the worst case, if the automata have many transitions. For a fixed alphabet, the product of two NFA may have Θ(m2) transitions if these NFA have at most n states and m transitions each. We describe alternative constructions with O(m n) transitions: or O(m nk-1) for the intersection of k NFA (for fixed k 2 and alphabet Σ). This gives a faster algorithm for deciding NFA intersection emptiness. The new algorithm is optimal, unless there exists a breakthrough combinatorial algorithm for detecting (k+1)-cliques in undirected graphs. This also leads to a more efficient certification scheme for NFA intersection emptiness.

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…