Deciding DFA-Primality is NP-Hard
Abstract
A DFA is composite if there exist DFAs with such that each has strictly less states than the minimal DFA deciding . Otherwise, it is prime. Prime-DFA is the problem of deciding primality for a given DFA. It was defined by Kupferman and Mosheiff in 2015 and it was shown to be NL-hard and in ExpSpace. This paper proves the NP-hardness of Prime-DFA, thereby making the first progress in closing this doubly-exponential gap. It proves the NP-hardness by a reduction from the propositional logic satisfiability problem. The correctness of the reduction relies on an involved characterization of primality for a class of DFAs which contains those that can occur in the reduction.
Cite
@article{arxiv.2605.07031,
title = {Deciding DFA-Primality is NP-Hard},
author = {Daniel Alexander Spenner},
journal= {arXiv preprint arXiv:2605.07031},
year = {2026}
}
Comments
39 pages, 4 figures, to be published in 53rd EATCS International Colloquium on Automata, Languages, and Programming (ICALP 2026)