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: theory: category theory

Topic: Non-symmetric monoidal monads


view this post on Zulip Naïm Favier (Mar 08 2024 at 14:40):

I asked a question on MSE about the existence of non-symmetric monoidal monads, in case someone here might know.

view this post on Zulip Sam Staton (Mar 09 2024 at 08:48):

Interesting question: is there a monoidal monad on an smc that is not symmetric monoidal?

One approach is to start from a non-symmetric monoidal functor between smc's F:CDF:C \to D. Let me write C^=[Cop,Set]\hat C=[C^{op},\mathbf{Set}]. Then we have smc's C^\hat C and D^\hat D with Day convolution, and by Kan extension a monoidal functor L:C^D^L:\hat C \to \hat D between smc's , which moreover has a right adjoint R:D^C^R:\hat D\to \hat C and hence a monad RLRL on C^\hat C. I think this will give a monoidal structure for RLRL but not necessarily a symmetric monoidal one. Did you try this? I think it is what @Jonas Frey and @Richard Williamson were discussing on nforum a few years ago.

To be concrete, I just tried this for the non-symmetric monoidal functor NB\mathbb{N}\to\mathbb{B} where N\mathbb{N} is the discrete category of natural numbers and B\mathbb{B} is the category of natural numbers and bijections; these are both smc's. The functor seemed to give an example of a monoidal monad of the kind you were looking for. i.e. a monoidal monad on [N,Set][\mathbb{N},\mathbf{Set}] that is not symmetric monoidal, wrt the Day convolution symmetric monoidal structure. I think I can see the two different strengths coming out of the construction.
(Of course, this is subtle and I may have made a mistake.)

view this post on Zulip Tobias Fritz (Mar 09 2024 at 09:53):

Here's a different approach that is perhaps worth considering. If MM is a commutative monoid in any symmetric monoidal category, then MM \otimes - is a monoidal monad in a canonical manner. Now choose a different symmetric braiding on the underlying monoidal category. Then generically we should expect MM \otimes - to no longer be symmetric, right? This happens as soon as the monoid MM is not commutative with respect to the new symmetric braiding.

view this post on Zulip Tobias Fritz (Mar 09 2024 at 09:58):

For a concrete example, consider the monoidal category of [[super-vector space]], which has two canonical symmetric braidings. Any Z2\mathbb{Z}_2-graded commutative algebra should be a commutative monoid in this category with respect to the traivial braiding (see nLab page), but it will not be commutative with respect to the super-braiding (aka "super-commutative") unless the odd part is trivial.

view this post on Zulip Tobias Fritz (Mar 09 2024 at 09:58):

Does this work? Like Sam, I haven't checked all the details :sweat_smile:

view this post on Zulip Naïm Favier (Mar 09 2024 at 09:58):

I thought of that, but now you have to find a monoidal category with two different symmetric braidings and a commutative monoid on one of them, and I don't have a solid enough math background to think of any examples. I didn't even know the former was possible until like yesterday.

Another thing i thought about is to consider the free symmetric monoidal category on a monoidal category that has a monoidal monad; then there should be no reason to expect it to be symmetric with respect to that, but i have no idea how free symmetric monoidal categories on monoidal categories work.

@Sam Staton 's idea seems promising, i'll play around with it later.

view this post on Zulip Naïm Favier (Mar 09 2024 at 09:59):

Thanks for the example

view this post on Zulip Dylan McDermott (Mar 09 2024 at 12:59):

There is also an example on page 133 of What makes a strong monad? (though it isn't explicitly written out as a monoidal monad there). If MM is a commutative monoid in Set\mathbf{Set}, then we can consider the cartesian monoidal category ActM\mathsf{Act}M of sets YY equipped with monoid action (y,m)ym(y, m) \mapsto y \ast m. Then MM is a monoid in ActM\mathsf{Act} M, so TX=X×MTX = X \times M is a monad on ActM\mathsf{Act}M. You can make this into a non-symmetric monoidal monad in which the map TX×TYT(X×Y)TX \times TY \to T(X \times Y) sends ((x,m),(y,m))((x, m), (y, m')) to (x,ym,mm)(x, y \ast m, m \cdot m'). This might be an instance of what @Tobias Fritz suggested.

view this post on Zulip Naïm Favier (Mar 09 2024 at 16:16):

Thanks, @Dylan McDermott , that's exactly the sort of thing i was looking for. I'll add that as an answer to my MSE question.

view this post on Zulip John Baez (Mar 10 2024 at 01:31):

Tobias Fritz said:

Here's a different approach that is perhaps worth considering. If MM is a commutative monoid in any symmetric monoidal category, then MM \otimes - is a monoidal monad in a canonical manner. Now choose a different symmetric braiding on the underlying monoidal category. Then generically we should expect MM \otimes - to no longer be symmetric, right? This happens as soon as the monoid MM is not commutative with respect to the new symmetric braiding.

For some reason - not a good reason - I feel like using the category Vect[Z]\mathsf{Vect}[\mathbb{Z}] of Z\mathbb{Z}-graded vector spaces. Just like the category Z2\mathbb{Z}_2-graded vector spaces this has a standard monoidal structure which extends to two different symmetric monoidal structures -one using the "boring" symmetry (which is not "trivial" in the strongest possible sense, but still boring) and the other using the "super" symmetry.

The exterior algebra ΛV\Lambda V on a vector space is a monoid in Z\mathbb{Z}-graded vector spaces that's commutative only with respect to the "super" symmetry (unless VV is at most 1-dimensional).

So concretely, are you suggesting that ΛV\Lambda V \otimes - is a monoidal monad on Vect[Z]\mathsf{Vect}[\mathbb{Z}] that's not a symmetric monoidal monad with respect to the "boring" symmetry on Vect[Z]\mathsf{Vect}[\mathbb{Z}]?

view this post on Zulip John Baez (Mar 10 2024 at 01:34):

It's a monad because tensoring with a monoid object is a monad. That much I know.

Then it seems you're claiming that it's a symmetric monoidal monad if we use the "super" symmetry on Vect[Z]\mathsf{Vect}[\mathbb{Z}].

Is there some general result that implies this, namely: tensoring with a commutative monoid object in a symmetric monoidal category is a symmetric monoidal monad?

view this post on Zulip John Baez (Mar 10 2024 at 01:34):

(I've never thought much about monoidal or symmetric monoidal monads.)

view this post on Zulip John Baez (Mar 10 2024 at 01:36):

And then I guess you're also claiming that every symmetric monoidal monad is a commutative monad... and that ΛV\Lambda V \otimes - is not a symmetric monoidal monad on Vect[Z]\mathsf{Vect}[\mathbb{Z}] with its "boring" symmetry.

view this post on Zulip John Baez (Mar 10 2024 at 01:38):

I suppose if I wanted to master the coherence laws for monoidal and symmetric monoidal monads, checking these things would be very good practice! Unfortunately I'm a lazy bum.

view this post on Zulip Tobias Fritz (Mar 10 2024 at 05:39):

John Baez said:

So concretely, are you suggesting that ΛV\Lambda V \otimes - is a monoidal monad on Vect[Z]\mathsf{Vect}[\mathbb{Z}] that's not a symmetric monoidal monad with respect to the "boring" symmetry on Vect[Z]\mathsf{Vect}[\mathbb{Z}]?

Yes, that's a nice example!

view this post on Zulip Tobias Fritz (Mar 10 2024 at 05:47):

John Baez said:

Is there some general result that implies this, namely: tensoring with a commutative monoid object in a symmetric monoidal category is a symmetric monoidal monad?

Right! If we write MM for the monoid and T:=MT := M \otimes - for the monad, then we first of all need a natural transformation :TXTYT(XY)\nabla : TX \otimes TY \to T(X \otimes Y) to define the lax monoidal structure maps. This amounts to MXMYMXYM \otimes X \otimes M \otimes Y \to M \otimes X \otimes Y, which we can define as swapping the middle two factors first and then using the multiplication in MM.

view this post on Zulip Tobias Fritz (Mar 10 2024 at 05:47):

Now why would we want the monoid to be commutative? This has to do with the required compatibility of \nabla with the monad multiplication:

view this post on Zulip Tobias Fritz (Mar 10 2024 at 05:48):

image.png
(I'm lazy too and copied this from here, where we were in the cartesian monoidal setting, so there should be \otimes in place of ×\times.)

view this post on Zulip Tobias Fritz (Mar 10 2024 at 05:51):

This diagram amounts to starting with MMMMM \otimes M \otimes M \otimes M and multiplying down to MM in the lower left composite, while the upper right composite in addition involves two swaps. So I think that this commutes if and only if MM is commutative.

view this post on Zulip John Baez (Mar 10 2024 at 05:51):

That's cool! I'll have to think about that.

This is what I was writing while you were writing that:

A nice thing is that when we've got a monad on a symmetric monoidal category M\mathsf{M} of the form

mm \otimes -

for some commutative monoid object mMm \in \mathsf{M}, this monad arises from an adjunction between M\mathsf{M} and the category of mm-actions in M\mathsf{M} - or you might call them "mm-modules". The left adjoint sends any object xMx \in \mathsf{M} to the free mm-module on that, which is mxm \otimes x.

So, our friend

ΛV\Lambda V \otimes -

on Vect[Z]\mathsf{Vect}[\mathbb{Z}] arises from an adjunction between the category of graded vector spaces and the category of graded ΛV\Lambda V-modules... where ΛV\Lambda V \otimes - maps any graded vector space to the free graded ΛV\Lambda V-module on that graded vector space.

I think the category of ΛV\Lambda V-modules is the Eilenberg-Moore category of this monad.

Now, if this monad is commutative, what does that imply about its Eilenberg-Moore category? Does it get a symmetric monoidal structure?

view this post on Zulip Tobias Fritz (Mar 10 2024 at 05:56):

John Baez said:

And then I guess you're also claiming that every symmetric monoidal monad is a commutative monad... and that ΛV\Lambda V \otimes - is not a symmetric monoidal monad on Vect[Z]\mathsf{Vect}[\mathbb{Z}] with its "boring" symmetry.

Yes, though since I didn't check all the coherences either, I'm a bit uncomfortable with "claiming" that and prefer your earlier phrasing of "suggesting" :laughing:

view this post on Zulip John Baez (Mar 10 2024 at 05:59):

Whoops, I'm starting to copy Jim Dolan, who likes to jokingly claim that I'm "claiming" any idea he thinks of that might follow from things I said or guessed or thought about out loud.

view this post on Zulip Tobias Fritz (Mar 10 2024 at 05:59):

As a caveat, it's worth noting that there are two slightly different notions of "commutative monad", as per Remark 2.1 on the nLab page: "in the setting where VV is symmetric monoidal, we will assume that the left and right strengths are related by the symmetry in the obvious way". So this thread is all about how this additional property can fail.

view this post on Zulip Tobias Fritz (Mar 10 2024 at 06:04):

John Baez said:

So, our friend

ΛV\Lambda V \otimes -

on Vect[Z]\mathsf{Vect}[\mathbb{Z}] arises from an adjunction between the category of graded vector spaces and the category of graded ΛV\Lambda V-modules... where ΛV\Lambda V \otimes - maps any graded vector space to the free graded ΛV\Lambda V-module on that graded vector space.

For context, are there important examples of ΛV\Lambda V-modules? I like exterior algebras, but I'm not sure I've ever come across any of their modules in nature. Is this related to your work on Schur functors and plethysm?

view this post on Zulip Tobias Fritz (Mar 10 2024 at 06:08):

Now, if this monad is commutative, what does that imply about its Eilenberg-Moore category? Does it get a symmetric monoidal structure?

I'm personally more familiar with Kleisli categories, since that is what's most relevant for probability. And there indeed yes, a commutative monad is exactly what we need in order to turn the Kleisli category into a symmetric monoidal category. But the funny thing is that the commutativity is not just relevant for the symmetry there, but already for the Kleisli category to be monoidal at all. (This somehow reminds me of the periodic table and stabilization hypothesis, but that's just a feeling I get.)

If the monad is merely monoidal, then the Kleisli category is merely premonoidal, meaning that the interchange law may not hold. Computer scientists are interested in this because side effects generally don't satisfy the interchange law. I guess that this applies to actions of agents on an environment as well: this "side effect" generally depends on the order of the agent's actions, even if the agents are disjoint.

view this post on Zulip Tobias Fritz (Mar 10 2024 at 06:11):

But also the Eilenberg-Moore category is symmetric monoidal if you have suitable coequalizers -- this generalizes the construction of the tensor product of modules over a commutative ring as a coequalizer of two maps, one with the ring acting on the first module and one with the ring acting on the second module. This also goes back to Anders Kock, and Chris Heunen explained it here on MO.

view this post on Zulip John Baez (Mar 10 2024 at 06:12):

I haven't really thought about exterior algebra modules too much. We can compare symmetric algebra modules. The symmetric algebra SVS V^* on the dual of a vector space VV is the algebra of polynomial functions on VV. So a finitely generated projective SVS V^*-module is a kind of "algebraic vector bundle" over VV.

In analogy, if we like supersymmetry, we say ΛV\Lambda V^* is the algebra of polynomial functions on the odd, or fermionic vector space VV.

So then a finitely generated projective ΛV\Lambda V^*-module is a kind of algebraic vector bundle on this odd vector space!

view this post on Zulip John Baez (Mar 10 2024 at 06:19):

I haven't thought about ΛV\Lambda V-modules when thinking about Schur functors and plethym. But I probably should. The free commutative algebra on one generator, namely k[x]k[x] where kk is our favorite field, is an example of a "plethory": besides being a commutative algebra it has an extra operation, namely that we can compose polynomials in one variable.

The free exterior algebra on one generator, namely k[x]/x2k[x]/\langle x^2 \rangle, is the free supercommutative algebra on one odd generator. So they're like the fermionic version of polynomials in one generator - "functions on the odd line". Can we compose these guys? Does this make k[x]/x2k[x]/\langle x^2 \rangle into a plethory? I don't know.

view this post on Zulip Tobias Fritz (Mar 10 2024 at 06:26):

Well I guess we can compose xax+bx \mapsto a x + b and xcx+dx \mapsto c x + d to xc(ax+b)+d=acx+(cb+d)x \mapsto c (a x + b) + d = acx + (cb + d)? Meaning that linear functions are already closed under composition (unlike quadratic or higher). But then I don't know what further compatibility conditions are required of a plethory.

view this post on Zulip John Baez (Mar 10 2024 at 06:29):

They're sort of long to state, but I'm thinking everything will work because they work for polynomials and here we can do the same things with polynomials of the form ax+ba x + b and then discard terms involving x2x^2 or higher powers.

view this post on Zulip John Baez (Mar 10 2024 at 06:30):

Add them, multiply them, compose them, and other stuff I'm not mentioning!

view this post on Zulip Naïm Favier (Mar 10 2024 at 09:11):

John Baez said:

And then I guess you're also claiming that every symmetric monoidal monad is a commutative monad...

I've checked all the things in Agda here. The one-line summary is that commutative monads are exactly monoidal monads, and on top of that symmetric commutative monads are exactly symmetric monoidal monads (where by symmetric commutative monad i mean that the strengths are related by the braiding).

view this post on Zulip Naïm Favier (Mar 10 2024 at 09:16):

There seems to be an implicit convention of saying "commutative monad" to mean "symmetric commutative monad", which hopefully this thread (and this older one) make clear is harmful :upside_down:

view this post on Zulip Naïm Favier (Mar 10 2024 at 09:19):

BTW, the linked 1Lab page has an explanation of "monoidal implies commutative" in the style of an Eckmann-Hiltonish argument; have you seen this before?

view this post on Zulip Tobias Fritz (Mar 10 2024 at 09:26):

Naïm Favier said:

There seems to be an implicit convention of saying "commutative monad" to mean "symmetric commutative monad", which hopefully this thread (and this older one) make clear is harmful :upside_down:

Do you know of any significance for or applications of non-symmetric commutative monads? Because I work with symmetric commutative monads a lot, and having to add the "symmetric" all the time would be quite cumbersome, so I'm reluctant to do it. And as long as there aren't many non-symmetric examples of interest, I don't see the harm in keeping the terminology as it's mostly used.

view this post on Zulip Tobias Fritz (Mar 10 2024 at 09:27):

There are a lot of situations like this in category theory. For example, one could object that you should really be saying "lax monoidal monad" instead of "monoidal monad", since for many people monoidal functors are strong monoidal by default.

view this post on Zulip Naïm Favier (Mar 10 2024 at 09:31):

Fair enough, but at least the nuance should be explained when first introducing the concept, and one should not oppose "commutative" and "monoidal", but rather "symmetric" and "non-symmetric"

view this post on Zulip Sam Staton (Mar 12 2024 at 20:56):

Fascinating discussion and examples. I went over the reply I wrote and it seems to check out too.
So: Species ([Bij,Set][\mathrm{Bij},\mathbf{Set}]) are monadic over [N,Set][\mathbb{N},\mathbf{Set}], and this monad on [N,Set][\mathbb{N},\mathbf{Set}] is monoidal, but not symmetric monoidal, even though [N,Set][\mathbb{N},\mathbf{Set}] can be thought of as symmetric monoidal. (Here I am considering the Day tensor i.e. multiplication of species.)

view this post on Zulip Sam Staton (Mar 12 2024 at 20:56):

More generally, it seems a PRO can be regarded as a colimit-preserving monoidal monad on [N,Set][\mathbb{N},\mathbf{Set}], which will almost never be a symmetric monoidal monad unless it is a commutative monoidal category.

view this post on Zulip Sam Staton (Mar 12 2024 at 20:56):

I suspect some versions of cubical sets are monadic over [Bij,Set][\mathrm{Bij},\mathbf{Set}] with a monoidal but not symmetric monoidal monad.

view this post on Zulip Sam Staton (Mar 12 2024 at 20:57):

Actually @Naïm Favier at MSE you said they were "failing to answer" at nforum but are you sure? Arguably they said things like what I said, just in a chatty way.

view this post on Zulip Naïm Favier (Mar 13 2024 at 09:18):

Sam Staton said:

Fascinating discussion and examples. I went over the reply I wrote and it seems to check out too.
So: Species ([Bij,Set][\mathrm{Bij},\mathbf{Set}]) are monadic over [N,Set][\mathbb{N},\mathbf{Set}], and this monad on [N,Set][\mathbb{N},\mathbf{Set}] is monoidal, but not symmetric monoidal, even though [N,Set][\mathbb{N},\mathbf{Set}] can be thought of as symmetric monoidal. (Here I am considering the Day tensor i.e. multiplication of species.)

I see, so in this case the strengths correspond to extending an element of SkS_k to an element of SnS_n by either "padding" on the left or on the right. These are distinct operations, yet they commute in the sense that right-padding a:Ska : S_k and left-padding b:Slb : S_l give commuting elements of Sk+lS_{k+l}. Interesting!

view this post on Zulip Sam Staton (Mar 14 2024 at 17:00):

Thanks for checking, yes that's right. I'm glad you raised the question --- for some years we have been looking at algebraic theories enriched in presheaf categories (most recently here) and I had been meaning to check what is strange with the symmetry of the monoidal structure on SetN\mathbf{Set}^{\mathbb{N}} since I think Cristina also brought it up.