The Timpson Lyceum seal

The Timpson Lyceum · First-Order Predicate Logic (2024)

Axiomatic Set Theory – Lecture 14 (Logic)

Axiomatic Set Theory – Lecture 14

Overview

Set theory is the foundational system that almost every other branch of mathematics presupposes: when you do geometry, algebra, topology, or computation theory, you are quietly relying on sets. This lecture builds set theory axiomatically, starting from just two primitives — the membership symbol ∈\in and the notion of set — and shows why a careful axiomatic approach is needed by walking through Russell's Paradox, the contradiction that sank "naive" set theory. From there we develop the core relations (subset, equality, proper subset), prove the empty set is unique, and introduce the existence axioms that let us actually build sets: pairing, union, replacement, and the power set. The headline result is that set-builder notation {y∈M:P(y)}\{y \in M : P(y)\} always denotes a genuine set — but only when we filter elements out of an already existing set, never out of "everything."

Key Concepts

Primitives. Everything in the theory is ultimately defined from exactly two undefined notions: the relation ∈\in (membership) and the predicate "is a set." A predicate returns true or false; a relation is a two-place predicate. Quantifiers always range over sets — "for all xx" means "for every set xx."

Axiom 1 (Membership is a proposition). For all sets x,yx, y, the statement x∈yx \in y is a proposition — it is true or false but not both: ∀x ∀y (x∈y ∨‾ x∉y)\forall x\, \forall y \,\big( x \in y \ \underline{\vee}\ x \notin y \big) This looks trivial but it is the axiom that lets us deny sethood to ill-formed collections (see Russell's Paradox).

Russell's Paradox. Define UU to be "the set of all sets that do not contain themselves": x∈U  ⟺  x∉xx \in U \iff x \notin x. Ask whether UU contains itself:

So "U∈UU \in U" is neither true nor false, hence not a proposition. By Axiom 1, UU is therefore not a set. Naming a collection a "set" no longer forces it to be one — just as calling 4 a prime does not make it prime. This is why we cannot conjure sets into existence merely by describing them.

Basic relations.

Sets all the way down. The only things a set can contain are other sets. The empty set ∅\varnothing is the unique set with no members; every other set is built from it. (For example the von Neumann number 4={ ∅,{∅},{∅,{∅}},{∅,{∅},{∅,{∅}}} }4 = \{\,\varnothing, \{\varnothing\}, \{\varnothing,\{\varnothing\}\}, \{\varnothing,\{\varnothing\},\{\varnothing,\{\varnothing\}\}\}\,\}.)

Axiom 2 (Empty set exists). ∃x ∀y (y∉x)\exists x\, \forall y\,(y \notin x). After proving uniqueness (below) we name this set ∅\varnothing.

Axiom 3 (Pairing). For any sets x,yx, y there is a set whose only members are xx and yy: ∀x ∀y ∃m ∀a (a∈m  ⟺  (a=x ∨ a=y)),m={x,y}.\forall x\,\forall y\,\exists m\,\forall a\,\big(a \in m \iff (a = x \ \vee\ a = y)\big),\qquad m = \{x, y\}. This is the source of curly-brace notation. Because ∨\vee is commutative, {x,y}={y,x}\{x,y\} = \{y,x\}. The singleton is defined by {x}:={x,x}\{x\} := \{x, x\}, which is why duplicates collapse.

Ordered pairs. Defined so that order is recoverable: (x,y):={{x},{x,y}}(x, y) := \{\{x\}, \{x, y\}\}. This gives the key property (x,y)=(a,b)  ⟺  (x=a ∧ y=b)(x,y) = (a,b) \iff (x=a \ \wedge\ y=b); the left coordinate is identifiable as the element that is a member of the other. Tuples nest: (x,y,z):=((x,y),z)(x,y,z) := ((x,y), z), and in general (a1,…,an):=((a1,…,an−1), an)(a_1, \dots, a_n) := ((a_1,\dots,a_{n-1}),\, a_n).

Axiom 4 (Union). For a set xx, there is a set ⋃x\bigcup x whose members are the members of the members of xx: ∀y (y∈⋃x  ⟺  ∃u (u∈x ∧ y∈u)).\forall y\,\Big( y \in \textstyle\bigcup x \iff \exists u\,(u \in x \ \wedge\ y \in u)\Big). Ordinary binary union is then defined by a∪b:=⋃{a,b}a \cup b := \bigcup \{a, b\}, equivalently a∪b={t:t∈a ∨ t∈b}a \cup b = \{t : t \in a \ \vee\ t \in b\}. This is our first operation, and three-or-more-element sets are built from it: {a,b,c}:=⋃{{a,b},{c}}\{a,b,c\} := \bigcup\{\{a,b\},\{c\}\}.

Axiom 5 (Replacement / image). A functional relation RR pairs every input with a unique output (∀x ∃!y (xRy)\forall x\, \exists! y\, (xRy), written R(x)=yR(x) = y). The image of RR on a set MM is ImR(M)={ y:∃x∈M, xRy }\mathrm{Im}_R(M) = \{\,y : \exists x \in M,\ xRy\,\}. Axiom 5 states: if MM is a set and RR a functional relation, then ImR(M)\mathrm{Im}_R(M) is a set — applying a function to a set yields a set.

Set-builder notation (theorem from Axiom 5). For any predicate PP and any set MM, the collection { y∈M:P(y) }\{\,y \in M : P(y)\,\} is a set. Crucially we always filter from an existing set MM — never "{x:P(x)}\{x : P(x)\}" over everything, which would resurrect Russell's UU.

Operations defined from the above.

Axiom 6 (Power set). For a set MM there is a set P(M)\mathcal{P}(M) whose members are exactly the subsets of MM: ∀a (a∈P(M)  ⟺  a⊆M).\forall a\,\big(a \in \mathcal{P}(M) \iff a \subseteq M\big). E.g. P({a,b})={ ∅, {a}, {b}, {a,b} }\mathcal{P}(\{a,b\}) = \{\,\varnothing,\ \{a\},\ \{b\},\ \{a,b\}\,\}. (The power set is also the discrete topology on MM.) A separate axiom is needed because finite power sets are constructible from earlier axioms, but infinite ones are not.

Worked Example

Proof that the empty set is unique. First state the standard uniqueness strategy: assume two objects with the property, prove they must be equal. Suppose AA and BB are both empty, i.e. ∀y (y∉A)\forall y\,(y \notin A) and ∀y (y∉B)\forall y\,(y \notin B). Show A=BA = B via mutual subset inclusion, using that a false hypothesis makes an implication vacuously true.

A=B ⟸ (A⊆B) ∧ (B⊆A)(extensionality)A⊆B ⟸ ∀y (y∈A→y∈B)but y∈A is false, so (y∈A→y∈B) holds vacuouslyB⊆A ⟸ ∀y (y∈B→y∈A)likewise y∈B is false, so this holds vacuously∴ A=B.\begin{aligned} A = B \ &\Longleftarrow\ (A \subseteq B) \ \wedge\ (B \subseteq A) && \text{(extensionality)} \\ A \subseteq B \ &\Longleftarrow\ \forall y\,(y \in A \to y \in B) && \text{but } y \in A \text{ is false, so } (y\in A \to y \in B) \text{ holds vacuously} \\ B \subseteq A \ &\Longleftarrow\ \forall y\,(y \in B \to y \in A) && \text{likewise } y \in B \text{ is false, so this holds vacuously} \\ \therefore\ A = B. \end{aligned}

Since any two empty sets coincide, the empty set is unique, and we may legitimately name it ∅\varnothing.

As a second, smaller illustration, build the ordered triple (1,2,1)(1,2,1) purely from sets:

(1,2,1) = ( (1,2), 1 )= { {(1,2)},  {(1,2), 1} }= { {{{1},{1,2}}},  {{{1},{1,2}}, 1} }.\begin{aligned} (1,2,1) \ &=\ \big(\,(1,2),\ 1\,\big) \\ &=\ \big\{\ \{(1,2)\},\ \ \{(1,2),\ 1\}\ \big\} \\ &=\ \Big\{\ \big\{\{\{1\},\{1,2\}\}\big\},\ \ \big\{\{\{1\},\{1,2\}\},\ 1\big\}\ \Big\}. \end{aligned}

The outer set has two distinct members, and no spurious duplicate appears because the two copies of (1,2)(1,2) live in different sets.

Summary