English

Decomposing Finite Languages

Formal Languages and Automata Theory 2023-07-14 v1

Abstract

The paper completely characterizes the primality of acyclic DFAs, where a DFA A\mathcal{A} is prime if there do not exist DFAs A1,,At\mathcal{A}_1,\dots,\mathcal{A}_t with L(A)=i=1tL(Ai)\mathcal{L}(\mathcal{A}) = \bigcap_{i=1}^{t} \mathcal{L}({\mathcal{A}_i}) such that each Ai\mathcal{A}_i has strictly less states than the minimal DFA recognizing the same language as A\mathcal{A}. A regular language is prime if its minimal DFA is prime. Thus, this result also characterizes the primality of finite languages. Further, the NL\mathsf{NL}-completeness of the corresponding decision problem PrimeDFAfin\mathsf{PrimeDFA}_{\text{fin}} is proven. The paper also characterizes the primality of acyclic DFAs under two different notions of compositionality, union and union-intersection compositionality. Additionally, the paper introduces the notion of S-primality, where a DFA A\mathcal{A} is S-prime if there do not exist DFAs A1,,At\mathcal{A}_1,\dots,\mathcal{A}_t with L(A)=i=1tL(Ai)\mathcal{L}(\mathcal{A}) = \bigcap_{i=1}^{t} \mathcal{L}(\mathcal{A}_i) such that each Ai\mathcal{A}_i has strictly less states than A\mathcal{A} itself. It is proven that the problem of deciding S-primality for a given DFA is NL\mathsf{NL}-hard. To do so, the NL\mathsf{NL}-completeness of 2MinimalDFA\mathsf{2MinimalDFA}, the basic problem of deciding minimality for a DFA with at most two letters, is proven.

Cite

@article{arxiv.2307.06802,
  title  = {Decomposing Finite Languages},
  author = {Daniel Alexander Spenner},
  journal= {arXiv preprint arXiv:2307.06802},
  year   = {2023}
}
R2 v1 2026-06-28T11:29:29.718Z