Category Theory
Zulip Server
Archive

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.


Stream: learning: questions

Topic: ELI5: amazing right adjoint


view this post on Zulip Jacques Carette (Oct 13 2021 at 12:36):

Can someone try to give me a very concrete example? I've read the nLab page, Lawvere's Toward the Description in a Smooth Topos of the Dynamically Possible Motions and Deformations of a Continuous Body and attempted a few others, all of which presented things in increasingly general ways, without giving concrete examples. (There were plenty of highly abstract examples.)

I don't mind working out details, but I need a concrete starting point. [Hint: anything start with 'topos' will fail the ELI5 criteria; if you use the word 'presheaf' you're probably thinking at too high a level still, and need to expand things out. Please.]

view this post on Zulip Morgan Rogers (he/him) (Oct 13 2021 at 16:21):

What is ELI5?

view this post on Zulip Morgan Rogers (he/him) (Oct 13 2021 at 16:24):

Ah, "explain it like I'm 5". I assumed it was some categorical axiom heh.

view this post on Zulip Reid Barton (Oct 13 2021 at 16:27):

I know the interval (1-cube) in the category of cartesian cubical sets is supposed to be an example, though I never worked it out for myself. (I didn't say "presheaf"...)

view this post on Zulip Reid Barton (Oct 13 2021 at 16:28):

I'm surprised it's not on the nLab page for amazing right adjoint already.

view this post on Zulip John Baez (Oct 13 2021 at 16:38):

Once someone figures out an example, I can stick it on the nLab. I think Lawvere's favorite examples involve "infinitesimal spaces", - maybe like the "walking tangent vector" space in synthetic differential geometry?

view this post on Zulip John Baez (Oct 13 2021 at 16:38):

I get the idea of that "walking tangent vector" or "infinitesimal arrow" pretty well, but I haven't thought about this "amazing right adjoint".

view this post on Zulip Reid Barton (Oct 13 2021 at 16:44):

So this fails the ELI5 test, but here goes. Say CC is a category with an object II (for "interval") such that CC has all products X×IX \times I for XCX \in C. The exponential yI{-}^{yI} on C^=SetCop\hat C = \mathrm{Set}^{C^{\mathrm{op}}} has left adjoint ×yI{-} \times yI (here yy is the Yoneda embedding). But yX×yIy(X×I)yX \times yI \cong y(X \times I), so ×yI{-} \times yI takes representables to representables and as a left adjoint, it must be the left Kan extension along the functor ×I{-} \times I on CC. That means that yI{-}^{yI} is the restriction along this functor and so it has a right adjoint, given by right Kan extension along the same functor.

view this post on Zulip Morgan Rogers (he/him) (Oct 13 2021 at 16:48):

It's a shame you ruled out presheaves, because they provide the easiest example in my opinion, thanks to Proposition 2.5 of the nLab page.

Let C\mathcal{C} be a small category, and consider the category of functors E:=[C,Set]\mathcal{E}:= [\mathcal{C},\mathrm{Set}]; this is the category of "copresheaves on C\mathcal{C}", but the essential thing is that the objects of E\mathcal{E} are functors and the morphisms are natural transformations. For any object FF in this category, we can consider the representable functor HomE(F,)\mathrm{Hom}_{\mathcal{E}}(F,-) to sets, which always has a left adjoint given by sending any set AA to an AA-indexed coproduct of copies of FF. On the other hand, this representable functor has a right adjoint if and only if it is a (retract of a) representable copresheaf the latter being a functor of the form HomC(C,)\mathrm{Hom}_{\mathcal{C}}(C,-) for some object CC of C\mathcal{C}.

view this post on Zulip Morgan Rogers (he/him) (Oct 13 2021 at 16:51):

The objects whose representable functors admit right adjoints are called "tiny objects", so the above says that we can identify the representable copresheaves on a category up to retracts as the subcategory of tiny objects.

view this post on Zulip John Baez (Oct 13 2021 at 17:03):

I don't think he ruled out examples that happen to be presheaves. I think he just wanted a concrete example, not a general example of the sort you just gave. So please give an example of your example!

view this post on Zulip Morgan Rogers (he/him) (Oct 13 2021 at 17:13):

The category of directed graphs is the category of copresheaves on the double-arrow category s,t:EVs,t: E \rightrightarrows V. By the above, the tiny objects are the digraph consisting of a single vertex and no edges, and the graph consisting of two vertices and a single edge from one to the other. I think this is a very instructive example to work out the details of!

view this post on Zulip Morgan Rogers (he/him) (Oct 13 2021 at 17:15):

(Note that this is normally presented as the category of presheaves on the double arrow category, but the result is identical; for the purposes of understanding this concept, it doesn't matter.)

view this post on Zulip Jacques Carette (Oct 13 2021 at 17:41):

Aha, that last example is indeed something I can sink my teeth in to. Thank you.

And indeed, I want to work my way up to understanding why this has anything to do with "infinitesimals". But I would like to do it via seeing 'tiny' objects in a number of sufficiently different concrete settings first.

view this post on Zulip Jens Hemelaer (Oct 14 2021 at 08:20):

Morgan Rogers (he/him) said:

The category of directed graphs is the category of copresheaves on the double-arrow category s,t:EVs,t: E \rightrightarrows V. By the above, the tiny objects are the digraph consisting of a single vertex and no edges, and the graph consisting of two vertices and a single edge from one to the other. I think this is a very instructive example to work out the details of!

There is some problem with the terminology. On the nlab there are two things that are called tiny:

I don't know whether the two graphs that you mention are also internally tiny (I'll try to compute the exponentials).

view this post on Zulip Jens Hemelaer (Oct 14 2021 at 08:41):

The graph yV\mathbf{y}V with a single vertex and no edges is the terminal object, so then the functor YYyVY \mapsto Y^{\mathbf{y}V} is the identity functor (which does preserve colimits). So this graph should be internally tiny as well. (The graph with a single vertex and no edges is not the terminal object, so this argument is wrong.)

But if yE\mathbf{y}E is the graph with two vertices and an edge connecting them, then I believe (yE)yE(\mathbf{y}E)^{\mathbf{y}E} has 4 edges, while (yEyE)yE(\mathbf{y}E \sqcup \mathbf{y}E)^{\mathbf{y}E} has 32 edges... so YYyEY \mapsto Y^{\mathbf{y}E} does not preserve coproducts in this case.

view this post on Zulip John Baez (Oct 14 2021 at 12:20):

Jens Hemelaer said:

But if yE\mathbf{y}E is the graph with two vertices and an edge connecting them, then I believe (yE)yE(\mathbf{y}E)^{\mathbf{y}E} has 4 edges...

I'm having trouble seeing 4 edges. What are these 4 edges? For starters, what are the vertices of (yE)yE(\mathbf{y}E)^{\mathbf{y}E}?

view this post on Zulip John Baez (Oct 14 2021 at 12:23):

A vertex of (yE)yE(\mathbf{y}E)^{\mathbf{y}E} corresponds to a morphism f:yEyEf: \mathbf{y}E \to \mathbf{y}E, right? And a morphism from yE\mathbf{y}E to itself must map the one edge of this graph to itself. So I'm getting just one vertex.

view this post on Zulip Spencer Breiner (Oct 14 2021 at 13:00):

Similarly, the set of edges corresponds to morphisms yE×yEyEyE\times yE\to yE. The product has one edge (0,0)(1,1)(0,0)\to(1,1) and two isolated points (1,0)(1,0) and (0,1)(0,1). The diagonal edge has to map to the only edge in yEyE, but the isolated points can go to either vertex, making 4 options.

view this post on Zulip Jens Hemelaer (Oct 14 2021 at 13:21):

Ok, I miscalculated with the vertices...
A vertex of (yE)yE(\mathbf{y}E)^{\mathbf{y}E} is the same thing as a morphism yV×yEyE\mathbf{y}V \times \mathbf{y}E \to \mathbf{y}E. Here, yV×yE\mathbf{y}V \times \mathbf{y}E is the graph with two vertices and no edges. So there are 4 morphisms yV×yEyE\mathbf{y}V \times \mathbf{y}E \to \mathbf{y}E which means that (yE)yE(\mathbf{y}E)^{\mathbf{y}E} has four vertices.

view this post on Zulip Jens Hemelaer (Oct 14 2021 at 13:28):

I made a similar mistake when I said that the functor YYyVY \mapsto Y^{\mathbf{y}V} is the identity functor.
You can compute that the functor YYyVY \mapsto Y^{\mathbf{y}V} sends a graph to the complete directed graph on its vertices.
This functor does not preserve colimits (not even coproducts), so yV\mathbf{y}V is not an internally tiny object.

view this post on Zulip Jens Hemelaer (Oct 14 2021 at 18:33):

Here are the directed graphs (yE)yE(\mathbf{y}E)^{\mathbf{y}E} and (yEyE)yE(\mathbf{y}E \sqcup \mathbf{y}E)^{\mathbf{y}E} (hopefully no miscalculations). The loops are not shown in the pictures, the first should have a loop at vertex "st", and the second should have a loop at vertices 1 and 11. exponential1.png exponential2.png

view this post on Zulip Jens Hemelaer (Oct 14 2021 at 18:38):

In general, exponentials in a presheaf category are hard to compute... so it is difficult to come up with an easy and interesting example where taking exponentials has a right adjoint (the amazing right adjoint).

view this post on Zulip John Baez (Oct 14 2021 at 18:53):

I bet you're used to reflexive graphs, Jens. For reflexive graphs I believe YYyVY \mapsto Y^{\mathbf{y}{V}} is the identity functor, and other things change too.

view this post on Zulip Jens Hemelaer (Oct 14 2021 at 19:00):

Yes I agree. I still think it is a bit surprising intuitively that the product of a point and an edge is two points...

view this post on Zulip Jacques Carette (Oct 14 2021 at 21:36):

This whole discussion is a splendid illustration of why I wanted explicit examples!

view this post on Zulip Jens Hemelaer (Oct 15 2021 at 09:24):

Jacques Carette said:

This whole discussion is a splendid illustration of why I wanted explicit examples!

Yes exactly... Here is the easiest example that I could come up with. Let E\mathcal{E} be the category that has as objects the triples (f,A,B)(f,A,B) where AA and BB are sets and f:ABf : A \to B is a function. We look at the object j:{}j : \varnothing \to \{\ast\} in E\mathcal{E}. For this object, you can compute that the functor XXjX \mapsto X^j is given as follows: if f:ABf : A \to B is an object of E\mathcal{E}, then fjf^j is the identity map BBB \to B. This exponential functor has a right adjoint (the amazing right adjoint), which sends an object g:CDg : C \to D in E\mathcal{E} to the identity function CCC \to C.

Some theoretical background (using the terminology and results from the nlab page here): E\mathcal{E} is the topos of presheaves on the category C\mathcal{C} with two objects and precisely one non-identity morphism (from one object to the other). Because E=PSh(C)\mathcal{E}=\mathbf{PSh}(\mathcal{C}) is a sheaf topos, the exponential ()j(-)^j has a right adjoint if and only if it preserves colimits, so if and only if jj is internally tiny. Further, because C\mathcal{C} is a category admitting finite products, the internally tiny and externally tiny objects in E\mathcal{E} agree (Proposition 2.4). Now from Example 2.2 it follows that jj is tiny, because it is a representable presheaf. Conversely, you can use Theorem 2.14 here to show that jj and the terminal object are the only tiny objects in E\mathcal{E}.

view this post on Zulip John Baez (Oct 15 2021 at 12:20):

Very nice explanation! Presheaves on this particular category C\mathcal{C} are like graphs, only simpler. I sometimes think of them as graphs where every edge has a source but no target.

view this post on Zulip John Baez (Oct 15 2021 at 12:22):

It's cool that C\mathcal{C} has finite products. One object is terminal, and the product of the other object with itself is itself.

view this post on Zulip John Baez (Oct 15 2021 at 12:24):

One way to think about this is that C\mathcal{C} is a poset, and a poset has finite products if every pair of objects has a greatest lower bound.

view this post on Zulip John Baez (Oct 15 2021 at 12:29):

Viewed as a poset C\mathcal{C} is an ordinal, the ordinal called "2", and any ordinal has finite products.

view this post on Zulip Steve Awodey (Oct 17 2021 at 04:05):

Here's a very simple example, the "cartesian cubical sets" that @Reid Barton already mentioned. Let BB be the category of finite , strictly bipointed sets and C=BopC = B^{op} the cartesian cube category - which is the free finite product category on an interval 1I1 \rightrightarrows I. Write the objects in the form [n][n], so I=[1]I = [1] and [n]×[m]=[n+m][n] \times [m] = [n+m]. Presheaves on CC are called (Cartesian) cubical sets, written cSetcSet. There is a functor S:CCS : C \to C taking [n][n] to [n+1][n+1] , which induces S:cSetcSetS^* : cSet \to cSet by restriction, and therefore has both left S!S_! and right SS_* adjoints. One can easily calculate that

S!X=X×IS!X = X\times I

so its adjoint must be

SX=XIS^*X = X^I.

The further right adjoint SS_* then also exists and is therefore an "amazing right adjoint" XISXX^I \dashv S_*X. We write it as XIX_I and call it the "IthI^{th} root". In particular, II itself is therefore "tiny".

view this post on Zulip Steve Awodey (Oct 17 2021 at 04:31):

this is essentially the same as Reid's example.

view this post on Zulip Jacques Carette (Oct 18 2021 at 13:17):

Can one exhibit / compute that further right adjoint? What does that functor actually do?

view this post on Zulip Steve Awodey (Oct 18 2021 at 14:49):

in cubical sets:
XI(n)=[In,XI]=[(In)I,X]=[(II)n,X]=[(I+1)n,X] X^I (n) = [ I^n , X_I ] = [ (I^n)^I , X ] = [ (I^I)^n, X ] = [(I + 1)^n, X]
=[Σk=0,...,nC(n,k)Ik,X] = [ \Sigma_{k=0, ..., n}C(n,k) I^{k} , X ]
=Πk=0,...,n[Ik,X]C(n,k) = \Pi_{k=0, ..., n}[ I^{k} , X ]^{C(n,k)}
=Πk=0,...,nX(k)C(n,k) = \Pi_{k=0, ..., n}X(k)^{C(n,k)},
where C(n,k)C(n,k) is the binomial coefficient.

view this post on Zulip Jacques Carette (Oct 18 2021 at 15:17):

I think I can reconstruct all the justifications, except for [Ik,X]\left[I^k,X\right] to X(n)X(n). [I'm probably missing something simple, yet I am missing it!]

view this post on Zulip Jacques Carette (Oct 18 2021 at 15:18):

It would make more sense if it were X(k)X(k), but even then, I'm not sure.

view this post on Zulip Jens Hemelaer (Oct 18 2021 at 20:06):

Indeed, it should be [Ik,X]=X(k)[I^k, X] = X(k). Then [Ik,X]=X(k)[I^k, X] = X(k) is an application of Yoneda lemma to the category of presheaves
cSetPSh(C).cSet \simeq \mathbf{PSh}(C).
We have Ik=y([k])I^k = \mathbf{y}([k]) where y\mathbf{y} is the Yoneda embedding.

view this post on Zulip Jacques Carette (Oct 18 2021 at 22:03):

Aha, Yoneda, of course! Now, the above computation exhibits XIX^I quite explicitly, and XIX_I shows up in there as well -- but I was kind of hoping for XIX_I to be the item being isolated, not XIX^I. Or maybe it's just a typo and the very first thing should be XI(n)X_I(n) ?

view this post on Zulip Steve Awodey (Oct 18 2021 at 23:39):

Jacques Carette said:

It would make more sense if it were X(k)X(k), but even then, I'm not sure.

thanks - that was indeed a typo!