Shades of Iteration: from Elgot to Kleene

01/15/2023
by   Sergey Goncharov, et al.
0

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 purely algebraic terms, and like Elgot monads cover a large diversity of models that meaningfully support while-loops, but may fail to support a Kleene-style iteration operator altogether, or else fail the Kleene algebra laws.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/16/2019

On the Variational Iteration Method for the Nonlinear Volterra Integral Equation

The variational iteration method is used to solve nonlinear Volterra int...
research
09/29/2020

Iteration in ACL2

Iterative algorithms are traditionally expressed in ACL2 using recursion...
research
08/06/2022

Operator Splitting Based Dynamic Iteration for Linear Port-Hamiltonian Systems

A dynamic iteration scheme for linear differential-algebraic port-Hamil­...
research
07/12/2019

Guarded Kleene Algebra with Tests: Verification of Uninterpreted Programs in Nearly Linear Time

Guarded Kleene Algebra with Tests (GKAT) is a variation on Kleene Algebr...
research
07/28/2014

'Almost Sure' Chaotic Properties of Machine Learning Methods

It has been demonstrated earlier that universal computation is 'almost s...
research
07/03/2018

A Semantics for Hybrid Iteration

The recently introduced notions of guarded traced (monoidal) category an...
research
01/17/2013

Affinity Weighted Embedding

Supervised (linear) embedding models like Wsabie and PSI have proven suc...

Please sign up or login with your details

Forgot password? Click here to reset