You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
Hi all! This is the discussion thread for my tutorial, "Monads and comonads".
Abstract:
We'll introduce monads and comonads, and give some intuition for how they often appear in applications. We'll then talk about Kleisli and Co-Kleisli categories, and show how you can use them to model contexts with either extra outcomes, or extra information.
When and where: Sunday July 5, 20:00 UTC (4 pm EDT)
Zoom meeting: https://mit.zoom.us/j/7055345747
See also the main website.
If anyone would like to do some pre-reading, most of the material I will present is taken from my "Notes in Category Theory with examples from basic mathematics", https://arxiv.org/abs/1912.10642, Chapter 5.
By the way, Christian Williams will be there too, teaching with me!
We are about to start!
Paolo Perrone said:
We are about to start!
Unfortunately, its 1:40 am here so I will have to skip the live session. I will catch up with the recorded version though.
For the ones who asked about probability monads: you can find many explanations here: https://www.youtube.com/playlist?list=PLaILTSnVfqtIebAXFOcee9MvAyBwhIMyr as well as here: https://www.youtube.com/playlist?list=PLSx1kJDjrLRSKKHj4zetTZ45pVnGCRN80
If you are interested in monads for (universal) algebra, see https://ncatlab.org/nlab/show/Lawvere+theory and the references therein, such as https://www.dpmms.cam.ac.uk/~martin/Research/Publications/2007/hp07.pdf.
Here's a good reference on algebraic theories: https://web.math.rochester.edu/people/faculty/doug/otherpapers/Adamek-et-al-book.pdf
Here's the entry in Bartosz Milewski's Category Theory for Programmers: https://bartoszmilewski.com/2017/08/26/lawvere-theories/
The nLab page for monads https://ncatlab.org/nlab/show/monad+%28in+computer+science%29 also has a lot of good references.
An algebra of , a set equipped with a function , is a set "equipped with -structure": the set consists of "formal expressions" with variables in , and the map evaluates these expressions to values. For example if is the "free monoid" monad, an algebra maps , and the algebra laws amount to saying that this operation is associative and unital, i.e. a monoid.
A Lawvere theory is the "category of operations" of a monad ; there is an equivalence between finitary monads on and Lawvere theories (see Sec. of https://arxiv.org/pdf/1112.3076.pdf). A model of in is a functor which preserves finite products. This maps each "abstract operation" in to a "concrete operation" .
Models of are equivalent to algebras of , and there are advantages to each perspective. Theories are nice because they are categories, where you can draw out each operation and specify equations as commutative diagrams, which many may find to be more explicit and intuitive than an endofunctor on which somehow encapsulates all operations at once. On the other hand, monads are much more general -- as we mentioned briefly at the end, monads exist in any 2-category, and rather than only being maps which add structure to objects, they can themselves be structures of interest.
So, both are good! It's pretty amazing how much we've generalized algebra in the past century.
Hello all! Here's the video.
https://www.youtube.com/watch?v=ryMkvAOJk20&list=PLCOXjXDLt3pYPE63bVbsVfA41_wa3sZOh