English

Spectral and combinatorial methods for efficiently computing the rank of unambiguous finite automata

Formal Languages and Automata Theory 2025-11-14 v1 Data Structures and Algorithms Symbolic Computation

Abstract

A zero-one matrix is a matrix with entries from {0,1}\{0, 1\}. We study monoids containing only such matrices. A finite set of zero-one matrices generating such a monoid can be seen as the matrix representation of an unambiguous finite automaton, an important generalisation of deterministic finite automata which shares many of their good properties. Let A\mathcal{A} be a finite set of n×nn \times n zero-one matrices generating a monoid of zero-one matrices, and mm be the cardinality of A\mathcal{A}. We study the computational complexity of computing the minimum rank of a matrix in the monoid generated by A\mathcal{A}. By using linear-algebraic techniques, we show that this problem is in NC\textsf{NC} and can be solved in O(mn4)\mathcal{O}(mn^4) time. We also provide a combinatorial algorithm finding a matrix of minimum rank in O(n2+ω+mn4)\mathcal{O}(n^{2 + \omega} + mn^4) time, where 2ω2.42 \le \omega \le 2.4 is the matrix multiplication exponent. As a byproduct, we show a very weak version of a generalisation of the \v{C}ern\'{y} conjecture: there always exists a straight line program of size O(n2)\mathcal{O}(n^2) describing a product resulting in a matrix of minimum rank. For the special case corresponding to total DFAs (that is, for the case where all matrices have exactly one 1 in each row), the minimum rank is the size of the smallest image of the set of all states under the action of a word. Our combinatorial algorithm finds a matrix of minimum rank in time O(n3+mn2)\mathcal{O}(n^3 + mn^2) in this case.

Keywords

Cite

@article{arxiv.2511.09703,
  title  = {Spectral and combinatorial methods for efficiently computing the rank of unambiguous finite automata},
  author = {Stefan Kiefer and Andrew Ryzhikov},
  journal= {arXiv preprint arXiv:2511.09703},
  year   = {2025}
}