Category theory; homological algebra Definition
Algebra over a monad
Builds on MonadFree monoidMonoid
Definition
Let be a monad on a category . A -algebra is a pair of an object of and a morphism with these two properties.
- Unit law: .
- Associativity law: as morphisms .
A morphism of -algebras is a morphism of with .
Remarks
Example: let be the list monad on sets, so is the free monoid of finite words in . For a monoid , let send a word to the product in , with the empty word sent to the identity. The unit law holds since a one-letter word evaluates to . The associativity law holds since multiplying the blocks of a word of words and then multiplying the results gives the product of the concatenated word. Every -algebra arises in this way, so -algebras are the same as monoids.
Non-example: for the same monad, let send a word to its length. Then , so the unit law fails.
For every object , the pair is a -algebra, the free -algebra on .
Reading path
To understand this page from the ground up, read these 4 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Free monoid concept
- Monad concept
- Monoid concept
- Algebra over a monad definition
Further reading
About this page
| Tag | CZWDNA1HA7 |
|---|---|
| URI | m2://CZWDNA1HA7 |
| Kind | definition |
| Writing | W0 stub |
| MSC | 18C20, 18C15 |
| Defines | Algebra over a monad |
| Uses | Monad, Free monoid, Monoid |
Markdown ยท JSON ยท Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.