Sets: Basics, Extensionality, and Russell's Paradox
What is a Set?
A set is an unordered collection of distinct objects. The objects in a set are called its elements or members.
Membership
We write to mean ” is an element of ” and to mean ” is not an element of ”.
Examples
- : the set containing 1, 2, and 3
- : the set of natural numbers
- or : the empty set
Extensionality
The Axiom of Extensionality
Two sets are equal if and only if they contain exactly the same elements:
Consequences
- Order does not matter:
- Repetition does not matter:
- A set is determined entirely by its membership
Proof Strategy
To prove : show that every element of is in , and every element of is in .
Subsets and Supersets
Definitions
-
( is a subset of ): every element of is in
-
( is a proper subset of ): and
-
( is a superset of ):
Properties
- Reflexivity:
- Antisymmetry:
- Transitivity:
The Empty Set
The empty set is the unique set with no elements.
Properties
- for any set (vacuously true)
Separation (Restricted Comprehension)
Naive Comprehension (Problematic)
The naive comprehension principle would allow: for any property , form .
Russell’s Paradox
Consider the “set” .
Is ?
- If : then satisfies the defining property, so . Contradiction.
- If : then satisfies the defining property, so . Contradiction.
This is a genuine paradox, showing naive comprehension is inconsistent.
Separation Schema
Given a set and a property , we can form:
This is restricted comprehension or separation: we can only form subsets of existing sets.
Set Operations
Union
Intersection
Set Difference
Complement (Relative to a Universe )
Laws of Set Algebra
Identity Laws
Domination Laws
Idempotent Laws
De Morgan’s Laws
Distributive Laws
Summary
- Sets are collections determined entirely by membership (extensionality)
- means every element of is in
- Russell’s paradox shows naive comprehension is inconsistent
- Use separation: for safe set construction
- Sets form a Boolean algebra under , , complement