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: Exponential is Automatically Contravariant in Exponent?


view this post on Zulip Ignat Insarov (Dec 22 2024 at 09:58):

Page 18 of Sheaves in Geometry and Logic says:

CBAA×CB(16){C → B^A \over A × C → B} (16)

… It follows from the various uniqueness properties that BAB^A is also a (contravariant!) functor of AA (at least on those AA which are exponentiable), and that (16)(16) is also natural in AA. …

This shocked me. I looked at this adjunction many times times, but it never occurred to me that the exponential is automatically contravariant in the exponent — I always assumed this needs to be postulated on top of the adjunction. Is there a way I could have foreseen this — is there a way this result is to be expected?

I took this as an exercise and figured that we have as the function on arrows fAff ↦ A^f the operation:

f:xyεx(f×Ay)xη:AyAxf: x → y \quad ↦ \quad ε^x ∘ (f × A^y)^x ∘ η: A^y → A^x

It takes about a hundred arrows to show functoriality and naturality! «It follows from the various uniqueness properties…»

view this post on Zulip Ignat Insarov (Dec 22 2024 at 09:59):

Following are the illustrations for my proofs.

view this post on Zulip Ignat Insarov (Dec 22 2024 at 09:59):

exponent is a functor

view this post on Zulip Ignat Insarov (Dec 22 2024 at 09:59):

φφ is natural

view this post on Zulip Ignat Insarov (Dec 22 2024 at 09:59):

ψψ is natural

view this post on Zulip Ignat Insarov (Dec 22 2024 at 10:00):

I used these two equations freely without proof (because I believe they are widely known to be true):

view this post on Zulip John Baez (Dec 22 2024 at 19:27):

Ignat Insarov said:

Page 18 of Sheaves in Geometry and Logic says:

CBAA×CB(16){C → B^A \over A × C → B} (16)

… It follows from the various uniqueness properties that BAB^A is also a (contravariant!) functor of AA (at least on those AA which are exponentiable), and that (16)(16) is also natural in AA. …

This shocked me. I looked at this adjunction many times times, but it never occurred to me that the exponential is automatically contravariant in the exponent — I always assumed this needs to be postulated on top of the adjunction. Is there a way I could have foreseen this — is there a way this result is to be expected?

Right from the start, I'd expect BAB^A is either covariant or contravariant in AA, because it's defined using a universal property. That's just my expectation.

I believe that using the Yoneda lemma we can show BAB^A is covariant (resp. covariant) in AA iff hom(C,BA)\text{hom}(C,B^A) is covariant (resp. contravariant) in AA for each CC.

But hom(C,BA)\text{hom}(C,B^A) is naturally isomorphic to hom(A×C,B)\text{hom}(A \times C, B), which is clearly contravariant in AA.

view this post on Zulip Ignat Insarov (Jan 03 2025 at 06:45):

But wait…

John Baez said:

But hom(C,BA)\text{hom}(C,B^A) is naturally isomorphic to hom(A×C,B)\text{hom}(A \times C, B), which is clearly contravariant in AA.

What we are given is actually not one adjunction, but a family of adjunctions φAφ_A indexed by objects of C\mathcal C, right? Each adjunction is φA:C[A×xy]C[xyA]φ_A: \mathcal C [A × x → y] ≅ \mathcal C [x → y^A], naturally in xx and yy. But there is nothing that relates, for example, C[A×xy]\mathcal C [A × x → y] with C[xyB]\mathcal C [x → y^B], yet. It is our hope to guess, and our task to show, that, given f:BAf: B → A, the evident square with these corners commutes. That φφ is natural in xx and yy does not seem at first sight to be of any relevance here.

view this post on Zulip Mike Shulman (Jan 03 2025 at 17:13):

But we aren't even given that BAB^A is functorial in AA at all. So we can (and do) define that functorial action so as to make that square commute, which is (uniquely) possible by the Yoneda lemma and since the natural components are isomorphisms.

view this post on Zulip Mike Shulman (Jan 03 2025 at 17:17):

The naturality of those isomorphisms in xx is what tells us that when we transport the functoriality of A×xA\times x in AA across those isomorphisms, we get a natural transformation and hence can apply the Yoneda lemma.

Their naturality in yy then tells us that the resulting functoriality of BAB^A in AA commutes with its given functoriality in BB. (Assuming that we were given the latter, which is necessary to talk about naturality in yy. Alternatively we could just be given the BAB^A as objects and define their functorial action on BB in the same way.)