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.
When I look at the definition of a categorical product, it seems fully symmetric—so much so that I’ve always thought of A × B
and B × A
as just two notations for the same object, like writing 3
vs III
, or {1, 2}
vs {2, 1}
.
But I was just rewatching @Steve Awodey’s great lectures on category theory, specifically lecture 2, where he says:
Then, we can always make a product of two objects A and B like this (
A × B
), and we can make a product of two objects like this (B × A
), the other way around. And now it's easy to show that these two objects are always going to be isomorphic.
This really threw me off. I thought you could always just replace B × A
with A × B
in any statement about products—so the idea of proving they're isomorphic (as if they're different) sounds nonsensical to me. Isn’t that like proving A × B
is isomorphic to A × B
? What am I missing?
The notation only defines an object up to isomorphism, so saying that and are the same object is correct only because you consider them up to isomorphism. Their definition do not coincide exactly, although they are fully symmetric.
Consider the Cartesian product in . If you give a specific construction for the product of and , say , then you clearly don't have that and are the same set (even though the definitions are fully symmetric). However, they both represent the categorical product , as you can show by coming up with the evident projections.
Consider in particular the case . The two maps to are clearly different, respectively mapping to and . Swapping them yields a non-trivial isomorphism , sending to .
The idea of replacing one object in place of the other and has nothing to do with the objects being isomorphic. Strictly speaking, the objects and (in the category of sets for example) are different. So, it does make sense to ask whether there exists a bijection between them.
This attempt at an answer is half for my benefit.
I've been understanding this stuff as a higher dimensional analog to equations. I wouldn't mind feedback on this interpretation from the pros.
Syntactically and are different in terms of what's actually written down, but after removing common factors from via a definite process, we can certify they're "equal".
Determining whether imo, is very similar.
Here, they either are or aren't equal, there are two possibilities. The trick of replacing any occurrence of one with the other, is only possible after we've established their equality.
With unique isomorphisms the situation is very similar. You have two widgets that are different syntactically, but you believe they are "the same". However, your job here is harder, because before you've proven anything - there can be lots of different sorts of arrows between two objects. Unlike equality, there are more than two possible situations.
When you've finally established that there is exactly one arrow, then you can replace by in an expression. There's no ambiguity because implicitly it's clear you applied the one unique isomorphism between the two gadgets.
Without this computation, the reader should expect to be given a morphism to know what to do.
I guess my follow up question for pros: I'm interpreting this question as conflating "definitional equality" with "whatever the notion of arrow your category uses", is that right?
Edit: Instead of unique isomorphisms, Baez has helped me see I should say they're the same up to unique natural isomorphism.
When you've finally established that there is exactly one arrow, then you can replace by in an expression. There's no ambiguity because implicitly it's clear you applied the one unique isomorphism between the two gadgets.
That will work when it works, but usually there is not just one isomorphism between and . For example if and are sets with 5 elements there are 15511210043330985984000000 isomorphisms between and .
So, a more common situation is that you pick an isomorphism between and . This then gives a way to replace any commutative diagram (or other expression) involving with one involving .
More generally: given two objects and in a category, if you choose an isomorphism you can replace with in anything you've been doing with .
In the proof that there is one product up to unique isomorphism, can't you think of the product as a natural isomorphism between and , with and varying over the objects in ? So therefore when we say "there's only one" we mean there's just one converting isomorphism?
So in Set it would be the map ?
Or am I glossing over a key subtlety still?
edit: For future readers, I should've said "Unique up to natural isomorphism"
Whoa, that's a lot of answers. Thank you! Before I address aspects of some of them, I want to share my current understanding.
The product has two projections, and they need to be labeled (e.g. left & right, or 1 & 2), otherwise, as the case makes plain, we don't know which map to follow. This is what distinguishes the two versions.
Alex Kreitzberg said:
In the proof that there is one product up to unique isomorphism, can't you think of the product as a natural isomorphism between and , with and varying over the objects in ? So therefore when we say "there's only one" we mean there's just one converting isomorphism?
Yes, there is just one natural isomorphism from the functor
with
to the functor
with
It is fun to actually prove this!
Ralph Sarkis said:
Consider the Cartesian product in . If you give a specific construction for the product of and , say , then you clearly don't have that and are the same set (even though the definitions are fully symmetric). However, they both represent the categorical product , as you can show by coming up with the evident projections.
The cartesian product for sets is not defined up to isomorphism, so it corresponds only to one particular instance of the categorical product. That is why it is asymmetric. But that asymmetry does not have to translate to the categorical product. In fact, there is no reason to associate more closely with than with .
The cartesian product for sets is not defined up to isomorphism,
What does that mean, and why is it true?
Morgan Rogers (he/him) said:
Consider in particular the case . The two maps to are clearly different, respectively mapping to and . Swapping them yields a non-trivial isomorphism , sending to .
What does stand for in category theory? Generalized elements (i.e. morphisms from a terminal object) of the product?
There are two meanings, one of them is global elements of the product, but there's also the meaning of "ordered pair of elements of ". What exactly stands for in that sense depends on what foundations and surrounding conventions you're using.
John Baez said:
The cartesian product for sets is not defined up to isomorphism,
What does that mean, and why is it true?
is not necessarily the same set as , no? But they are isomorphic.
সায়ন্তন রায় said:
The idea of replacing one object in place of the other and has nothing to do with the objects being isomorphic. Strictly speaking, the objects and (in the category of sets for example) are different. So, it does make sense to ask whether there exists a bijection between them.
I think the objects are defined in exactly the same way, but the definition for the full product is order-dependent, because a product is not just an object, but also two labeled projections.
If you're using ZFC + Global Choice, or if you're using ZFC and secretly working over a skeleton of the category of sets, you can actually arrange a product functor so that as sets, by always making the element of the smaller set in the global ordering on sets/cardinals go first. So you can't absolutely say they are different objects either, only that they are not necessarily the same, other than up to isomorphism.
Stephane Bersier said:
John Baez said:
The cartesian product for sets is not defined up to isomorphism,
What does that mean, and why is it true?
is not necessarily the same set as , no? But they are isomorphic.
They are isomorphic, so we say they are the same up to isomorphism. But you said something is not defined up to isomorphism. Usually we say the cartesian product of sets is defined up to isomorphism. (In fact it's even better than that, but at the very least it's that.) You didn't give an example of how the cartesian product of sets is not defined up to isomorphism - at least, not in my use of those words.
John Baez said:
Stephane Bersier said:
John Baez said:
The cartesian product for sets is not defined up to isomorphism,
What does that mean, and why is it true?
is not necessarily the same set as , no? But they are isomorphic.
They are isomorphic, so we say they are the same up to isomorphism. But you said something is not defined up to isomorphism. Usually we say the cartesian product of sets is defined up to isomorphism. (In fact it's even better than that, but at the very least it's that.)
That makes sense. I was answering in the context of
Ralph Sarkis said:
then you clearly don't have that and are the same set (even though the definitions are fully symmetric).
See also Wikipedia's definition, where the cartesian product of sets is not defined up to isomorphism.
Okay. I'd say they're not equal, given your definition earlier of . I'd say they're the same up to natural isomorphism.
@James Deikun Indeed. I should have said "Strictly speaking, the objects and (in the category of sets for example) are, in general different."
সায়ন্তন রায় said:
James Deikun Indeed. I should have said "Strictly speaking, the objects and (in the category of sets for example) are, in general different."
How are (the definitions for) the objects themselves different? Also, doesn't refer to many objects, all isomorphic? And refer to exactly the same objects, by definition?
Below is a (hopefully correct) definition of the categorical product. The only asymmetry I see is the assignement of different labels to the projections.
Let be a category, and let . A product of and is an object , together with morphisms
satisfying the following universal property:
For every object , and every pair of morphisms
,
there exists a unique morphism
such that
.
@Stephane Bersier I am not sure what you mean. But usually for any sets and , is defined to be the set . According to this definition and are in general not equal.
সায়ন্তন রায় said:
Stephane Bersier I am not sure what you mean. But usually for any sets and , is defined to be the set . According to this definition and are in general not equal.
Yes! The cartesian product for sets, as typically defined in set theory, is order-dependent. But the categorical product is different (see the definition in my previous post), and, in , there is no reason to preferentially associate the object with rather than the set . Both are equally valid product objects, with neither following less directly from the definition than the other.
Now, of course, if we decide to pick a representing object, then the natural convention might be to associate with and with . But this is just a convention, completely separate from the math. The category-theoretic definition, due to being fully abstract, has no such preference.
Note also that the categorical product is more than just an object, contrarily to the set-theoretical product. And I still think that is where the actual distinction between and comes from. If is chosen as the representative object for , then has to pick the second coordinate of each pair, which is less natural, but only in terms of human notation.
Your definition above is also 'order-dependent'. The data of the product contains the ordered tuple . Swapping the order yields the definition of , so strictly speaking, you have two different definitions.
You can definitely come up with a definition that does not care about the order, and I bet it would look very similar to the arbitrary (not necessarily binary) product instantiated for two elements. At that point I would agree with you that saying the product is commutative (or associative) makes no sense because this is inherent to the definition that uses an indexing unordered set .
Ralph Sarkis said:
Your definition above is also 'order-dependent'. The data of the product contains the ordered tuple . Swapping the order yields the definition of , so strictly speaking, you have two different definitions.
Yes. But it's order-dependent only in the projection labels (and a product object doesn't "see" these labels). That's the part I was missing when I started this thread. But thanks to @Morgan Rogers (he/him) 's answer, I realized the importance of the labels.
So represents any object that can be equipped with the tuple that satisfies the universal property while represents any object that can be equipped with the tuple that satisfies the universal property.
Showing that then amounts to constructing an isomorphism between any two objects represented by and respectively. One usually shows this by proving that if can be equipped with a tuple satisfying the universal property of , then it can also be equipped with a tuple satisfying the universal property of , then relying on the fact that a universal property defines an object up to isomorphism.
Those two definitions are exactly the same, since neither order in the tuples nor the projection names are relevant to the definition of the object, and the universal property is symmetric. If you translated these into some "abstract syntax" of mathematics, they would be indistinguishable.
Let's rewrite each definition step-by-step. First, let's replace the tuples by conjunctions:
Now, by "alpha equivalence", we can rename the morphisms in the definition:
By commutativity of "and", we can rewrite them as
And now we can see they are really the same definition. We don't need any categorical arguments to come to this conclusion. But again, I do not think that is the same as , because a product is not just an object, but also two labeled projections.
@Stephane Bersier I'm not quite sure what you're still trying to figure out, but it might help to point out the indefinite article "a" in the definition. There can be multiple structures in a given category that satisfy the definition. Any category-theoretic notion that is invariant under equivalence will be unable to distinguish between different choices, but the notion of object itself is not equivalence-invariant, so it is coherent not to identify different choices, and sometimes genuinely desirable not to.
I guess to clarify my understanding of your thoughts further, in Set do you think there are two different notions of product?
The usual one and the categorical one ?
So we have but ?
Alex Kreitzberg said:
I guess to clarify my understanding of your thoughts further, in Set do you think there are two different notions of product?
The category only has one notion of product, as given by category theory (see the definition I gave above). However, in set theory, there are multiple ways to define the cartesian product of two sets. They each correspond to particular objects of , and are all isomorphic to each other, and each satisfies the universal property of the categorical product.
Does that make sense?
Morgan Rogers (he/him) said:
Stephane Bersier I'm not quite sure what you're still trying to figure out
My initial understanding of the definition of the categorical product was off. This is what lead me to start this thread. Early answers like yours helped me correct my understanding, I believe. Since then, I have been engaged in several sub-conversations related to this topic. I think my current understanding is correct, but who knows? I'm open to being proven wrong. So I'm not really trying to figure anything out anymore, but rather hoping to ideally converge towards a shared understanding with those I am conversing.
There can be multiple structures in a given category that satisfy the definition. Any category-theoretic notion that is invariant under equivalence will be unable to distinguish between different choices, but the notion of object itself is not equivalence-invariant, so it is coherent not to identify different choices, and sometimes genuinely desirable not to.
Yes, I understand this part. I also understand that the categoric definition of product does not make any choice for us.
Stephane Bersier said:
- represents any object that can be equipped with the tuple that satisfies the universal property.
- represents any object that can be equipped with the tuple that satisfies the universal property.
No, I think that is wrong. I would say that represents any object that has been equipped with such a tuple, and similarly. In other words, when we use the notation we have implicitly chosen two such projections. And having chosen projections in one order is different from having chosen projections in the other order.
Mike Shulman said:
Stephane Bersier said:
- represents any object that can be equipped with the tuple that satisfies the universal property.
- represents any object that can be equipped with the tuple that satisfies the universal property.
No, I think that is wrong. I would say that represents any object that has been equipped with such a tuple, and similarly. In other words, when we use the notation we have implicitly chosen two such projections. And having chosen projections in one order is different from having chosen projections in the other order.
Yes, I agree (see what I wrote at the bottom of that post)! I was replying to @Ralph Sarkis , and only focusing on the object part of the definition.