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.
Let us assume we know of two morphisms , in a category that has binary products. In this setting, there are some morphisms to from that must exist, because of the fact that is a product. How many of these are there?
For a specific example, in the category of sets, consider with and for each . Then we get four functions from to . Namely, the ones that act like this: , , , and .
Returning to the category , we have a function where denotes the set of morphisms from to (so I am assuming is locally small). As illustrated in the "morphism to product" figure, this function takes in two morphisms from to , and provides the unique morphism that makes the above diagram commute (and such a morphism exists and is unique because together with and is a product of and ).
If we start with two morphisms from to , do we always get four distinct morphisms from to using , as we did in the example above in the category of sets? More generally, I'm wondering if the function is injective, so that we always get different morphisms from to when we specify different pairs of morphisms from to .
The universal property of the product says precisely that this function is a bijection.
Ralph Sarkis said:
The universal property of the product says precisely that this function is a bijection.
(so in particular, it is injective, just to spell it out)
I thought I knew what a "universal property" was, but apparently I do not! Thank-you for pointing me in the right direction. It looks like this nlab page will be helpful.
I will see if I can figure this out based on this hint :smile: .
If you like to understand things from a more general/abstract point of view, you can try to prove that the Hom functors are continuous (the proof on the nlab can seem a bit opaque).
Here's a common shorthand way of stating the universal property for product:
"A morphism from A to X Y is the same as a morphism from A to X and and morphism from A to Y."
This is shorthand for saying there's a natural isomorphism
And that, in turn, is shorthand for stating how the product has a universal property such that for any pair of morphisms , , there exists a unique morphism such that... blah-di-blah-di-blah.
The "blah-di-blah-di-blah" is important but we often don't want to say it all, so we often use these shorter formulations.
The shorter formulations are weaker, in that they follow from the precise one. But you have to do a little work to see why!
Also, to understand the first, shortest formulation I gave, you need to understand what category theorists mean by "the same as". It doesn't always mean "equal"!
In this case it means there's a natural bijection.
Thanks for your responses! I'm currently working on wrapping my head around how we get from a universal property (in terms of representability of a functor) to a limit/colimit description of a representing object. I'll try to answer my question above using this once I get a bit further in understanding this.
This thread has been great - I've wanted to understand some of this stuff for a while, and having a specific example has been really helpful.
I think I now understand the following example: in the category of sets, if there exists some object so that then is forced to satisfy the diagram that means it is a product of and . So if then . It was very cool to see how this is required by starting with the natural isomorphism diagram between and .
However, I think what I'm asking in this thread actually involves going in the other direction: In a category , if , then is ?
Maybe now that I have a little practice with related ideas, I can figure out how to construct a natural isomorphism from the fact that is a product.
David Egolf said:
However, I think what I'm asking in this thread actually involves going in the other direction: In a category , if , then is ?
This is true, and it feels easier to me than the implication in the other direction!
The reason is that if I can use the definition of to get a morphism from to from a pair of morphisms , , and also vice versa. This is what the universal property definition of does.
So we just need to check that the resulting bijection is actually natural, and that feels like a "follow your nose" argument.
John Baez said:
The reason is that if I can use the definition of to get a morphism from to from a pair of morphisms , , and also vice versa. This is what the universal property definition of does.
I think there is at least one typo here, and I'm getting confused staring at this. I'm pretty sure you mean to start by assuming that , unless I'm missing something?
John Baez said:
So we just need to check that the resulting bijection is actually natural, and that feels like a "follow your nose" argument.
I'm a bit stuck on showing that there is a bijection at all. Here's what I've got so far:
If is a product of and we have this diagram:
product
Given a choice of an object in , then because together with and is a product of and , for each pair there is a unique morphism that makes this diagram commute. So, given a pair of morphisms in we get a unique morphism in that makes this diagram commute. That means that is a function from to . We want to show this function is a bijection.
For any , we can compose with and to get and . If we set and to be these composed morphisms, then the diagram commutes.
So, for any there is an element so that . That means that is a surjective function.
It remains to show that is an injective function, and that is where I'm stuck.
If both , then makes the diagram above commute, so you can find what and are.
David Egolf said:
John Baez said:
The reason is that if I can use the definition of to get a morphism from to from a pair of morphisms , , and also vice versa. This is what the universal property definition of does.
I think there is at least one typo here, and I'm getting confused staring at this. I'm pretty sure you mean to start by assuming that , unless I'm missing something?
Ugh, yes there are lots of typos there.
But please read what I mean, not what I wrote! :upside_down:
I meant:
The reason is that if I can use the definition of to get a morphism from to from a pair of morphisms , , and also vice versa. This is what the universal property definition of does.
It remains to show that is an injective function, and that is where I'm stuck.
There are always two ways to attempt to show a function is bijective: the noble way and the ignoble way. The noble way is to construct an inverse. The ignoble way is to show it's injective and surjective. I recommend always starting with the noble way, and resorting to the ignoble way only if the noble way fails.
The noble way is noble because it's a general fact about categories that "an isomorphism is a morphism with an inverse".
The ignoble way is ignoble because it's a very special fact about the category Set that "an isomorphism is an epimorphism that's also a monomorphism". This fails in most categories.
So, it's kind of shocking to me that you first tried the ignoble way.
This is probably because instead of "isomorphism" you were saying "bijection", and thinking "one-to-one and onto".
Here's another way to see why the noble way is nicer: it's simpler!
Compare:
A function is an isomorphism if there's a function such that and
to
A function is an isomorphism if for every there exists such that and for every if then .
The second one is more complicated.
Ralph Sarkis said:
If both , then makes the diagram above commute, so you can find what and are.
This hint was a great help for figuring out how to show that is injective. Assume that . Then , and similarly , because of the diagram that is required to commute (see above). In addition, because , then . So . Using , we can similarly show that . So if , then . We conclude that is injective. We already saw that it is surjective, so it is bijective.
(deleted)
John Baez said:
The noble way is noble because it's a general fact about categories that "an isomorphism is a morphism with an inverse".
This does have its appeal! The simplicity you mention is also appealing.
It sounds fun to show that is an isomorphism by finding an inverse for it. It will be interesting to see how that approach compares to showing is injective and surjective.
We recall that maps from , where together with and is a product of and . Let be a proposed inverse, with acting by for each .
Computing , we get . Because the diagram commutes, and . So, we find that for each . That means is the identity morphisms on .
Computing , we get . We need a morphism in so that the diagram commutes with these morphisms to and . I think does it, so that . That means is the identity morphisms on .
So, is an inverse of , and so is an isomorphism (and hence a bijection).
This more general approach felt easier, but it's hard to make a fair comparison when I'd warmed up by doing the other method first. :upside_down: I do like how this approach uses an argument pattern that is less specific to , though!
Great! Actually, after further thought, this is how I'd try to make everything as simple as possible. The product comes with projections
and
so any morphism
gives a pair of morphisms
I have just described a map
sending to the pair .
Now: the universal property of the product says this map is a bijection.
That is - saying the exact same thing more slowly - given any pair of maps , there exists a unique such that
So, this bijectiveness of the map
that I described is the universal property of the product!
John Baez said:
So, this bijectiveness of the map
that I described is the universal property of the product!
Oh, that is a nice way to put it! It is interesting that the injectivity and surjectivity become easier to see from the product diagram when we work with the inverse of .
Yeah, I think it's important that the inverse of the map you're calling !, not ! itself, is the really obvious map.
This is a general fact about limits and colimits: the universal property says that some "obvious map" has an inverse.