Russell’s counterexample to naïve comprehension [01G7]

Before mathematicians had worked out the kinks of set theory, they originally did not require a fixed set A: instead, the predicate P{\mathopen {}\left (x\right )\mathclose {}} could range over “anything”, and there were no type restrictions whatsoever. This old/naïve comprehension principle then allowed for a set {\mathopen {}\left \{x\,\middle \vert \,P{\mathopen {}\left (x\right )\mathclose {}}\right \}\mathclose {}} to be formed. From our modern point of view, this is a little bit nonsensical, but it was not immediately clear that it would lead to the collapse of the system of set theory.

The Cambridge philosopher Bertrand Russell showed, however, that naïve comprehension is bad news. In particular, made it possible to define “the” set of sets that are not a member of themselves:

R\coloneqq {\mathopen {}\left \{A\,\middle \vert \,A\not \in A\right \}\mathclose {}}

If the above were allowed, then you could show that R\in R\Longleftrightarrow R\not \in R, which is contradictory.