Comonads in a bicategory #
We define comonads in a bicategory B
as comonoid objects in an endomorphism monoidal category.
We show that this is equivalent to oplax functors from the trivial bicategory to B
. From this,
we show that comonads in B
form a bicategory.
TODO #
We can also define monads in a bicategory. This is not yet done as we don't have the bicategory structure on the set of lax functors at this point, which is needed to show that monads form a bicategory.
A comonad in a bicategory B
is a 1-morphism t : a ⟶ a
together with 2-morphisms
Δ : t ⟶ t ≫ t
and ε : t ⟶ 𝟙 a
satisfying the comonad laws.
Equations
Instances For
The counit 2-morphism of the comonad.
Equations
Instances For
The comultiplication 2-morphism of the comonad.
Equations
Instances For
The counit 2-morphism of the comonad.
Equations
Instances For
The counit 2-morphism of the comonad.
Equations
Instances For
The comultiplication 2-morphism of the comonad.
Equations
Instances For
The comultiplication 2-morphism of the comonad.
Equations
Instances For
Equations
An oplax functor from the trivial bicategory to B
defines a comonad in B
.
Equations
Instances For
A comonad in B
defines an oplax functor from the trivial bicategory to B
.
Equations
Instances For
The bicategory of comonads in B
.
Equations
Instances For
The bicategory of comonads in B
.
Equations
Instances For
The oplax functor from the trivial bicategory to B
associated with the comonad.
Equations
Instances For
The object in B
associated with the comonad.
Equations
Instances For
The morphism in B
associated with the comonad.
Equations
Instances For
Equations
Construct a comonad as an object in ComonadBicat B
.