Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
169 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
45 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Monads, Comonads, and Transducers (2407.02704v1)

Published 2 Jul 2024 in cs.FL

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.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (27)
  1. Introduction to categories and categorical logic. New structures for physics, pages 3–94, 2011.
  2. Mikołaj Bojańczyk. Recognisable languages over monads. In International Conference on Developments in Language Theory, pages 1–13. Springer, 2015.
  3. Mikołaj Bojańczyk. Languages recognised by finite semigroups, and their generalisations to objects such as trees and graphs, with an emphasis on definability in monadic second-order logic. arXiv e-prints, pages arXiv–2008, 2020.
  4. An automata toolbox. URL: https://www. mimuw. edu. pl/~ bojan/papers/toolbox.pdf, 2018.
  5. String-to-string interpretations with polynomial-size output. arXiv preprint arXiv:1905.13190, 2019.
  6. Monadic monadic second order logic. In Samson Abramsky on Logic and Structure in Computer Science and Beyond, pages 701–754. Springer, 2023.
  7. Algebraic recognition of regular functions. In 50th International Colloquium on Automata, Languages, and Programming (ICALP 2023), number 261, pages 117–1. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2023.
  8. Mikołaj Bojańczyk. Recognisable languages over monads, 2015. arXiv:1502.04898.
  9. An algebraic approach to mso-definability on countable linear orderings. The Journal of Symbolic Logic, 83(3):1147–1189, 2018.
  10. Z-polyregular functions. In 2023 38th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), pages 1–13. IEEE, 2023.
  11. On reversible transducers. arXiv preprint arXiv:1702.07157, 2017.
  12. Learning reduplication with 2-way finite-state transducers. In International Conference on Grammatical Inference, pages 67–80. PMLR, 2019.
  13. Samuel Eilenberg. Automata, languages, and machines, volume A. Academic press, 1974.
  14. A rational and complete notion of delay for streaming string transducers. arXiv preprint arXiv:2205.04287, 2022.
  15. A clear picture of lens laws: Functional pearl. In Mathematics of Program Construction: 12th International Conference, MPC 2015, Königswinter, Germany, June 29–July 1, 2015. Proceedings 12, pages 215–223. Springer, 2015.
  16. Combinators for bidirectional tree transformations: A linguistic approach to the view-update problem. ACM Transactions on Programming Languages and Systems (TOPLAS), 29(3):17–es, 2007.
  17. Bartek Klin. Bialgebras for structural operational semantics: An introduction. Theoretical Computer Science, 412(38):5043–5069, 2011.
  18. Algebraic theory of machines. i. prime decomposition theorem for finite semigroups and machines. Transactions of the American Mathematical Society, 116:450–464, 1965.
  19. George H Mealy. A method for synthesizing sequential circuits. The Bell System Technical Journal, 34(5):1045–1079, 1955.
  20. Bartosz Milewski. Category theory for programmers. Blurb, 2018.
  21. Eugenio Moggi. Notions of computation and monads. Information and computation, 93(1):55–92, 1991.
  22. Dominic Orchard. Programming contextual computations. Technical report, University of Cambridge, Computer Laboratory, 2014.
  23. Jean-Éric Pin. Mathematical foundations of automata theory. Lecture notes LIAFA, Université Paris, 7:73, 2010.
  24. Marcel Paul Schützenberger. On finite monoids having only trivial subgroups. Inf. Control., 8(2):190–194, 1965.
  25. Dana Scott. Some definitional suggestions for automata theory. Journal of Computer and System Sciences, 1(2):187–212, 1967.
  26. The Coq Development Team. The Coq reference manual – release 8.18.0. https://coq.inria.fr/doc/V8.18.0/refman, 2023.
  27. Towards a mathematical operational semantics. In Proceedings of Twelfth Annual IEEE Symposium on Logic in Computer Science, pages 280–291. IEEE, 1997.

Summary

We haven't generated a summary for this paper yet.

X Twitter Logo Streamline Icon: https://streamlinehq.com