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’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?
Do they perhaps exist in yet another category, where functors are the objects and natural transformations are the morphisms?
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)?
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.
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.
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 ?
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?
Yes, a functor is a morphism in the category [[Cat]].
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?"
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.
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)
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.
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 ...
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.
I think these resources could help:
A Formal Logic for Formal Category Theory
[[category theory and foundations]]
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]].
There is a lot to learn here and it will definitely take some time!
I appreciate all the inputs I got here!
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 . That's the 2-category where
That's where functors and natural transformations live!