Weakening and Iterating Laws using String Diagrams

05/07/2022
by   Alexandre Goy, et al.
0

Distributive laws are a standard way of combining two monads, providing a compositional approach for reasoning about computational effects in semantics. Situations where no such law exists can sometimes be handled by weakening the notion of distributive law, still recovering a composite monad. A celebrated result from Eugenia Cheng shows that combining more monads is possible by iterating more distributive laws, provided they satisfy a coherence condition called the Yang-Baxter equation. Moreover, the order of composition does not matter, leading to a form of associativity. The main contribution of this paper is to generalise the associativity of iterated composition to weak distributive laws. To this end, we use string-diagrammatic notation, which significantly helps make increasingly complex proofs more readable. We also provide examples of new weak distributive laws arising from iteration.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/25/2021

Semialgebras and Weak Distributive Laws

Motivated by recent work on weak distributive laws and their application...
research
03/02/2023

Algorithmic Randomness and Probabilistic Laws

We consider two ways one might use algorithmic randomness to characteriz...
research
11/15/2018

Don't Try This at Home: No-Go Theorems for Distributive Laws

Beck's distributive laws provide sufficient conditions under which two m...
research
04/07/2020

A categorical approach to secure compilation

We introduce a novel approach to secure compilation based on maps of dis...
research
05/11/2022

Algebraic Presentation of Semifree Monads

Monads and their composition via distributive laws have many application...
research
03/27/2020

No-Go Theorems for Distributive Laws

Monads are commonplace in computer science, and can be composed using Be...
research
07/23/2019

On URANS Congruity with Time Averaging: Analytical laws suggest improved models

The standard 1-equation model of turbulence was first derived by Prandt...

Please sign up or login with your details

Forgot password? Click here to reset