Codensity monad
Appearance
In mathematics, especially in category theory, the codensity monad is a fundamental construction associating a monad to a functor. If the functor G in question admits a left adjoint F, the codensity monad is given by the usual unit map , but the codensity monad exists for functors not admitting a left ajoint. The codensity monad was introduced by Leinster (2013).
Examples
In several interesting cases, the functor G is an inclusion of a full subcategory. Such examples include:
- The codensity monad of the inclusion of FinSet into Set is the ultrafilter monad associating to any set M the set of ultrafilters on M.
- The codensity monad of the inclusion of finite-dimensional vector spaces (over a fixed field) into all vector spaces is the double dualization monad given by sending a vector space V to its double dual V**.