Tag. monad
Notes (2)
Theorem. Presheaves are monadic and comonadic over families presheaves-monadic-comonadic-over-families
The adjoint triple induces a monad and a comonad on .
Both comparison functors are equivalences: presheaves are the EilenbergβMoore algebras of and the co-EilenbergβMoore coalgebras of ,
So presheaves are both monadic and comonadic over families.
Reading the algebra structure concretely: a -algebra on a family is a map for each , subject to the monad algebra laws β that is, exactly a functorial action of restriction.
The comonadic reading is the same structure seen from the elementβs side: a -coalgebra is a map , giving each value its restriction along every morphism into . Where the monad says restriction acts on values, the comonad says a value already carries all of its restrictions β and the coalgebra laws say it does so coherently.
Definition. Monad in a bicategory monad-in-a-bicategory
Fix a bicategory , with composition , identity 1-cells , associator , and unitors . A monad in internalises the usual notion of monad: it is an endo-1-cell carrying a multiplication and a unit that satisfy the monoid laws up to the coherence cells of the bicategory.
A monad in consists of
- a 0-cell , the object the monad acts on;
- an endo-1-cell ;
- a multiplication 2-cell ;
- a unit 2-cell ;
such that is associative: the following diagram of 2-cells commutes in , where the top map is the associator that rebrackets the threefold composite:
and such that and satisfy the unit laws: the following two diagrams commute in , where the hypotenuses are the left and right unitors:
Taking to be the bicategory of categories, functors, and natural transformations recovers an ordinary monad on a category: is the endofunctor, the multiplication, and the unit, with the coherence cells all identities.