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.
Let be the covariant powerset functor, and suppose we have an operation .
We can lift this to an operation by defining
How can we express what's going on here in a categorical way?
You can factorize as
Where is the multiplication of the monad . Also, the composition of the last two arrows is the extension of to the free -algebra on .
I am not sure if there is a nice way to see the first morphism that takes to in a categorical way. It is a right inverse to the pairing given by the universal property of the product.
I think this is a two-variable Kleisli extension for the monad . That is, given there is a unique way to extend it to a -algebra morphism , and for a [[strong monad]] we can do this in two variables one after the other -- and when the monad is commutative the order doesn't matter. In functional programming syntax this would be
let x <- a in
let y <- b in
return (x * y)