Weighted Automata and Recurrence Equations for Regular Languages
Edoardo Carta-Gerardino, Parisa Babaali

TL;DR
This paper establishes a novel connection between weighted automata, recurrence equations, and regular languages, demonstrating how recurrence equations can characterize regular languages and facilitate computations like word counts and density functions.
Contribution
It introduces an equivalence between weighted automata and recurrence equations over language semirings, providing new methods to analyze regular languages.
Findings
Linear recurrence equations with coefficients in language semirings recognize exactly the regular languages.
The approach allows partitioning languages into cross-sections based on word length.
Methods for calculating the density function and counting successful paths are developed.
Abstract
Let be the semiring of languages, and consider its subset . In this paper we define the language recognized by a weighted automaton over and a one-letter alphabet. Similarly, we introduce the notion of language recognition by linear recurrence equations with coefficients in . As we will see, these two definitions coincide. We prove that the languages recognized by linear recurrence equations with coefficients in are precisely the regular languages, thus providing an alternative way to present these languages. A remarkable consequence of this kind of recognition is that it induces a partition of the language into its cross-sections, where the th cross-section contains all the words of length in the language. Finally, we show how to use linear recurrence equations to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicssemigroups and automata theory · Machine Learning and Algorithms · Formal Methods in Verification
