🤖 AI Summary
Classical algebraic language theory establishes a correspondence between automata and finite monoids; however, this framework lacks support for computational effects such as probabilistic, nondeterministic, or semiring-weighted behaviors.
Method: We generalize this correspondence to effectful automata by introducing a novel recognition paradigm—monoid homomorphisms from effectful monoids into effect-free finite monoids—and developing a monoid–monad bialgebraic recognition framework, integrating category theory, algebraic automata theory, and bialgebraic structures.
Contribution/Results: We provide a dual algebraic characterization of languages recognizable by effectful automata; deliver the first purely algebraic characterization of probabilistic automata; and uniformly derive algebraic characterizations of languages accepted by probabilistic, nondeterministic, and arbitrary semiring-weighted automata—thereby overcoming prior limitations restricted to commutative rings.
📝 Abstract
Regular languages -- the languages accepted by deterministic finite automata -- are known to be precisely the languages recognized by finite monoids. This characterization is the origin of algebraic language theory. In this paper, we generalize the correspondence between automata and monoids to automata with generic computational effects given by a monad, providing the foundations of an effectful algebraic language theory. We show that, under suitable conditions on the monad, a language is computable by an effectful automaton precisely when it is recognizable by (1) an effectful monoid morphism into an effect-free finite monoid, and (2) a monoid morphism into a monad-monoid bialgebra whose carrier is a finitely generated algebra for the monad, the former mode of recognition being conceptually completely new. Our prime application is a novel algebraic approach to languages computed by probabilistic finite automata. Additionally, we derive new algebraic characterizations for nondeterministic probabilistic finite automata and for weighted finite automata over unrestricted semirings, generalizing previous results on weighted algebraic recognition over commutative rings.