Category Theory
Zulip Server
Archive

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.


Stream: learning: questions

Topic: Beginner question about cartesian monads


view this post on Zulip Sándor Bartha (Jan 21 2025 at 15:29):

Why the free commutative monoid monad is not cartesian? It is a (non) example in Tom Leinster: General Operads and Multicategories , Examples 1.4 iii of cartesian monads.

Leinster states that the naturality square for μ\mu at 212 \to 1 is not a pullback, but I cannot see why not, it seems to be a pullback to me. But I must have made a mistake in interpreting one of the definitions.

view this post on Zulip John Baez (Jan 21 2025 at 17:29):

For people are interested, the book is available for free on the arXiv.

view this post on Zulip Ralph Sarkis (Jan 21 2025 at 17:39):

I put everything in this diagram, but if you don't want to get spoiled, we can start with three simple questions. Let TT denote that monad.

  1. Do you see that T(1)T(1) is the set of natural numbers N\N ?
  2. Do you see that T(2)T(2) is the product N×N\N\times\N ?
  3. Do you see that T(X)T(X) is the set M(X)\mathcal{M}(X) of all [[multisets]] supported in XX ?

view this post on Zulip Sándor Bartha (Jan 21 2025 at 18:06):

Yes, so far these three facts agree with what I have figured out. But I fear I misunderstood one of the arrows on the squere -- I will try to understand your diagram. Thanks!

view this post on Zulip Ralph Sarkis (Jan 21 2025 at 18:12):

Great! How did you describe the maps in the supposedly pullback square ?
μ2:TT(2)=M(N×N)N×N=T(2)\mu_2: TT(2) = \mathcal{M}(\N \times \N) \to \N \times \N = T(2)
μ1:TT(1)=M(N)N=T(1)\mu_1: TT(1) = \mathcal{M}(\N) \to \N = T(1)
T!:N×NNT!: \N \times \N \to \N
TT!:M(N×N)M(N)TT!: \mathcal{M}(\N\times \N) \to \mathcal{M}(\N)

view this post on Zulip Sándor Bartha (Jan 21 2025 at 18:46):

Well, all of them sums something:
μ2(m)=((x,y)mx,(x,y)my)\mu_2(m) = (\sum_{(x,y) \in m} x , \sum_{(x,y)\in m} y)
μ1(m)=xmx\mu_1(m) = \sum_{x \in m} x
T!(x,y)=x+yT!(x,y) = x +y
TT!(m)={x+y(x,y)m}TT!(m)=\{ x+y \mid (x,y) \in m \}

I am not sure about multiset notation, but all of the variables in the sums and the set interpreted as multiset of course.

view this post on Zulip Sándor Bartha (Jan 21 2025 at 18:56):

Ah, I see your counterexample -- now that I see it, it is kind of hard to remember what I missed earlier. Thank you for the wonderful diagram and the extremly quick help!

I tried to get some intuition why the free monoid monad is cartesian while the commutative is not, and I got confused at some point. Now I continue my journey and try to understand why it is important for a monad to be cartesian.