Given a monad on a category , the Eilenberg-Moore category is the category of algebras for that monad. It provides a way to study the Abstract Algebra defined by the monad.
Definition of a -algebra
A -algebra (or an algebra for the monad ) is a pair consisting of:
- An object (the underlying object).
- A morphism in (the structure map or algebra action).
This pair must satisfy the following two conditions, analogous to the associativity and unit laws of a group action:
- Associativity: .
- Unit Law: .
Algebra Homomorphisms
A morphism of -algebras (or -homomorphism) from to is a morphism in that commutes with the algebra actions. That is, .
The Eilenberg-Moore Category
The Eilenberg-Moore category has:
- Objects: All -algebras .
- Morphisms: All -algebra homomorphisms between them.
- Composition and Identities: Inherited from the underlying category .
Forgetful and Free Functors
There is a canonical adjunction between and :
- The forgetful functor sends to and to .
- The free functor sends an object to the free algebra and a morphism to .
This adjunction recovers the original monad on .