arXiv Open Access 2024

Algebraic Language Theory with Effects

Fabian Lenke Stefan Milius Henning Urbat Thorsten Wißmann
Lihat Sumber

Abstrak

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.

Topik & Kata Kunci

Penulis (4)

F

Fabian Lenke

S

Stefan Milius

H

Henning Urbat

T

Thorsten Wißmann

Format Sitasi

Lenke, F., Milius, S., Urbat, H., Wißmann, T. (2024). Algebraic Language Theory with Effects. https://arxiv.org/abs/2410.12569

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2024
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓