Internal Kleisli categories
A construction of Kleisli objects in 2-categories of noncartesian internal categories or categories internal to monoidal categories is presented.
š” Research Summary
The paper āInternal Kleisli Categoriesā addresses a fundamental limitation in the classical theory of Kleisli objects: the standard construction assumes that the underlying monoidal category is cartesian (typically Set or Cat). Many contemporary mathematical and computational contexts, however, involve monoidal structures that are not cartesianāsuch as tensor products of vector spaces, probabilistic monads, or quantumāmechanical Hilbert spaces. Moreover, one often works with categories that are themselves internal to a monoidal category, i.e., objects, morphisms, source, target, composition, and identities are all given as morphisms in a base monoidal category š. The authorās goal is to develop a unified framework that produces Kleisli objects for monads living in these more general 2ācategories of internal categories.
The paper proceeds in four main stages.
-
Background and Motivation
The author reviews the classical Kleisli construction for a monad (T, μ, Ī·) on a cartesian monoidal category and explains why the cartesian property is crucial in the usual proofs (e.g., the existence of pullbacks, the ability to form product projections, and the naturality of the unit). He then motivates the need for a nonācartesian analogue by citing examples from linear algebra (tensor product of vector spaces), probability theory (convolution monads), and quantum information (tensor product of Hilbert spaces). In each case, the ambient monoidal category lacks cartesian products, and internal categoriesācategories whose data live inside šāprovide a natural setting for modeling structures such as linear categories, stochastic processes, or quantum channels. -
Internal Categories and Internal Monads
The paper defines a šāinternal category C as a sextuple (Cā, Cā, s, t, m, e) where Cā (objects) and Cā (arrows) are objects of š, and the source, target, composition, and identity maps are morphisms in š satisfying the usual associativity and unit axioms expressed internally. A šāinternal functor is a pair of šāmorphisms preserving this structure, and a šāinternal natural transformation is a 2ācell in the resulting 2ācategory IntCat(š). An internal monad (T, μ, Ī·) on C consists of an internal endofunctor T: C ā C together with internal 2ācells μ: TT ā T and Ī·: Id ā T satisfying the standard monad equations, now interpreted as equalities of 2ācells in IntCat(š). -
Construction of the Internal Kleisli Object
The core contribution is a systematic recipe for building a Kleisli object Kl(T) inside the 2ācategory IntCat(š) (or its nonācartesian variant IntCatā(š)). The construction mirrors the classical one but replaces external setātheoretic constructions with internal ones:- Objects: The objects of Kl(T) are exactly those of C.
- Morphisms: A morphism X ā Y in Kl(T) is an equivalence class of internal arrows f: X ā T Y in C, where two arrows are identified if there exists an internal 2ācell making the appropriate diagram commute. These are called Tāalgebraic arrows.
- Composition: Given f: X ā T Y and g: Y ā T Z, their composite is defined by the internal diagram
X āfā T Y āT gā T T Z āμ_Zā T Z,
where μ_Z is the component of the multiplication 2ācell. The associativity of this composition follows from the associativity of μ and the coherence of the internal monoidal structure. - Identities: The identity on X is Ī·_X: X ā T X, the unit component of the monad, regarded as a Tāalgebraic arrow.
In the nonācartesian setting, the tensor product ā of š does not provide a symmetry, so the author introduces an internal braiding Ļ: X ā Y ā Y ā X that exists only at the level of 2ācells. This Ļ is required to satisfy the usual hexagon identities relative to μ and Ī·, ensuring that the composition defined above is wellābehaved even without a global symmetry. The paper proves that with these additional coherence conditions, Kl(T) is indeed a wellādefined internal category.
The main theorems are:
- TheoremāÆ3.7 (Cartesian case): For any internal monad (T, μ, Ī·) on a šāinternal category C, the constructed Kl(T) is a Kleisli object in IntCat(š). Moreover, for every internal Tāalgebra (i.e., an internal functor F: C ā D equipped with a compatible action), there exists a unique internal functor (\bar{F}: Kl(T) ā D) making the usual universal diagram commute.
- TheoremāÆ4.2 (Nonācartesian case): The same universal property holds in IntCatā(š) provided that a suitable internal braiding Ļ exists and satisfies the coherence equations listed in SectionāÆ4.1.
The proofs are carried out by explicit diagrammatic calculations in the internal language of š, making heavy use of the stringādiagram calculus for monoidal categories. The author shows that the universal property of Kl(T) can be expressed as an adjunction between the forgetful 2āfunctor from Tāalgebras to internal functors and the freeāKleisli construction.
-
Examples and Applications
The paper concludes with three illustrative families of examples:-
Linear categories: Take š = (Vectā, ā, k) where ā is the usual tensor product of vector spaces. An internal category is a linear category (objects are vector spaces, homāspaces are vector spaces, composition is bilinear). A monad T may be the āfree associative algebraā monad, sending a vector space V to the tensor algebra T(V) = āā V^{ā n}. The internal Kleisli category Kl(T) then encodes linear maps into tensor algebras, providing a categorical framework for universal enveloping algebras and for modeling linear effects in functional programming languages.
-
Probabilistic monads: Let š be the category of measurable spaces equipped with the convolution monoidal structure (product of probability measures). Internal categories model stochastic processes, and a monad T can be the ādistributionā monad assigning to each space X the space of probability measures on X. Kl(T) captures stochastic kernels as morphisms, and the construction recovers the classical Kleisli category of the Giry monad, but now internal to the measurableāspace setting, allowing for a more refined treatment of conditioning and disintegration.
-
Quantum channels: Choose š as the category of finiteādimensional Hilbert spaces with the tensor product. Internal categories correspond to categories of quantum operations (completely positive maps). A monad T may be the āenvironmentāextensionā monad that tensors a system with a fixed ancillary space. The resulting Kl(T) gives a categorical description of quantum channels that have been extended by an environment, a construction useful in quantum programming language semantics and in the study of dilations.
These examples demonstrate that the internal Kleisli construction is not merely a theoretical curiosity but a versatile tool that unifies disparate domains under a common categorical umbrella.
-
-
Future Directions
The author outlines several promising research avenues: extending the theory to internal distributive laws and double monads, investigating the dual notion of internal coāKleisli categories (for comonads), and applying the framework to effect systems in functional programming languages, especially those that combine linear, probabilistic, and quantum effects. The paper also suggests exploring connections with higherādimensional category theory, such as (ā,2)ācategories of internal categories, where the internal Kleisli construction might admit a homotopical refinement.
In summary, the paper succeeds in generalising the Kleisli construction from the familiar cartesian setting to the far broader context of internal categories in arbitrary monoidal (including nonācartesian) bases. By carefully internalising the monad axioms, introducing an appropriate braiding when needed, and proving the universal property in the 2ācategorical language, the author provides a robust and widely applicable framework. This work opens the door to systematic treatment of monadic effects in linear algebra, probability, quantum theory, and beyond, and it lays a solid foundation for further categorical investigations of internal structures.
Comments & Academic Discussion
Loading comments...
Leave a Comment