The Timpson Lyceum · First-Order Predicate Logic (2024)
Set Theory & Foundations of Arithmetic – Lecture 15 (Logic)
Overview
This lecture develops axiomatic (ZFC) set theory and shows how all of arithmetic can be built on top of it. Starting from just two undefined notions — set and membership () — we recap the axioms and definitions that let us build sets, then prove the theorem that justifies set-builder notation. From there we define ordered pairs, functions, the standard set operations, and the infinite set, and use these to construct the natural numbers, addition, multiplication, and the order relation. The payoff is conceptual: every familiar number and operation is "sets all the way down," and arithmetic is a consequence of set theory rather than a separate starting point.
Key Concepts
Undefined terms. Set theory takes exactly two primitives: set and the membership relation . Everything else is defined from them.
Membership axiom (A1). "" is a proposition (true or false, never both) if and only if and are sets. This blocks Russell's paradox: the "set" leads to , which is neither true nor false — so is not a set. You don't get to call something a set just by naming it.
Basic definitions.
- means .
- Subset: .
- Equality (extensionality): . The logical notion of equality is extended here: two sets are equal exactly when they have the same members.
- Proper subset: .
Empty set (A2) + uniqueness. There exists an empty set, and a theorem shows it is unique, so we may name it .
Pairing (A3). For sets there exists . Consequences: (order doesn't matter), and the singleton (duplicates don't matter).
Ordered pairs. Order does matter, so we encode it with sets: . From the set you can always recover which element came first. Tuples are recursive: .
Union axiom (A4). If is a set of sets, then exists, with members being the members of the members of . This lets us define finite sets beyond pairs: , and in general an -element set is an -element set unioned with a singleton.
Relations and functional relations. A relation is a two-term predicate (takes two terms, returns true/false). A relation is functional iff every is related to exactly one — i.e. . When is functional we may write . (This is a more restricted notion than the later set-theoretic function, but everything true of the set-theoretic function is true here.)
Replacement / image axiom (A5). If is a set and a functional relation, then the image of under (the set of all outputs) is a set. ("Image" and "range" mean the same thing.)
Set-builder notation (Theorem). For any predicate and any set , the collection is a set. The predicate acts as a filter, and crucially we always filter from a set we already know exists — this is what keeps us safe from Russell-style "too big" collections (proper classes, e.g. the collection of all ordinals).
Derived definitions (via set-builder).
- Big intersection: .
- Power set (A6): for a set , exists, with .
- Cross product: , formally drawn from .
- Binary union/intersection: , .
Axiom of infinity (A7). There exists a set with and, for every , . This guarantees an infinite set from which the naturals are built.
Successor and the natural numbers. Define , and the successor . Then so each natural number is the set of all smaller naturals, and the cardinality of is . The naturals are the set of all finite ordinals.
Arithmetic by recursion.
- Addition: and .
- Multiplication: and .
- Order: . Membership is the less-than relation.
Number systems sketch. Integers, rationals, and reals follow (via equivalence classes, not fully developed here): an integer is encoded by an ordered pair of naturals standing for ; a rational by an ordered pair of integers; and the reals are realized as (equivalently ), reflecting that the reals are a strictly larger infinity than the naturals.
Foundation / regularity (A8). Every non-empty set contains an element with . This forbids pathologies like (no set is a member of itself).
Axiom of choice (A9). If is a collection of non-empty, mutually disjoint sets, there exists a set containing exactly one element from each set in . ( are disjoint iff ; a family is mutually disjoint iff any two distinct members are disjoint.) Choice guarantees you can select one element from each of infinitely many sets even when no rule tells you which — its famous consequence is that every set (even ) can be well-ordered, though it never tells you the order explicitly. Adding choice gives ZFC; omitting it gives ZF.
Worked Example
Goal: compute using only the recursive definition of addition, and , together with and the previously established fact .
Apply , then unfold with the successor rule:
The same machinery drives multiplication. For example , using , , and :
No one computes arithmetic this way in practice; the point is that it can be done, so arithmetic is fully recoverable from set theory.
Summary
- Set theory rests on two undefined terms, set and ; the membership axiom restricts what counts as a set and thereby dissolves Russell's paradox.
- Equality is extensional, ordered pairs are encoded as , and the union axiom extends notation to any finite set.
- The image axiom (replacement) proves the set-builder theorem: is a set — but you must always filter from an existing set to avoid proper classes.
- The axiom of infinity plus the successor builds the naturals as , , , so has exactly elements and just means .
- Addition and multiplication are defined recursively through the successor function, recovering ordinary arithmetic entirely within set theory.
- Foundation forbids self-membership; the axiom of choice (giving ZFC) guarantees selections and well-orderings of infinite collections without specifying them.