Knaph

Paradox and Gödel22 of 244 min read

The Set of All Ordinary Sets

In a village there is one barber. He shaves every man who does not shave himself, and no one else. Who shaves the barber? Try an answer, and it fails. That is a small story. The same shape, in 1902, broke a whole system of logic. How can a story about a barber break a system? That is the question of this lesson.

Who shaves the barber?

The rule says: the barber shaves a man if and only if that man does not shave himself. Does the barber shave himself? Suppose yes. Then he is a man who shaves himself, and the rule says he shaves only men who do not. So he does not. Suppose no. Then he is a man who does not shave himself, and the rule says he shaves such men. So he does.

A barber stands between two boxes. The left box says shaves himself, with a red cross. The right box says does not shave himself, with a red cross. Under the barber it says either answer contradicts the rule.

Both answers fail. The honest conclusion: there is no such barber. A village with this rule cannot exist. Nothing is wrong with logic here. The rule asked for the impossible.

The same shape with sets

A set is a collection of things. A set can be a member of another set. Most sets are not members of themselves. The set of all cups is not a cup. Call such a set ordinary: it is not a member of itself.

Now collect them. Let R be the set of all ordinary sets. Is R a member of R? Suppose yes. Then R is a member of itself, so it is not ordinary, but R holds only ordinary sets. So no. Suppose no. Then R is not a member of itself, so it is ordinary, and R holds every ordinary set. So yes. Either answer gives the opposite. This is Russell's paradox.

A large circle labelled R, the set of all ordinary sets. A small circle R sits outside it with a question mark. Two arrows lead away. If R is inside R, then R is not ordinary, so it is not inside. If R is outside R, then R is ordinary, so it is inside.

What it broke

In 1879 Gottlob Frege built the first modern system of logic. Later he used a rule for sets: any property gives a set of everything with that property. "Ordinary" is a property, so the rule gives R. In 1902 Bertrand Russell wrote to Frege and showed him this. The system proved a contradiction. By explosion, a system that proves a contradiction proves everything, so it says nothing.

The diagonal trick is in here. Look at any set S. By its definition, R holds S exactly when S does not hold S. So R differs from each set S in this one place: whether S is a member of S. Flip the diagonal, and you get a set that is on no list.

A small table. The rows are the sets A, B and C and the new set R. The columns are A, B and C. Along the diagonal, A does not hold A, B holds B and C does not hold C. The row for R shows the opposite on the diagonal: R holds A, does not hold B and holds C.

Modern set theory fixed this. It does not allow a set from any property alone. It only lets you pick out, from a set you already have, the things with a property. Then R cannot be formed.

Careful

The barber story shows there is no such barber. It does not show that sets are nonsense. Only the rule "any property gives a set" has to go.

Try it at home

  1. Write the barber's rule in one sentence. Then follow both answers on paper with a line for each.
  2. Find a village rule of your own with the same shape, like "the librarian lists every library that does not list itself". Does a librarian like that exist?
  3. Name three ordinary sets, such as the set of all cups. Why is each one not a member of itself?

Words to know

  • ordinary set - a set that is not a member of itself
  • Russell's paradox - the set of all ordinary sets is a member of itself exactly when it is not
  • member - a thing that belongs to a set

Big idea

The set of all ordinary sets cannot exist: either answer to "is it a member of itself?" gives the opposite. The same diagonal shape as the barber.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.