English

Intersecting Dense Automata

Formal Languages and Automata Theory 2026-05-21 v1 Logic in Computer Science

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)\Theta(m^2) transitions if these NFA have at most nn states and mm transitions each. We describe alternative constructions with O(mn)O(m n) transitions: or O(mnk1)O(m n^{k-1}) for the intersection of kk NFA (for fixed k2k \ge 2 and alphabet Σ\Sigma). 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)(k+1)-cliques in undirected graphs. This also leads to a more efficient certification scheme for NFA intersection emptiness.

Keywords

Cite

@article{arxiv.2605.20421,
  title  = {Intersecting Dense Automata},
  author = {Dmitry Chistikov and Neha Rino},
  journal= {arXiv preprint arXiv:2605.20421},
  year   = {2026}
}

Comments

24 pages, 7 figures