Cartesian Differential Kleisli Categories
Jean-Simon Pacaud Lemay
TL;DR
This work identifies Cartesian differential monads as the right framework for lifting differential structure to Kleisli categories, proving that the Kleisli category KL(S) of a Cartesian differential monad S on a Cartesian k differential category X is itself a Cartesian differential category with the same differential operator as the base. It provides a precise characterization of when a Cartesian differential category arises as a Kleisli category of a Cartesian differential monad via Cartesian differential abstract Kleisli categories, and it shows that the Eilenberg–Moore category EM(S) carries a tangent category structure, with differential objects corresponding to D linear algebras. The results unify several standard constructions such as tangent bundle monads and reader monads, and they illuminate how effects interact with differential structure in a principled categorical way. The work also clarifies the role of Kleisli differential combinators and abstract Kleisli formalisms, offering a robust foundation for differential calculus in effectful settings with potential applications to tangent programming language design.
Abstract
Cartesian differential categories come equipped with a differential combinator which axiomatizes the fundamental properties of the total derivative from differential calculus. The objective of this paper is to understand when the Kleisli category of a monad is a Cartesian differential category. We introduce Cartesian differential monads, which are monads whose Kleisli category is a Cartesian differential category by way of lifting the differential combinator from the base category. Examples of Cartesian differential monads include tangent bundle monads and reader monads. We give a precise characterization of Cartesian differential categories which are Kleisli categories of Cartesian differential monads using abstract Kleisli categories. We also show that the Eilenberg-Moore category of a Cartesian differential monad is a tangent category.
