Set Theory
Collections, membership, and the foundational language of mathematics.
Elements
The fundamental element of set theory is the object — anything that can be collected. A set is a collection of distinct, unordered elements; each element appears only once.
Hierarchy of Forms
- Element (): the primitive membership relation — means belongs to
- Set: the basic form — finite, infinite, countable, uncountable, ordered, unordered
- Subset: if every element of is in
- Power set: — the set of all subsets of ; if , then
Set Operations
| Operation | Symbol | Meaning |
|---|---|---|
| Union | Elements in or (or both) | |
| Intersection | Elements in both and | |
| Difference | Elements in but not | |
| Cartesian product | All ordered pairs |
ZFC Axiomatic System
Modern set theory is built on the Zermelo–Fraenkel axioms with Choice (ZFC) — a minimal set of axioms from which all of standard mathematics can be derived.
The key axioms state what sets exist:
- Extensionality — sets are determined entirely by their members
- Empty set — exists
- Power set — exists for any
- Infinity — an infinite set exists (foundation of )
- Separation — exists for any predicate
Cantor’s Theorem
From Separation alone, a fundamental asymmetry follows:
No set can be placed in bijection with its own power set. Applying this to proves that the real numbers are uncountable — a strictly larger infinity.
The Axiom of Choice
The most controversial axiom: for any collection of non-empty sets, there exists a function selecting one element from each. It is independent of the other ZFC axioms — neither provable nor disprovable without it.
Set Operations as Procedures
The algorithmic lens treats set theory as a collection of decision and construction procedures — operations with clear inputs, steps, and outputs.
Membership Testing
Given a set and element : evaluate . If true, ; otherwise, .
Power Set Construction
For a set with elements, the power set has members:
- Begin with .
- For each element , extend every existing subset with .
- Collect all subsets.
Cardinality Comparison
Two sets have the same cardinality if there exists a bijection between them. For infinite sets this diverges from size intuition: (all countable), but (uncountable).
Transfinite Induction
The generalization of mathematical induction to well-ordered sets and ordinals — the procedure for proving properties over the entire infinite hierarchy of sets.
Set Theory as a System
In the classical view, set theory is a two-level system:
- Elements (objects): the primitive units — anything can be an element
- Sets (forms): the structures that collect elements under a predicate
Modern set theory extends this: sets themselves become elements of other sets, giving the system a recursive, self-referential structure.
Stocks and Flows
- Stock: the universe of sets — built cumulatively by the von Neumann hierarchy
- Flow: set operations (union, power set, replacement) generate new sets from existing ones
- Reinforcing loop: power set construction — each set generates a strictly larger set, driving the hierarchy upward without limit
Finite vs. Infinite
| Type | Property |
|---|---|
| Finite set | Cardinality is a natural number |
| Countably infinite | Bijectable with |
| Uncountably infinite | Cannot be listed — e.g., |
| Well-ordered | Every subset has a least element |
The system has no natural upper boundary: the cumulative hierarchy of sets forms the universe of mathematics.
Connections
Set theory provides the foundational language for all of mathematics. Arithmetic grounds in set theory through the definition of natural numbers as von Neumann ordinals. Algebra’s structures — groups, rings, fields — are defined as sets with operations satisfying axioms. Calculus relies on set theory for its epsilon-delta definitions: functions are sets of ordered pairs, open sets define the topology underpinning limits.