Salvato in:
Dettagli Bibliografici
Autori principali: Lenke, Fabian, Wittrock, Nico, Milius, Stefan, Urbat, Henning
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:https://arxiv.org/abs/2509.26197
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910045576364032
author Lenke, Fabian
Wittrock, Nico
Milius, Stefan
Urbat, Henning
author_facet Lenke, Fabian
Wittrock, Nico
Milius, Stefan
Urbat, Henning
contents Codensity monads provide a universal method to generate complex monads from simple functors. Recently, a wide range of important monads in logic, denotational semantics, and probabilistic computation, such as several incarnations of the ultrafilter monad, the Vietoris monad, and the Giry monad, have been presented as codensity monads, using complex arguments. We propose a unifying categorical approach to codensity presentations of monads, based on the idea of relating the presenting functor to a dense functor via a suitable duality between categories. We prove a general presentation result applying to every such situation and demonstrate that most codensity presentations known in the literature emerge from this strikingly simple duality-based setup, drastically alleviating the complexity of their proofs and in many cases completely reducing them to standard duality results. Additionally, we derive a number of novel codensity presentations using our framework, including the first non-trivial codensity presentations for the filter monads on sets and topological spaces, the lower Vietoris monad on topological spaces, and the expectation monad on sets.
format Preprint
id arxiv_https___arxiv_org_abs_2509_26197
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Demystifying Codensity Monads via Duality
Lenke, Fabian
Wittrock, Nico
Milius, Stefan
Urbat, Henning
Logic in Computer Science
Primary 18C15
Codensity monads provide a universal method to generate complex monads from simple functors. Recently, a wide range of important monads in logic, denotational semantics, and probabilistic computation, such as several incarnations of the ultrafilter monad, the Vietoris monad, and the Giry monad, have been presented as codensity monads, using complex arguments. We propose a unifying categorical approach to codensity presentations of monads, based on the idea of relating the presenting functor to a dense functor via a suitable duality between categories. We prove a general presentation result applying to every such situation and demonstrate that most codensity presentations known in the literature emerge from this strikingly simple duality-based setup, drastically alleviating the complexity of their proofs and in many cases completely reducing them to standard duality results. Additionally, we derive a number of novel codensity presentations using our framework, including the first non-trivial codensity presentations for the filter monads on sets and topological spaces, the lower Vietoris monad on topological spaces, and the expectation monad on sets.
title Demystifying Codensity Monads via Duality
topic Logic in Computer Science
Primary 18C15
url https://arxiv.org/abs/2509.26197