How is the problem of ‘the set of all sets’ resolved in category theory?

261 views

I am an undergraduate maths student taking a category theory course this term. Very quickly I have run into the issue of how categories such as **Set** can be defined since we can’t have a set of all sets. The lecturer defined categories using the word ‘collection’ but I’ve never encountered a collection in maths that wasn’t a set yet. I’ve seen references to classes when I look this up, which seem to me to be sets but with a different name so that it’s not technically a set of all sets, but then what happens if you need a class of all classes?

The lecturer told us not to worry about it and that he would tell us when we need to consider this issue in our study of category theory but I’m struggling to move on in the class without finding out. I have tried to research this issue but I am struggling to find an explanation at my level.

Please could someone ELI5?

In: 13

3 Answers

Anonymous 0 Comments

Categories are defined on *classes*, not on *sets*. The category **Set** has the class of all sets (which is not the same thing as a set of all sets) as its objects and the class of (total) functions between sets as its morphisms.

A class is defined by a property, which is different from the axioms of a set (which treat membership as first-class and think of properties in terms of membership). To say “x is in the class C” is to say “a logical property P applies to x” or more succinctly, “P(x)”. For example, the property “contains two elements” is well-defined in set theory, and there is a class (which is not a set) of “sets that contain two elements”, with {1,2} and {R, C} as members of that class.

The standard formalism on which you do most math formalizes everything in terms of sets, so **Set** – being defined on a class that is not a set – can’t be formalized in that fashion. You need a larger, more powerful logical foundation than ZFC to work on classes.

—–

The reason that you run into problems with the set of all sets is that you want to do *comprehension* on sets, and in particular, you want sets to be able to contain other sets. So you have an axiom:

* Given a set S and a property P, it is possible to form a new set T = {x in S | P(x)} of elements of S that satisfy property P.

And if you have a set of all sets, you run into a contradiction by setting P(x) = x (not a member of) X.

You don’t run into the same problem with classes because classes aren’t members of classes. Only sets are members of classes, so there is no “class of all classes”.

You are viewing 1 out of 3 answers, click here to view all answers.