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: Where do functors and nat. transformations live?


view this post on Zulip Yuri (Jan 24 2025 at 23:20):

I’m relatively new to category theory, so please be gentle! :blush:

As I understand it, objects and morphisms exist within a category. Since functors map between categories, they themselves must reside in another (higher?) category where categories are the objects and functors are the morphisms. This leads to the question: where do natural transformations reside, since they are maps between functors?

  1. Do they perhaps exist in yet another category, where functors are the objects and natural transformations are the morphisms?

  2. Or do they belong to a 2-category (which I recently learned about)?

On a related note, are there examples of 2-morphisms in a 2-category that are not natural transformations (assuming the second option above is correct)?

view this post on Zulip John Baez (Jan 24 2025 at 23:47):

Natural transformations are the 2-morhpisms in the 2-category [[Cat]].

Are there examples of 2-morphisms in a 2-category that are not natural transformations (assuming the second option above is correct)?

Yes, there are many examples of 2-categories. Here's one: there's a 2-category with one object, sets as 1-morphisms, with cartesian product of sets as composition of 1-morphisms, and functions between sets as 2-morphisms.

view this post on Zulip Morgan Rogers (he/him) (Jan 26 2025 at 22:18):

It's worth commenting that the first option is also correct. Functor categories are important, and you'll likely meet special cases of these when you learn about presheaves.

The connection between these is that, just as in a 1-category C every pair of objects x,y has a set of morphisms between them C(x,y), in a 2-category each pair of objects has a category of morphisms between them.

view this post on Zulip Josselin Poiret (Jan 27 2025 at 13:48):

let's maybe roll back a bit, what do you mean by must in

Yuri said:

they themselves must reside in another (higher?) category

? do you mean “requirement” or rather that you expect it to be the case ?

view this post on Zulip Yuri (Jan 29 2025 at 04:19):

Josselin Poiret said:

let's maybe roll back a bit, what do you mean by must in
...
? do you mean “requirement” or rather that you expect it to be the case ?

I rather expect it (intuitively) to be the case. If a functor maps from a category to another, it may well not be part of domain category nor the codomain category but one that includes both?

view this post on Zulip John Baez (Jan 29 2025 at 17:24):

Yes, a functor is a morphism in the category [[Cat]].

view this post on Zulip Julius Hamilton (Jan 29 2025 at 18:19):

It sounds like you assume "everything is in some category", but that's not the case.

If you have a collection of objects, for each pair of objects a collection of morphisms, an associative partial operation defined on composable morphisms, and for each object an identity morphism that acts as a unit, then you have a category. But it's not the case that in category theory, every concept has to be located in some category. A category is an axiomatizable structure, like a group. We don't need to say, "in group theory, a group has a set and an operation. But there are also group homomorphisms; what group are they in?"

view this post on Zulip Yuri (Jan 29 2025 at 21:05):

Yes, I guess coming from a programming background I expect all things to have a place so that they can be uniquely identified and referenced.

view this post on Zulip Ryan Wisnesky (Jan 29 2025 at 21:29):

all things will be defined in the "meta theory" one is working in. So if one is doing category theory in zfc (or type theory), then all things will be definable in zfc (or type theory), but not all things will be a morphism in a category. Sometimes failure to be a morphism/object happens because of "size issues" - the category of categories cannot be an object of itself, and sometimes one postulates axioms to make this be so ('let every set be an element of another set called a Grothendieck universe'). And sometimes, extra structure can indeed be placed on a collection of homomorphisms (a natural transformation is a morphism in a functor category, for example)

view this post on Zulip Yuri (Jan 30 2025 at 00:47):

This “meta theory” was the bigger picture behind my specific question about where natural transformations fit in category theory. I’m trying to understand if category theory (CT) has its own basic framework that can describe itself. This idea comes from my experience with Unified Modeling Language (UML) and the Meta Object Facility (MOF), which is a tool that defines and organizes UML models. I want to know if category theory has something similar that lets it describe and manage its own structures and ideas, just like MOF does for UML. Basically, I’m looking into whether CT has a foundational layer that allows it to model and refer to its own categorical concepts internally, even though this self-referential aspect might lead to some inconsistencies.

view this post on Zulip Yuri (Jan 30 2025 at 00:53):

After learning a bit about functorial semantics from Lawvere, I was wondering if it could serve as a mechanism for layering different meta-levels within category theory like in MOF? However, I might be approaching this incorrectly ...

view this post on Zulip Ryan Wisnesky (Jan 30 2025 at 00:59):

Certainly one can define a 'category object' in any category with enough pullbacks, with a category object in Set being a normal category. Similarly, one can define a 'group object' etc.

view this post on Zulip Julius Hamilton (Jan 30 2025 at 13:27):

I think these resources could help:

A Formal Logic for Formal Category Theory

[[formal category theory]]

[[category theory and foundations]]

view this post on Zulip Julius Hamilton (Jan 30 2025 at 13:39):

This “meta theory” was the bigger picture behind my specific question about where natural transformations fit in category theory. I’m trying to understand if category theory (CT) has its own basic framework that can describe itself. This idea comes from my experience with Unified Modeling Language (UML) and the Meta Object Facility (MOF), which is a tool that defines and organizes UML models. I want to know if category theory has something similar that lets it describe and manage its own structures and ideas, just like MOF does for UML. Basically, I’m looking into whether CT has a foundational layer that allows it to model and refer to its own categorical concepts internally, even though this self-referential aspect might lead to some inconsistencies.

It sounds like you should study [[model theory]].

view this post on Zulip Yuri (Jan 30 2025 at 19:19):

There is a lot to learn here and it will definitely take some time!

I appreciate all the inputs I got here!

view this post on Zulip John Baez (Jan 30 2025 at 21:33):

I don't think you need to study model theory if you're mainly interested in "where do functors and natural transformations live". I think you mainly need to study the 2-category Cat\mathbf{Cat}. That's the 2-category where

That's where functors and natural transformations live!