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.
Greetings, currently I try to learn about adjunctions as I came across them in the video series "Programming with Categories". I went back to Milewski's videos and found (https://youtu.be/7Q8E2ZBS7pQ?si=K9uj4oxM8NeYfY4p&t=2126):
He talks about the unique morphism h and prepending (at 37:49 in the vid). My understanding from https://en.wikipedia.org/wiki/Adjoint_functors#Definition_via_Hom-sets and https://en.wikipedia.org/wiki/Hom_functor is that I would go from C×C(Δa×b,<a,b>) to C×C(Δc,<a,b>) via C×C(Δh,<a,b>), i.e. prepending Δh to <fst,snd>. I searched the web but did not find examples for the naturality condition with the hom-set definition and products.
Am I getting something wrong or is it a mistake in the video?
The relevant adjunction here is
I.e. you can “package” two arrows Z -> A, Z -> B into a single arrow Z -> A x B, reversibly!
That makes sense; I want to see how to 'recover' the universal construction definition of the product from the hom-functor definition. So in your example, how does it look if you add the unique morphism that 'condenses' (Z,Z) into (A×B,A×B)?
simon said:
That makes sense; I want to see how to 'recover' the universal construction definition of the product from the hom-functor definition. So in your example, how does it look if you add the unique morphism that 'condenses' (Z,Z) into (A×B,A×B)?
So this ends up being a consequence of the yoneda lemma! The natural transformation is determined by where it sends the identity. So you look at - following the identity gives you the projections!
Then the "universal construction" follows from this natural transformation being an isomorphism, i.e. producing a bijection between and . Specifically, the forward direction is post-composing with the projections , and the backward direction is the "universal arrow making the diagram commute" part.
So this ends up being a consequence of the yoneda lemma! The natural transformation is determined by where it sends the identity. So you look at - following the identity gives you the projections!
To be honest, I haven't looked at the Yoneda-Lemma yet and before the "Programming with Categories" videos, I did not intend to pick up Adjunctions before Yoneda-Lemma and representable functors. The part of a natural transformation from to giving us , i.e. the projections is clear so far.
Then the "universal construction" follows from this natural transformation being an isomorphism, i.e. producing a bijection between and . Specifically, the forward direction is post-composing with the projections , and the backward direction is the "universal arrow making the diagram commute" part.
These are both objects in but in my head only the arrows going down on either side in the Hom-set diagram (like the one in the screenshot) are appending/prepending. But since this is a category, why not have morphisms between and ? That confuses me a little as it seems we mix e.g. and which live in left/right category respectively. But then again, it makes sense that going from to means we prepended a morphism that projects from the product to its two coordinates (in case that is what you meant). But then wouldn't that mean we also prepended sth. so that we now take a instead of just a ?
Apart from that, thank you for your time and patience to answer my questions.
It’s a little difficult for me to parse what you’re saying, but my gut instinct is that you’re overthinking this.
An element of is just a morphism . And an element of is just a pair of morphisms .
Given , we get the pair . This is just postcomposition.
Moreover, the universal property tells us that given , there is a unique such that . This is precisely the statement that the above map is bijective, i.e. an isomorphism in Set!
I when I kept looking at your reply, I remembered the part in the screenshot above. From that point of view, it makes sense to go back and forth between and . My thinking was, "why would we suddenly compose morphisms from with morphisms from ". When going from to , we have to clone the morphism from the frist hom-set before we can append the projections — which was not obvious to me at all. Given the statement with the natural isomorphism between the hom-sets, it also makes sense, why is unique. For what it's worth, I put together a diagram to make it easier to follow where I am coming from (not claiming it is complete or free of errors):
adjunction_from_product.drawio.png
As you can see, the hom-sets connected by the red dotted lines have a morphism going up on each side. In the diagram seen in the screenshot in my first post, they go in the opposite direction — therefore I asked if I took a wrong turn somewhere.
Apart from that, if is the component of at , what is the other component that creates the commuting rectangle in ? (even if it is a commuting triangle because the other component is , but then, from which object in is it mapped to?)
simon said:
I when I kept looking at your reply, I remembered the part in the screenshot above. From that point of view, it makes sense to go back and forth between and . My thinking was, "why would we suddenly compose morphisms from with morphisms from ". When going from to , we have to clone the morphism from the frist hom-set before we can append the projections — which was not obvious to me at all. Given the statement with the natural isomorphism between the hom-sets, it also makes sense, why is unique. For what it's worth, I put together a diagram to make it easier to follow where I am coming from (not claiming it is complete or free of errors):
adjunction_from_product.drawio.pngAs you can see, the hom-sets connected by the red dotted lines have a morphism going up on each side. In the diagram seen in the screenshot in my first post, they go in the opposite direction — therefore I asked if I took a wrong turn somewhere.
Apart from that, if is the component of at , what is the other component that creates the commuting rectangle in ? (even if it is a commuting triangle because the other component is , but then, from which object in is it mapped to?)
Ah, perhaps the other component is exactly what you're looking for! So, again, the principle is to "follow the identity" - this time we just go in the other direction.
Thus, we start with - the adjunction then tells us this is in bijection with . Following the identity element gets us the diagonal or duplication map , sending . Maybe this is what you meant by needing to "clone" the morphism from the first homset?