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: Monoids and left adjoint to U: Vect -> Set


view this post on Zulip Eric Forgy (Dec 12 2020 at 17:34):

I thought I understood free vector spaces, but I am questioning myself and could use some help :pray:

As a former physicist / engineer, I am comfortable with sentences like "The vector space VV spanned by the set SS."

By this, I always understood it to mean that if vVv\in V, then vv can be written as a formal linear combination of elements of SS, i.e.

v=ivisi,v = \sum_i v_i s_i,

where viKv_i\in K, siSs_i \in S for some field KK (usually R\mathbb{R} or C).\mathbb{C}).

I always assumed the free functor F:SetVectF: \text{Set}\to\text{Vect} did exactly that, i.e.

FIdea(1)(S)=F^{(1)}_{Idea}(S) = "The vector space spanned by SS."

Now, I am not so sure it is that simple :thinking:

The issue is that Vect\text{Vect} is monoidal so if VV is an object in Vect\text{Vect}, then so is VVV\otimes V. So we actually get a tower of vector spaces Vn.V^{\otimes n}. So if VSV_S is the "vector space of formal linear combinations of elements of SS", then I'd be tempted to say that

FIdea(2)(S)=r0VSr,F^{(2)}_{Idea}(S) = \bigoplus_{r\ge 0} V_S^{\otimes r},

where VS0=K.V_S^{\otimes 0} = K.

But then I don't think that is the full picture either because if VV is an object in Vect\text{Vect}, then so is the dual space V.V^*. But then if VV^* is an object of Vect\text{Vect}, then so is VVV^*\otimes V^* and the story above repeats. So I am tempted to denote VV^* by V1V^{-1} so that what I am thinking now is that

FIdea(3)(S)=rZVSr.F^{(3)}_{Idea}(S) = \bigoplus_{r\in\mathbb{Z}} V_S^{\otimes r}.

But even this might not be the end of the story because now if F(S)F(S) is an object of Vect\text{Vect}, then so are F(S)F(S)F(S)\otimes F(S) and F(S)F(S)^*. If I squint my eyes, I can kind of believe that

F(S)F(S)F(S)F(S)\otimes F(S) \simeq F(S)

and

F(S)F(S).F(S)^* \simeq F(S).

So maybe what we really want is something like

FIdea(4)(S)=[rZVSr],F^{(4)}_{Idea}(S) = \left[\bigoplus_{r\in\mathbb{Z}} V_S^{\otimes r}\right],

i.e. equivalence classes of vector spaces of that form :thinking:

That is a LOT different than "the vector space spanned by linear combinations of elements of SS" :mind-blown:

This train of thought came about while thinking about monoids.

If I take Wikipedia's definition for example:

In category theory, a branch of mathematics, a monoid (or monoid object) (M,μ,η)(M, μ, η) in a monoidal category (C,,I)(C, ⊗, I) is an object MM together with two morphisms

μ:MMMμ: M ⊗ M → M called multiplication,

η:IMη: I → M called unit, [snip]

I look at this and say, "Hey! Wait a minute!"

If all you have is an object MM, how can you have a map MMMM\otimes M\to M??? You need both MM AND MMM\otimes M and for associativity you need MMMM\otimes M\otimes M so wouldn't it be more correct to say,

In category theory, a branch of mathematics, a monoid (or monoid object) (M,μ,η)(M, μ, η) in a monoidal category (C,,I)(C, ⊗, I) is an object

M=r0Mr,M = \sum_{r\ge 0} M^{\otimes r},

where M0=IM^{\otimes 0} = I together with two morphisms

μ:MMMμ: M ⊗ M → M called multiplication,

η:IMη: I → M called unit, [snip]

?

view this post on Zulip Nathanael Arkor (Dec 12 2020 at 17:38):

The definition of monoidal category means that for any object MM, you also have an object MMM \otimes M (and (MM)M(M \otimes M) \otimes M, etc.) by applying the tensor product to two copies of MM.

view this post on Zulip Eric Forgy (Dec 12 2020 at 17:39):

A punchline to the above is that F(S)F(S) is a monoid in Vect.\text{Vect}. Is that correct?

view this post on Zulip Eric Forgy (Dec 12 2020 at 17:43):

Nathanael Arkor said:

The definition of monoidal category means that for any object MM, you also have an object MMM \otimes M (and (MM)M(M \otimes M) \otimes M, etc.) by applying the tensor product to two copies of MM.

Hi Nathanael :wave:

Yeah. That is my point. I'm more than likely just confused, but it seems you can never really have an "object MM in a monoidal category" unless MM is an infinite tower of tensor powers of something so that MM=MM\otimes M = M. So a morphism MMMM\otimes M\to M is really an endormorphism MM.M\to M.

view this post on Zulip Dan Doel (Dec 12 2020 at 17:46):

There is a different presentation of monoids where instead of ηη and μμ you use φ:(r0Mr)Mφ : (\sum_{r \geq 0} M^{\otimes r}) → M. I don't see why you would assume MM is equal to that sum, though.

view this post on Zulip Nathanael Arkor (Dec 12 2020 at 17:47):

You start with a category V\mathscr V equipped with a tensor product :V×VV\otimes : \mathscr V \times \mathscr V \to \mathscr V subject to the various axioms for a monoidal category. A monoid in V\mathscr V is then a choice of some object Mob(V)M \in \mathrm{ob}(\mathscr V). You don't need to mention MMM \otimes M explicitly, because as soon as you pick the MM, its tensors with other objects are determined by the structure of \otimes on V\mathscr V. So you know that MMM \otimes M exists (and is a specific object of V\mathscr V) without needing to declare it to be anything else. It's not going to be equal to MM in general.

view this post on Zulip Nathanael Arkor (Dec 12 2020 at 17:48):

Regarding the free vector space: your initial understanding looks to me to be correct. You send each set SS to the set of formal sums, equipped with the obvious vector space structure.

view this post on Zulip Eric Forgy (Dec 12 2020 at 17:52):

Yes. I'm sorry. I struggle to make myself clear sometimes :sweat_smile:

My point is, as you say, if CC is monoidal and cc is an object of CC, then ccc\otimes c is also an object of CC and you cannot escape that, so anything that maps into a monoidal category gives you an infinite tower of objects, but that itself is an object so cc itself should be that infinite tower.

view this post on Zulip Dan Doel (Dec 12 2020 at 17:55):

You know the category of sets is monoidal, right?

view this post on Zulip Nathanael Arkor (Dec 12 2020 at 17:55):

Defining a cc does define an infinite set in that sense, yes, but the set itself is not an object of the monoidal category. For instance, the set contains (cc)c(c \otimes c) \otimes c but also c(cc)c \otimes (c \otimes c). Even if you just focus on left-associated tensor products, you can't take an infinite tensor product in a monoidal category. There's also no way to recover cc from ccc \otimes c in general, so even if you could do this, it would lose information over just considering cc itself.

view this post on Zulip Nathanael Arkor (Dec 12 2020 at 17:57):

It's also arbitrary to consider the set of tensor products of cc with itself: why not tensor products with other objects of CC as well?

view this post on Zulip John Baez (Dec 12 2020 at 17:58):

Eric Forgy said:

I thought I understood free vector spaces, but I am questioning myself and could use some help :pray:

As a former physicist / engineer, I am comfortable with sentences like "The vector space VV spanned by the set SS."

By this, I always understood it to mean that if vVv\in V, then vv can be written as a formal linear combination of elements of SS, i.e.

v=ivisi,v = \sum_i v_i s_i,

where viKv_i\in K, siSs_i \in S for some field KK (usually R\mathbb{R} or C).\mathbb{C}).

I always assumed the free functor F:SetVectF: \text{Set}\to\text{Vect} did exactly that, i.e.

FIdea(1)(S)=F^{(1)}_{Idea}(S) = "The vector space spanned by SS."

Yes, that's correct.

FF is a left adjoint of the forgetful functor U:VectSetU : \text{Vect} \to \text{Set}, and you can use the definition of left adjoint to check that the vector space spanned by SS indeed behaves in the correct way to be the left adjoint. It's essential to do this, to understand what's going on here.

If I squint my eyes, I can kind of believe that

F(S)F(S)F(S)F(S)\otimes F(S) \simeq F(S)

Don't squint your eyes then. It's false. If SS has 3 elements, F(S)F(S) is a 3-dimensional vector space while F(S)F(S)F(S) \otimes F(S) is 9-dimensional, so they're not isomorphic.

I don't know why you're bringing tensor products into this game, since they're not relevant to the construction of the functor FF. They obey some interesting properties connected to FF, e.g.

F(X×Y)F(X)F(Y) F(X \times Y) \cong F(X) \otimes F(Y)

but if you're trying to understand FF itself you should not be thinking about tensor products of vector spaces. I have no clue what you're doing with them here, but it doesn't look good.

view this post on Zulip John Baez (Dec 12 2020 at 18:12):

(Btw, in case anyone is wondering why I'm talking so rudely to Eric, it's because we're old friends and I've decided long ago that when he goes off the rails it's good for me to tell him very clearly exactly where he went off the rails - there's no need to be shy about it, he can take it.)

view this post on Zulip Eric Forgy (Dec 12 2020 at 18:37):

John Baez said:

If I squint my eyes, I can kind of believe that
F(S)F(S)F(S)F(S)\otimes F(S) \simeq F(S)

Don't squint your eyes then. It's false. If SS has 3 elements, F(S)F(S) is a 3-dimensional vector space while F(S)F(S)F(S) \otimes F(S) is 9-dimensional, so they're not isomorphic.

If SS has 3 elements, then if F(3)F(3) is three-dimensional as it would be if F(S)F(S) is "linear combinations of elements of SS" as I originally understood it (and I guess is the correct way to think about it), then I was confused because F(S)F(S)F(S)\otimes F(S) is also in Vect\text{Vect} and we can't escape that, so I thought one way to pick up those extra elements could be to form that infinite tower so that both F(S)F(S) and F(S)F(S)F(S)\otimes F(S) are infinite dimensional. I guess that would not be great :sweat_smile:

But like Dan reminded me, S\text{S} is also monoidal so if SS is an object of Set\text{Set}, then so is S×SS\times S and as you say

F(S×S)F(S)F(S).F(S\times S) \cong F(S)\otimes F(S).

So this clears things up for "free vector spaces", so now I just need to unstick the way I think of Set\text{Set} :sweat_smile:

When I'm trying to understand a concept, I try to reduce it to the simplest case possible. Unfortunately, sometimes, like now, I consider cases that are simpler than possible :face_palm:

I was thinking of a "subcategory of Set\text{Set} with just one object SS". However, since Set\text{Set} is monoidal, there is no one-object subcategory of Set\text{Set} because if SS is an object of Set\text{Set} then you have at least two objects because S×SS\times S will ALSO be in that category. But then we actually have an infinite number of objects. Is it true that any subcategory of Set\text{Set} has an infinite number of objects?

If so, then I have learned something :tada:

Thank you guys for your help and your patience :raised_hands: (except John who gets thanks for help but not patience (just kidding - you always have amazing patience with me) :joy::hug:)

view this post on Zulip Fawzi Hreiki (Dec 12 2020 at 18:43):

There's no reason that a subcategory of Set\text{Set} should be closed under products.

view this post on Zulip Eric Forgy (Dec 12 2020 at 18:47):

Thanks Fawzi. Yeah. Is there a term to distinguish just a general subcategory of Set\text{Set} from a subcategory that has the same structure, e.g. closed under products?

view this post on Zulip Fawzi Hreiki (Dec 12 2020 at 18:48):

What you're talking about are monoidal subcategories of (Set,×,1)(\text{Set}, \times, 1), i.e. subobjects in the category MonCat\text{MonCat}

view this post on Zulip Fawzi Hreiki (Dec 12 2020 at 18:49):

'Subcategory' unqualified would refer instead to a subobject in Cat\text{Cat}

view this post on Zulip Eric Forgy (Dec 12 2020 at 18:54):

Just to clarify, would a monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) have an infinite number of objects? (I think yes, but a ":+1:" for confirmation or something would be great :pray:

view this post on Zulip Reid Barton (Dec 12 2020 at 18:55):

Eric Forgy said:

so I thought one way to pick up those extra elements could be to form that infinite tower so that both F(S)F(S) and F(S)F(S)F(S)\otimes F(S) are infinite dimensional. I guess that would not be great :sweat_smile:

It seems like you might be imagining that given some "formal vectors" v1v_1, v2v_2, v3v_3, in addition to formal linear combinations like 3v12v23v_1 - 2v_2, you could also write down formal tensor products like v2v3v_2 \otimes v_3. But these formal tensor products aren't elements of F(S)F(S).

view this post on Zulip Reid Barton (Dec 12 2020 at 18:55):

And the reason is just that if v1v_1 and v2v_2 are elements of a vector space VV, then (in general) v1v2v_1 \otimes v_2 doesn't make sense as an element of VV. It's an element of VVV \otimes V instead.

view this post on Zulip Reid Barton (Dec 12 2020 at 18:56):

On the other hand 3v12v23v_1 - 2v_2 is again an element of VV.

view this post on Zulip Reid Barton (Dec 12 2020 at 18:56):

Eric Forgy said:

Just to clarify, would a monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) have an infinite number of objects? (I think yes, but a ":+1:" for confirmation or something would be great :pray:

This isn't true--it could consist of just the unit object, for example.

view this post on Zulip Eric Forgy (Dec 12 2020 at 18:56):

Yeah. Thanks Reid. I know that, I just managed to confused myself into thinking I might have been wrong the last 20 years :sweat_smile:

view this post on Zulip Eric Forgy (Dec 12 2020 at 19:01):

Reid Barton said:

Eric Forgy said:

Just to clarify, would a monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) have an infinite number of objects? (I think yes, but a ":+1:" for confirmation or something would be great :pray:

This isn't true--it could consist of just the unit object, for example.

Ok. I was wondering about that case. So 1×11\times 1 is considered the same object as 11? Other than that case, if a monoidal subcategory has at least one non-unit element, it has an infinite number of objects?

view this post on Zulip Reid Barton (Dec 12 2020 at 19:01):

No, that's also not true...

view this post on Zulip Fawzi Hreiki (Dec 12 2020 at 19:19):

E.g. 0×0=00 \times 0 = 0.

view this post on Zulip Fawzi Hreiki (Dec 12 2020 at 19:21):

So the full subcategory on {0,1}\{0, 1\} is closed under finite products.

view this post on Zulip Eric Forgy (Dec 12 2020 at 19:35):

Fawzi Hreiki said:

So the full subcategory on {0,1}\{0, 1\} is closed under finite products.

Sorry :pray:

Is 1×1=11\times 1 = 1 in Set\text{Set}? :thinking:

I think I can see that 0×0=00\times 0 = 0 and even 0×1=1×0=00\times 1 = 1\times 0 = 0 (if 00 is the empty set), but I don't quite see how 1×1=11\times 1=1 (although I can see that 1×111\times 1\cong 1) :thinking:

So I'm struggling to see how the smallest monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) isn't infinite

{1,1×1,(1×1)×1,1×(1×1),}\{1,1\times 1, (1\times 1)\times 1, 1\times(1\times 1),\cdots\}

although each object is equivalent :thinking:

view this post on Zulip Fawzi Hreiki (Dec 12 2020 at 19:40):

Just think of basic arithmetic. More generally, in any category with finite products, the terminal object is unital (i.e. neutral) with respect to the product.

view this post on Zulip Fawzi Hreiki (Dec 12 2020 at 19:42):

You seem to be getting the objects and the symbols (presentations) for the objects confused.

view this post on Zulip Eric Forgy (Dec 12 2020 at 20:04):

Fawzi Hreiki said:

You seem to be getting the objects and the symbols (presentations) for the objects confused.

That wouldn't surprise me at all (although I don't really understand what that means :sweat_smile: )

If I look at the nLab:

Initial object:

An initial object in a category CC is an object such that for any object xx of CC, there is a unique morphism !:x!:∅→x. An initial object, if it exists, is unique up to unique isomorphism, so we speak of the initial object.

Terminal object:

A terminal object in a category CC is an object 11 of CC satisfying the following universal property:

for every object xx of CC, there exists a unique morphism !:x1!:x→1. The terminal object of any category, if it exists, is unique up to unique isomorphism. If the terminal object is also initial, it is called a zero object.

So if I look at

{1,1×1,(1×1)×1,1×(1×1),}\{1,1\times 1, (1\times 1)\times 1, 1\times(1\times 1),\cdots\}

I see that each object is isomorphic to 11 so each object is the terminal object so you can say they are the same thing I guess, but aren't they really different objects? :thinking:

view this post on Zulip Reid Barton (Dec 12 2020 at 20:07):

They might be the same object or different objects, it doesn't really matter

view this post on Zulip Eric Forgy (Dec 12 2020 at 20:21):

I guess the only reason it would matter is if you are trying to count objects. If they are the same object, then {1}\{1\} has one object and is a monoidal subcategory (of any category I guess). If they are different, then the smallest monoidal subcategory has an infinite number of (ismorphic) objects.

view this post on Zulip Dan Doel (Dec 12 2020 at 20:22):

That isn't something you should be doing, though.

view this post on Zulip Dan Doel (Dec 12 2020 at 20:23):

It's "evil".

view this post on Zulip Eric Forgy (Dec 12 2020 at 20:24):

image.png

:joy:

view this post on Zulip Eric Forgy (Dec 12 2020 at 20:32):

Does that mean that to not be evil, we should think in terms of equivalence classes so that

[1]=[1×1]=[(1×1)×1]=[1×(1×1)][1] = [1\times 1] = [(1\times 1)\times 1] = [1\times(1\times 1)]

so it takes you a few seconds before you get tired of writing brackets and just understand that 11, 1×11\times 1, 1×(1×1)1\times(1\times 1) etc are the same object for practical purposes?

view this post on Zulip Dan Doel (Dec 12 2020 at 20:32):

No, I think equivalence classes are not a good way to think about it.

view this post on Zulip Fawzi Hreiki (Dec 12 2020 at 20:34):

To say that the full subcategory on 0 and 1 is closed under products is to say that the inclusion functor preserves products. But when we say that a functor F:CDF: C \rightarrow D preserves products, we mean that it preserves products up to isomorphism.

view this post on Zulip Eric Forgy (Dec 12 2020 at 20:35):

How can I make progress if I don't even understand Set\text{Set}? :pensive:

view this post on Zulip Fawzi Hreiki (Dec 12 2020 at 20:36):

I don't think this is a case of not understanding sets - more so not understanding equivalence.

view this post on Zulip Dan Doel (Dec 12 2020 at 20:38):

One thread of how to better think about it is to ditch sets at the fundamental building blocks, and say that a category has a groupoid of objects, where groupoids are a (more) fundamental building block. And isomorphisms between objects mean that the objects are equivalent in that groupoid.

view this post on Zulip Eric Forgy (Dec 12 2020 at 20:39):

I would say I don't fully understand Set\text{Set} if I don't understand monoidal subcategories of Set\text{Set}, but yeah, I have little intuition when it comes to equivalence (despite trying).

view this post on Zulip Dan Doel (Dec 12 2020 at 20:42):

And a groupoid with infinitely many 'points' that are all equivalent behaves the same as a groupoid with just one point, even if in some technical sense they don't have the same number of points. Because all constructions automatically respect equivalences, and can't distinguish between equivalent things in a meaningful way.

view this post on Zulip John Baez (Dec 12 2020 at 20:43):

Eric Forgy said:

Just to clarify, would a monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) have an infinite number of objects?

It either has an infinite number of isomorphism classes of objects, or just one.

Here's a simpler but extremely related fact: a set of natural numbers containing 11 and closed under multiplication either contains infinitely many numbers or just one.

view this post on Zulip John Baez (Dec 12 2020 at 20:45):

And notice, the phrase "just one" is a pun: you can read that in two ways, and the sentence is true either way.

view this post on Zulip Shea Levy (Dec 12 2020 at 20:45):

"all constructions automatically respect equivalences" is the key thing here. Any reasoning you can do categorically about one object carries over mechanically to any other object isomorphic to it.

Also might be helpful to distinguish a pre-mathematical notion of sets, where the elements matter, from the category of sets, which IMO is better thought of as "the category of the empty algebraic theory and its homomorphisms." (thanks to Chris Brown for this formulation)

view this post on Zulip John Baez (Dec 12 2020 at 20:46):

I think that sort of remark is mainly gonna make Eric more confused, Shea. We're talking about some really basic stuff here; "the empty algebraic theory" is about 10 times harder to understand than this stuff.

view this post on Zulip Fawzi Hreiki (Dec 12 2020 at 20:46):

Hold on, surely the full subcategory on 00 and 11 has two isomorphism classes.

view this post on Zulip Dan Doel (Dec 12 2020 at 20:46):

If you try to model this with equivalence classes, I think you get into trouble because things can be equivalent/isomorphic in inequivalent ways, and set theoretic equivalence classes start forcing you to do messy stuff like choosing particular isomorphisms and such.

view this post on Zulip John Baez (Dec 12 2020 at 20:48):

Fawzi Hreiki said:

Hold on, surely the full subcategory on 00 and 11 has two isomorphism classes.

Whoops, I was wrong! Okay: a monoidal subcategory of (Set,×,1)(\text{Set},\times,1) has either infinitely many isomorphism classes of objects, or just two, or just one. This time I swear I'm right. :upside_down:

view this post on Zulip John Baez (Dec 12 2020 at 20:50):

And the other thing I said was wrong too. A submonoid of (N,×,1)(\mathbb{N},\times,1) has either infinitely many elements, or just two, or just one.

view this post on Zulip Eric Forgy (Dec 12 2020 at 20:52):

Here's a simpler but extremely related fact: a set of natural numbers containing 11 and closed under multiplication either contains infinitely many numbers or just one.

Yeah. I can see that, so how do we reconcile? :blush:

It is the same thing. It is either "just one" {1}\{1\} or it is {1,1×1,1×(1×1),}\{1,1\times 1,1\times(1\times 1),\cdots\} together with a map mm :sweat_smile:

view this post on Zulip Dan Doel (Dec 12 2020 at 20:54):

I don't think those are the only choices of technical set theoretic details.

view this post on Zulip John Baez (Dec 12 2020 at 20:55):

All those sets 11, 1×11 \times 1, etc. are isomorphic. That's why I said this (after correction):

John Baez said:

a monoidal subcategory of (Set,×,1)(\text{Set},\times,1) has either infinitely many isomorphism classes of objects, or just two, or just one.

view this post on Zulip Dan Doel (Dec 12 2020 at 20:55):

Like, you could have {1,1×1,1×(1×1),(1×1)×1}\{1, 1×1, 1×(1×1), (1×1)×1\}, and then all further products are set-theoretic-equal to something else in that set, maybe.

view this post on Zulip Dan Doel (Dec 12 2020 at 20:57):

Like, what if it's doing something with the elements of the singleton set mod-3?

view this post on Zulip Dan Doel (Dec 12 2020 at 20:57):

That doesn't matter for the categorical structure, but it's 'technically not the same set'.

view this post on Zulip Eric Forgy (Dec 12 2020 at 20:59):

So is there even a difference between Set\text{Set} and natural numbers N\mathbb{N} categorically thinking? Since two sets with the same number of elements are isomorphic?

view this post on Zulip Dan Doel (Dec 12 2020 at 20:59):

You can have way more than N many elements of a set.

view this post on Zulip John Baez (Dec 12 2020 at 21:00):

If you do category theory correctly, it never makes a bit of difference how many objects you have in a category. Category theorists never care about this. All that can matter is how many isomorphism classes of objects.

There are occasional exceptions to this rule of thumb, but if you're a beginner and you try to claim you're in one of these exceptional cases, there's a 99% chance you're doing something dumb.

Whenever you start trying to count objects in a category, a big alarm bell should start ringing, and big red warning light should start flashing.

view this post on Zulip John Baez (Dec 12 2020 at 21:00):

Eric Forgy said:

So is there even a difference between Set\text{Set} and natural numbers N\mathbb{N} categorically thinking?

Yes, because there are things called "infinite sets", but not "infinite natural numbers".

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:01):

How about FinSet\text{FinSet} and N\mathbb{N}? Those should be the same categorically, right?

view this post on Zulip Dan Doel (Dec 12 2020 at 21:02):

Depends what you mean by N, but those are more similar, yeah.

view this post on Zulip John Baez (Dec 12 2020 at 21:03):

Don't humor him so much, Dan.

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:03):

So the moral is: Don't be evil. If you are going to count something, only count isomorphism classes.

view this post on Zulip John Baez (Dec 12 2020 at 21:03):

FinSet\text{FinSet} is a category: it has objects and morphisms.

N\mathbb{N} is a set: it just has elements.

They're different.

view this post on Zulip John Baez (Dec 12 2020 at 21:04):

Eric Forgy said:

So the moral is: Don't be evil. If you are going to count something, only count isomorphism classes.

Right.

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:05):

That is going to be hard for me, but I will try. Thank you :raised_hands:

I suck in counting, but one thing I suck in even more is understanding isomorphism classes (I know how they are defined but lack any intuition).

view this post on Zulip John Baez (Dec 12 2020 at 21:06):

A set of five penguins is isomorphic to a set of five politicians because you can draw a little line connecting each penguin to its own politician: a one-to-one correspondence.

view this post on Zulip John Baez (Dec 12 2020 at 21:07):

In category theory we say "the five-element set" because we don't give a shit about the difference between penguins and politicians.

view this post on Zulip John Baez (Dec 12 2020 at 21:08):

So: the correct statement, that you were working towards, is this:

Isomorphism classes of objects in FinSet are in 1-1 correspondence with natural numbers.

view this post on Zulip John Baez (Dec 12 2020 at 21:09):

This sentence means the exact same thing:

Decategorifying FinSet\text{FinSet}, we get N\mathbb{N}.

view this post on Zulip John Baez (Dec 12 2020 at 21:10):

All this is a fancy way to say:

We can tell if two finite sets are isomorphic by counting them and seeing if they have the same number of elements.

view this post on Zulip John Baez (Dec 12 2020 at 21:10):

This is the reason they invented counting.

view this post on Zulip Dan Doel (Dec 12 2020 at 21:11):

The point isn't just, "don't be evil," though. The point is that categorical stuff actually works up to equivalences, so if you think about things in an "evil" way, and say, "well, actually there are infinitely many of these things, not one," you'll be missing the way things actually behave. And sometimes it'll be like, "well, there is technically a proper class of these things," but categorically the class will act like a small set.

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:11):

So after all that, maybe I can reframe my original question.

If SS is a non-unital object in Set\text{Set}, then the smallest monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) having SS as an object has an infinite number of isomorphism classes of objects. Namely SS, S×SS\times S, S×S×SS\times S\times S (where S×(S×S)(S×S)×SS\times(S\times S) \cong (S\times S)\times S), etc.

Is that right?

view this post on Zulip John Baez (Dec 12 2020 at 21:12):

No. You forgot about the empty set, just like I did.

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:12):

At least I'm in good company :smiley:

view this post on Zulip John Baez (Dec 12 2020 at 21:13):

Yeah. It's really fun to slap you down for making the exact same mistake I got corrected on 2 minutes ago.

view this post on Zulip John Baez (Dec 12 2020 at 21:14):

It almost makes that mistake seem worthwhile.

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:14):

Take two...

If SS is a non-unital object in Set\text{Set}, then the smallest monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) having SS as an object has an infinite number of isomorphism classes of objects. Namely 00, SS, S×SS\times S, S×S×SS\times S\times S (where S×(S×S)(S×S)×SS\times(S\times S) \cong (S\times S)\times S), etc.

Is that right?

view this post on Zulip John Baez (Dec 12 2020 at 21:15):

No.

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:15):

The smallest monoidal subcategory of (Set,×,1)(\text{Set},\times,1) would be {0,1}\{0,1\}?

view this post on Zulip John Baez (Dec 12 2020 at 21:16):

No.

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:16):

:face_palm:

view this post on Zulip John Baez (Dec 12 2020 at 21:16):

It's the subcategory containing just a 1-element set and its identity morphism.

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:17):

Ah! Because in that case 010\cong 1?

view this post on Zulip John Baez (Dec 12 2020 at 21:18):

Huh??? No, the empty set is not isomorphic to the one-element set.

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:18):

You have to admit, it is impressive the number of ways I can be wrong :joy:

view this post on Zulip John Baez (Dec 12 2020 at 21:18):

I think if you just answered randomly you'd have a better batting average.

view this post on Zulip John Baez (Dec 12 2020 at 21:20):

Wrong:

If SS is a non-unital object in Set\text{Set}, then the smallest monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) having SS as an object has an infinite number of isomorphism classes of objects. Namely 00, SS, S×SS\times S, S×S×SS\times S\times S (where S×(S×S)(S×S)×SS\times(S\times S) \cong (S\times S)\times S), etc.

Right:

If SS is a non-unital object in Set\text{Set}, then the smallest monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) having SS as an object has these isomorphism classes: 11, SS, S×SS\times S, S×S×SS\times S\times S (where S×(S×S)(S×S)×SS\times(S\times S) \cong (S\times S)\times S), etc.

Note: we need to make two changes to correct the answer.

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:20):

I think I see where I messed up...

Take three...

If SS is a non-unital object in Set\text{Set}, then the smallest monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) having SS as an object has an infinite number of isomorphism classes of objects. Namely 11, SS, S×SS\times S, S×S×SS\times S\times S (where S×(S×S)(S×S)×SS\times(S\times S) \cong (S\times S)\times S), etc.

Is that right?

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:20):

Checking...

view this post on Zulip John Baez (Dec 12 2020 at 21:20):

No, it's not right.

view this post on Zulip John Baez (Dec 12 2020 at 21:20):

It's not right when SS is empty.

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:20):

Checking for the difference...

view this post on Zulip John Baez (Dec 12 2020 at 21:21):

When SS is empty you don't get infinitely many isomorphism classes, just two.

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:21):

I see

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:24):

Attempt four...

If SS is a non-initial and non-terminal object in Set\text{Set}, then the smallest monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) having SS as an object has an infinite number of isomorphism classes of objects. Namely 11, SS, S×SS\times S, S×S×SS\times S\times S (where S×(S×S)(S×S)×SS\times(S\times S) \cong (S\times S)\times S), etc.

If SS is the empty set, the smallest monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) is {0,1}\{0,1\}.

Is that right?

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:26):

Or better...

If SS is a non-empty non-unital object in Set\text{Set}, then the smallest monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) having SS as an object has an infinite number of isomorphism classes of objects. Namely 11, SS, S×SS\times S, S×S×SS\times S\times S (where S×(S×S)(S×S)×SS\times(S\times S) \cong (S\times S)\times S), etc.

If SS is the empty set, the smallest monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) is {0,1}\{0,1\}.

Is that right?

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:26):

Typo! Fixed.

view this post on Zulip Reid Barton (Dec 12 2020 at 21:27):

This is still false actually

view this post on Zulip Reid Barton (Dec 12 2020 at 21:28):

But, it's at least something that could be true. :upside_down:

view this post on Zulip Reid Barton (Dec 12 2020 at 21:28):

SS could be an infinite set.

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:28):

Reid Barton said:

But, it's at least something that could be true. :upside_down:

I'll take that as a win :joy:

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:40):

Thank you everyone :raised_hands:

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:42):

And at the risk of being wrong yet again, I think the "free functor" F:SetVectF: \text{Set}\to\text{Vect} is monoidal, i.e. preserves products.

view this post on Zulip Eric Forgy (Dec 12 2020 at 21:46):

So if I want to study that functor by looking at what it does to a finite non-empty set SS, then I need not just SS, but the monoidal subcategory of Set\text{Set} whose objects include 11, SS and products of SS with itself.

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:02):

Now, I have some homework. I'm trying to understand

XGSetFVectX\overset{\mathcal{G}}{\to}\text{Set}\overset{\mathcal{F}}{\to}\text{Vect}

where

G:XSet\mathcal{G}: X\to\text{Set}

is a directed graph and my understanding of F:SetVect\mathcal{F}: \text{Set}\to\text{Vect} was wrong, so I wasn't getting anywhere.

Thank you again :raised_hands:

view this post on Zulip John Baez (Dec 12 2020 at 22:07):

Eric Forgy said:

Or better...

If SS is a non-empty non-unital object in Set\text{Set}, then the smallest monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) having SS as an object has an infinite number of isomorphism classes of objects. Namely 11, SS, S×SS\times S, S×S×SS\times S\times S (where S×(S×S)(S×S)×SS\times(S\times S) \cong (S\times S)\times S), etc.

If SS is the empty set, the smallest monoidal subcategory of (Set,×,1)(\text{Set},\times, 1) is {0,1}\{0,1\}.

Is that right?

It's false, because as Reid Barton pointed out, if SS is infinite then

SS×SS×S×SS \cong S \times S \cong S \times S \times S \cong \cdots

So in this case the collection 11, SS, S×SS\times S, S×S×S,S\times S\times S, \dots has just two isomorphism classes of objects.

If you don't want to think about infinite sets, just say "finite sets".

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:11):

If I summarize:

If S=1S=1, the smallest monoidal subcategory is {1}\{1\}.

If S=0S=0 or SS is infinite, the smallest monoidal subcategory is {1,S}\{1,S\}.

If SS is finite, the smallest monoidal subcategory is {1,S,S×S,}\{1,S,S\times S,\cdots\}.

view this post on Zulip John Baez (Dec 12 2020 at 22:11):

Eric Forgy said:

And at the risk of being wrong yet again, I think the "free functor" F:SetVectF: \text{Set}\to\text{Vect} is monoidal, i.e. preserves products.

Something like that is true, but you should say it correctly.

The category Vect\mathsf{Vect} has "products" V×WV \times W and also "tensor products" VWV \otimes W. "Preserving products" would mean

F(X×Y)F(X)×F(Y)F(X \times Y) \cong F(X) \times F(Y)

which is false. It's better to say

F:(Set,×)(Vect,)F: (\text{Set}, \times) \to (\text{Vect}, \otimes) is monoidal.

By the way, it's also true that

F:(Set,+)(Vect,×)F: (\text{Set}, +) \to (\text{Vect}, \times) is monoidal.

view this post on Zulip John Baez (Dec 12 2020 at 22:13):

It's also true that

F:(Set,+)(Vect,+)F : (\text{Set}, +) \to (\text{Vect}, +) is monoidal

since in Vect\text{Vect} it happens that products (×\times) are also coproducts (++, also written \oplus in this example).

view this post on Zulip John Baez (Dec 12 2020 at 22:14):

In Set\text{Set}, ++ and ×\times are very different, so one of the charms of linear algebra is that in Vect\text{Vect} they are the same, and we get a new monoidal structure \otimes.

view this post on Zulip John Baez (Dec 12 2020 at 22:15):

I found this confusing for years, since nobody would come out say it.

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:16):

In the case of left adjoint to the forgetful functor, U:VectSetU: \mathsf{Vect}\to\mathsf{Set}, which of those FF s are we talking about? :blush:

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:17):

Or are they all the same FF?

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:18):

I think I know

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:21):

Instead of saying VectSet\text{Vect}\to\text{Set} , we need to be more specific, e.g. (Vect,)(Set,×)(\text{Vect},\otimes)\to(\text{Set},\times).

view this post on Zulip John Baez (Dec 12 2020 at 22:25):

We're talking about just one FF here, the functor from Set\mathsf{Set} to Vect\mathsf{Vect} sending each set to the vector space with that set as basis. We haven't been talking about any other FF's lately.

view this post on Zulip John Baez (Dec 12 2020 at 22:25):

But we can make Set\mathsf{Set} into a monoidal category in two famous ways, and ditto for Vect\mathsf{Vect}.

view this post on Zulip John Baez (Dec 12 2020 at 22:28):

So there are 2 ×\times 2 = 4 possible ways to try to make FF into a monoidal functor, and I told you which two work.

view this post on Zulip John Baez (Dec 12 2020 at 22:29):

A mathematician who suddenly changed what they meant by FF without warning in the middle of a conversation is a mathematician who'd deserve to be severely punished.

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:30):

Would it be 3 ways for Vect\text{Vect} corresponding to (Vect,)(\text{Vect},\otimes), (Vect,×)(\text{Vect},\times) and (Vect,)(\text{Vect},\oplus)?

view this post on Zulip John Baez (Dec 12 2020 at 22:31):

I just told you that for vector spaces +=×=+ = \times = \oplus.

John Baez said:

It's also true that

F:(Set,+)(Vect,+)F : (\text{Set}, +) \to (\text{Vect}, +) is monoidal

since in Vect\text{Vect} it happens that products (×\times) are also coproducts (++, also written \oplus in this example).

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:32):

Sorry. I meant are those 3 valid monoidal categories (not thinking about functors)?

view this post on Zulip John Baez (Dec 12 2020 at 22:33):

Yes, those are 3 valid monoidal categories... and two of them are the same, I keep telling you.

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:34):

Interesting :+1:

view this post on Zulip John Baez (Dec 12 2020 at 22:34):

There's no difference between VWV \oplus W and V×WV \times W, for vector spaces.

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:34):

That feels like a homework assignment, but I believe you :blush:

view this post on Zulip John Baez (Dec 12 2020 at 22:35):

A guy in VWV \oplus W or V×WV \times W or V+WV+W is just an ordered pair (v,w)(v,w) with vVv \in V and wWw \in W.

view this post on Zulip John Baez (Dec 12 2020 at 22:35):

This is for vector spaces, mind you.

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:37):

Yeah and (kv)×wv×(kw)(kv)\times w \ne v\times(kw), but (kv)w=v(kw)(kv)\otimes w = v\otimes(kw).

view this post on Zulip John Baez (Dec 12 2020 at 22:41):

I don't know what (kv)×w(kv) \times w means - nobody says that - but if it means the ordered pair (kv,w)(kv,w) then you're right.

view this post on Zulip John Baez (Dec 12 2020 at 22:43):

It's a good homework assignment to show that the set of ordered pairs (v,w)(v,w) with vV,wWv \in V, w \in W is both the product V×WV \times W and the coproduct V+WV + W. This is part of learning what products and coproducts are like in category theory.

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:44):

I'm almost ready to move on and complete my homework (XSetVectX\to\text{Set}\to\text{Vect}).

(Vect,,1)(Vect,\otimes,1_{\otimes}) is monoidal and

(Vect,,1)(Vect,\oplus,1_{\oplus}) is monoidal.

Are the two units the same?

view this post on Zulip John Baez (Dec 12 2020 at 22:45):

Figure it out!

view this post on Zulip John Baez (Dec 12 2020 at 22:45):

Figure out what they are.

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:45):

I'll try :blush:

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:46):

1=1=K1_\otimes = 1_\oplus = K :face_palm:

view this post on Zulip Dan Doel (Dec 12 2020 at 22:47):

That doesn't seem right, but I'm no vector guy.

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:48):

I am pretty sure 1=K1_\otimes = K. Let me think more about 11_\oplus.

view this post on Zulip Dan Doel (Dec 12 2020 at 22:48):

Since it was mentioned that FF preserves coproducts, and the coproducts correspond to the direct sum(?), then 1F(0)1_\oplus \cong F(0), I think.

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:55):

Dan Doel said:

Since it was mentioned that FF preserves coproducts, and the coproducts correspond to the direct sum(?), then 1F(0)1_\oplus \cong F(0), I think.

This seems right where F(0)=0F(0) = 0, i.e. "the" 1-element vector space 0.

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:56):

So

(Vect,,K)(Vect,\otimes,K) is monoidal and

(Vect,,0)(Vect,\oplus,0) is monoidal.

view this post on Zulip John Baez (Dec 12 2020 at 22:59):

Right!

view this post on Zulip John Baez (Dec 12 2020 at 22:59):

It's a lot like how (N,×,1)(\mathbb{N}, \times, 1) is a monoid and so is (N,+,0)(\mathbb{N}, +, 0).

view this post on Zulip Eric Forgy (Dec 12 2020 at 22:59):

What would be a way to denote that Vect\text{Vect} is monoidal in two ways?

(Vect,,,0,K)(\text{Vect},\oplus,\otimes,0,K)?

view this post on Zulip John Baez (Dec 12 2020 at 23:03):

Well, there are two separate monoidal categories, which you already have names for. There's not much point in just slamming them together. But Vect becomes a "bimonoidal category" or "rig category" because \otimes distributes over \oplus, up to isomorphism.

view this post on Zulip John Baez (Dec 12 2020 at 23:03):

I've been doing lots of work on rig categories these days.

view this post on Zulip Eric Forgy (Dec 12 2020 at 23:03):

Homework to myself:

If VV is a finite-dimensional non-empty vector space, what is the smallest monoidal subcategory of Vect\text{Vect} containing VV that preserves both \otimes and \oplus?

view this post on Zulip Eric Forgy (Dec 12 2020 at 23:07):

I'm pretty sure this has to be:

T(V)=KV(VV)(VVV).T(V) = K\oplus V\oplus (V\otimes V)\oplus (V\otimes V\otimes V)\cdots.

view this post on Zulip Eric Forgy (Dec 12 2020 at 23:09):

Unlike Set\text{Set}, I think that should also be true if VV is infinite dimensional because I'm not sure if VVVV\otimes V\cong V when VV is infinite dimensional :thinking:

view this post on Zulip Eric Forgy (Dec 12 2020 at 23:15):

(I'm generally happy enough if I understand finite dimensional stuff because I ultimately want to write some code and do numerical computations)

view this post on Zulip John Baez (Dec 12 2020 at 23:20):

Eric Forgy said:

Homework to myself:

If VV is a finite-dimensional non-empty vector space, what is the smallest monoidal subcategory of Vect\text{Vect} containing VV that preserves both \otimes and \oplus?

I'm pretty sure this has to be:

T(V)=KV(VV)(VVV).T(V) = K\oplus V\oplus (V\otimes V)\oplus (V\otimes V\otimes V)\cdots.

That answer makes no sense: T(V)T(V) is a vector space, not a monoidal subcategory of Vect\text{Vect}.

A key step to rapid progress in category theory is developing this mental habit: whenever you guess an answer to question, see if the guess parses, or type-checks. That is, see if it's the sort of thing that could be an answer to the question.

If the question is asking for a category, don't guess a vector space. If someone asks you who is the president of Russia, don't say "Moscow".

If you do this religiously, your batting average will immediately improve.

view this post on Zulip John Baez (Dec 12 2020 at 23:21):

I think I can go further and say that anyone who doesn't develop this habit is doomed to fail miserably in category theory.

view this post on Zulip John Baez (Dec 12 2020 at 23:23):

I had one grad student who was so confused he thought "type errors" meant "typographical errors" even after I explained the idea repeatedly.

view this post on Zulip Eric Forgy (Dec 13 2020 at 00:01):

Instead of saying "be", I should have said "include".

If that monster term I wrote as T(V)T(V) is an object in the smallest monoidal subcategory, then each "term" should also be an object, e.g. 00, KK, VV, VVV\otimes V. I misspoke, but the morale is that even if VV is finite, the smallest monoidal subcategory that preserves both products (product and coproduct) is pretty heinous.

view this post on Zulip John Baez (Dec 13 2020 at 00:04):

That guy T(V)T(V) is an infinite direct sum, it will not appear in the smallest category containing VV and closed under \oplus and \otimes, if by \oplus you mean the binary direct sum, like XYX \oplus Y.

view this post on Zulip John Baez (Dec 13 2020 at 00:04):

We hadn't been talking about infinite direct sums up to now, just monoidal structures like binary direct sum.

view this post on Zulip John Baez (Dec 13 2020 at 00:06):

T(V)T(V) will indeed be an object in the smallest subcategory of Vect\text{Vect} containing VV and closed under \otimes and infinite direct sums.

view this post on Zulip fosco (Jan 30 2021 at 16:51):

I would say the answer is "polynomials in VV of the form i=0dVi\sum_{i=0}^d V^{\otimes i}"?

view this post on Zulip Fawzi Hreiki (Jan 30 2021 at 17:09):

It might be worthwhile to draw the diagram consisting of the adjunctions between the monoidal categories of monoids, rigs, modules, algebras, etc..

view this post on Zulip Fawzi Hreiki (Jan 30 2021 at 17:10):

Either over some base symmetric monoidal category, or over say Ab if you want to be concrete

view this post on Zulip Fawzi Hreiki (Jan 30 2021 at 17:11):

Almost all the free functors in basic algebra come from either taking free monoids or taking free actions with respect to some appropriate base category.

view this post on Zulip Fawzi Hreiki (Jan 30 2021 at 17:27):

(And taking inverse completions)

view this post on Zulip Eric Forgy (Jan 30 2021 at 19:37):

For what's its worth, looking back on this discussion, I now better understand why I got hung up.

From what I understand, people sometimes say "monoidal category CC", sometimes they say "monoidal category (C,,1)(C,\otimes,1)" and I don't recall seeing it, but I'm sure it happens that people say "monoidal category (C,,1,a,λ,ρ)".(C,\otimes,1,a,\lambda,\rho)".

Then, one ingredient of the definition of a monoid object in a monoidal category (C,)(C,\otimes) (see, I made up my own way now) is a morphism
{}
μ:ccc\mu: c\otimes c\to c
{}
satisfying some conditions.

I looked at that :point_of_information: and confused myself by thinking that morphism can only be defined if both objects ccc\otimes c and cc were already present a priori in the category. I found the escape hatch thinking in terms of code. The symbol \otimes is like code that takes two objects cc and cc' and returns a new object ccc\otimes c'. So just like we don't need to have every instance of a floating point number in memory to talk about multiplication, we just need to know the rule how to multiply numbers. It sounds so obvious (and it is once you get it), but we don't need to have both ccc\otimes c and cc hanging around "in memory" to define μ\mu. We just need some rules defining \otimes and then compose those rules with the rules for how to define μ\mu :face_palm:

view this post on Zulip John Baez (Jan 30 2021 at 19:49):

Yeah, people say "the monoidal category CC" when they feel like saving time, usually when the monoidal structure in question has already been specified earlier in the discussion. But what's a monoid object in CC depends on the monoidal structure... and as we've seen, a monoid object in (Vect,)(\mathsf{Vect}, \otimes) is utterly different than a monoid object in (Vect,)(\mathsf{Vect}, \oplus): the first is an algebra, the second is just a vector space.

view this post on Zulip Eric Forgy (Jan 30 2021 at 19:50):

Yes. I will get there eventually :blush:

view this post on Zulip Eric Forgy (Jan 30 2021 at 19:53):

Btw, I don't recall reading anywhere that a monoid object in (Vect,)(\mathsf{Vect},\oplus) is a vector space, which is kind of cool albeit trivial / obvious. First time students might benefit from seeing it as an example (or homework).

view this post on Zulip John Baez (Jan 30 2021 at 19:55):

Well, you read it here.

view this post on Zulip Eric Forgy (Jan 30 2021 at 19:58):

I know I learned that from you here on this Zulip recently, but I don't remember seeing it before, but that isn't saying much because my memory is so bad :older_man: I'm not surprised you teach this example :blush: :raised_hands:

view this post on Zulip John Baez (Jan 30 2021 at 20:02):

James Dolan made me figure out what a comonoid in (Set,×)(\mathsf{Set}, \times) is, as part of teaching me that monoids in cocartesian categories are just objects.

view this post on Zulip John Baez (Jan 30 2021 at 20:04):

This really lies near the foundations of algebraic geometry: namely, the way that commutative monoids resemble spaces, but in the opposite category.

view this post on Zulip Eric Forgy (Jan 30 2021 at 20:10):

I hope to understand that one day when I grow up. Those kinds of questions are the reason I'm trying to learn CT in the first place.

view this post on Zulip John Baez (Jan 30 2021 at 20:12):

To make that a bit more precise: we can tentatively define a generalized "space" to be an object in any category CC with finite products and coproducts, where products distribute over coproducts. Then every object in CC is a cocommutative comonoid in (C,×)(C, \times) in a unique way, and every morphism of CC becomes a homomorphism of cocommutative cmonoids. Thus, every object in (Cop,×)(C^{\rm op}, \times) is a commutative monoid object - where I'm writing ×\times for the product in CC, which is the coproduct in CopC^{\rm op}.

A commutative monoid object is a generalized "commutative ring".

So, we see that the opposite of a category of generalized spaces is a category of generalized commutative rings.

view this post on Zulip John Baez (Jan 30 2021 at 20:13):

Lawvere calls this something like the duality between "substance" and "quantity" - where "generalized spaces" are what he'd call"substance", and "generalized commutative rings" are what he'd call "quantity".

view this post on Zulip John Baez (Jan 30 2021 at 20:14):

He has some paper or something on "categories of substance and quantity".

view this post on Zulip John Baez (Jan 30 2021 at 20:19):

Note by the way that algebras of differential forms, or more generally supercommutative dgas, are commutative monoid objects in a certain monoidal category, so they fit into this business.

view this post on Zulip Eric Forgy (Jan 30 2021 at 20:22):

Very cool stuff :heart_eyes:

I've always felt my research in discrete differential geometry related to all these beautiful concepts (the relation to NCG is obvious), but they were just out of my mathematical reach. The last few months have helped a lot, but the road ahead is still long for me :pray:

view this post on Zulip John Baez (Jan 30 2021 at 20:23):

It's startlingly short. Everything I just said is something you know.

view this post on Zulip John Baez (Jan 30 2021 at 20:24):

That is, every mathematical fact I just said is something we've been either been talking about a lot lately, or a trivial observation. (Maybe you didn't notice that the algebra of differential forms is a commutative monoid object in the category of supervector spaces, but if I wrote this out in formulas you'd know all the formulas.)

view this post on Zulip John Baez (Jan 30 2021 at 20:24):

I was just packaging it up in some words.

view this post on Zulip Eric Forgy (Jan 30 2021 at 20:27):

That is encouraging and I'm sure I'll wake up one day and everything will just click and be completely obvious, but I'm still feeling a bit overwhelmed. Until yesterday, I thought tensor product was pushout in Vect\mathbf{Vect} :face_palm:

view this post on Zulip Eric Forgy (Jan 30 2021 at 20:36):

Tensor product is pushout in CAlg\mathbf{CAlg}, but that leap feels a little unsatisfactory to me so I need some meditation. Instead of jumping from
{}
SetCAlg\mathbf{Set\to CAlg}
{}
I might take a detour through
{}
SetVect.\mathbf{Set\to Vect}.

view this post on Zulip John Baez (Jan 30 2021 at 20:43):

Eric Forgy said:

That is encouraging and I'm sure I'll wake up one day and everything will just click and be completely obvious, but I'm still feeling a bit overwhelmed. Until yesterday, I thought tensor product was pushout in Vect\mathbf{Vect} :face_palm:

Oookay.... I guess you never tried an example? It's good to always look at examples.

view this post on Zulip John Baez (Jan 30 2021 at 20:44):

Whenever you think something, you should have some examples hovering in your mind. Abstraction is nice but the human mind is frail.

view this post on Zulip John Baez (Jan 30 2021 at 20:44):

I actually think you will discover that CommAlg\mathsf{CommAlg} is what you want, or more likely CocommCoalg\mathsf{CocommCoalg}.

view this post on Zulip John Baez (Jan 30 2021 at 20:45):

The functor K[]:SetVectK[-]: \mathsf{Set} \to \mathsf{Vect} that you like actually lands in CocommCoalg\mathsf{CocommCoalg}.

view this post on Zulip John Baez (Jan 30 2021 at 20:45):

This follows from the fact that symmetric monoidal functors send cocommutative comonoids to cocommutative comonoids.

view this post on Zulip John Baez (Jan 30 2021 at 20:46):

A cocommutative comonoid in (Set,×)(\mathsf{Set}, \times) is just a set.

A cocommutative comonoid in (Vect,)(\mathsf{Vect}, \otimes) is a cocommutative coalgebra.

K[]:(Set,×)(Vect,)K[-]: (\mathsf{Set}, \times) \to (\mathsf{Vect}, \otimes) is symmetric monoidal.

So, it sends sets to cocommutative coalgebras!

This is following the tao: not doing anything sneaky, just using what's there.

view this post on Zulip Eric Forgy (Jan 30 2021 at 20:46):

Sure. I know I want CAlg\mathbf{CAlg} and I do have examples in mind. My situation is that I already know the bimodule I want to land in and I'm just filling in details. I know it must work at the end of the day, so I am being too sloppy.

view this post on Zulip Eric Forgy (Jan 30 2021 at 20:52):

There is a nice natural progression in terms of concepts:
{}
Cospan(N,+)Bim(N,+)\mathbf{Cospan}(\mathbb{N},+)\cong\mathbf{Bim}(\mathbb{N},+)
{}
Span(Set,×)Bim(Setop,×)\mathbf{Span(Set,\times)\cong Bim(Set^\mathsf{op},\times)}
{}
Cospan(Vect,)Bim(Vect,)\mathbf{Cospan(Vect,\oplus)\cong Bim(Vect,\oplus)}
{}
Cospan(CAlg,)Bim(CAlg,)\mathbf{Cospan(CAlg,\otimes)\cong Bim(CAlg,\otimes)}
{}
I'm trying to tell a nice story. I made a mistake blurring the last two (was anxious).

view this post on Zulip Eric Forgy (Jan 30 2021 at 20:56):

Btw, I defined Cospan(N,+)\mathbf{Cospan}(\mathbb{N},+) here.

view this post on Zulip John Baez (Jan 31 2021 at 17:44):

I agree that the right story should consist of a lot of beautiful functors between a lot of beautiful categories.

view this post on Zulip John Baez (Jan 31 2021 at 17:44):

I still think you're downplaying the importance of cocommutative coalgebras, probably because they're a bit less familiar.

view this post on Zulip John Baez (Jan 31 2021 at 17:46):

But the fact is, if you've got a set SS, the vector space K[S]K[S] is functorially a coalgebra but not an algebra, unless SS is finite.

view this post on Zulip John Baez (Jan 31 2021 at 17:49):

As you mentioned, this is connected to the difference between chains and cochains. If we've got a graph or simplicial set and SS is its set of vertices, K[S]K[S] can be thought of as the vector space of 0-chains on that graph or simplicial set. This is naturally a coalgebra. Its dual K[S]K[S]^\ast, the space of 0-cochains, is naturally an algebra.

view this post on Zulip John Baez (Jan 31 2021 at 17:51):

You may want to check that K[S]K[S] is not an algebra when SS is infinite, if you don't believe me.

view this post on Zulip Eric Forgy (Jan 31 2021 at 22:25):

Thank you for your notes John :pray:

John Baez said:

I still think you're downplaying the importance of cocommutative coalgebras, probably because they're a bit less familiar.

Although it is true I am less familiar with coalgebra, I wouldn't put it like that (I'm not familiar with most of this stuff and that's never stopped me). I'm just progressing painfully slow. My thinking is still along the same lines we discussed, i.e. K[]K[-] gets us closer to chains / coalgebras than cochains / algebras and then I'll look at the dual of chains to get the algebra I'm ultimately after.

Roughly, I have this nice simple bicategory Cospan(N,+)\mathbf{Cospan}(\mathbb{N},+) and a new favorite functor
{}
G:Cospan(N,+)Span(Set,×)G: \mathbf{Cospan}(\mathbb{N},+)\to\mathbf{Span(Set,\times)}
{}
which gives not only the directed graphs and paths we've talked about before in a nice compact fashion, but naturally also gives the adjoint (reversed) graphs and paths
{}
E:VVE^\dagger: V\to V
{}
solving some other riddles I was putting off in the process, which makes me believe I'm on the right path. So now I want to insist all my functors respect adjoints, i.e.
{}
F=F\dagger\circ F = F\circ \dagger
{}
just like those other papers on CT in QM.

Then, from Span(Set,×)\mathbf{Span(Set,\times)}, the next functorial step involving K[]K[-] should give a path (co?)algebra including adjoint / reversed paths. From there, I think I'll finally get the "Diamond complex", which is the main contribution. Diamond complexes are actually defined very similarly to Moore complexes. I was surprised when I stumbled on the definition of Moore complex by how similar the definition is to diamonds. A Moore complex is like a forward facing cone. A diamond is like a combination of a Moore complex and a reversed Moore complex (forming something like a causal set).

Once I've got the diamond complex, the DGA stuff will follow naturally along the lines of the universal differential calculus stuff I was looking at originally, but taking care to carry \dagger along for the ride, which will be used to define an inner product, Hodge star, etc.

This route is harder than the treasure map you outlined. If it ends up reproducing the same thing, that would be pretty awesome. If it ends up producing something new (which I still think is the case), it will be even more awesome :blush:

This, from our paper, is the general roadmap:

image.png

view this post on Zulip Eric Forgy (Jan 31 2021 at 22:30):

I'm getting there a little different than Urs and I did originally. Back then, we postulated \langle\cdot |\cdot\rangle and derived everything. I'm trying to build things up incrementally / functorially so trying to follow an approach more similar to your note:
{}

{}
So, today, I'm actually wondering if the functorial step after Span(Set,×)\mathbf{Span(Set,\times)} should land me in a CC^*-(co)algebra :thinking:

In other words, the metric can be derived from .\dagger.