Alan Jeffrey (in 1997) articulated a string diagrammatic syntax for the semantics of imperative programming: an extra wire was employed for global effects. This paper promotes Jeffrey’s techique into a freeness, soundness and completeness proof of a graphical calculus of premonoidal and effectful categories. In the same way that monoidal categories are pseudomonoids in the bicategory of categories, effectful categories are pseudomonoids in a monoidal bicategory of promonads.
Abstract. Premonoidal and Freyd categories are both generalized by non-cartesian Freyd categories: effectful categories. We construct string diagrams for effectful categories in terms of the string diagrams for a monoidal category with a freely added object. We show that effectful categories are pseudomonoids in a monoidal bicategory of promonads with a suitable tensor product.
How to cite
@inproceedings{effectful22,
author = {Mario Rom{\'{a}}n},
editor = {Jade Master and
Martha Lewis},
title = {Promonads and String Diagrams for Effectful Categories},
booktitle = {Proceedings Fifth International Conference on Applied Category Theory,
{ACT} 2022, Glasgow, United Kingdom, 18-22 July 2022},
series = {{EPTCS}},
volume = {380},
pages = {344--361},
year = {2022},
doi = {10.4204/EPTCS.380.20},
timestamp = {Fri, 11 Aug 2023 14:29:27 +0200},
}
Related
References