Abstract
Notions of iteration range from the arguably most general Elgot iteration to a very specific Kleene iteration. The fundamental nature of Elgot iteration has been extensively explored by Bloom and Esik in the form of iteration theories, while Kleene iteration became extremely popular as an integral part of (untyped) formalisms, such as automata theory, regular expressions and Kleene algebra. Here, we establish a formal connection between Elgot iteration and Kleene iteration in the form of Elgot monads and Kleene monads, respectively. We also introduce a novel class of while-monads, which like Kleene monads admit a relatively simple description in algebraic terms. Like Elgot monads, while-monads cover a large variety of models that meaningfully support while-loops, but may fail the Kleene algebra laws, or even fail to support a Kleen iteration operator altogether.
Original language | English |
---|---|
Title of host publication | Recent Trends in Algebraic Development Techniques |
Subtitle of host publication | 26th IFIP WG 1.3 International Workshop, WADT 2022, Revised Selected Papers |
Editors | Alexandre Madeira, Manuel A. Martins |
Publisher | Springer |
Pages | 100-120 |
Number of pages | 21 |
ISBN (Electronic) | 9783031433450 |
ISBN (Print) | 9783031433443 |
DOIs | |
Publication status | Published - 22 Oct 2023 |
Externally published | Yes |
Event | 26th IFIP WG 1.3 International Workshop on Algebraic Development Techniques - Aveiro, Portugal Duration: 28 Jun 2022 → 30 Jun 2022 |
Publication series
Name | Lecture Notes in Computer Science |
---|---|
Volume | 13710 |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 26th IFIP WG 1.3 International Workshop on Algebraic Development Techniques |
---|---|
Abbreviated title | WADT 2022 |
Country/Territory | Portugal |
City | Aveiro |
Period | 28/06/22 → 30/06/22 |
Bibliographical note
Publisher Copyright:© 2023, Springer Nature Switzerland AG.
ASJC Scopus subject areas
- Theoretical Computer Science
- General Computer Science