Set-builder notation and Russell’s paradox
There is way of representing sets, both small and extremely large, using what is called ‘set-builder notation’. Set-builder notation specifies sets according to some specifiable rule, which decides whether something is in a given set or not. An example is: What is specified above is that the set consists of all provided is a sheep. In other words, is the set of all sheep. On the right side, after the symbol ‘’, the rule for belonging, or not belonging, to the set is given. Namely, for any object whatsoever, check if is a sheep. If it is, it belongs to the set. If not, it does not belong to the set.
Here is another example: Here, the test is a bit more involved. It says that something belongs to the set provided you can find a natural number, , and multiplying by you get . If you think about it, only the even numbers will pass this test. First, every even number is such that you can find another number, , and . For example, is an even number, and there is another number, , such that . On the other hand, something like will not pass the test, since there is no natural number such that . This is because , and is not a natural number.
Interestingly, the set is, of course, infinite, but what the set-builder notation allows us to do is specify it precisely, in a finite manner, without relying on murky notation like the dots ‘’ above, which only implies that we can ‘go on’ indefinitely with listing our input-output pairs.
In fact, you can consider more extreme circumstances, like sheep. Take, for example, the famous cloned sheep Dolly. Is there a natural number such that ? Clearly, there is no such number, so Dolly is also not in .
Exercise 3.10. According to the above definition, is ? If it is, give a definition of a set in set-builder notation in which is not a member. If it is not, give a definition of a set in set-builder notation in which is a member.
Russell’s paradox
At the inception of modern set theory, it was thought that every specifiable collection of things constitutes a set. That is, given any rule , the following always gives you a set:
However, it was quickly discovered that this will not do, since not just any specifiable collection of things is a set. How could this be? The reason for this is usually attributed to Bertrand Russell, a philosopher-logician-mathematician (yet another one!), and one of the most important intellectuals of the 20 century. Hence the name ‘Russell’s paradox’.
Let’s start from the beginning. As we said, some sets can be members of other sets. For example, regarding the set , the set is in . But if anything specifiable is a set, we may get some pretty weird stuff. Consider a set, , and ask whether is in . Can a set have itself as its own member? At first glance, there is no reason why not. We can specify: In this case, would have a single member, itself!
We can generalize on this idea, specifiying a set as follows: The set is then the set of all sets that contain themselves. So the set would be in . But the set would not be, since . Indeed, we seem to also be able to specify the set of all sets that do not contain themselves, by specifying: Regarding , if , , since . On the other hand, since , .
In general, sounds like a set of rather weird sets that contain themselves, while seems like a set of perfectly normal sets that do not have as members themselves. But in fact, is quite problematic!
For note that is specified by being made up of all sets that do not contain themselves. And is itself a set! So presumably, we can apply the rule, specified for , and see whether is in , or is not in . Now the rule specified for is that if , for any , then , otherwise, . But now consider itself!
Well, if , then it must have passed the rule for , so . And if , then it passes the rule, so . But surely, this is absurd! As a general rule, we want to say that a set is either in a set, or it is not in a set, but not both or neither. So we have two choices: either , or . In the first case, we immediately get that and . In the second case, we immediately get that and . So in either case, we are in an impossible situation where is both in , and not in . A paradox.
There is an well-known illustration of Russell’s paradox, sometimes called the barber paradox. Suppose you are in a town that has a barber with a seemingly straightforward rule. The barber shaves those, and only those people who do not shave themselves. So if you shave yourself, the barber does not shave you! But if you do not shave yourself, the barber does shave you. But what about the barber himself? If he shaves himself, then given the fact that he is the barber that only shaves those who do not shave themselves, he does not shave himself. And if he does not shave himself, then given the fact that he only shaves those who do not shave themselves, he does shave himself! So either way, we have the same problem as before, that the barber both does and does not shave himself.
Exercise 3.11. Let . How would you describe this set? Is ? If , is ? Conversely, is ?
Because of issues like Russell’s paradox, modern set theory needed to look for firmer foundations than it was originally based on. In more modern formulations, like Zermelo–Fraenkel set theory (usually denoted ZF), sets cannot be members of themselves, hence Russell’s paradox is avoided. This also means that is not a set either. Since we won’t run into these types of issues later, we will not go into these matters further.