Central Submonads and Notions of Computation

07/19/2022
by   Titouan Carette, et al.
0

The notion of "centre" has been introduced for many algebraic structures in mathematics. A notable example is the centre of a monoid which always determines a commutative submonoid. Monads in category theory are important algebraic structures that may be used to model computational effects in programming languages and in this paper we show how the notion of centre may be extended to strong monads acting on symmetric monoidal categories. We show that the centre of a strong monad 𝒯, if it exists, determines a commutative submonad 𝒵 of 𝒯, such that the Kleisli category of 𝒵 is isomorphic to the premonoidal centre (in the sense of Power and Robinson) of the Kleisli category of 𝒯. We provide three equivalent conditions which characterise the existence of the centre of 𝒯 and we show that every strong monad on many well-known naturally occurring categories does admit a centre, thereby showing that this new notion is ubiquitous. We also provide a computational interpretation of our ideas which consists in giving a refinement of Moggi's monadic metalanguage. The added benefit is that this allows us to immediately establish a large class of contextually equivalent programs for computational effects that are described via monads that admit a non-trivial centre by simply considering the richer syntactic structure provided by the refinement.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset