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: isomorphic objects and functors


view this post on Zulip David Egolf (May 01 2023 at 22:25):

Let F:ADF: A \to D be a functor, with F(a)=xF(a) = x for some object aAa \in A and some object xDx \in D. Assume that there is a yy different from xx with xyx \cong y in DD.

I'm wondering if we can modify FF to get a new functor FF' so that F(a)=yF'(a) = y. I want to require that F(a)=F(a)F'(a') = F(a') for all aaa' \neq a. I'm curious if it's possible to do this so that FF' and FF are naturally isomorphic.

To do this, we have to figure out how FF' acts on morphisms that go to or from aa. If f:abf: a \to b is a morphism from aa to bab \neq a, then F(f):xF(b)F(f): x \to F(b) and F(f):yF(b)F'(f): y \to F(b). We have a triangular diagram formed by these morphisms and the isomorphism ϕ:xy\phi: x \to y. It's tempting to set F(f)F'(f) so that this diagram commutes, so F(f)=F(f)ϕ1F'(f) = F(f) \circ \phi^{-1}.

Similarly, if g:bag: b \to a is a morphism to aa from bab \neq a, then F(g):F(b)xF(g): F(b) \to x and F(g):F(b)yF'(g): F(b) \to y. We again have a triangular diagram formed by these morphisms and the isomorphism ϕ:xy\phi: x \to y. In this case, I want to set F(g)=ϕF(g)F'(g) = \phi \circ F(g), so the diagram commutes.

Finally, if h:aah: a \to a is a morphism from aa to aa, then F(h):xxF(h): x \to x and F(h):yyF'(h): y \to y. Using the isomorphism ϕ:xy\phi: x \to y, we get a square diagram that we would like to commute, so that ϕF(f)=F(f)ϕ\phi \circ F(f) = F'(f) \circ \phi, implying that F(f)=ϕF(f)ϕ1F'(f) = \phi \circ F(f) \circ \phi^{-1}.

The next order of business would be to check that FF' is actually a functor. There are bunch of cases to check, when investigating whether F(n)F(m)=F(nm)F'(n) \circ F'(m) = F'(n \circ m) for composable morphisms nn and mm in AA. For example, the easiest case is when neither nn nor mm go to or from aa, and in this case we can use the fact that FF is a functor to show F(n)F(m)=F(nm)F'(n) \circ F'(m) = F'(n \circ m). However, there are a lot more cases to check depending on whether nn or mm or both go to and/or from aa!

Does FF' really form a functor? And is there some way to find this out without checking a bunch of cases (I'm currently counting 9 cases to check)? Finally, if FF' does form a functor, is it naturally isomorphic to FF?

view this post on Zulip Martti Karvonen (May 01 2023 at 22:30):

Yes, this works! Note that your FF' and the natural isomorphism depend on the chosen isomorphism xyx\cong y.

view this post on Zulip Martti Karvonen (May 01 2023 at 22:32):

More generally, given an arbitrary family of isomorphisms ϕx ⁣:F(x)x=:F(x)\phi_x\colon F(x)\to x'=:F'(x), there is a unique way of making FF' into a functor so that the maps ϕx\phi_x define a natural isomorphism ϕ ⁣:FF\phi\colon F\to F'.

view this post on Zulip Martti Karvonen (May 01 2023 at 22:36):

So one can arbitrarily tweak the values of a functor within isomorphism and get a naturally isomorphic functor.

view this post on Zulip John Baez (May 01 2023 at 23:15):

David Egolf said:

Let F:ADF: A \to D be a functor, with F(a)=xF(a) = x for some object aAa \in A and some object xDx \in D. Assume that there is a yy different from xx with xyx \cong y in DD.

I'm wondering if we can modify FF to get a new functor FF' so that F(a)=yF'(a) = y. I want to require that F(a)=F(a)F'(a') = F(a') for all aaa' \neq a. I'm curious if it's possible to do this so that FF' and FF are naturally isomorphic.

Yes, you can. I didn't look carefully at your approach, since it's less work to say what I'd do - you can tell me if that's what you were doing. The basic idea is to take FF and tweak it minimally to achieve the desired effect.

So, on objects, let F=FF' = F except for one thing: make F(a)=yF'(a) = y. On morphisms you need to do a bit more work since whenever FF sent a morphism to one with source or target (or both) equal to xx, you need FF' to send it to one where the source or target is yy. To make sure FF' is a functor you had better not do this in a random way! You'd better choose an isomorphism α:xy\alpha: x \to y and use this and its inverse to "reroute" morphisms that start or end in xx. That is:

And yes, there had better be some more intelligent way to say all this, check that FF' is a functor, and check that FF' is naturally isomorphic to FF!

view this post on Zulip John Baez (May 01 2023 at 23:17):

The basic principle here is that "a chosen isomorphism is as good as equality".

view this post on Zulip John Baez (May 01 2023 at 23:22):

One reason I've never thought about how to do the above process intelligently is that I've never needed to make sure a functor doesn't hit some particular object. And it's not like I ever say "ooh, that object is disgusting, I'm going to make sure my functor avoids it". :upside_down:

view this post on Zulip John Baez (May 01 2023 at 23:28):

But it's nice to know we could do it if we had to. Like if Elon Musk starting charging us a fee each time we used R3\mathbb{R}^3, we could switch to using some other 3-dimensional real vector space.

view this post on Zulip David Egolf (May 01 2023 at 23:39):

John Baez said:

Yes, you can. I didn't look carefully at your approach, since it's less work to say what I'd do - you can tell me if that's what you were doing.

I believe your approach is the same as the one I described above. So that's encouraging!

Figuring out how to check that the approach works without a lot of tedious work still interests me. I've been thinking about the process of moving "structure" or "properties" between isomorphic objects a little bit the last few days. I'm interested in understanding when statements about one object can be transformed into statements about an isomorphic object, especially when these statements involve interactions with other categories. I'm also interested in understanding if there is some process that can take a property that doesn't "transform" properly between isomorphic objects, and extends it to one that does.

By the way, these musings are inspired by the earlier discussion on essential fibers, which I think is like an upgraded version of "fiber" that doesn't change in an undesired way as we move between isomorphic objects.

view this post on Zulip John Baez (May 02 2023 at 00:15):

I'm interested in understanding when statements about one object can be transformed into statements about an isomorphic object.

The short answer is: "always".

However, making sure the answer is "always" requires that we doing things right, like using essential fibers instead of fibers, etc. Any construction that goes wrong - that makes it impossible to replace an object by an isomorphic object - is said to violate the [[principle of equivalence]], and we avoid it. For short, we say it is "evil".

One main advantage of modern foundations of mathematics, like homotopy type theory / univalent mathematics, is that it becomes essentially impossible to formulate constructions that violate the principle of equivalence.

view this post on Zulip John Baez (May 02 2023 at 00:17):

As you'll see at the link, Michael Makkai proposed the Principle of Isomorphism:

“all grammatically correct properties of objects of a fixed category are to be invariant under isomorphism”.

view this post on Zulip John Baez (May 02 2023 at 00:19):

The principle of equivalence is a generalization of this.

But you and I have been doing category theory the old way, where there aren't built-in guardrails, and it's up to the user to use only constructions that don't violate the principle of equivalence.

view this post on Zulip John Baez (May 02 2023 at 00:55):

David Egolf said:

Figuring out how to check that the approach works without a lot of tedious work still interests me.

Yes, there should be something better than what I said. Here's something I tried but discarded, still perhaps worth thinking about. Forget the functor F:ADF: A \to D for a minute and think about the category DD.

If xx and yy are objects of DD for which there's an isomorphism f:xyf: x \to y, I claim there's a functor

G:DDG: D \to D

that

1) is the identity on all objects except perhaps xx,
2) has G(x)=yG(x) = y,
3) is naturally isomorphic to 1D:DD1_D : D \to D, via some natural isomorphism α:1DG\alpha: 1_D \Rightarrow G with αx=f\alpha_x = f

view this post on Zulip John Baez (May 02 2023 at 00:59):

Then, given any functor F:ADF: A \to D, the functor GF:ADG \circ F: A \to D has these properties:

A) Whenever F(a)=xF(a) = x, G(a)=yG(a) = y,
B) GFG \circ F is naturally isomorphic to FF.

Item B) follows from item 3) and a bit of category theory that you might enjoy learning!

view this post on Zulip Mike Shulman (May 02 2023 at 01:12):

Even in old-fashioned mathematics, there are abstract notions that characterize "transportable" structure and properties, and general theorems about them. For instance, a (usually forgetful) functor U:BXU:B\to X is called an isofibration if for any object bBb\in B and isomorphism ϕ:U(b)x\phi:U(b) \cong x in XX, there exists an object bBb'\in B such that U(b)=xU(b') = x and an isomorphism ψ:bb\psi:b\cong b' in BB such that U(ψ)=ϕU(\psi)=\phi.

This includes your example of functors: let BB be your category of functors ADA\to D, and XX the category Dob(A)D^{{\rm ob}(A)} of families of objects of DD indexed by the set of objects of AA, and let UU forget the action of a functor on morphisms but remember its action on objects. Then what you want is the fact that UU is an isofibration: given any functor FF, and for each object aAa\in A an object F(a)DF'(a)\in D and an isomorphism F(a)F(a)F(a) \cong F'(a) (this is the isomorphism ϕ\phi), there exists a functor FF' with this action on objects and a natural isomorphism FFF\cong F' (this is the isomorphism ψ\psi).

Of course, one still has to prove that this functor is an isofibration. It's instructive to do this by hand, as the others in this thread have done; but once you get familiar with this sort of stuff there are general theorems you can appeal to. For instance, this functor UU happens to be (strictly) monadic, and any (strictly) monadic functor is an isofibration.

view this post on Zulip Jason Erbele (May 02 2023 at 01:32):

John Baez said:

Any construction that goes wrong - that makes it impossible to replace an object by an isomorphic object - is said to violate the [[principle of equivalence]], and we avoid it. For short, we say it is "evil".

I was about to mention that there are some interesting "evil" categorical gadgets, like [[dagger categories]], but apparently the equivalence elves have been working on that particular example, so there is now a non-"evil" formulation for the dagger. I guess the moral of the story is that if something "evil" is useful enough, it can (always?) find "salvation" with an appropriate change in perspective.

view this post on Zulip David Egolf (May 02 2023 at 21:32):

Thank-you everyone for your interesting responses! I will plan to read them properly and respond once I can (unfortunately today I have a nasty headache!).

view this post on Zulip David Egolf (May 03 2023 at 18:29):

John Baez said:

As you'll see at the link, Michael Makkai proposed the Principle of Isomorphism:

“all grammatically correct properties of objects of a fixed category are to be invariant under isomorphism”.

This is thought provoking for me. Without having thought deeply about any of this, I would have expected that we would instead want the properties of isomorphic objects to be invariant "up to isomorphism", not completely invariant. So, if aba \cong b then P(a)P(b)P(a) \cong P(b) for any property PP. We would need a category that the property values live in as objects though, for us to assess when two property values are isomorphic.

I would probably need to read the original context to better understand what Makkai meant.

view this post on Zulip David Egolf (May 03 2023 at 18:35):

John Baez said:

Then, given any functor F:ADF: A \to D, the functor GF:ADG \circ F: A \to D has these properties:

A) Whenever F(a)=xF(a) = x, G(a)=yG(a) = y,
B) GFG \circ F is naturally isomorphic to FF.

Item B) follows from item 3) and a bit of category theory that you might enjoy learning!

If I understand, the "bit of category theory" being referred to would involve showing the following:

Hmm. Let me see if I can prove this.

view this post on Zulip David Egolf (May 03 2023 at 19:09):

I think I got it! In sketch form:

I suppose it could still be a lot of work to show that there is a GG that satisfies properties (1), (2) and (3), though.

view this post on Zulip John Baez (May 03 2023 at 19:13):

David Egolf said:

John Baez said:

As you'll see at the link, Michael Makkai proposed the Principle of Isomorphism:

“all grammatically correct properties of objects of a fixed category are to be invariant under isomorphism”.

This is thought provoking for me. Without having thought deeply about any of this, I would have expected that we would instead want the properties of isomorphic objects to be invariant "up to isomorphism", not completely invariant. So, if aba \cong b then P(a)P(b)P(a) \cong P(b) for any property PP. We would need a category that the property values live in as objects though, for us to assess when two property values are isomorphic.

Right. Ordinarily when people say "property" they mean something that can be true or false, so that P(a)P(a) takes values in the 2-element poset TFT \le F. This poset has only identity morphisms, so two properties are isomorphic iff they are equal.

view this post on Zulip John Baez (May 03 2023 at 19:15):

That's in classical logic. In intuitionistic logic, which Makkai is deeply familiar with, we often replace the 2-element poset TFT \le F by a more general poset of truth values. But since it's a poset, properties values in this will still be isomorphic iff they are equal.

view this post on Zulip John Baez (May 03 2023 at 19:15):

I imagine this might be what Makkai meant when he required properties to be invariant under isomorphism.

view this post on Zulip John Baez (May 03 2023 at 19:18):

A more modern attitude, which Makkai understood long before most, would be that for things valued in a category, "invariant" means "invariant up to coherent isomorphism". And more generally, for things valued in an n-category, "invariant" means "invariant up to coherent equivalence".

view this post on Zulip John Baez (May 03 2023 at 19:18):

(I could explain "coherent" but I don't feel like it right this second.)

view this post on Zulip John Baez (May 03 2023 at 19:19):

Still, it would be a bit unusual to use the word "property" to mean something valued in a category or n-category that's not just a poset (or preorder).

view this post on Zulip John Baez (May 03 2023 at 19:29):

"Property" is basically the same as "predicate", to hark back to an earlier conversation.

view this post on Zulip John Baez (May 03 2023 at 19:30):

David Egolf said:

If I understand, the "bit of category theory" being referred to would involve showing the following:

Exactly.

view this post on Zulip John Baez (May 03 2023 at 19:34):

David Egolf said:

I think I got it!

I think you did! And in the process you've started learning about "whiskering".

Given a functor F:ABF: A \to B and functors G,G:BCG, G': B \to C and a natural transformation α:GG\alpha: G \Rightarrow G', there is a natural transformation called FF left whiskered by α\alpha, and sometimes written αF\alpha \circ F, which does this:

αF:GFGF\alpha \circ F: G \circ F \Rightarrow G' \circ F

view this post on Zulip John Baez (May 03 2023 at 19:36):

There is also "right whiskering", and these operations satisfy a bunch of nice rules.

view this post on Zulip John Baez (May 03 2023 at 19:38):

Using these rules you can easily show that if α\alpha has an inverse β\beta (so it's a natural isomorphism) then αF\alpha \circ F has an inverse, namely βG\beta \circ G.

You can also see this directly, and it sounds like you already have.

view this post on Zulip David Egolf (May 03 2023 at 20:06):

John Baez said:

Still, it would be a bit unusual to use the word "property" to mean something valued in a category or n-category that's not just a poset (or preorder).

I guess I still have essential fibers on my mind here. I would be tempted to use the word "property" to refer to the essential fiber of an object with respect to a given functor ("a property of this object is its essential fiber with respect to this functor"). But an essential fiber is a category, which doesn't necessarily live in a preorder or partial order, so it sounds like "property" probably isn't the word I'm looking for here.

Hmm. Maybe even in this example there is a property like "induces this specific category as an essential fiber", which would lead to a statement about the object that can be true or false. Maybe I'm looking for a phrase like "induced structure" instead of "property", to refer to the essential fiber.

view this post on Zulip Spencer Breiner (May 03 2023 at 20:07):

John Baez said:

...FF left whiskered by α\alpha...

I think this should this be α\alpha whiskered by FF; the functors are the "whiskers" because they are one-dimensional.

Discussion of right vs left is an invitation to argument, but in "Invitation to Higher Gauge Theory" you called this a right whiskering (I guess to agree with applicative notation αF\alpha\circ F). I'd prefer to stick with diagrammatic notation (e.g., F;αF;\alpha), and call it a left whiskering of α\alpha by FF.

view this post on Zulip John Baez (May 03 2023 at 20:14):

David Egolf said:

I would be tempted to use the word "property" to refer to the essential fiber of an object with respect to a given functor ("a property of this object is its essential fiber with respect to this functor").

Don't. Just say no.

view this post on Zulip John Baez (May 03 2023 at 20:16):

For example, suppose you have the forgetful functor from groups to sets. Then you'd be calling a group a "property of" its underlying set. That's just not how we mathematicians talk. We'd call the group a structure on its underlying set.

view this post on Zulip John Baez (May 03 2023 at 20:18):

Someday you'll learn about how forgetful functors can forget stuff, or just structure, or just properties. When this sinks in it really clarifies a lot about mathematics.

view this post on Zulip John Baez (May 03 2023 at 20:19):

Briefly: properties take values in {T,F}. Structures take values in a set. Stuff takes values in a category. 2-stuff takes values in a 2-category. Etc.

view this post on Zulip John Baez (May 03 2023 at 20:26):

In our earlier conversation, we saw that the homotopy fiber of a functor between categories is a category, in general. So we say that in a general a functor forgets stuff. But we came up with conditions under which the homotopy fiber is just a set - or more precisely, equivalent to the discrete category on a set. If all the homotopy fibers are just sets, it makes sense to say our functor is just forgetting structure.

view this post on Zulip John Baez (May 03 2023 at 20:29):

If we look at, say, the forgetful functor from abelian groups to groups, the homotopy fibers are all sets with either 0 or 1 elements, depending on whether our group is abelian or not. So in this case our functor is just forgetting a property: the property of being abelian.

view this post on Zulip John Baez (May 03 2023 at 20:36):

Spencer Breiner said:

John Baez said:

...FF left whiskered by α\alpha...

I think this should this be α\alpha whiskered by FF; the functors are the "whiskers" because they are one-dimensional.

You're right! I got mixed up. For the non-expert: when you draw this sort of thing as a diagram, the natural transformation α\alpha looks like a mouth, and FF looks like a whisker poking out. If you have αF\alpha \circ F it looks like a mouth with a whisker poking out to the right... at least in one convention for drawing these things. Then this is "right whiskering". If you draw it the other way then it's called "left whiskering".

Here I hadn't mixed up left and right; I'd mixed up whiskers and mouths, which is much worse.

Discussion of right vs left is an invitation to argument, but in "Invitation to Higher Gauge Theory" you called this a right whiskering (I guess to agree with applicative notation αF\alpha\circ F).

I'm glad someone is keeping track of these things. I don't really care much what's left and what's right, though in any given text I try to be consistent (and often fail).

view this post on Zulip David Egolf (May 04 2023 at 20:48):

Mike Shulman said:

Even in old-fashioned mathematics, there are abstract notions that characterize "transportable" structure and properties, and general theorems about them. For instance, a (usually forgetful) functor U:BXU:B\to X is called an isofibration if for any object bBb\in B and isomorphism ϕ:U(b)x\phi:U(b) \cong x in XX, there exists an object bBb'\in B such that U(b)=xU(b') = x and an isomorphism ψ:bb\psi:b\cong b' in BB such that U(ψ)=ϕU(\psi)=\phi.

This includes your example of functors: let BB be your category of functors ADA\to D, and XX the category Dob(A)D^{{\rm ob}(A)} of families of objects of DD indexed by the set of objects of AA, and let UU forget the action of a functor on morphisms but remember its action on objects. Then what you want is the fact that UU is an isofibration: given any functor FF, and for each object aAa\in A an object F(a)DF'(a)\in D and an isomorphism F(a)F(a)F(a) \cong F'(a) (this is the isomorphism ϕ\phi), there exists a functor FF' with this action on objects and a natural isomorphism FFF\cong F' (this is the isomorphism ψ\psi).

Thanks for introducing me to the concept of "isofibration"!

I don't yet understand your second paragraph, though. In the category Dob(A)D^{{\rm ob}(A)}, what are the objects, and what are the morphisms? My first guess from your description is that an object is a function to the objects of DD from the objects of AA, and that a morphism is a function between objects of AA that makes the resulting triangular diagram commute. However, I'm unsure if this is correct - I'm still learning the terminology involved here.

view this post on Zulip Mike Shulman (May 04 2023 at 21:21):

An object of Dob(A)D^{ob(A)} is a function from the objects of AA to the objects of DD, and a morphism from F:ob(A)ob(D)F:ob(A) \to ob(D) to G:ob(A)ob(D)G:ob(A) \to ob(D) is a function sending each aob(A)a\in ob(A) to a morphism F(a)G(a)F(a) \to G(a) in DD.

There are two ways to see this as an instance of something more general. First, it is actually the ordinary functor category from ob(A)ob(A), regarded as a discrete category, to DD. Second, it is the product (in Cat) of ob(A)ob(A) copies of the category DD.

view this post on Zulip David Egolf (May 04 2023 at 23:36):

Awesome, that makes a lot of sense! Thanks for explaining.

view this post on Zulip John Baez (May 04 2023 at 23:43):

This is another nice example of how category theorists freely think of sets as their corresponding discrete categories (we also saw that in the homotopy fiber story). The exponential of sets XYX^Y and the exponential of a category by a set CYC^Y become commonly used special cases of the exponential of categories CDC^D.

view this post on Zulip David Egolf (May 05 2023 at 00:00):

I see! So XYX^Y for sets XX and YY can be viewed as the set of functions from YY to XX, but it can also be thought of as a category of functors between discrete categories. The objects are functors - which are just functions - and the morphisms are natural transformations, which are sort of "translations" between functions. One cool thing this approach enables: we get a notion of "isomorphic functions" for functions from YY to XX. That is, we can say two functions are isomorphic if they are naturally isomorphic when viewed as functors between discrete categories.

I think I'd thought about this example before, but not the case where one of the two categories in the exponential is discrete and the other isn't necessarily discrete. Very interesting to learn about!

view this post on Zulip John Baez (May 05 2023 at 00:16):

That is, we can say two functions are isomorphic if they are naturally isomorphic when viewed as functors between discrete categories.

Yes, good point! But when exactly are two functions naturally isomorphic according to this definition? There's a very simple criterion.

view this post on Zulip David Egolf (May 05 2023 at 00:24):

Oh, I think they are naturally isomorphic exactly when they are equal. If fgf \cong g as functors between discrete categories, then for any morphism 1y:yy1_y: y \to y in YY we have f(y)g(y)f(y) \cong g(y). But the only morphisms in the target category are identity morphisms, so f(y)=g(y)f(y) = g(y). So if fgf \cong g, then f=gf = g.

view this post on Zulip John Baez (May 05 2023 at 00:31):

Right! Moral: when working with categories that are secretly just sets, "isomorphic" secretly just means "equal".

view this post on Zulip David Egolf (May 05 2023 at 00:46):

Oh, I think the functor category XYX^Y is actually a discrete category when XX and YY are discrete categories: the only morphisms are identity morphisms. It makes sense, then, that it can be reasonably viewed as a set!

view this post on Zulip David Egolf (May 05 2023 at 01:45):

Mike Shulman said:

This includes your example of functors: let BB be your category of functors ADA\to D, and XX the category Dob(A)D^{{\rm ob}(A)} of families of objects of DD indexed by the set of objects of AA, and let UU forget the action of a functor on morphisms but remember its action on objects. Then what you want is the fact that UU is an isofibration: given any functor FF, and for each object aAa\in A an object F(a)DF'(a)\in D and an isomorphism F(a)F(a)F(a) \cong F'(a) (this is the isomorphism ϕ\phi), there exists a functor FF' with this action on objects and a natural isomorphism FFF\cong F' (this is the isomorphism ψ\psi).

I think I understand the idea of this now! Let F:ADF: A \to D be a functor that sends an object aa to F(a)F(a). Let U(F)U(F) be the corresponding functor from ob(A)ob(A) to DD, that remembers only how FF maps on objects. Now let U(F)U(F)' be a modified version of U(F)U(F), that instead maps aa to some dF(a)d \cong F(a), with dF(a)d \neq F(a).

I think U(F)U(F)U(F)' \cong U(F) in Dob(A)D^{{\rm ob}(A)}. That hopefully isn't too hard to show, since we've forgotten about the morphisms in AA for the moment. Then, if UU is an isofibration, since U(F)U(F) is an object in the image of UU and U(F)U(F)U(F)' \cong U(F), that means that there is some FF' so that U(F)=U(F)U(F') = U(F)'. Further, this FF' is isomorphic to FF in DAD^A.

I'd have to check the details still to make sure I didn't make a mistake, but I suspect this is the basic idea!

view this post on Zulip John Baez (May 05 2023 at 14:17):

David Egolf said:

Oh, I think the functor category XYX^Y is actually a discrete category when XX and YY are discrete categories: the only morphisms are identity morphisms. It makes sense, then, that it can be reasonably viewed as a set!

True! In fact XYX^Y is a discrete category whenever XX is discrete; there's no need for YY to be discrete. After all, a morphism in XYX^Y is a natural transformation between functors F,G:YXF, G: Y \to X, and such a natural transformation must be the identity if XX has only identity morphisms.

view this post on Zulip John Baez (May 05 2023 at 14:22):

You may have noticed here that I mentioned 3 cases but not the 4th:

John Baez said:

This is another nice example of how category theorists freely think of sets as their corresponding discrete categories (we also saw that in the homotopy fiber story). The exponential of sets XYX^Y and the exponential of a category by a set CYC^Y become commonly used special cases of the exponential of categories CDC^D.

view this post on Zulip John Baez (May 05 2023 at 14:24):

Raising a set to the power of a category gives a set, by what I just pointed out... but this case seems less useful than the other 3.