Guarded and Unguarded Iteration for Generalized Processes

Models of iterated computation, such as (completely) iterative monads, often depend on a notion of guardedness, which guarantees unique solvability of recursive equations and requires roughly that recursive calls happen only under certain guarding operations. On the other hand, many models of iteration do admit unguarded iteration. Solutions are then no longer unique, and in general not even determined as least or greatest fixpoints, being instead governed by quasi-equational axioms. Monads that support unguarded iteration in this sense are called (complete) Elgot monads. Here, we propose to equip (Kleisli categories of) monads with an abstract notion of guardedness and then require solvability of abstractly guarded recursive equations; examples of such abstractly guarded pre-iterative monads include both iterative monads and Elgot monads, the latter by deeming any recursive definition to be abstractly guarded. Our main result is then that Elgot monads are precisely the iteration-congruent retracts of abstractly guarded iterative monads, the latter being defined as admitting unique solutions of abstractly guarded recursive equations; in other words, models of unguarded iteration come about by quotienting models of guarded iteration.

[1]  Jeremy Gibbons,et al.  The Coinductive Resumption Monad , 2014, MFPS.

[2]  Christoph Rauch,et al.  Unifying Guarded and Unguarded Iteration , 2017, FoSSaCS.

[3]  Tarmo Uustalu,et al.  Quotienting the delay monad by weak bisimilarity , 2015, Mathematical Structures in Computer Science.

[4]  Zoltán Ésik,et al.  Some Remarks on Conway and Iteration Theories , 2016, ArXiv.

[5]  Eugenio Moggi A Modular Approach to Denotational Semantics , 1991, Category Theory and Computer Science.

[6]  Tarmo Uustalu,et al.  A Hoare logic for the coinductive trace-based big-step semantics of While , 2010, Log. Methods Comput. Sci..

[7]  Jirí Adámek,et al.  Equational properties of iterative monads , 2010, Inf. Comput..

[8]  Venanzio Capretta,et al.  General recursion via coinductive types , 2005, Log. Methods Comput. Sci..

[9]  Robin Milner,et al.  Communication and concurrency , 1989, PHI Series in computer science.

[10]  Christoph Rauch,et al.  Unguarded Recursion on Coinductive Resumptions , 2014, MFPS.

[11]  S. Lane Categories for the Working Mathematician , 1971 .

[12]  Stephen L. Bloom,et al.  On the Algebraic Atructure of Rooted Trees , 1978, J. Comput. Syst. Sci..

[13]  Gordon D. Plotkin,et al.  Complete axioms for categorical fixed-point operators , 2000, Proceedings Fifteenth Annual IEEE Symposium on Logic in Computer Science (Cat. No.99CB36332).

[14]  Ana Sokolova,et al.  Generic Trace Semantics via Coinduction , 2007, Log. Methods Comput. Sci..

[15]  Sergey Goncharov,et al.  A Coinductive Calculus for Asynchronous Side-Effecting Processes , 2011, FCT.

[16]  Tarmo Uustalu Generalizing Substitution , 2002, RAIRO Theor. Informatics Appl..

[17]  F. W. Lawvere,et al.  FUNCTORIAL SEMANTICS OF ALGEBRAIC THEORIES. , 1963, Proceedings of the National Academy of Sciences of the United States of America.

[18]  C. C. Elgot Monadic Computation And Iterative Algebraic Theories , 1982 .

[19]  Tarmo Uustalu,et al.  Primitive (Co)Recursion and Course-of-Value (Co)Iteration, Categorically , 1999, Informatica.

[20]  Christoph Rauch,et al.  Complete Elgot Monads and Coalgebraic Resumptions , 2016, MFPS.

[21]  Law Fw FUNCTORIAL SEMANTICS OF ALGEBRAIC THEORIES. , 1963 .

[22]  Z. Ésik,et al.  Iteration Theories: The Equational Logic of Iterative Processes , 1993 .

[23]  Tadeusz Litak,et al.  Guard Your Daggers and Traces: Properties of Guarded (Co-)recursion , 2017, Fundam. Informaticae.

[24]  Sergey Goncharov,et al.  Guarded Traced Categories , 2018, FoSSaCS.

[25]  S. Lack,et al.  Introduction to extensive and distributive categories , 1993 .

[26]  Thorsten Altenkirch,et al.  Partiality, Revisited: The Partiality Monad as a Quotient Inductive-Inductive Type , 2017, FoSSaCS.

[27]  Eugenio Moggi,et al.  Notions of Computation and Monads , 1991, Inf. Comput..

[28]  Ichiro Hasuo,et al.  Coalgebraic Infinite Traces and Kleisli Simulations , 2018, Log. Methods Comput. Sci..

[29]  Stefan Milius Completely iterative algebras and completely iterative monads , 2005, Inf. Comput..

[30]  Jeremy Gibbons,et al.  Monads for Behaviour , 2013, MFPS.

[31]  Zoltán Ésik Axiomatizing Iteration Categories , 1999, Acta Cybern..

[32]  Peter Aczel,et al.  Infinite trees and completely iterative theories: a coalgebraic view , 2003, Theor. Comput. Sci..

[33]  M. Escardó,et al.  A metric model of PCF , 1998 .

[34]  Hiroshi Nakano,et al.  A modality for recursion , 2000, Proceedings Fifteenth Annual IEEE Symposium on Logic in Computer Science (Cat. No.99CB36332).

[35]  Stefan Friedrich,et al.  Topology , 2019, Arch. Formal Proofs.

[36]  Jirí Adámek,et al.  Elgot theories: a new perspective on the equational properties of iteration , 2011, Math. Struct. Comput. Sci..