arXiv · 1612.07273
Natural Transformations as Rewrite Rules and Monad Composition
Abstract
Eklund et al. (2002) present a graphical technique aimed at simplifying the verification of various category-theoretic constructions, notably the composition of monads. In this note we take a different approach involving string rewriting. We show that a given tuple $(T,\mu,\eta)$ is a monad if and only if $T$ is a terminal object in a certain category of strings and rewrite rules, and that this fact can be established by proving confluence of the rewrite system. We illustrate the technique on the monad composition problem. We also give a characterization of adjunctions in terms of rewrite categories.
Explore related subjects
Keep this discovery
Dexter Kozen. 2016-12-21. Natural Transformations as Rewrite Rules and Monad Composition. https://doi.org/10.23638/lmcs-15(1%3A1)2019
Cite the original work for its findings. Save a collection to share your selection of sources.