Table of Contents
Fetching ...

The Formal Theory of Monads, Univalently

Niels van der Weide

TL;DR

This work advances the formal theory of monads by embedding Street’s framework into univalent foundations, allowing monads to be studied internally to arbitrary bicategories. It constructs the bicategory of monads $\mathsf{Mnd}(\mathsf{B})$, proves its univalence when $\mathsf{B}$ is univalent, and develops Eilenberg-Moore objects, Kleisli objects, and the adjunction–monad correspondence within this setting. The authors provide systematic constructions via displayed bicategories, demonstrate numerous examples across bicategories of categories and enriched structures, and establish equivalent formulations of universality and monadicity using EM-cones and Kleisli objects. The formalization in Coq/UniMath demonstrates practical applicability to a broad range of semantic settings, including linear logic and enriched category theory, with clear avenues for extension. This univalent framework simplifies and unifies proofs by allowing induction on adjoint equivalences and leveraging Rezk completion for univalence in Kleisli constructions.

Abstract

We develop the formal theory of monads, as established by Street, in univalent foundations. This allows us to formally reason about various kinds of monads on the right level of abstraction. In particular, we define the bicategory of monads internal to a bicategory, and prove that it is univalent. We also define Eilenberg-Moore objects, and we show that both Eilenberg-Moore categories and Kleisli categories give rise to Eilenberg-Moore objects. Finally, we relate monads and adjunctions in arbitrary bicategories. Our work is formalized in Coq using the UniMath library.

The Formal Theory of Monads, Univalently

TL;DR

This work advances the formal theory of monads by embedding Street’s framework into univalent foundations, allowing monads to be studied internally to arbitrary bicategories. It constructs the bicategory of monads , proves its univalence when is univalent, and develops Eilenberg-Moore objects, Kleisli objects, and the adjunction–monad correspondence within this setting. The authors provide systematic constructions via displayed bicategories, demonstrate numerous examples across bicategories of categories and enriched structures, and establish equivalent formulations of universality and monadicity using EM-cones and Kleisli objects. The formalization in Coq/UniMath demonstrates practical applicability to a broad range of semantic settings, including linear logic and enriched category theory, with clear avenues for extension. This univalent framework simplifies and unifies proofs by allowing induction on adjoint equivalences and leveraging Rezk completion for univalence in Kleisli constructions.

Abstract

We develop the formal theory of monads, as established by Street, in univalent foundations. This allows us to formally reason about various kinds of monads on the right level of abstraction. In particular, we define the bicategory of monads internal to a bicategory, and prove that it is univalent. We also define Eilenberg-Moore objects, and we show that both Eilenberg-Moore categories and Kleisli categories give rise to Eilenberg-Moore objects. Finally, we relate monads and adjunctions in arbitrary bicategories. Our work is formalized in Coq using the UniMath library.
Paper Structure (9 sections, 12 theorems, 6 equations, 1 figure, 1 table)

This paper contains 9 sections, 12 theorems, 6 equations, 1 figure, 1 table.

Key Result

Proposition 2.3

Let $\mathsf{B}\xspace$ be a bicategory.

Figures (1)

  • Figure 1: Construction of the bicategory of monads

Theorems & Definitions (53)

  • Definition 2.1: bicat
  • Definition 2.2
  • Proposition 2.3
  • Definition 2.4: psfunctor
  • Definition 2.5: disp_bicat
  • Definition 2.8
  • Definition 2.9: disp_cell_unit_bicat
  • Example 2.10: univ_cat_with_terminal_obj
  • Example 2.11: disp_bicat_univmon
  • Definition 2.12
  • ...and 43 more