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 know this is a central topic in category theory, and it recently came up in another thread. I’d like to analyze the definition here.
https://en.m.wikipedia.org/wiki/Adjoint_functors
Adjunction is a relationship that two functors may exhibit, intuitively corresponding to a weak form of equivalence between two related categories.
Pairs of adjoint functors…often arise from constructions of "optimal solutions" to certain problems (i.e., constructions of objects having a certain universal property).
An adjunction between categories and is a pair of functors and and for all objects in and in , there is a bijection …
This says that for an object in and an object in , the hom-set of and is in bijection with the hom-set of and . I am wondering how significant it is that this is a bijection. I feel like in category theory, things tend to be abstract enough that we think of isomorphic objects as basically the same, since their structural properties are identical. I’ll definitely need to work through an example now to see what this property is really saying. I’ll try to think of something relating to the category of sets, first.
…such that this family of bijections is natural in and .
I’d like to challenge myself to think of two functors which have this bijection-between-Hom-sets property, but I might need to sleep on it.
Let’s say that I just want to stick to the category of sets, so I’ll be thinking about endofunctors on it.
To gain better context, I want to take a short detour to think about what interesting species of endofunctors there are, in .
There's a big list of examples in that Wikipedia article you linked to! To better understand the definition, you may find it helpful to pick a specific example from that list and then review the definition in that context.
Julius Hamilton said:
To gain better context, I want to take a short detour to think about what interesting species of endofunctors there are, in .
In this direction, doing a search for "exponential object" on that Wikipedia page might be useful. Note that the category of sets is a "Cartesian closed category".
On a related note, you might enjoy contemplating this:
.
This says that there is a bijection between:
This Wikipedia article describes a famous bijection of this kind.
constructions of objects having a certain universal property
Keep this in mind as a potential source as you search for examples.
Some people say that adjunction is the single most important concept in category theory. It's deep, all right. But I think one could equally well argue that the concept of universal property is the single most important concept in category theory. And the two concepts are closely intertwined.
I am wondering how significant it is that this is a bijection.
Another thing you may wonder about, in time, is the fact that not only do you have a bijection of hom-sets, but that the bijection has to be natural (that's part of the hom-set definition of adjunction).
I sometimes like telling the tale of how @Jade Master and I were trying to construct an adjunction: we found a bijection of homsets , it was "natural" in the intuitive sense of not requiring ad hoc choices to define... but when Jade tried to prove it was natural in the technical sense, it wasn't!
This came as a big lesson to me.
John Baez said:
I sometimes like telling the tale of how Jade Master and I were trying to construct an adjunction: we found a bijection of homsets , it was "natural" in the intuitive sense of not requiring ad hoc choices to define... but when Jade tried to prove it was natural in the technical sense, it wasn't!
This came as a big lesson to me.
That's very interesting. And I don't remember hearing tell of said tale.
John Baez said:
I sometimes like telling the tale of how Jade Master and I were trying to construct an adjunction: we found a bijection of homsets , it was "natural" in the intuitive sense of not requiring ad hoc choices to define... but when Jade tried to prove it was natural in the technical sense, it wasn't!
This came as a big lesson to me.
If you or Jade are ever feeling up for story-time, I would love to hear this tale!
We could certainly schedule a special seminar on it.
Figuring out how to balance intuition and paranoia is hard, even when I (think I) have a handle on my own hubris, and in comparison I'm just playing around in the shallows. This is the kind of thing I don't think one can learn from a textbook. I expect these more personal oral/written lessons are critical for practice in an art.
I don't have the energy to tell the tale in detail right now, but the left adjoint functor goes from Petri nets to commutative monoidal categories - see Definition 8 and Lemma 9 here.
We conjectured a right adjoint for this functor, and showed that gave an intuitively 'natural' bijection of homsets, but when @Jade Master tried to prove naturality she couldn't. Eventually @Mike Shulman showed that our candidate right adjoint was actually the wrong adjoint - and he showed us the true right adjoint! Jade wrote about this in greater generality in a companion paper.
A commutative monoidal category, in case anyone is curious, is a commutative monoid object in the category . In other words, it's a symmetric monoidal category where the associator, left and right unitors, and braiding are all identities. By chance I mentioned them yesterday on this very Zulip.
Thanks John, Todd, David and Eric.
I want to explore thoughts about endofunctors and also functors in general before I get back to adjoint functors.
I might throw out some big but hazy questions just to get my thoughts moving freely.
I think I’ve always been attracted to finding really compact or elegant ways to define or express something logically.
So, we can define a functor in terms of about 3-4 “pieces of information” (depending on how you count them) - a functor is:
But wouldn’t it be nice if we could package those separate pieces of information together into one single notion? Then defining things wouldn’t be like listing out a number of separate clauses. For example, we could say, “a functor is a morphism in the category of categories”; but then we’d still need to do some thinking to reconstruct the specifics. I also don’t think this definition would be adequate, since there could be multiple choices for what to use as morphisms if is the set of all small categories.
I’m imagining some time in the future I’ll think of a different way to define functors where the separate clauses in the definition are integrated into what feels more like “a single notion”.
Here is just one of various different directions you could go in. What if instead of thinking of abstract categories as “denoting” other mathematical objects (like sets), we can functionally transform the structure of an abstract category into the structure of whatever it’s supposed to represent?
So if the objects of a category “represented” sets, there could be a “pluralization” mapping where each “single point” (an object) is “expanded” into a “collection of points” (a set) by a computational process. That process could then be logically extrapolated to the arrows in some way. That way, we actually construct a concrete category procedurally out of an abstract one, instead of just doing guess-work about “I wonder what the arrows should be”.
I don’t know if this is common when learning category theory, but I have frequently had this feeling that first you build an intuition for and learn how to interpret diagrams mainly in terms of set theory - at least in terms of lots of concrete categories like , , etc. But then you reach a limit where this way of understanding categories actually bogs you down; then you have to actually reverse your intuition and think about purely categorical properties of diagrams, and categories as abstract categories. For example, for the most part, up until now, I tend to think of arrow composition as function composition. But a question I am revolving around currently is how the properties of the specific things we choose to form a category out of, correspond to the actual abstract properties we need those things to have, in a category. Functions have lots of little nuances characterizing “what they are like”, what we can do with them. But for something to qualify as a “morphism” in a category, it only needs very few properties - (associative composition and “the existence of identities” (which I think can be called “unitality”)).
Actually, even this is not true. Seeing as defining a category begins with the declaration of “two sets” (you could call them and , but I’ve also seen them written and ), conceptually, we can choose the “in-between” case, between concrete and abstract, where the objects and arrows are given an interpretation as “some thing” (be they mathematical objects or real-world phenomena), but they conceptually have nothing to do with each other. Instead of trying to find something to “serve as arrows” which captures the sense of “a relationship” between the things, or “a transformation”, it could be any arbitrary second collection of things - like, is a collection of dice, and is a collection of fruits.
This brings me to the idea that the composition operation in a category, and perhaps even the equality symbol, can be viewed as equally “meaningless”. We do not need to think of as “some sort of process followed by another is equivalent to some third process”. It can be any arbitrary relation, like “a berry a dog a computer, because I said so.” This isn’t the best example of what I mean, but it’s a step in that direction.
As you can see, there are lots of little contextual thoughts I want to go over a bit, as I warm up to viewing adjoint functors better.
If you want to package the preservation of identities and composition together, you can write the definition of a functor from to like this:
such that:
where the -ary composition is understood as an identity.
You would have to define precisely the multicomposition first, in particular the -ary case for this to be completely rigorous.
It’s not extremely satisfying but that’s all I’m thinking to.
But what I like is that it makes me feel like maybe we could define a functor as an algebra over some monad. The multicomposition looks like a list of morphisms and it makes me think to how a monoid can be encoded as an algebra over the list monad on .
Hmm, now I think that what makes sense is maybe to define a category as an algebra over some monad.
Small categories are polynomial comonads on , so they are probably comonoids in some monoidal categories and so coalgebras over some comonad. I don’t know if it has anything to do with this simple idea of functors and multicomposition but I’ve just remembered that (with the help of Google).
Thanks, that sounds really interesting.
I’m going to respond to the above in just a moment. I wanted to outline another thought I had.
Imagine some sort of “context” where we only have to specify a single property of something, and it would follow necessarily that the described object or structure has its own corresponding version of an “identity structure”. That way, we don’t need to state “the presence of identities”, when defining anything.
For example, for a category, the “identity structure” is the fact that every object is associated with an “identity arrow”.
For a functor, the “identity structure” part of its definition is that it maps to .
And so on.
I think but am not sure, one of the cool things about “internal category theory” is that we can write expressions that look more or less exactly like set-theoretic descriptions of anything in mathematics (such as the axioms of a monoid), but we can interpret that notation as a categorical structure (I learned this from Mike Shulman’s intro to categorical logic text). When we do that, I think it opens up very alternative definitions of the same things, for example because you can identify universal properties of those structures.
So that’s what I hopefully mean or envision regarding a “context” in which we could “implant” a definition of this structure or that structure, yet the context would make the existence of an “identity component” follow.
Julius Hamilton said:
To gain better context, I want to take a short detour to think about what interesting species of endofunctors there are, in .
Cool.
Maybe it’s also time for me to start working through / drawing my first examples of specific monads. And monoid objects.
Maybe you could think about this:
For every set , define as the set of all the lists with elements in . An element is thus a tuple of the form for some and . If , you can simply write the empty list which is the only list of size as . It happens that the functor can be made into a monad on .
How can we define on morphisms?
What could be the unit of the monad ?
What is the multiplication of the monad ?
is a monoidal category with monoidal product the cartesian product and monoidal unit the terminal object (a singleton set).
For a given set , can you make into a monoid in the monoidal category ?
One technicality, in case you were unaware @Jean-Baptiste Vienney the monad distributive law fails to exist for (lists of lists) though you can still form a monad isomorphic to it using the Maybe monad and the non-empty lists semad (semigroup in the category of endofunctors); see Example 4.18 and Remark 4.19 in Zwart & Marsden's paper. Probably this will matter if/when you get to natural transformations, I suspect.
I wasn't aware of this but it doesn't change the fact that is a monad and so that and are natural transformations.
I think it is a very cool approach.