Density of rational languages under shift invariant measures
Formal Languages and Automata Theory
2025-08-08 v2
Abstract
We study density of rational languages under shift invariant probability measures on spaces of two-sided infinite words, which generalizes the classical notion of density studied in formal languages and automata theory. The density for a language is defined as the limit in average (if it exists) of the probability that a word of a given length belongs to the language. We establish the existence of densities for all rational languages under all shift invariant measures. We also give explicit formulas under certain conditions, in particular when the language is aperiodic. Our approach combines tools and ideas from semigroup theory and ergodic theory.
Cite
@article{arxiv.2504.16708,
title = {Density of rational languages under shift invariant measures},
author = {Valérie Berthé and Herman Goulet-Ouellet and Dominique Perrin},
journal= {arXiv preprint arXiv:2504.16708},
year = {2025}
}
Comments
Corrected a minor mistake