Algebraic Language Theory with Effects

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lenke, Fabian, Milius, Stefan, Urbat, Henning, Wißmann, Thorsten
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908348261072896
author Lenke, Fabian
Milius, Stefan
Urbat, Henning
Wißmann, Thorsten
author_facet Lenke, Fabian
Milius, Stefan
Urbat, Henning
Wißmann, Thorsten
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_12569
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Algebraic Language Theory with Effects
Lenke, Fabian
Milius, Stefan
Urbat, Henning
Wißmann, Thorsten
Formal Languages and Automata Theory
F.4.3
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.
title Algebraic Language Theory with Effects
topic Formal Languages and Automata Theory
F.4.3
url https://arxiv.org/abs/2410.12569