From Right Duality to Actions and Coactions
Duality in a monoidal category reverses both the direction of morphisms and the order of tensor factors. Consequently, if a monoid admits a right dual, its right dual naturally becomes a comonoid.
Duality also transforms actions of the monoid into coactions of the corresponding comonoid, while leaving the underlying objects unchanged.
In the monoidal category of endofunctors, these statements become:
A right adjoint of a monad naturally carries a comonad structure.
The category of algebras for the monad is isomorphic to the category of coalgebras for the corresponding comonad.
We first explain the general monoidal construction, then verify the correspondence between algebras and coalgebras directly.
The terminology requires some care. A monoid is an algebra object in a monoidal category. An algebra for a monad is an object equipped with an action of that monad. For example, algebras for the monad
Right Duals and Conventions
Let
A right dual of an object
such that
and
These are the snake identities. We use this convention for right duals throughout.
Suppose
is the composite
The snake identities imply
There are also canonical identifications
For example, evaluation between
There are therefore two reversals to keep track of: duality reverses morphisms and reverses the order of tensor factors.
The Right Dual of a Monoid
Let
Suppose
and
We verify that these maps make
Associativity of
Under the canonical duality identifications,
and
Taking right duals of the associativity equation therefore gives
This is coassociativity.
Similarly, the unit identities
become
Hence
Only the existence of a right dual of
Duality in the Category of Endofunctors
Consider the monoidal category
whose tensor product is composition of functors.
A right dual
satisfying
These are exactly the data and triangle identities of an adjunction
Thus we have the following dictionary:
| Monoidal notion | Interpretation in |
|---|---|
| Tensor product | Composition of functors |
| Monoid | Monad |
| Comonoid | Comonad |
| Right dual | Right adjoint |
| Right dual of a morphism | Right mate of a natural transformation |
Consequently, if
We now verify that this construction also gives an isomorphism
preserving underlying objects and morphisms.
Algebras and Coalgebras: A Direct Verification
Fix the adjunction
These are different natural transformations:
For
The inverse transpose sends
Applying the adjunction twice gives a bijection
The induced comonad structure can be written explicitly as
and
The latter is the double transpose of
Structure maps. Given a morphism
Conversely, given
These assignments are mutually inverse. Indeed,
where the second equality uses naturality of
Similarly,
Here we use naturality of
The unit axiom. For corresponding structure maps
The second line uses naturality of
Therefore,
The associativity axiom. The algebra associativity axiom compares two morphisms
We transpose each side separately.
Since
By naturality of
For the other side, substitute directly into the formula for
The second equality follows from naturality of
Since
The equation on the right is precisely the coalgebra coassociativity axiom.
Together with the unit calculation, this proves that
Morphisms. Suppose
and
Therefore,
Thus the same underlying map is an algebra morphism exactly when it is a morphism between the corresponding coalgebras.
The mutually inverse assignments
and
act identically on underlying morphisms. They therefore define an isomorphism
Modules and Comodules in a Monoidal Category
Return to a general monoidal category
The duality data give an adjunction
Algebras for the monad
Explicitly, a left action
The inverse construction is
More generally, let
and consequently identify left
The object
An Example and a Check of Conventions
Let
The action of a left
The corresponding comonad structure is
The counit axiom for
Evaluating its coassociativity axiom at
These formulas hold for arbitrary
If
At this point, the order of tensor factors matters.
Using the order-reversing right-dual identification
the resulting comultiplication satisfies
By contrast, the usual linear-dual coalgebra structure
The two differ by the symmetry:
Thus the construction above directly identifies left
Applying the symmetry to the two factors of the coaction yields the familiar formulation
The correspondence between left modules and right comodules is therefore consistent with the left-action/left-coaction formulation above. The difference is accounted for by the reversal of tensor order in right duality.
References
P. Etingof, S. Gelaki, D. Nikshych, and V. Ostrik, Tensor Categories, §2.10, especially Definition 2.10.2, Exercises 2.10.4 and 2.10.7, and Proposition 2.10.8. Author's version.
G. Böhm, T. Brzeziński, and R. Wisbauer, Monads and comonads in module categories, §§2.2 and 2.6. arXiv:0804.1460.