On (co-lex) Ordering Automata

06/04/2021
by   Giovanna D'Agostino, et al.
0

The states of a deterministic finite automaton A can be identified with collections of words in Pf(L(A)) – the set of prefixes of words belonging to the regular language accepted by A. But words can be ordered and among the many possible orders a very natural one is the co-lexicographic one. Such naturalness stems from the fact that it suggests a transfer of the order from words to the automaton's states. In a number of papers automata admitting a total ordering of states coherent with the ordering of the set of words reaching them have been proposed. Such class of ordered automata – the Wheeler automata – turned out to be efficiently stored/searched using an index. Unfortunately not all automata can be totally ordered as previously outlined. However, automata can always be partially ordered and an intrinsic measure of their complexity can be defined and effectively determined, as the minimum width of one of their admissible partial orders. As shown in previous works, this new concept of width of an automaton has useful consequences in the fields of graph compression, indexing data structures, and automata theory. In this paper we prove that a canonical, minimum-width, partially-ordered automaton accepting a language L – dubbed the Hasse automaton H of L – can be exhibited. H provides, in a precise sense, the best possible way to (partially) order the states of any automaton accepting L, as long as we want to maintain an operational link with the (co-lexicographic) order of Pf(L(A)). Using H we prove that the width of the language can be effectively computed from the minimum automaton recognizing the language. Finally, we explore the relationship between two (often conflicting) objectives: minimizing the width and minimizing the number of states of an automaton.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/09/2022

Co-lexicographically ordering automata and regular languages. Part I

In the present work, we lay out a new theory showing that all automata c...
research
07/29/2019

Partially Ordered Automata and Piecewise Testability

Universality is the question whether a system recognizes all words over ...
research
09/01/2023

Directional movement of a collective of compassless automata on square lattice of width 2

We study the following problem: Can a collective of finite automata main...
research
11/14/2020

Entropy conservation for comparison-based algorithms

Comparison-based algorithms are algorithms for which the execution of ea...
research
06/19/2019

Learning with Partially Ordered Representations

This paper examines the characterization and learning of grammars define...
research
02/20/2023

Ordinal measures of the set of finite multisets

Well-partial orders, and the ordinal invariants used to measure them, ar...
research
02/15/2022

On the cartesian product of well-orderings

The width of a well partial ordering (wpo) is the ordinal rank of the se...

Please sign up or login with your details

Forgot password? Click here to reset