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: Questions on free monoidal categories


view this post on Zulip Jean-Baptiste Vienney (Aug 21 2024 at 19:17):

I'm looking for several kind of free monoidal or symmetric monoidal categories for which I didn't find references.

Free monoidal category on a single object

In Categories for the Working Mathematician (Theorem 1, p.166) he builds the free monoidal category F\mathcal{F} on a single object. This is a category containing an object * such that the following property is satisfied:

Wonderful, that's exactly what I want.

Free monoidal category on two objects and a single morphism

I would like a monoidal category G\mathcal{G} which contains two objects 0,10,1 and a morphism u:01u:0 \rightarrow 1 such that the following property is satisfied:

There isn't anything like this in MacLane's book. This a variant of a special case Theorem 3.3 in A survey of graphical languages for monoidal categories by Peter Selinger. But this Theorem 3.3 is not exactly what I want. He builds the free monoidal category on a monoidal signature as a graphical language. But this monoidal category is strict monoidal. It follows that it is not a free monoidal category in the same sense than mine. In his definition of free monoidal category he asks for a unique strict monoidal functor up to monoidal natural isomorphism. We can't expect to have unicity of the monoidal functor in the definition of free monoidal category with such a graphical category since we could send a tensor XYZX \otimes Y \otimes Z to either (Jf(X)Jf(Y))Jf(Z)(J_f(X) \otimes J_f(Y)) \otimes J_f(Z) or Jf(X)(Jf(Y)Jf(Z))J_f(X) \otimes (J_f(Y) \otimes J_f(Z)) for instance, since (XY)Z=X(YZ)(X \otimes Y) \otimes Z=X \otimes (Y \otimes Z) in the graphical language.

Symmetric monoidal versions

I would also like the symmetric monoidal versions of these two constructions. In the book of MacLane, there is not even a variant of the Theorem 1 p.166 for symmetric monoidal categories. In fact he doesn't even state the coherence theorem for symmetric monoidal categories. He says p.255 that he let the reader formulate it precisely himself. (He only states a version without unitors.)

Question

Are there references for:

I want in each case a proof of the appropriate version of the theorem which says that for every ... there exists a unique (and not unique up to monoidal or symmetric monoidal natural isomorphism) strict monoidal or symmetric monoidal functor such that ...

Of course constructions of the free monoidal and symmetric monoidal categories on a monoidal signature with free defined with the same unicity of the monoidal or symmetric monoidal functor as above would be fine as well as I'm interested in two of the simplest cases of monoidal signatures.

view this post on Zulip Kevin Carlson (Aug 21 2024 at 19:50):

Well, there are 2-monads for all these things, is that enough for you, or are you more interested in the detailed construction?

view this post on Zulip Jean-Baptiste Vienney (Aug 21 2024 at 19:51):

I don't worry much about the construction. I just want to have the statement: for every ... there exists a unique monoidal / symmetric monoidal functor such that ..

view this post on Zulip Jean-Baptiste Vienney (Aug 21 2024 at 19:52):

but not "unique up to monoidal or symmetric monoidal natural isomorphism"

view this post on Zulip Jean-Baptiste Vienney (Aug 21 2024 at 19:54):

This is because I want to prove that monomorphisms in the category of (symmetric) monoidal categories and (symmetric) strict monoidal functors are exactly the faithful, injective on objects (symmetric) strict monoidal functors. And I don't see how to prove it without what I'm asking for.

view this post on Zulip Kevin Carlson (Aug 21 2024 at 21:42):

Yeah, 2-monads give you isomorphisms of hom categories, not just equivalences. In particular they restrict to give a monad on the category of categories for, say, monoidal categories and strict monoidal functors.

view this post on Zulip Kevin Carlson (Aug 21 2024 at 21:42):

I’d look at Steve Lack’s 2-categories companion first if you don’t have much exposure to 2-monads.

view this post on Zulip Jean-Baptiste Vienney (Aug 21 2024 at 22:11):

Thanks, I'm going to look at this paper

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 02:48):

I looked at this paper but I didn’t see an answer to my question. Can you answer my question using 22-monads?

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 02:50):

You said that there is a monad on the category of categories for monoidal categories and strict monoidal functors.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 02:53):

Let T:CatCatT:\mathbf{Cat} \rightarrow \mathbf{Cat} denote the corresponding functor.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 02:56):

If * denotes the terminal category, can we prove that for all monoidal category C\mathcal{C} and object ACA \in \mathcal{C}, there exists a unique monoidal functor F:T()CF:T(*) \rightarrow \mathcal{C} such that F()=AF(*)=A?

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 03:01):

If {0,1}\{0,1\} denotes the category with two objects 0,10,1 and a single morphism from 00 to 11 denoted 010 \le 1, can we prove that for all monoidal category C\mathcal{C}, objects A,BCA,B \in \mathcal{C} and morphism f:ABf:A \rightarrow B, there exists a unique monoidal functor F:T({0,1})CF:T(\{0,1\}) \rightarrow \mathcal{C} a such that F(0)=AF(0)=A, F(1)=BF(1)=B and F(01)=fF(0 \le 1)=f?

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 03:02):

That’s really all I care about.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 03:03):

(In addition to the corresponding facts for symmetric monoidal categories)

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 03:18):

I already know how to define these free monoidal categories. I’m going to try to prove the freeness in the sense I’m talking about myself. I’m losing my times looking for references. I feel like 2-monads will not be useful in any way to this proof.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 03:18):

(I would be happy to be proven wrong though)

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 03:39):

But proving this is essentially reproving MacLane coherence theorem.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 03:39):

Damn, is there anyone here who understands monoidal categories and could help me?

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 03:46):

Now I think I'm going to use another formulation of MacLane coherence theorem to derive this.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 04:16):

Forget about this topic, I think that I can prove what I need and that this is much simpler that MacLane coherence theorem.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 04:20):

I just need to prove the existence of free monoidal categories and this is much easier than MacLane coherence theorem which states that every diagram in such a monoidal category commutes.

view this post on Zulip Notification Bot (Aug 22 2024 at 04:20):

Jean-Baptiste Vienney has marked this topic as resolved.

view this post on Zulip Notification Bot (Aug 22 2024 at 05:28):

Todd Trimble has marked this topic as unresolved.

view this post on Zulip Todd Trimble (Aug 22 2024 at 05:35):

Nevertheless, even though you marked this as resolved, you might want to have a look at the nLab article [[clique]], particular the section on monoidal strictifications, to appreciate the connection between Mac Lane's theorem on the structure of the free monoidal category on one generator and the fact that every monoidal category is monoidally equivalent to a strict monoidal category. The technique has a far-reaching generalization in terms of clubs, due to Kelly.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 12:58):

Thanks, I might ask you questions on this later.

view this post on Zulip Kevin Carlson (Aug 22 2024 at 18:54):

The statements you said you need are just statements of the universal property of any free algebra for a monad, it looks like, so I don’t understand why you were unhappy at that point. I agree that this has nothing critically to do with coherence, though there are related issues nearby.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 19:26):

In fact I didn't understand what I need. In Categories for the Working Mathematician he defines a category which is a preorder and then proves that this the free monoidal category on one generating object. This is a formulation of the coherence theorem for monoidal categories. At first I wanted to define the same kind of preorder and then prove that this is the free monoidal category on two generating objects and a single generating morphism. But I don't know how to do it.

In fact I just have to define a free monoidal category like in this paper and everything works fine. You can adapt what he's doing to a generating object and a generating morphism very easily and you can add the symmetry as well. Then it is very easy to see that you have defined the free monoidal or symmetric monoidal categories.

I think I was unhappy for two reasons:

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 19:28):

I think you have two ways to prove the coherence theorem for monoidal category:
(1) start with a category which is obviously a preorder and prove that it is a free monoidal category
(2) start with a category which is obviously a free monoidal category and prove that it is a preorder

Mac Lane (at least, in the theorem 1 p.166 of Categories for the Working Mathematician) takes the approach (1). In the paper above, they take the approach (2).

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 19:30):

But what I need is just the "start with a category which is obviously a free monoidal category" (but not necessarily on a single object).

view this post on Zulip Todd Trimble (Aug 22 2024 at 19:54):

Let F(x)F(x) denote the free monoidal category on one object xx, and let CC be a category. F(x)F(x) is a coproduct (disjoint union) of codiscrete categories F(x)nF(x)_n where a typical object is isomorphic to an nn-fold tensor power xnx^{\otimes n}. The free monoidal category on CC can be constructed as a "wreath product"

F(x)C=n0F(x)n×Cn.F(x) \wr C = \sum_{n \geq 0} F(x)_n \times C^n.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:10):

Nice! Can you explain what is F(x)nF(x)_{n} more explicitly? And what is a codiscrete category?

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:12):

Also I would imagine that you must also add something for the monoidal unit in F(x)nF(x)_n if you don't want the category to be strict monoidal.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:15):

(And I absolutely don't want the category to be strict monoidal since it breaks the unicity in the freeness property. I need this unicity for my proof that monomorphisms in the category of monoidal categories and strict monoidal functors are injective on objects and faithful.)

view this post on Zulip Todd Trimble (Aug 22 2024 at 20:16):

"Codiscrete" means that for any pair of objects (x,y)(x, y), there is exactly one morphism xyx \to y. So in other words, equivalent to the terminal category. The objects of F(x)nF(x)_n are formal bracketed tensor products of xx and the monoidal unit II with exactly nn instances of xx. (F(x)F(x) is assuredly not strict monoidal, but it is monoidally equivalent to the discrete monoidal category N\mathbb{N} which is strict monoidal. This is of course Mac Lane's theorem.)

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:22):

Ok. So F(x)nF(x)_n is here to encode the bracketing and the instances of monoidal units. That's a nice construction. And if you want the version for symmetric monoidal categories, I guess you put n!n! morphisms from aa to bb for each pair of objects (a,b)(a,b) in F(x)nF(x)_n instead of just one?

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:23):

I mean, you put the symmetric group on nn objects between aa and bb basically.

view this post on Zulip Todd Trimble (Aug 22 2024 at 20:25):

Yes, each hom is a SnS_n-torsor, correct.

view this post on Zulip Todd Trimble (Aug 22 2024 at 20:28):

The same type of deal holds for braided monoidal categories, and for a host of other 2-categories that are monadic over Cat\mathrm{Cat}. The message behind Kelly's clubs is that in a wide class of such situations, the 2-monad can be reconstructed from the free structure on one object, via this sort of wreath product.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:30):

This is interesting when you know that MacLane coherence theorem is all about a free structure on one object.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:31):

Now let me try to prove that this construction indeed gives the free monoidal category. I don't know how to prove that it is a free monoidal category. But it looks easier to prove that the universal property is verified once you know that it is a monoidal category.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:32):

I guess that the coproduct is also a coproduct in the category of monoidal categories (and strict monoidal functors?).

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:33):

I'm being very vague. I just try to see how it works. A monoidal functor from n0F(x)n×Cn\sum_{n \geq 0} F(x)_n \times C^n to a monoidal category D\mathcal{D} should amount to a monoidal functor from each F(x)n×CnF(x)_n \times C^n to D\mathcal{D}.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:34):

In fact no, it doesn't make sense ahah.

view this post on Zulip Todd Trimble (Aug 22 2024 at 20:34):

I guess that the coproduct is also a coproduct in the category of monoidal categories (and strict monoidal functors?).

So the coproduct of monoidal categories is more complicated than a disjoint union (think by analogy what the coproduct of two monoids is like).

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:35):

I no longer think that each layer is a monoidal category. But they are categories.

view this post on Zulip Todd Trimble (Aug 22 2024 at 20:35):

Ah, I see what you are saying. I am not saying that the F(x)nF(x)_n are monoidal categories, but together they conspire to form one.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:36):

Yeah, my intuition is that it pretty much like the tensor algebra.

view this post on Zulip Todd Trimble (Aug 22 2024 at 20:36):

That's not a bad intuition.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:36):

Todd Trimble said:

I guess that the coproduct is also a coproduct in the category of monoidal categories (and strict monoidal functors?).

So the coproduct of monoidal categories is more complicated than a disjoint union (think by analogy what the coproduct of two monoids is like).

The coproduct of monoids is this thing called the "free product" I think.

view this post on Zulip Todd Trimble (Aug 22 2024 at 20:37):

Yes, similar to the free product of groups.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:38):

So you define ABA \star B to be the set of all the words on ABA \sqcup B. This is a bit more complicated for groups because in the case of groups some words must be the same so I think you define "reduced words" instead.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:40):

For monoidal categories you should define ABA \star B to be the free monoidal category on the category A+BA+B maybe??

view this post on Zulip Kevin Carlson (Aug 22 2024 at 20:41):

Well, it’s not exactly free; you have to also impose relations making the maps from A,BA,B monoidal. It’s “relatively” free in that objects of AA only multiply freely with objects of BB.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:45):

But I have the inclusion functors from AA to A+BA+B and from BB to A+BA+B so if we write M(A)M(A) for the free monoidal category on a category AA, it gives me inclusion monoidal functors from M(A)M(A) to M(A+B)M(A+B) and from M(B)M(B) to M(A+B)M(A+B).

view this post on Zulip Todd Trimble (Aug 22 2024 at 20:47):

Monoidal functors out of the free monoidal category on A+BA + B would be tantamount to a pair of mere functors out of A,BA, B, not monoidal functors, is what I think Kevin is saying.

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:50):

Let me see. First to get the inclusion monoidal functors, I should precompose by a monoidal functor AM(A)A \rightarrow M(A). I think such a functor could exist but I'm not sure.

view this post on Zulip Todd Trimble (Aug 22 2024 at 20:51):

I'll let you ponder all this on your own for a while, and come back later! :-)

view this post on Zulip Jean-Baptiste Vienney (Aug 22 2024 at 20:52):

No a monoidal functor from M(A+B)M(A+B) to a monoidal category XX is the same as ... I don't know. But if we replace XX by M(X)M(X) then it is the same as a functor from AA to XX plus a functor from BB to XX.

view this post on Zulip Todd Trimble (Aug 23 2024 at 17:53):

Huh? Monoidal functors M(A+B)XM(A + B) \to X are equivalent to functors A+BXA + B \to X (by freeness) which are equivalent to pairs of functors AX,BXA \to X, B \to X.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 17:59):

Oh, yes of course! I was confused by MM being a functor so I was thinking that there is a correspondence between functor from AA to BB and monoidal functor from M(A)M(A) to M(B)M(B) .

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 18:00):

But yeah, now I understand: you must use the adjunction.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 18:02):

Let me remember what we were saying. I was trying to show that
M(A+B)M(A+B) is a coproduct of AA and BB in the category of monoidal categories and strict monoidal functors.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 18:04):

So, for the injections you have
AM(A)M(A+B)A \rightarrow M(A) \rightarrow M(A+B)
where the second map is M(AA+B)M(A \rightarrow A+B) and the first map is the unit of the monad given by the free-forgetful adjunction.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 18:05):

Uh but AM(A)A \rightarrow M(A) is not necessarily a strict monoidal functor?

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 18:06):

Since MM must be a monad on Cat\mathcal{Cat}.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 18:10):

Maybe AM(A)A \rightarrow M(A) is strict monoidal but anyway

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 18:10):

Todd Trimble said:

Huh? Monoidal functors M(A+B)XM(A + B) \to X are equivalent to functors A+BXA + B \to X (by freeness) which are equivalent to pairs of functors AX,BXA \to X, B \to X.

with that I'm convinced that M(A+B)M(A+B) is not the coproduct of AA and BB.

view this post on Zulip Todd Trimble (Aug 23 2024 at 18:47):

Jean-Baptiste Vienney said:

Uh but AM(A)A \rightarrow M(A) is not necessarily a strict monoidal functor?

Not at all, not even monoidal much less strict monoidal. (I assume you mean the unit of the adjunction.) If AA is an MM-algebra and uA:AMAu_A: A \to MA is an algebra map, then the algebra structure map ξ:MAA\xi: MA \to A is an isomorphism. Proof: two algebra maps MABMA \rightrightarrows B are equal iff their compositions with uAu_A are equal (again by freeness). Taking B=MAB = MA, apply this observation to the algebra maps uAξu_A \circ \xi and 1MA1_{MA}: their compositions with uAu_A are both uAu_A, using the fact that ξuA=1A\xi \circ u_A = 1_A by the unit axiom for MM-algebras. So uAξ=1MAu_A \circ \xi = 1_{MA}, and ξuA=1A\xi \circ u_A = 1_A as we just said.

The same type of proof applies to 2-monads (replacing equalities by isomorphisms).

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 19:49):

Cool, and I guess that the structure map MAAMA \rightarrow A is rarely an isomorphism (when AA is already an algebra, here a monoidal category). Hmm, maybe we could an obtain a counterexample by looking at what it's doing on some tiny monoidal category AA.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 19:51):

Honestly I don't even have much intuition for what this map is doing.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 19:52):

Finally I have some intuition.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 19:53):

I guess it's doing something like this: from a "formal" tensor product of objects in AA, it gives their "real" tensor product in AA.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 19:57):

This map has a section given by the functor AMAA \rightarrow MA which is the unit of the adjunction. So it is always an epimorphism.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 19:58):

Now, I think that for some monoidal categories AA it will not be a monomorphism.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 20:00):

Ok, I see why. This is like when you take a double tensor algebra.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 20:01):

In MAMA you have two levels of tensors.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 20:03):

The objects of MAMA can be written like this:
(A1,1...A1,n1)...(Ap,1...Ap,np)(A_{1,1} \otimes ... \otimes A_{1,n_1}) \boxtimes ... \boxtimes (A_{p,1} \otimes ... \otimes A_{p,n_p}) where \otimes is the tensor product of AA and \boxtimes is the tensor product of MAMA.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 20:04):

But both ABA \otimes B and ABA \boxtimes B will be sent to ABA \otimes B by the structure map. Or even simpler: both the monoidal unit of AA and the monoidal unit of MAMA will be sent to the monoidal unit of AA.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 20:05):

So the structure map is never a monomorphism, whatever the monoidal category AA is.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 20:26):

Hmm, but we just had to write (A,B,C,...)(A,B,C,...) instead of ABC...A \boxtimes B \boxtimes C ... here.

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 20:26):

Since MAMA is defined using the AnA^n.

view this post on Zulip Todd Trimble (Aug 23 2024 at 20:34):

In ordinary 1-category theory, if you want to form the coproduct of two MM-algebras (or really a family of MM-algebras), and if you assume

then what you can do is follow the construction of Theorem 2.2 here. This is a suitable quotient of M(iAi)M(\sum_i A_i), and more or less manifests what Kevin was driving at earlier (except that we're in a 2-categorical situation, so you should use a codescent object in place of a reflexive coequalizer, but the basic idea is quite similar).

view this post on Zulip Jean-Baptiste Vienney (Aug 23 2024 at 20:57):

I didn't know what reflexive coequalizers are useful for. Now I will remember that they are useful for this. Cool. I will let you know whether I understand the construction of Theorem 2.2 or not.

view this post on Zulip Todd Trimble (Aug 23 2024 at 21:00):

Reflexive coequalizers turn out to be useful for lots of things. One of their primary virtues is that they tend to be preserved by a lot more functors than general coequalizers are, and yet they are just as expressive if there are coproducts around (because any coequalizer can be re-presented as a reflexive coequalizer by making suitable use of coproducts, as the proof of Theorem 2.2 explains).