Salvato in:
Dettagli Bibliografici
Autori principali: Capucci, Matteo, Myers, David Jaz
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:https://arxiv.org/abs/2410.21889
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909370467483648
author Capucci, Matteo
Myers, David Jaz
author_facet Capucci, Matteo
Myers, David Jaz
contents We introduce contextads and the Ctx construction, unifying various structures and constructions in category theory dealing with context and contextful arrows -- comonads and their Kleisli construction, actegories and their Para construction, adequate triples and their Span construction. Contextads are defined in terms of Lack--Street wreaths, suitably categorified for pseudomonads in a tricategory of spans in a 2-category with display maps. The associated wreath product provides the Ctx construction, and by its universal property we conclude trifunctoriality. This abstract approach lets us work up to structure, and thus swiftly prove that, under very mild assumptions, a contextad equipped colaxly with a 2-algebraic structure produces a similarly structured double category of contextful arrows. We also explore the role contextads might play qua dependently graded comonads in organizing contextful computation in functional programming. We show that many side-effects monads can be dually captured by dependently graded comonads, and gesture towards a general result on the `transposability' of parametric right adjoint monads to dependently graded comonads.
format Preprint
id arxiv_https___arxiv_org_abs_2410_21889
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Contextads as Wreaths; Kleisli, Para, and Span Constructions as Wreath Products
Capucci, Matteo
Myers, David Jaz
Category Theory
Programming Languages
18D99 (Primary), 68N18 (Secondary)
We introduce contextads and the Ctx construction, unifying various structures and constructions in category theory dealing with context and contextful arrows -- comonads and their Kleisli construction, actegories and their Para construction, adequate triples and their Span construction. Contextads are defined in terms of Lack--Street wreaths, suitably categorified for pseudomonads in a tricategory of spans in a 2-category with display maps. The associated wreath product provides the Ctx construction, and by its universal property we conclude trifunctoriality. This abstract approach lets us work up to structure, and thus swiftly prove that, under very mild assumptions, a contextad equipped colaxly with a 2-algebraic structure produces a similarly structured double category of contextful arrows. We also explore the role contextads might play qua dependently graded comonads in organizing contextful computation in functional programming. We show that many side-effects monads can be dually captured by dependently graded comonads, and gesture towards a general result on the `transposability' of parametric right adjoint monads to dependently graded comonads.
title Contextads as Wreaths; Kleisli, Para, and Span Constructions as Wreath Products
topic Category Theory
Programming Languages
18D99 (Primary), 68N18 (Secondary)
url https://arxiv.org/abs/2410.21889