Presenting Distributive Laws

Distributive laws of a monad \(\mathcal{T}\) over a functor F are categorical tools for specifying algebra-coalgebra interaction. They proved to be important for solving systems of corecursive equations, for the specification of well-behaved structural operational semantics and, more recently, also for enhancements of the bisimulation proof method. If \(\mathcal{T}\) is a free monad, then such distributive laws correspond to simple natural transformations. However, when \(\mathcal{T}\) is not free it can be rather difficult to prove the defining axioms of a distributive law. In this paper we describe how to obtain a distributive law for a monad with an equational presentation from a distributive law for the underlying free monad. We apply this result to show the equivalence between two different representations of context-free languages.

[1]  Mohammad Reza Mousavi,et al.  Congruence for Structural Congruences , 2005, FoSSaCS.

[2]  Bart Jacobs,et al.  A Bialgebraic Review of Deterministic Automata, Regular Expressions and Languages , 2006, Essays Dedicated to Joseph A. Goguen.

[3]  Glynn Winskel,et al.  The formal semantics of programming languages - an introduction , 1993, Foundation of computing series.

[4]  Helle Hvid Hansen,et al.  Pointwise extensions of GSOS-defined operations , 2011, Math. Struct. Comput. Sci..

[5]  Marcello M. Bonsangue,et al.  Context-Free Languages, Coalgebraically , 2011, CALCO.

[6]  S. Lack,et al.  The formal theory of monads II , 2002 .

[7]  Alexander Kurz,et al.  Equational presentations of functors and monads , 2011, Mathematical Structures in Computer Science.

[8]  J. Wright,et al.  P-varieties - a signature independent characterization of varieties of ordered algebras , 1983 .

[9]  Bart Jacobs,et al.  Distributive laws for the coinductive solution of recursive equations , 2006, Inf. Comput..

[10]  Jurriaan Rot,et al.  Combining Bialgebraic Semantics and Equations , 2014, FoSSaCS.

[11]  G. Kelly A unified treatment of transfinite constructions for free algebras, free monoids, colimits, associated sheaves, and so on , 1980, Bulletin of the Australian Mathematical Society.

[12]  Philip S. Mulry,et al.  MONAD COMPOSITIONS I: GENERAL CONSTRUCTIONS AND RECURSIVE DISTRIBUTIVE LAWS , 2007 .

[13]  Stefan Milius A Sound and Complete Calculus for Finite Stream Circuits , 2010, 2010 25th Annual IEEE Symposium on Logic in Computer Science.

[14]  Bartek Klin,et al.  Bialgebras for structural operational semantics: An introduction , 2011, Theor. Comput. Sci..

[15]  Jan J. M. M. Rutten,et al.  Behavioural differential equations: a coinductive calculus of streams, automata, and power series , 2003, Theor. Comput. Sci..

[16]  Alexandra Silva,et al.  Generalizing the powerset construction, coalgebraically , 2010, FSTTCS.

[17]  Dirk Pattinson,et al.  Comodels and Effects in Mathematical Operational Semantics , 2013, FoSSaCS.

[18]  Luca Aceto,et al.  Proving the validity of equations in GSOS languages using rule-matching bisimilarity , 2012, Mathematical Structures in Computer Science.

[19]  John Power,et al.  Combining a monad and a comonad , 2002, Theor. Comput. Sci..

[20]  John Power,et al.  Category theory for operational semantics , 2004, Theor. Comput. Sci..

[21]  Gordon D. Plotkin,et al.  Towards a mathematical operational semantics , 1997, Proceedings of Twelfth Annual IEEE Symposium on Logic in Computer Science.

[22]  Jurriaan Rot,et al.  Coalgebraic Bisimulation-Up-To , 2013, SOFSEM.

[23]  Jan J. M. M. Rutten,et al.  A coinductive calculus of streams , 2005, Mathematical Structures in Computer Science.

[24]  Luca Aceto,et al.  Structural Operational Semantics , 1999, Handbook of Process Algebra.

[25]  F. Bartels,et al.  On Generalised Coinduction and Probabilistic Specification Formats , 2004 .

[26]  Hiroshi Watanabe,et al.  Well-behaved Translations between Structural Operational Semantics , 2002, CMCS.

[27]  Bartek Klin Adding recursive constructs to bialgebraic semantics , 2004, J. Log. Algebraic Methods Program..

[28]  F. E. J. Linton,et al.  An outline of functorial semantics , 1969 .

[29]  Eduardo J. Dubuc,et al.  Kan Extensions in Enriched Category Theory , 1970 .

[30]  P. T. Johnstone,et al.  Adjoint Lifting Theorems for Categories of Algebras , 1975 .

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