English

Co-lexicographically Ordering Automata and Regular Languages -- Part I

Formal Languages and Automata Theory 2023-05-04 v3 Data Structures and Algorithms

Abstract

In the present work, we lay out a new theory showing that all automata can always be co-lexicographically partially ordered, and an intrinsic measure of their complexity can be defined and effectively determined, namely, the minimum width pp of one of their admissible co-lex partial orders - dubbed here the automaton's co-lex width. We first show that this new measure captures at once the complexity of several seemingly-unrelated hard problems on automata. Any NFA of co-lex width pp: (i) has an equivalent powerset DFA whose size is exponential in pp rather than (as a classic analysis shows) in the NFA's size; (ii) can be encoded using just Θ(logp)\Theta(\log p) bits per transition; (iii) admits a linear-space data structure solving regular expression matching queries in time proportional to p2p^2 per matched character. Some consequences of this new parametrization of automata are that PSPACE-hard problems such as NFA equivalence are FPT in pp, and quadratic lower bounds for the regular expression matching problem do not hold for sufficiently small pp. We prove that a canonical minimum-width DFA accepting a language L\mathcal L - dubbed the Hasse automaton H\mathcal H of L\mathcal L - can be exhibited. Finally, we explore the relationship between two conflicting objectives: minimizing the width and minimizing the number of states of a DFA. In this context, we provide an analogous of the Myhill-Nerode Theorem for co-lexicographically ordered regular languages.

Keywords

Cite

@article{arxiv.2208.04931,
  title  = {Co-lexicographically Ordering Automata and Regular Languages -- Part I},
  author = {Nicola Cotumaccio and Giovanna D'Agostino and Alberto Policriti and Nicola Prezza},
  journal= {arXiv preprint arXiv:2208.04931},
  year   = {2023}
}

Comments

arXiv admin note: text overlap with arXiv:2106.02309

R2 v1 2026-06-25T01:36:20.872Z