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.
I have seen several examples of forgetful functors that are representable. For example, consider the forgetful functor that sends each group to its underlying set, and each group homomorphism to its underlying function. As noted in Riehl's "Category Theory in Context", this functor is represented by the group of integers under addition; so . There are also several other examples of representable forgetful functors in the same book.
However, I don't currently know of any examples of "free functors" that are representable. Intuitively, a free functor is one that "freely adds in" structure, often mapping from to a category of sets with additional structure.
I tried to describe what I meant by a free functor more concretely in an earlier version of this post. However, I have since realized that I don't yet have a precise idea of what a "free functor" is! Hopefully the rough intent of this question is somewhat clear, despite this: Are there any representable free functors? (And if so, what are some examples?)
Well, are there any functors that feel “free” to you that land in Set? Tough to be representable with that! (Although there may be more to say in that direction…)
There is the identity functor on sets...
A "free functor" is left adjoint to a "forgetful functor", but what does "forgetful" mean exactly? What is being forgotten? There is a point of view where pretty much any functor can be regarded as forgetting something (even if that something is "nothing", as in the identity functor). See stuff, structure, property for some in-depth thinking on this topic.
Kevin Arlin said:
Well, are there any functors that feel “free” to you that land in Set? Tough to be representable with that! (Although there may be more to say in that direction…)
Ah, that's a good point. I had forgotten that representable functors always map to ...
However, I'd be willing to consider working in a -enriched category, so that representable functors wouldn't need to map to , but would instead map to .
The intuition I have in mind is that possibly the morphisms between objects in some case could be more "structured" than the objects themselves (e.g. maybe in some category the morphisms from to assemble into a vector space, but and are simpler objects than vector spaces).
@Todd Trimble also makes a good point - what is "free" depends strongly on what we consider to be "forgetful". Thanks for linking to that nlab article talking about how functors can forget different amounts/kinds of things! Hopefully someday relatively soon I'll work on understanding the concept of "stuff, structure, and properties" - but there are so many interesting things to learn, and so this may take me a while.
@David Egolf it's worth noting that (covariant) representable functors preserve all limits - can you see why? That means that as soon as the hypotheses of one of the Adjoint Functor Theorems are satisfied by your categories that they will be right adjoints. As such, unless a free functor has a further left adjoint, it is unlikely to be representable.
David Egolf said:
I have seen several examples of forgetful functors that are representable. For example, consider the forgetful functor that sends each group to its underlying set, and each group homomorphism to its underlying function. As noted in Riehl's "Category Theory in Context", this functor is represented by the group of integers under addition; so .
A lot of forgetful functors are right adjoints, like the one you mentioned. Did you notice that every right adjoint is representable?
In the example you mentioned it's representable by , where is the left adjoint of . Did you notice that every right adjoint is representable by ?
If don't already know this, you might enjoy showing it. The proof is just a two line computation using the definitions of "representable", "left adjoint", "right adjoint", and the special feature of the set : for any set ,
I learned this very late in life, from @Todd Trimble. It explains a lot of things.
Ha, what a nice little fact!
We used the 2-categorical analogue of this in our paper on 2-rigs to show that the forgetful functor from 2-rigs to categories is represented by the free 2-rig on one object. It doesn't matter what a 2-rig is: all that matters is that you have a right adjoint 2-functor from the 2-category of them to .
There's also a version of this for categories enriched over any closed symmetric monoidal category , since in any such category where is the unit object and is the internal-hom, which is the enriched hom in the canonical self-enrichment of .
Thanks again for all your excellent answers! It will take me some time to properly read them and respond, but I hope to do so. (I have some catching up to do in some other threads too, so I should probably try and restrain myself from asking even more questions for now!)
Morgan Rogers (he/him) said:
David Egolf it's worth noting that (covariant) representable functors preserve all limits - can you see why?
This is actually something I've been wanting to understand for a while now! I'm currently working on doing some exercises relating to preservation of limits (currently in Riehl), to try and expand my toolbox relating to this.
So I suppose the answer to "can you see why?" is: "not yet, but I hope to relatively soon!"
As for the "can you see why?", I might suggest closing the books and thinking through, from first principles, why representable functors preserve binary products, and similarly preserve terminal objects. The case for general limits is an extrapolation that is not too extravagant.
Yes, you don't really need tools to prove that representable functors preserve limits: it sort of falls out from the definitions. Even I can do it, and I never remember any of those tools. Todd is right: start with binary products and just write down what it means that representable functors preserve those.
Todd Trimble said:
As for the "can you see why?", I might suggest closing the books and thinking through, from first principles, why representable functors preserve binary products, and similarly preserve terminal objects. The case for general limits is an extrapolation that is not too extravagant.
Thanks for the suggestion! It's helpful to have something specific to try.
Let us assume we have a functor that sends a morphism to the morphism , where .
To show that preserves products, we want to show that .
However, seems to follow immediately from the universal property for products. (I'm not sure if expanding in more detail here would be helpful).
So, since is a product, we conclude that , for any . We conclude that any functor of the form preserves products.
Now let us assume we have a functor so that for some . Then , because . But we saw already that . By transitivity of "being isomorphic", we conclude that .
I would like to note that and and conclude that . I think this is probably true: that replacing objects with isomorphic objects should only impact the result of taking the product up to isomorphism. I'm not immediately seeing how to prove this though.
If we assume that and implies that , then we have that , and so preserves products. Under this assumption, we conclude that any covariant representable functor preserves products.
Two things that might warrant some future thought:
For the first question, yes we can and should: the definition of " preserves (binary) products" is that if is a product cone then is a product cone as well. Checking that more concrete condition may help you to avoid saying "well, this sure seems obvious" rather than just writing things down, though indeed it ought to eventually seem obvious!
The second question is slightly subtle. Naturally isomorphic diagrams have isomorphic limits, and this is an important result to know eventually but maybe not to prove today; you might like to check directly that isomorphic product diagrams have isomorphic products, since the diagram for a product is just a pair of objects and an isomorphism between such diagrams is just a pair of isomorphisms. That handles both the result I stated and the result you stated in this case. For the result you stated in general, you would want to show that if I have a diagram with some value and an object with an isomorphism then there's a natural isomorphism with Then you could apply the result I stated. This is not really an important result at this stage, nor hard to prove once you're quite comfortable working with arbitrary diagrams and their natural isomorphisms, although it's good that you noticed it's not vacuous! It becomes more interesting much further down the road when you find you want to know the word "cofibration".
David Egolf said:
- Can I see why (or if) switching out isomorphic objects in a diagram will only impact the limit of that diagram up to isomorphism?
Here's a very boots-on-the-ground approach:
Let's stick with products as a toy example. Say we have isomorphisms and . We want to build an isomorphism . I'll tell you that the trick is to leverage the uniqueness of the universal property!
To get used to reading proofs that say nothing more than "the following diagram commutes", I'll say exactly that! Do you see how to flesh this out into a proof?
Screenshot-2023-09-29-at-10.32.50-AM.png
I'll also say that there's a fancier approach, which shows why people care about the "functor of points" methodology. Notice that the representables and are naturally isomorphic (do you see why? Here we're just working with a family of bijections of sets!). But now Yoneda tells us that and must have been isomorphic to start with!
Hopefully it's clear that this is cleaner than having to draw the diagrams like the previous proof I outlined, especially when we start working with more complicated limits.
let me just note though (because I am That Finnicky Person™) that you often don't just want , you want them to be isomorphic as products, ie. that the product structure as well is respected by this isomorphism. With the above method on representables, it's easy to check, but it is not optional. This is similar to the usual warning that continuous functors have to respect the whole limit cones, not just their tips. Once you start working with objects with additional structure (of which the products are an example), you always want to consider the whole thing, and not just the object.
Kevin Arlin said:
For the first question, yes we can and should: the definition of " preserves (binary) products" is that if is a product cone then is a product cone as well.
Let me see how far I can get... To make things easier, I'll consider the special case where our representable functor is of the form for some object . Hopefully the resulting argument can then be transferred to the more general case where we only know that for some .
We start out with a product cone and in :
product cone
We now apply our functor to this cone, and introduce a test cone :
test cone and image of product cone
To show that this is a product cone in we need to show that for each , , and there is a unique so that and .
We make use of the fact that we are in , and so we have elements available to us. If the equations and are to hold, that implies that for each element we must have:
We can draw a diagram illustrating these equations:
equations at x
Because is a product of and in , there is a unique that makes this diagram commute.
So, we conclude that for each , a unique value for exists so that these equations hold:
Since we can do this for any , we find that there is a unique that makes these equations hold:
We conclude that the image of the product cone under the functor is also a product cone. So, preserves binary products.
It remains to show that if for some , then also preserves binary products. But before thinking about this, I want to read some of the other comments above that talk about this sort of thing!
Ultimately one gets use to the fact that if one uses "non-evil" definitions, i.e. definitions that involve isomorphisms between objects, perhaps obeying some equations, rather than equations between objects, everything one does with them is invariant under isomorphisms in the way you'd want. E.g. a functor naturally isomorphic to one that preserves products again preserves products. But I guess it's important to sweat over these facts for a while, and then get used to the idea, and then learn some general results along these lines, and then maybe use a formalism like homotopy type theory where it's all automatic.
I'm wondering if there was a faster way to do the above.
as objects in , using the universal property of . Then, I wonder if we can argue something (roughly!) along these lines: is the apex for a limit over the discrete diagram with and , and since , I think should also be the apex for a limit over the discrete diagram formed by and .
I guess the intuition I have is this: if is an apex for a limit over a diagram and as objects, then is (I hope) also an apex for a limit over . But I would need to prove this!
Probably my plan to prove this would be to create a cone under by starting with the limit cone under . To do this, I would use the isomorphism between and to convert this cone to one under - morphism by morphism. Then I would check to see if our isomorphism between objects extends to an isomorphism between the two cones we now have under these objects.
David Egolf said:
I guess the intuition I have is this: if is an apex for a limit over a diagram and as objects, then is (I hope) also an apex for a limit over . But I would need to prove this!
Probably my plan to prove this would be to create a cone under by starting with the limit cone under . To do this, I would use the isomorphism between and to convert this cone to one under - morphism by morphism. Then I would check to see if our isomorphism between objects extends to an isomorphism between the two cones we now have under these objects.
Yes, all this works. If you do a concrete example of a limit, say a pullback, you can just draw everything you're talking about here (the diagram, a cone over it with apex , an isomorphism between and , etc.) you can see how it works. The case of a general limit is harder because you can't draw a "general diagram", so you have to reason more abstractly. But personally I'm so lazy that I often draw a concrete example and then leave it at that.
John Baez said:
But I guess it's important to sweat over these facts for a while, and then get used to the idea, and then learn some general results along these lines, and then maybe use a formalism like homotopy type theory where it's all automatic.
Of course, once homotopy type theory takes over the world, the progression will be reversed. (-:O
David Egolf said:
I'm wondering if there was a faster way to do the above.
as objects in , using the universal property of . Then, I wonder if we can argue something (roughly!) along these lines: is the apex for a limit over the discrete diagram with and , and since , I think should also be the apex for a limit over the discrete diagram formed by and .
I guess the intuition I have is this: if is an apex for a limit over a diagram and as objects, then is (I hope) also an apex for a limit over . But I would need to prove this!
Probably my plan to prove this would be to create a cone under by starting with the limit cone under . To do this, I would use the isomorphism between and to convert this cone to one under - morphism by morphism. Then I would check to see if our isomorphism between objects extends to an isomorphism between the two cones we now have under these objects.
The crucial thing to remember is that is supposed to be natural in . In fact, the very definition of product in a category can be derived directly by supposing given such a natural transformation. Hint: use the Yoneda lemma, applied to natural transformations coming out of !!
If you work through this, then preserves products , precisely by the definition suggested bt the last paragraph.
Chris Grossack (they/them) said:
David Egolf said:
- Can I see why (or if) switching out isomorphic objects in a diagram will only impact the limit of that diagram up to isomorphism?
Here's a very boots-on-the-ground approach:
Let's stick with products as a toy example. Say we have isomorphisms and . We want to build an isomorphism . I'll tell you that the trick is to leverage the uniqueness of the universal property!
To get used to reading proofs that say nothing more than "the following diagram commutes", I'll say exactly that! Do you see how to flesh this out into a proof?
Thanks for explaining this! Below, I try to flesh out the diagram to a proof.
We have and and we wish to show . In the diagram, we first use the universal property of products to induce a unique morphism from to by using the maps and . This is the unique morphism so that and . So the upper two squares in the diagram commute if is the upper dashed morphism.
We next similarly induce a morphism from so that the lower two squares in the diagram commute. Consequently, the outer square in the diagram commutes. That means that is the unique morphism from such that and . The morphism satisfies these two equations, and since the morphism induced by the universal property of products is unique, we conclude that .
We could then repeat the entire argument with the top and bottom halves of the diagram interchanged, and conclude that . We conclude that is an isomorphism, so that and are isomorphic as objects.
Chris Grossack (they/them) said:
I'll also say that there's a fancier approach, which shows why people care about the "functor of points" methodology. Notice that the representables and are naturally isomorphic (do you see why? Here we're just working with a family of bijections of sets!). But now Yoneda tells us that and must have been isomorphic to start with!
Having a way to think about this that doesn't involve drawing huge diagrams sounds very helpful. Below, I try to use this approach to prove that if and then as objects.
Our strategy is to first show that and then use the fact (a corollary of the Yoneda lemma) that this is true exactly if . To show that we apply both functors to a morphism in , and consider the following naturality square:
naturality square
We want to find isomorphisms and so that this square commutes for any choice of and . Focusing on the left side, given a morphism , we wish to find a canonical corresponding morphism . To induce a morphism to a product , we need to first find a morphism to and a morphism to . Our morphism induces a morphism and a morphism (by the universal property of products). We already have isomorphisms and . Composing, we get and . Using the universal property of products, this induces a morphism from to .
We can visualize the situation so far in this diagram:
induced morphism from X to A' x B'
So, we have taken a morphism and produced a morphism . We guess that should be the function that does this, for each . It remains to show that is a isomorphism (a bijection) and that the this makes the naturality square commute.
I'm not quite sure how to do this, and I need to take a break, so I'll stop here (for now, at least). I'm not sure if this is a good way to go about this... it seems a bit complicated!
I'll say here what I meant to suggest and should have really said back here. People, including me, keep harping on the fundamental importance of the Yoneda lemma, but for me it's not necessarily just the statement and conclusion of the Yoneda lemma that is important to keep in mind, but the actual proof. What I am suggesting is that it can be illuminating to run the proof of the Yoneda lemma through specific examples, and see what it tells us.
To say it quickly: the proof of the Yoneda lemma indicates that a natural transformation is uniquely determined by what it does to the identity element , i.e., by the element . Let me abbreviate that element to . The remainder of the natural transformation is then, by naturality, forced. If it were me teaching category theory to a student one-on-one, then I would get the student to close the book and figure out how this works from scratch, but we can give the formula for in terms of here: for an object , the component is forced to be defined by the formula , where is an element of .
Now, suppose we define a product of objects and in a category to be any representing object for the functor . This means an object (traditionally denoted ) equipped with a natural isomorphism
.
Exercise: run the proof of the Yoneda lemma through this definition, and retrieve in this way the usual definition of product and its universal property. If you carry out the exercise, then preservation of products by covariant representables will pop out from how the definitions are set up from this procedure.
The moral is that it's the proof of the Yoneda lemma which unites the concept of representability with the concept of universal property. The element above is called a universal element. This was the first really big lesson I learned in category theory many years ago, when I was first learning it from Mac Lane's book, and it is marvelous to me still.
Mike Shulman said:
John Baez said:
But I guess it's important to sweat over these facts for a while, and then get used to the idea, and then learn some general results along these lines, and then maybe use a formalism like homotopy type theory where it's all automatic.
Of course, once homotopy type theory takes over the world, the progression will be reversed. (-:O
But surely the path going from "not checking details" to "checking details" then back is homotopic to the constant path at "not checking details"
Todd Trimble said:
I'll say here what I meant to suggest and should have really said back here. People, including me, keep harping on the fundamental importance of the Yoneda lemma, but for me it's not necessarily just the statement and conclusion of the Yoneda lemma that is important to keep in mind, but the actual proof. What I am suggesting is that it can be illuminating to run the proof of the Yoneda lemma through specific examples, and see what it tells us.
The moral is that it's the proof of the Yoneda lemma which unites the concept of representability with the concept of universal property. The element above is called a universal element. This was the first really big lesson I learned in category theory many years ago, when I was first learning it from Mac Lane's book, and it is marvelous to me still.
I've had a vague idea that the Yoneda lemma, representable functors, and universal properties all fit together somehow, but I've never understood it. Thanks for suggesting a specific exercise to help with fitting these pieces together. I'll plan to give it a try!
Todd Trimble said:
To say it quickly: the proof of the Yoneda lemma indicates that a natural transformation is uniquely determined by what it does to the identity element , i.e., by the element . Let me abbreviate that element to . The remainder of the natural transformation is then, by naturality, forced. If it were me teaching category theory to a student one-on-one, then I would get the student to close the book and figure out how this works from scratch, but we can give the formula for in terms of here: for an object , the component is forced to be defined by the formula , where is an element of .
I review how this works below, to refresh my memory. (I will use the notation to mean the same thing as ).
Consider a natural transformation for . We apply each functor to a morphism in . I will write to mean the corresponding morphism in , so .
We get the following naturality square:
naturality square
Here, refers to precomposition. So .
For this square to commute, it must in particular commute for each element of . We pick and trace it around the diagram. We find that . Setting , and using , we obtain . This argument works similarly for any and , so that the entire natural transformation is forced once we set .
Todd Trimble said:
Now, suppose we define a product of objects and in a category to be any representing object for the functor . This means an object (traditionally denoted ) equipped with a natural isomorphism
.
Exercise: run the proof of the Yoneda lemma through this definition, and retrieve in this way the usual definition of product and its universal property. If you carry out the exercise, then preservation of products by covariant representables will pop out from how the definitions are set up from this procedure.
Huh! Defining a product in terms of a representing object for a functor is quite interesting! I need to take a break now, but I will plan to try and apply the proof of the Yoneda lemma to the definition for induced by . It would be very cool to see the usual definition of product (with its universal property) emerge from this.
There is one more tiny thing that should be settled before we take leave of your run-through of the proof of the Yoneda lemma here. You certainly did should that a natural transformation is uniquely determined by the element , so that the assignment is injective. One should also show that it is surjective, i.e., that any element gives rise to a natural transformation by this formula. This will necessitate consideration of general morphisms .
Of course "did should" "did show".
Todd Trimble said:
There is one more tiny thing that should be settled before we take leave of your run-through of the proof of the Yoneda lemma here. You certainly did should that a natural transformation is uniquely determined by the element , so that the assignment is injective. One should also show that it is surjective, i.e., that any element gives rise to a natural transformation by this formula. This will necessitate consideration of general morphisms .
Thanks for pointing this out! I don't think I had understood this part of the Yoneda lemma proof before.
We have a function that sends any natural transformation to . Above, we saw this: if is a natural transformation, then its value for determines all the other data for . So, if for , then . Thus, is an injective function.
However, we wish to show that is a bijection. To do this, we next show that is surjective. To show it is surjective, we pick an arbitrary element of and show there is some so that . The condition implies that . We saw earlier that specifying this information forces by naturality for any and any . It remains to show that the data defined in this manner actually constitutes a natural transformation when is an arbitrarily chosen element of .
To show that this is a natural transforation, we seek to show that an arbitrary naturality square for it commutes. We obtain the following naturality square by evaluating and on the morphism (I use to denote the corresponding morphism in ):
naturality square
Here, refers to the function that precomposes before an input morphism , so .
To show this square commutes, we evaluate the "bottom left" and "top right" paths around the square at an arbitrary element .
For the bottom left path, we get:
For the top right path, we get:
By definition of , .
So, .
Using functoriality of :
.
We conclude that this arbitrary naturality square commutes, and so really is a natural transformation.
That means that our function acting by is not only injective, but also surjective: for any , there exists an so that .
So, we have an isomorphism in .
That would get a big check mark from my red pen. :grinning:
I want to return to this for a bit, because these concepts are important and they keep coming up when I try to understand other things!
What I want to understand:
Where I'm at currently:
I currently use this definition for a limit of a diagram:
A limit of a diagram in is an object together with a natural isomorphism . (I'm following Riehl's "Category Theory in Context", page 75).
I know that, by the Yoneda lemma, a natural isomorphism uniquely specifies (and is specified by) a particular element of . This special element is . I think this is the "universal cone" associated with a limit.
Todd Trimble said:
Exercise: run the proof of the Yoneda lemma through this definition, and retrieve in this way the usual definition of product and its universal property. If you carry out the exercise, then preservation of products by covariant representables will pop out from how the definitions are set up from this procedure.
The exercise described in this quote is what I would like to do next.
However, to do this, I think I first need to state what it means for a functor to preserve a limit. In particular, I want to do this using my current definition for a limit, in terms of a natural isomorphism from a representable functor to the cone functor.
So, let us assume we have a functor . And let us assume we have a diagram that has a limit in . The limit of is described by the following data:
I decree that "preserves the limit" for the diagram . But what does that mean, exactly? Given our diagram , we can get a corresponding diagram in . I think the idea is that:
To describe the limit of , we'll need two pieces of data:
It seems reasonable to guess that .
It remains to form a guess for using and .
So, we are looking for a natural isomorphism .
Let's consider some component of this, .
This is a bijective function that takes a morphism and produces a cone with apex over the diagram .
What is a cone over with apex ? Part of the data of such a cone is a bunch of "leg" functions where is an object in the category that determines the shape of our diagrams.
I want to somehow build these "leg" functions from analogous ones in , using the fact that we have a limit for the diagram in and that preserves this limit. But I'm not quite seeing how to do this yet.
Oh! Maybe I can use the Yoneda lemma, and note that our natural isomorphism is determined by . So, I should probably pay special attention to that element in . I strongly suspect that this special element will be the image of the cone under the functor !
(Apologies for the multiple messages: I have to split things up so that zulip can render the math).
So, my guess is this: we say that preserves a limit for the diagram when the following holds.
Assume that an original limit of is determined by this data:
Then we have a limit for in , determined by this data:
I'll take a break now, but maybe I'll next investigate if this guess matches with the real definition.
Okay, I'll play it back starting from the end of what you write. So we start from a limit cone for , with the limit placed at the apex, and cone components indexed by objects of . (I'm not seeing right away what notation you are using for these, but I'll just name them .) Then we can apply to that, to get a cone with apex and components .
As you point out, this corresponds, via Yoneda, to a map . So far, we haven't used anything about except that is is a functor.
Definition: preserves the limit of , with limit cone , if the cone is a limit cone for .
This is the same as saying that the map is an isomorphism. Or, in other language, that the functor is representable by the object .
Great! I think that matches with the guess I gave above! Now that I better understand what it means to preserve a limit, I can try and do this:
Todd Trimble said:
Exercise: run the proof of the Yoneda lemma through this definition, and retrieve in this way the usual definition of product and its universal property. If you carry out the exercise, then preservation of products by covariant representables will pop out from how the definitions are set up from this procedure.
So that's next in my plan for figuring this stuff out. I hope to work on it in the next few days.
Yeah, that's what I got from what you wrote, so you're on the right track and making progress!
Starting on the exercise, the first thing is to take the following as the definition of a product for two objects and :
Before accepting this definition, I want to show that it is equivalent to the one I've been using most recently. To do that, I want to show that is naturally isomorphic to , where is the discrete diagram on the two objects and .
To see that these two functors are naturally isomorphic, we check that any naturality square commutes. Evaluating each functor on in (which has a corresponding morphism in ), we get:
naturality square
A cone with apex over is a natural transformation , where is the functor constant at . This natural transformation has two components, which I'll call and . We can then set to act as follows: . This function I believe is a bijection from to , as it is injective and surjective.
It remains to show the square commutes. Let be an element of . Next we compute . Note that is the natural transformation having components and . So .
Going the other way around the square, we compute . We conclude that the square commutes, and so .
Now we are in business, hopefully. Assume we have a product for and . We take this to mean that we have:
The first part of the proof of the Yoneda lemma (specialized to this case) involves showing that once we set then all the rest of the definition of is forced.
We evaluate each functor involved here on the morphism (with corresponding morphism in ):
Tracking around the diagram, we learn that for the diagram to commute we must have , where . And this is true for any , so that all of the definition of is forced once we define .
So far, I'm not seeing how this helps us conclude that products are preserved by covariant representables. But I will press on to the second part of the proof!
We next pick an arbitrary element of and show that this induces a natural transformation . To do this, we set . By the first part of the proof of the Yoneda lemma, we know that this forces the definition of all the other components of (if is to be a natural transformation). But it remains to show that the resulting structure is actually a natural transformation.
Here is an arbitrary naturality square, for a morphism in :
naturality square
We track an element around the diagram to demonstrate commutativity.
Taking the bottom left path, we get:
Taking the top right path, we get:
We conclude that the square commutes, and so setting uniquely induces a natural transformation .
Hmm. I seem to arrived at the end of the proof of the Yoneda lemma (specialized to a particular case), and I do not feel like I better understand why products are preserved by covariant representables. I'll take a break and see if I can come back and look at this with a fresh perspective!
Ah, I haven't done this part yet "retrieve in this way the usual definition of product and its universal property". Maybe that's what I'm missing!
I think I've figured some things out!
We start with a common definition for a product of and :
product diagram
Referencing this picture, we need the following data to have a product of and :
And this additional condition needs to hold:
Now, any cone over with apex actually defines a natural transformation from to . That is because the Yoneda lemma tells us that any element of uniquely determines a natural transformation from to . This natural transformation is determined by setting to be .
So, the additional condition that the limit cone satisfies does not correspond to the existence of a corresponding natural transformation. Instead, I believe it corresponds to the fact that the natural transformation from to induced by the cone is actually a natural isomorphism!
To see this, we consider the below diagram:
special naturality square
We get the natural transformation by setting to be , the limit cone described above. As discussed above, for this square to commute, we must have for any .
So we can rewrite the condition on our limit cone as follows:
Since this condition has to hold for every , this condition tells us that must actually be a bijection for each ! So, when we induce a natural transformation from to using a limit cone, the resulting natural transformation is actually a natural isomorphism.
So, we started out with a product defined in terms of a limiting cone, and then we obtained a representation for the functor , which is naturally isomorphic to the cone functor over the discrete diagram having just and . That is, we showed that we were able to induce a natural isomorphism from to .
Next, I think we want to go in the other direction: we'll assume that some data describes a product according to our definition in terms of representing the cone functor, and then we'll show that this data describes a limiting cone satisfying the necessary universal property.
It looks like you're hovering near the simple point I want to make, but didn't quite say it yet. Let's take the case of binary products, as you are.
So what is a cone for the in this case? It's just a pair of maps , nothing more. And this is a pair of elements in . So the point I'm making is to see the functor directly as the functor .
Nothing about this would change if we changed binary products to -fold products ( a set): a cone from to a functor is a tuple of morphisms , hence an element of the product set . The functor is in other words .
Next we should take the example of equalizers...
Anyway, before we tackle equalizers, the pedagogical point is going to be roughly this: even before you ("you" here meaning an impersonal you in the role of student, not you in particular) studied the abstract notion of a product in a category, you knew what products of sets were. They consist of tuples. [It's nice to realize after Week 1 of Category Theory 101 that products of sets as you first learned them really are categorical products, but that's not what I'm emphasizing at the moment.]
The point is supposed to be that products in general categories are in reality based on the humble notion of products of sets which everyone knows about. If you know how products of sets work, then you know how the general concept of products in categories works: products are whatever structure you need to be able to give a natural isomorphism
where on the right, you know what products of hom-sets are already. The very same principle applies to limits generally.
(As an aside, this principle becomes critically important when one begins studying enriched category theory. Enriched limits in general -enriched categories will be based off of limits in the base of enrichment , and so one starts there, with the base.)
Interesting! It's almost like we are "inheriting" the limits from . This reminds of another important thing I want to understand at some point, which is exactly how the functor category inherits limits (I think "pointwise") from .
That then helps me understand your comment on enrichment, I think.
To elaborate slightly, if we are looking for a so that , then we can recognize that is essentially . So we want . To figure out what is like, we can evaluate the functors here at some , and learn that . We understand the right-hand side, because we know how products work in . Because we understand the right-hand side, we've learned something about the left-hand-side too. Namely, we've learned something about the set of morphisms from to , which partially characterizes .
I think you also wanted to point out the similarity between elements of the product of a collection of sets (which are tuples of elements taken from those sets) and the cones over a discrete diagram containing a collection of objects. If we think of each morphism as a "generalized element" of (for any object in ), then a cone over a discrete diagram is a tuple of generalized elements of the objects in that diagram. So, the product should somehow gather together the information about all the cones of our diagram (the "generalized element tuples"), which I guess is part of what is going on when we require .
Yeah, everything you're saying is really good. That's exactly how you should think of it: that general notions of limit are "inherited" (we say "reflected" in the biz) from -- or from (yes indeed, limits in , and also colimits, are computed pointwise -- that's not hard to prove, but it's important) by way of the Yoneda embedding.
Pursuing this a little further: my point is also that you can turn the theorem that
into a definition, i.e., use this to define products. For suppose that you have such an object together with such a natural isomorphism. Then apply this to the identity . You get an element in , i.e., a pair of elements in hom-sets. We might as well give that pair a name, say, oh I don't know, , .
Call them anything you want of course. The point is that this pair is forced to satisfy the universal property of products. Yes, the natural isomorphism is saying that for any pair of elements
there exists a unique that maps to under the isomorphism, but my current point is that if you now chase through the proof of the Yoneda lemma for this particular case, you recover the precise manner in which this correspondence works, and recover the precise abstract notion of product.
(Your point about generalized elements is also a useful observation.)
Excellent, I think we are on the same page. My next goal is to start with the representable functor definition for products, and then show that this induces a pair that satisfies the universal property of products.
(I hope to work on this today)
(Actually, I talked about this already.)
Todd Trimble said:
(Actually, I talked about this already.)
You did! I just want to work out the details to understand what you said more completely.
We start with a natural isomorphism . By the Yoneda lemma, this natural isomorphism is completely determined by . Let's call this element , and denote its two morphisms by and .
We want to show that is a cone that satisfies the universal property of products. To do that, we need to introduce an arbitrary different cone and show that there is a unique induced so that and .
I hope we can make use of this naturality square, obtained by evaluating each of our functors on some morphism in , which has corresponding morphism in :
naturality square
Our arbitrary cone is an element of . Because is a natural isomorphism, is a bijection. That means there is a unique element of such that . We saw earlier that, for to be a natural transformation, is forced. We conclude there is a unique such that and .
We have discovered, I believe, that satisfies the universal property of products!
Todd Trimble said:
Exercise: run the proof of the Yoneda lemma through this definition, and retrieve in this way the usual definition of product and its universal property. If you carry out the exercise, then preservation of products by covariant representables will pop out from how the definitions are set up from this procedure.
I think I've managed to do what's indicated in the first sentence of this quote. Hopefully now I am at the "popping out" stage: maybe now I can try and see why products are preserved by covariant representables.
David Egolf said:
Our arbitrary cone is an element of . Because is a natural isomorphism, is a bijection. That means there is a unique element of such that . We saw earlier that, for to be a natural transformation, is forced. We conclude there is a unique such that and .
We have discovered, I believe, that satisfies the universal property of products!
Yep! Looks like you got it!
Alright, building on my understanding of these concepts, I now have a plan to show that covariant representable functors preserve products.
The key idea is to make use of the fact that functors send isomorphisms to isomorphisms.
We start out with a natural isomorphism which describes a product of and :
.
Next, we use the "evaluation" functor to get
.
Next, we can use the Yoneda embedding to get
.
To show that the image of our product cone under is a product for the image of our diagram, we need to show that we have a natural isomorphism:
.
So I think we would like to find a natural isomorphism:
That is, we are now able to investigate things in the category !
It looks like you're pretty convinced by now, on a deep visceral level, of the truth that representable functors preserve limits -- at least in the case of products. But I think I'd arrange that last part you wrote slightly differently, because it makes it look harder than I think it should look.
We know by now that can be taken as a definition of the product [up to unique isomorphism, of course], and that we can extract the "usual" definition involving universal cones just by running this definition through the proof of the Yoneda lemma. But this new definition says precisely that
naturally in , and this is awfully, awfully close to saying outright that preserves any product that exists. Isn't it? In fact, we could ask: what, if anything, is missing?
(I'm taking as given that for sets , the undergraduate definition of the product projections really does define a product structure , in the sense of category theory. As I said earlier, that's one of the exercises in the first homework set in Category Theory 101: to verify this fact. Anyway, for any ordered pairs we have .)
The only observation that needs to be added is that (via in the display line above) takes the morphism to , and to . But that's baked right in from the outset, because for any , we have according to the definitions (embedded in your picture back here)
(Thanks for your most recent post! I'll try to read and respond when I can. Today I think I need to take a little break for health reasons, though.)
Take care, David. Hope you feel better and have a wonderful Thanksgiving :pray:
Take care of yourself, David, and hope to see you again soon. Your energy here has been very welcome.
(Are you Canadian? I heard recently that Canadians have a Thanksgiving in October.)
Thanks to both of you for your kind words. :smile:
And yes! I am Canadian, and my family did celebrate Thanksgiving in October.
I think I understand what you were getting at above. Let me try and explain it to myself. (I would be nice if my explanation was as concise as yours, but I find I have to spell things out to avoid confusing myself!)
We want to show that preserves products. To do that, it suffices to show that its image of a product diagram is a product diagram. We start out with the product diagram . We want to show that the image of this cone under is a product cone for the discrete diagram with objects and .
Any cone isomorphic to a product cone (in the category of cones over the appropriate diagram) I think should also be a product cone. (I think we can use a provided isomorphism to show that the cone in question satisfies the universal property of products). So, if we can show that the image of our cone is isomorphic to the "standard" product cone , then we will have shown that sends a product cone to a product cone, and hence that it preserves products.
To show that these two cones are isomorphic, I think it suffices to show that this diagram commutes:
diagram
where is a natural isomorphism, and so in particular is an isomorphism in for each .
To recall what is for some , we refer to the following naturality square:
naturality square
We have , our product cone in . This is an element of . We write .
For this to commute, must be . That is, .
We now show that this diagram commutes:
diagram
To do this, we follow an element of around the different paths in the diagram:
and similarly
.
We also note that and .
So, the diagram commutes!
We conclude that the image of under is isomorphic as a cone to the "standard" product cone for the discrete diagram with objects and . Thus, the image of under must also be a product cone over the discrete diagram with objects and . Therefore, sends an arbitrary product cone in to a product cone in .
That is, covariant representable functors (of the form ) preserve products!
Yes, very good! You've nailed down all the details.
Showing that preserves equalizers can be done using the same sort of technique, starting with the observation that in , the equalizer of two maps is the subset inclusion
That's awesome to hear! I'll probably give equalizers a try in the coming days...