Russell's Paradox: Understanding the Contradiction of Sets

  • Context: Graduate 
  • Thread starter Thread starter cesc
  • Start date Start date
  • Tags Tags
    Paradox
Click For Summary
SUMMARY

Russell's Paradox arises when considering the set X of all sets that do not contain themselves. If X contains itself, it contradicts its definition, and if it does not, it must contain itself. The resolution involves implementing a type system to prevent self-containing sets, which is supported by the Zermelo-Fraenkel (ZF) axioms, particularly the axiom of regularity. This axiom ensures that no set can contain itself, thus avoiding the paradox.

PREREQUISITES
  • Understanding of set theory and the concept of sets.
  • Familiarity with the Zermelo-Fraenkel (ZF) axioms.
  • Knowledge of the axiom of regularity in set theory.
  • Basic programming concepts, particularly in Java, related to class definitions.
NEXT STEPS
  • Study the Zermelo-Fraenkel axioms in detail to understand their implications for set theory.
  • Explore the axiom of regularity and its role in avoiding paradoxes in set theory.
  • Learn about type systems in programming languages and how they relate to set containment.
  • Investigate practical examples of self-referential structures in programming, such as recursive data types.
USEFUL FOR

Mathematicians, computer scientists, and students of logic who are interested in set theory, paradoxes, and their implications in both theoretical and practical contexts.

cesc
Messages
9
Reaction score
0
I understand how the argument goes- let X be the set of all sets which don't contain themselves.
If X contains itself, then X is not in X
If X doesn't contain itself, then X is X


the part i don't understand is, What on Earth does it mean for a set to contain itself?

garbage in, garbage out?
 
Physics news on Phys.org
It means that the set is an element of itself. For example, an expense list might be viewed as a set of items (the items listed on it). If the expense list itself is listed as an item on the expense list, then that set contains itself.

The resolution is to add a type system which prevents sets from containing themselves, even indirectly.
 
well the example seems kind of frivolous.
Also, I'm not sure if its quite right. The word "list" has the dual meaning of a set, and a piece of paper which is an expenseAre there any examples involving mathematical objects?
 
cesc said:
the part i don't understand is, What on Earth does it mean for a set to contain itself?
X \in X.


mXSCNT said:
The resolution is to add a type system which prevents sets from containing themselves, even indirectly.
Sets containing themselves don't cause a problem. And even if you want to exclude them, you can just use the axiom of foundation, rather than trying to do something more elaborate.
 
Could you give a concrete example where X is an element of X
 
X = {X}

No problem there.
 
If you look at the ZF axioms, it's not too hard to see that there is no set that contains itself.

Suppose X is a set, and consider the set {X}. Now (following Wikipedia, anyway), the axiom of regularity says: "Every non-empty set x contains a member y such that x and y are disjoint sets." Well, {X} is a nonempty set, and its only member is X. Thus, {X} and X are disjoint; since X is in {X}, X is not in X.
 
adriank said:
If you look at the ZF axioms, it's not too hard to see that there is no set that contains itself.

Suppose X is a set, and consider the set {X}. Now (following Wikipedia, anyway), the axiom of regularity says: "Every non-empty set x contains a member y such that x and y are disjoint sets." Well, {X} is a nonempty set, and its only member is X. Thus, {X} and X are disjoint; since X is in {X}, X is not in X.

The axiom of foundation (regularity) doesn't help avoid Russell's paradox. If the paradox can be constructed in a theory X, then it can be constructed in the theory X + foundation (and leads to contradiction, naturally).

Russell's paradox doesn't occur in ZF because such paradoxical sets cannot be constructed in the first place -- the axiom of specification isn't powerful enough.
 
Here's a more practical example.

class LinkedNode
{
public LinkedNode next;
public String data;
...
}

The class in Java defines a "set" which may contain elements, "objects". Saying object A is an instantiation of class B is basically to say that B = {X | X has the given properties} and A is in B.

Here, LinkedNode contains itself. Even if you take a class definition to be a an ordered n-tuple of its properties rather than a set, you still have

(next, data) = {next, {next, data}} or {{next, data}, data} (definition of ordered n-tuple, I think?)

In the first example, next is in LinkedNode because it's the first element in the list... in the second, because it is in the first set, which is in the outside set.

So, despite it all, you can certainly have things like X = {X} and Z = Z x Y...
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K