DFA primality decision problem proven to be EXPSPACE-complete

DFA Primality is EXPSPACE-Complete

Formal Languages and Automata TheoryLogic in Computer Science

Summary

This paper studies a problem about special machines called deterministic finite automata (DFAs), which recognize patterns in text. The authors look at whether a given DFA can be broken down into smaller DFAs whose combined patterns are exactly the same. If it cannot be broken down, the DFA is called prime. The authors prove that deciding whether a DFA is prime is a very complex problem that requires huge amounts of computational resources, matching the hardest known bounds. This clarifies the computational difficulty of understanding these machines’ structure.

What this means in practice

  • For formal methods engineers: Inform design and analysis of automata-based verification tools by clarifying the complexity limits of DFA decomposition.
  • For complexity theorists: Use the result as a benchmark to rule out efficient general algorithms for DFA primality in system design.

A theory result. No direct application yet.

Authors

Annika Delb, Łukasz Orlikowski, Henry Sinclair-Banks, Daniel Alexander Spenner, Karol Węgrzycki

Abstract

A deterministic finite automaton (DFA) is composite if there exists a family of strictly smaller DFAs whose languages intersected are equal to the language of the given DFA. Otherwise, the DFA is prime. Prime-DFA is the problem of deciding primality for a given DFA. It was defined by Kupferman and Mosheiff in 2015, who proved that it was NL-hard and in EXPSPACE. The lower bound was recently improved by Spenner to NP, who also proved that there exist composite DFAs whose decompositions require exponentially many DFAs. We prove that Prime-DFA is EXPSPACE-complete, matching the original upper bound of Kupferman and Mosheiff.