{"title":"Monads, Comonads, and Transducers","authors":"Rafał Stefański","doi":"arxiv-2407.02704","DOIUrl":null,"url":null,"abstract":"This paper proposes a definition of recognizable transducers over monads and\ncomonads, which bridges two important ongoing efforts in the current research\non regularity. The first effort is the study of regular transductions, which\nextends the notion of regularity from languages into word-to-word functions.\nThe other important effort is generalizing the notion of regular languages from\nwords to arbitrary monads, introduced in arXiv:1502.04898. In this paper, we\npresent a number of examples of transducer classes that fit the proposed\nframework. In particular we show that our class generalizes the classes of\nMealy machines and rational transductions. We also present examples of\nrecognizable transducers for infinite words and a specific type of trees called\nterms. The main result of this paper is a theorem, which states the class of\nrecognizable transductions is closed under composition, subject to some\ncoherence axioms between the structure of a monad and the structure of a\ncomonad. Due to its complexity, we formalize the proof of the theorem in Coq\nProof Assistant. In the proof, we introduce the concepts of a context and a\ngeneralized wreath product for Eilenberg-Moore algebras, which could be\nvaluable tools for studying these algebras.","PeriodicalId":501124,"journal":{"name":"arXiv - CS - Formal Languages and Automata Theory","volume":"4 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Formal Languages and Automata Theory","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.02704","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
This paper proposes a definition of recognizable transducers over monads and
comonads, which bridges two important ongoing efforts in the current research
on regularity. The first effort is the study of regular transductions, which
extends the notion of regularity from languages into word-to-word functions.
The other important effort is generalizing the notion of regular languages from
words to arbitrary monads, introduced in arXiv:1502.04898. In this paper, we
present a number of examples of transducer classes that fit the proposed
framework. In particular we show that our class generalizes the classes of
Mealy machines and rational transductions. We also present examples of
recognizable transducers for infinite words and a specific type of trees called
terms. The main result of this paper is a theorem, which states the class of
recognizable transductions is closed under composition, subject to some
coherence axioms between the structure of a monad and the structure of a
comonad. Due to its complexity, we formalize the proof of the theorem in Coq
Proof Assistant. In the proof, we introduce the concepts of a context and a
generalized wreath product for Eilenberg-Moore algebras, which could be
valuable tools for studying these algebras.