Saved in:
Bibliographic Details
Main Authors: Berthé, Valérie, Goulet-Ouellet, Herman, Perrin, Dominique
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2504.16708
Tags: Add Tag
No Tags, Be the first to tag this record!
Table of Contents:
  • 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.