Localisable Monads

08/03/2021
by   Carmen Constantin, et al.
0

Monads govern computational side-effects in programming semantics. They can be combined in a ”bottom-up” way to handle several instances of such effects. Indexed monads and graded monads do this in a modular way. Here, instead, we equip monads with fine-grained structure in a ”top-down” way, using techniques from tensor topology. This provides an intrinsic theory of local computational effects without needing to know how constituent effects interact beforehand. Specifically, any monoidal category decomposes as a sheaf of local categories over a base space. We identify a notion of localisable monads which characterises when a monad decomposes as a sheaf of monads. Equivalently, localisable monads are formal monads in an appropriate presheaf 2-category, whose algebras we characterise. Three extended examples demonstrate how localisable monads can interpret the base space as locations in a computer memory, as sites in a network of interacting agents acting concurrently, and as time in stochastic processes.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/14/2022

Category-Graded Algebraic Theories and Effect Handlers

We provide an effect system CatEff based on a category-graded extension ...
research
10/17/2021

Category-theoretical Semantics of the Description Logic ALC (extended version)

Category theory can be used to state formulas in First-Order Logic witho...
research
02/04/2022

Monoidal Streams for Dataflow Programming

We introduce monoidal streams: a generalization of causal stream functio...
research
07/19/2022

Central Submonads and Notions of Computation

The notion of "centre" has been introduced for many algebraic structures...
research
11/25/2002

Monadic Style Control Constructs for Inference Systems

Recent advances in programming languages study and design have establish...
research
01/28/2020

Unifying graded and parameterised monads

Monads are a useful tool for structuring effectful features of computati...
research
04/17/2019

A 2-Categorical Study of Graded and Indexed Monads

In the study of computational effects, it is important to consider the n...

Please sign up or login with your details

Forgot password? Click here to reset