Logic and Set Theory
Logic and Set Theory
Chapter 6 Cardinals 43
Examples Sheets
Prerequisites. Have met groups, fields, vector spaces (as examples); countability
2. D. Van Dalen, ‘Logic and Structure’, Springer-Verlag 1980 (good for Chapter 4)
3. A. Hajnal & P. Hamburger, ‘Set Theory’, CUP 1999 (for cardinals and ordinals)
4. T. Forster, ‘Logic, Induction and Sets’, CUP 2003 (good bedtime read)
No specific prerequisites.
Propositional logic
The propositional calculus. Semantic and syntactic entailment. The deduction and com-
pleteness theorems. Applications: compactness and decidability. [3]
Predicate logic
The predicate calculus with equality. Examples of first-order languages and theories. State-
ment of the completeness theorem; *sketch of proof*. The compactness theorem and the
Löwenheim-Skolem theorems. Limitations of first-order logic. Model theory. [5]
Set theory
Set theory as a first-order theory; the axioms of ZF set theory. Transitive closures, epsilon-
induction and epsilon-recursion. Well-founded relations. Mostowski’s collapsing theorem.
The rank function and the von Neumann hierarchy. [5]
Consistency
*Problems of consistency and independence*. [1]
Appropriate books
B.A. Davey and H.A. Priestley Lattices and Order. Cambridge University Press 2002 (19.95
paperback).
T. Forster Logic, Induction and Sets. Cambridge University Press (50.00 hardback).
A. Hajnal and P. Hamburger Set Theory. LMS Student Texts number 48, CUP 1999 (55.00
hardback, 22.99 paperback).
A.G. Hamilton Logic for Mathematicians. Cambridge University Press 1988 (25.95 paper-
back).
P.T. Johnstone Notes on Logic and Set Theory. Cambridge University Press 1987 (15.95
paperback).
D. van Dalen Logic and Structure. Springer-Verlag 1994 (18.50 paperback).
Chapter 1 : Propositional Logic
(i) if p ∈ P then p ∈ L,
(iii) if p, q ∈ L then (p ⇒ q) ∈ L.
2. ‘L defined inductively’ means, more precisely, that we set L1 = {⊥} ∪ P , and for
n > 1, Ln+1 = Ln ∪ {(p ⇒ q) : p, q ∈ Ln }, and then L = L1 ∪ L2 ∪ . . ..
(So Ln = ‘things born in time n’.)
Semantic Implication
(i) v(⊥) = 0,
0 if v(p) = 1, v(q) = 0,
(ii) v(p ⇒ q) = for all p, q ∈ L.
1 otherwise,
Then a valuation is precisely a map v : L → {0, 1} that preserves the structure (⊥ and ⇒),
i.e. a homomorphism.
Proposition 1. (i) If v, v ′ are valuations with v(p) = v ′ (p) for all p ∈ P , then v = v ′ .
(ii) For any function w : P → {0, 1}, there exists a valuation v such that v(p) = w(p)
for all p ∈ L.
1
Proof. (i) We have v(p) = v ′ (p) for all p ∈ L1 . But if v(p) = v ′ (p) and v(q) = v ′ (q) then
v(p ⇒ q) = v ′ (p ⇒ q), so v(p) = v ′ (p) for all p ∈ L2 .
Continuing inductively, we get v(p) = v ′ (p) for all p ∈ Ln , all n.
(ii) Set v(p) = w(p) for each p ∈ P , and v(⊥) = 0; this defines v on L1 . Having defined
v on Ln , use
0 if v(p) = 1, v(q) = 0
v(p ⇒ q) =
1 otherwise
to define v on Ln+1 .
E.g. Let v be the valuation given by: v(p1 ) = v(p2 ) = 1, and v(pn ) = 0 for n > 3. Then
v( ( p1 ⇒ p2 ) ⇒ p3 ) = 0.
| {z } |{z}
1 0
Examples.
E.g. {p ⇒ q, q ⇒ r} |= (p ⇒ r).
Need: any valuation v with v(p ⇒ q) = 1, v(q ⇒ r) = 1 has v(p ⇒ r) = 1.
If not, then v(p ⇒ r) = 0, whence v(p) = 1, v(r) = 0, so v(q) = 0, as v(q ⇒ r) = 1.
So v(p ⇒ q) = 0. /\/\
2
Syntactic Implication
For a notion of proof, we shall need some axioms and deduction rules. As axioms, we shall
take all propositions of the following form.
1. p ⇒ (q ⇒ p) (all p, q ∈ L)
3. (¬¬p) ⇒ p (all p ∈ L)
Note. These are all tautologies. Sometimes, they are called ‘axiom-schemes’, as each is
infinitely many axioms.
As our deduction rule, we shall use only modus ponens: ‘from p and p ⇒ q, can deduce q’.
(i) an axiom,
(ii) a member of S,
3
Proof. (⇒) Given a proof of p ⇒ q from S, write down the lines
p (hypothesis)
q (modus ponens)
to obtain a proof of q from S ∪ {p}.
(⇐) Let t1 , . . ., tn be a proof of q from S ∪ {p}. We’ll show that S ⊢ (p ⇒ ti ) for all i.
ti ⇒ (p ⇒ ti ) (axiom 1)
ti (axiom)
p ⇒ ti (modus ponens)
2. If ti ∈ S, write down
ti ⇒ (p ⇒ ti ) (axiom 1)
ti (hypothesis)
p ⇒ ti (modus ponens)
showing S ⊢ (p ⇒ ti ).
3. If ti = p, then certainly S ⊢ (p ⇒ p), as ⊢ (p ⇒ p).
4. If ti obtained by modus ponens, then we have earlier lines tj and tk = (tj ⇒ ti ).
By induction, may assume S ⊢ (p ⇒ tj ) and S ⊢ (p ⇒ (tj ⇒ ti )), so write down
This is made up of soundness (if S ⊢ t then S |= t) and adequacy (if S |= t then S ⊢ t).
Soundness says ‘our axioms are not absurd’, and adequacy says ‘our set of axioms is strong
enough to prove, from S, every semantic consequence of S’.
Proof. We have a proof of t from S. We must show that if v is a valuation with v(s) = 1
for all s ∈ S (i.e. v is a model of S) then v(t) = 1 (i.e. v is a model of t).
But v(p) = 1 for all p ∈ S (as v is a model of S) and v(p) = 1 for every axiom p (as
each axiom is a tautology), and if v(p) = 1, v(p ⇒ q) = 1 then v(q) = 1.
Say S is consistent if S 6⊢ ⊥.
4
A special case of adequacy is: S |= ⊥ ⇒ S ⊢ ⊥ (i.e. ‘S has no model’ ⇒ ‘S is inconsistent’).
Or, in other words: S is consistent ⇒ S has a model.
In fact, this would imply adequacy in general. Indeed, given S |= t, have that S ∪ {¬t} has
no model, so we should know S ∪ {¬t} ⊢ ⊥, whence:
So, for adequacy, we must show: S is consistent ⇒ S has a model. How might we show this?
Given a consistent set S, how can we ‘build’ a valuation v with v(s) = 1 ∀s ∈ S? We cannot
just set v(p) = 1 if p ∈ S and v(p) = 0 if not – since if for example p3 is not mentioned in S,
then we would be setting v(p3 ) = 0, v(¬p3 ) = 0. /\/\
Idea. We want to define v(p) = 1 if p ∈ S, and v(p) = 0 if not. But this fails if some p has
p∈/ S, ¬p ∈
/ S. So we shall try to extend S, keeping it consistent, to ‘swallow up’ one
of p and ¬p, for each p.
Proof. First, for any consistent S ⊂ L and p ∈ L, either S ∪ {p} or S ∪ {¬p} is consistent.
For if not, then S ∪ {p} ⊢ ⊥ and S ∪ {¬p} ⊢ ⊥. But then S ⊢ (p ⇒ ⊥) (deduction
theorem), i.e. S ⊢ ¬p, so S ⊢ ⊥. /\/\
Claim. v is a valuation.
5
Remarks. 1. Sometimes Theorem 4 is also called the ‘Completeness Theorem’.
2. The proof used that P is countable (to get L countable). In fact, Theorem 4 remains
true for any P . We shall see this later – it needs Zorn’s Lemma.
6
Chapter 2 : Well-Orderings and Ordinals
A total order or a linear order is a pair (X, <), where X is a set and < is a relation on
X that is:
(Note: in (iii), we cannot have more than one: for if x < y, y < x then x < x /\/\.)
Write y > x for x < y, and x 6 y for ‘x < y or x = y’. In terms of 6, a total ordering is:
A total order (X, <) is a well-ordering if every (non-empty) subset of X has a least element:
7
Say total orders x, y are isomorphic if there exists a bijection f : X → Y that is order-
preserving (x < y ⇔ f (x) < f (y)).
– examples 6 and 7 are not isomorphic (only one has a greatest element).
Proof. If S 6= X, let x be the least member of X \ S. Then y ∈ S ∀y < x (by choice of x),
whence x ∈ S. /\/\
Note. False for general total orders. For example: from Z → Z, could take identity or
x → x − 5; from R → R, could take identity or x → x3 .
So, given f (y) = g(y) ∀y < x, we need f (x) = g(x). We must have that f (x) = a, the
least element of Y \ {f (y) : y < x} (which 6= ∅, as f (x) ∈ it), because if f (x) > a then
some x′ > x has f (x′ ) = a (f bijective), contradicting f order-preserving.
For example, for any x ∈ X, the set Ix = {y ∈ X : y < x} is an initial segment. Not every
proper initial segment of X need be of this form. For example: in R, could take {x : x 6 3};
in Q, could take {x : x 6 0 or x2 < 2}.
Note. False for general total orders. For example: could take {1, 3, 4} in Z; or could take
Q in R.
8
Theorem 3 (Definition by recursion). Let X be a well-ordered set, and Y any set. Then
for any G : P(X × Y ) → Y, there exists f : X → Y such that f (x) = G(f |Ix ) for all
x ∈ X. Moreover, f is unique.
Proof. (Existence) Define ‘h is an attempt’ to mean the following (‘the clever bit’).
Note that if h, h′ are attempts, both defined at x, then h(x) = h′ (x), by induction: for
if h(y) = h′ (y) ∀y < x, then certainly h(x) = h′ (x).
Also, for each x, there exists an attempt defined at x, again by induction. Indeed,
suppose that for all y < x, there is an attempt defined at y. Then there exists a unique
S
attempt hy defined on {z : z 6 y}. Put h = y<x hy : an attempt defined on Ix .
Now define f by: f (x) = y if there is an attempt h with h defined at x and h(x) = y.
So done by recursion.
9
Proposition 6. Let X, Y be well-orderings with X 6 Y , Y 6 X. Then X, Y are isomorphic.
(‘The best we could ever hope for.’)
Put some together. Given a set {Xi : i ∈ I} of well-orderings, seek well-ordering X with
X > Xi for all i. Given well-orderings (X, <X ) and (Y, <Y ), say X extends Y if Y ⊂ X, and
<X and <Y agree on Y , and Y is an initial segment of X. Say {Xi : i ∈ I} are nested if for
all i, j, either Xi extends Xj or Xj extends Xi .
Clearly < is a total order on X, with each Xi an initial segment (by nestedness). Also,
given non-empty S ⊂ X, have S ∩ Xi 6= ∅, some i. Then S ∩ Xi has a minimal member,
x say (as Xi well-ordered). So x is minimal in S (as Xi an initial segment of X). Thus
< is a well-ordering on X, and X > Xi for all i.
Ordinals
An ordinal is a well-ordered set, with two being regarded as the same if they are isomorphic.
Examples. For k ∈ N, write k for the order-type of the (unique) well-ordering of size k.
Write ω for the order-type of N. Then in R, {1, 3, 4, 7} has order-type 4, while { 21 , 23 , 34 , . . .}
has order-type ω.
10
Write α 6 β if there exists X of order-type α and Y of order-type β with X 6 Y . (Note:
this does not depend on the choice of X, Y .) Similarly for α < β, α+ , etc.
Theorem 8. Let α be an ordinal. Then the ordinals < α form a well-ordered set, of order-
type α.
Proof. Let X be a well-ordering of order-type α. Then the well-orderings < X are precisely
(up to isomorphism) the proper initial segments of X. But these are the Ix , x ∈ X,
and hence biject with X in an order-preserving way (x ↔ Ix ).
Sometimes write Iα for {β : β < α}. (‘A nice set of order-type α.’)
Proof. Suppose not: let X be the set of all ordinals. Then X is a well-ordering, say of
order-type α. But then X is isomorphic to Iα , a proper initial segment of X. /\/\
Given a set S = {αi : i ∈ I} of ordinals, it has an upper bound α (i.e. α > αi for all i) by
applying Proposition 7 to the nested family {Iαi : i ∈ I}. Hence, by Proposition 9, S has a
least upper bound, written sup S. E.g., sup{2, 4, 6, 8, . . .} = ω.
Every ordinal in that picture is countable (as a countable union of countable sets is countable).
Is there an uncountable ordinal? I.e., is there an uncountable well-ordered set?
11
Some ordinals.
:
0 ω ω2
1 :
2 ω ω3
3 :
: ω ω4
ω :
ω + 1 ← officially ω + 2
ω ω = ω (ω )
2
ω+2 :
ω+3 ω2 2
: ω
ω + ω = ω2 ← officially sup{ω, ω + 1, ω + 2, . . .} :
2
ω2 + 1 ωω 3
ω2 + 2 :
3
ω2 + 3 ωω
: :
4
ω3 ωω
: :ω
ω4 ωω
: :
ω2
ω5 ωω
: :
ωω = ω 2 ← officially sup{ω, ω2, ω3, . . .} ω ωω
3
ω2 + 1 :ω
ω2 + 2 ωω
ω
:
2
ω +w : ..
.
2 ω ωω
ω +w+1 w ω
officially sup{ω, ω , ω , . . .} → ω ω
= ǫ0
: ǫ0 + 1
ω 2 + w2 ǫ0 + 2
: :
ω2 + ω2 = ω22 ǫ0 + ω
ω22 + 1 :
: ǫ0 + ǫ0 = ǫ0 2
ω22 + w :
: ǫ0 3
ω23 :
: ǫ0 ω
ω24 :
: ǫ0 ǫ0 = ǫ20
ω3 :
3
: ǫ 0
ω 23 :
: ǫω 0
:
ω33 2
: ǫω0
ω4 :
ω3
: ǫ 0
ω5 :
ωω
: ǫ 0
: ..
ωω ← officially sup{ω, ω 2 , ω 3 , . . .} .
ωω
: ǫ0ω = ǫǫ00
ωω 2 :ǫ
: ǫ 0
ω
ǫ00
ω 3 :ǫ
: ǫ
ǫ0 0
ω ω ω = ω ω+1 ǫ0 0
: : ..
ω+2 ǫ.
ω ǫ 0
ǫ0 0
: ǫ0 = ǫ1
ω ω+3
‘ ... and so on ... ’
12
Note that by construction ω1 is the least uncountable ordinal (definition of B). Note also
that every ordinal in the picture is < ω1 . Two surprising properties of the total order ω1 are:
Theorem 11′ (Hartogs’ Lemma). For any set X, there is an ordinal α that does not
inject into X.
Let α be an ordinal. Does α have a greatest element? (That is, any set of order-type α, such
as Iα = {β : β < α}.)
If yes: let β be the greatest element, then γ < α ⇒ γ < β or γ = β (and converse trivially),
so α = β + . Say α is a successor.
If no: for all β < α, there is some γ < α such that γ > β, so α = sup{β : β < α}. Say α is
a limit.
E.g. 5 is a successor (5 = 4+ ),
ω + is a successor,
ω is a limit (no greatest element of {γ : γ < ω}),
(0 is a limit).
Ordinal Arithmetic
α+0 = α
α + β + = (α + β)+
α+λ = sup{α + γ : γ < λ} for λ a (non-zero) limit
E.g. ω + 1 = ω + 0+ = (ω + 0)+ = ω + ,
ω + 2 = (ω + 1)+ = ω ++ ,
1 + ω = sup{1 + γ : γ < ω} = ω
So + is not commutative.
Remark. Officially, since the ordinals are not a set, ‘recursion on the ordinals’ would mean:
to define α + β (given α, β), define α + γ, all γ 6 β, by recursion on the set {γ : γ 6 β}
(plus uniqueness). Similarly for proof by induction on the ordinals: if p(α) false for
some α, then p is not everywhere true on {γ : γ 6 α}.
13
Notes. 1. β 6 γ ⇒ α + β 6 α + γ (induction on γ)
0. α + (β + 0) = α + β = (α + β) + 0.
What about α + (β + λ) ?
Claim. β + λ a limit.
Proof of claim. Have β + λ = sup{β + γ : γ < λ}, but γ < λ ⇒ ∃ γ ′ < λ with
γ ′ > γ ⇒ β + γ ′ > β + γ, so there is no greatest member of {β + γ : γ < λ}.
So sup{β + γ : γ < λ} is a limit.
Another viewpoint
The definition of ordinal addition given above is called the ‘inductive’ definition. There is
also a ‘synthetic’ definition: α + β is defined to be the order of α ⊔ β (disjoint union of α and
β, e.g. (α × {0}) ∪ (β × {1})) with all of α coming before all of β.
We must verify:
14
Proposition 13. The two definitions of ordinal addition coincide.
Proof. Write + for inductive, +′ for synthetic. We shall show α + β = α +′ β for all α, β,
by induction on β.
0. α + 0 = α = α +′ 0
Ordinal Multiplication
E.g. ω2 = ω1 + ω = (ω0 + ω) + ω = ω + ω,
2ω = sup{2γ : γ < ω} = ω (so multiplication is not commutative),
ωω = sup{ωγ : γ < ω} = sup{0, ω, ω + ω, ω + ω + ω, . . .} (as in our big picture).
Could also define exponentiation, towers, and so on. For example, ordinal exponentiation:
define αβ by recursion on β:
α0 = 1
(β + )
α = αβ α
αλ = sup{αγ : γ < λ} for λ a (non-zero) limit
15
Chapter 3 : Posets and Zorn’s Lemma
A partially ordered set, or poset, is a pair (X, 6), where 6 is a relation on X that is:
5.
c❜❜s ✧
s s
s e
✧
b ❜❜✧s
✧d
a
Meaning: a 6 b, b 6 c, a 6 d, d 6 e, and everything following by transitivity.
E.g. a 6 c, but b and d are not related.
Hasse diagrams can be useful, e.g. (N, 6), or useless, e.g. (Q, 6) – no rational covers another!
Examples (continued).
6. c s
❩
✡✡ ❩se
b s✡ (so no notion of ‘height’ or ‘rank’)
❏❏ sd
s✚
❏✚
a
7. e s
s ✚❩❩sd
c ✚
❩ ✚
❩✚
✚ ❩
a s✚ ❩sb
8. • • • • •
a b c d e
16
A subset S of a poset X is a chain if it is a total order (∀x, y ∈ S : x 6 y or y 6 x).
Say S is an antichain if no two members of S are related (∀x, y ∈ S, not x < y.)
For S ⊂ X, say x ∈ X is an upper bound for S if y 6 x for all y ∈ S, and say x is a least
upper bound or supremum for S if x is an upper bound for S, and every upper bound y
for S has y > x.
√
E.g. – In R, S = {x : x2 < 2} has 7 as an upper bound, and has a least upper bound, 2.
√ W √ W
Write sup S = 2, or S = 2 – ‘join of S’. (‘ is suggestive of union’)
– In example 5, sup{a, b, c} is c (the only upper bound), and {b, d} has no upper bound.
E.g. – (R, 6) is not complete – e.g. Z has no upper bound. (Note: different from ‘complete-
ness’ in ‘metric space’ sense.)
– [0, 1] is complete, but (0, 1) is not complete – e.g. (0, 1) itself has no supremum.
Note. In any complete poset X, there is a greatest element (an x with x > y for all y),
namely sup X, and also a least element (an x with x 6 y for all y), namely sup ∅.
E.g. – On N, f (n) = n + 1.
17
Say x ∈ X is a fixed point of f if f (x) = x. Not every order-preserving f has a fixed point
– e.g. f (n) = n + 1 on N.
Proof. Let E = {x ∈ X : x 6 f (x)}, and let s = sup E. We’ll show that f (s) = s.
To show s 6 f (s), enough to show that f (s) an upper bound for E (then s 6 f (s) as
s is the least upper bound). But x ∈ E ⇒ x 6 s ⇒ f (x) 6 f (s) ⇒ x 6 f (x) 6 f (s).
To show f (s) 6 s, enough to show that f (s) ∈ E (as s is an upper bound for E). But
s 6 f (s), so f (s) 6 f (f (s)) (as f order-preserving), i.e. f (s) ∈ E.
An application of Knaster-Tarski:
Proof. Want to write A = P ⊔ Q, B = R ⊔ S such that f |P bijects P with R, and g|S bijects
S with Q. (Then done: define h : A → B by taking h = f on P and g −1 on Q.)
Zorn’s Lemma
Theorem 3 (Zorn’s Lemma). Let X be a (non-empty) poset in which every chain has an
upper bound. Then X has a maximal element.
Proof. Suppose X has no maximal element. So for each x ∈ X there is x′ ∈ X with x′ > x.
We know that every chain C has some upper bound u(C).
x0 = x
xα+ = x′α
xλ = u({xα : α < λ}) for λ a non-zero limit
(note {xα : α < λ} is a chain, by induction)
18
Remarks. 1. We could define xλ = u({xα : α < λ})′ to avoid thinking about injectivity.
2. Proof was easy given well-orderings, definition by recursion, etc, from chapter 2.
A typical application of Zorn is: does every vector space have a basis?
Recall. A basis is a linearly independent (‘no finite linear combination = 0’) spanning set
(‘everything is a finite sum from the set’).
2. V = set of all real sequences. Let en = (0, 0, . . ., 0, 1, 0, 0, . . .). These are linearly
independent, but they are not spanning: e.g., (1, 1, 1, . . .) is not in the span. So they
do not form a basis. In fact, there is no countable basis (easy exercise). Even more: it
is impossible to give an ‘explicit’ basis.
Remarks. 1. The only actual ‘maths’ (i.e. linear algebra) we did was in the final check.
This is very typical of Zorn.
2. ‘(non-empty)’ is not strictly needed in statement of Zorn (as ∅ has an upper bound,
so X 6= ∅). However, it’s often safe to check X 6= ∅, as our chains should be non-empty.
Another application of Zorn: completeness theorem for propositional logic, without the as-
sumption that the primitive propositions are countable.
19
Let X = {T ⊂ L(P ) : T consistent, T ⊃ S}, ordered by ⊂.
S
First, X 6= ∅, as S ∈ X. Given a non-empty chain {Ti : i ∈ I} in X, let T = i∈I Ti .
Then T ⊃ Ti ∀i, so just need T ∈ X.
Claim. A = S
In our proof of Zorn’s Lemma, we chose, for each x, an x′ greater than it. This is making
infinitely many arbitrary choices. We did the same in Part IA, when proving that a countable
union of countable sets is countable: given sets A1 , A2 , A3 , . . ., each listable, we chose a listing
of each.
In terms of ‘rules for building sets’, we are appealing to the axiom of choice, which states:
‘can choose an element from each of a family {Ai : i ∈ I} of non-empty sets’, or more
precisely:
20
This is of a different character from the other rules for building sets (e.g. ‘given A and B,
can form A ∪ B’, or ‘given A, can form P(A)’), in that the object whose existence is asserted
is not uniquely specified by its properties (as opposed to, e.g., A ∪ B).
However, for general I it turns out that AC cannot be deduced from the other set-
building rules.
Yes, because we can deduce AC from Zorn’s Lemma (using only the other set-building rules):
S
Let X = {(J, f ) : J ⊂ I, f a partial choice function J → i∈I Ai }, ordered by extension:
(J, f ) 6 (J ′ , f ′ ) if J ⊂ J ′ and f ′ |J = f .
This must stop, else we have injected γ(X) into X – contradiction. So we have an
injection from X to some well-ordered set (an initial segment of γ(X)).
Remark. Zorn is hard to prove from first principles because we need ordinals, recursion,
Hartogs, etc., and not because ZL ⇔ AC.
21
** Non-examinable section **
A poset X is chain-complete if X 6= ∅ and every non-empty chain has a least upper bound.
Follows instantly from Zorn: X has a maximal element x, and x 6 f (x) implies x = f (x).
f f f
Can prove Bourbaki-Witt without AC: x0 → x1 → . . . → xω , . . .. (Note: we did not use AC
in any ordinal theory, except a remark that ω1 is not a countable sup.)
In fact, easy to get from B-W to ZL (using AC). So can view B-W as ‘choice-free part of ZL’.
A lattice is a poset X in which every finite subset has a least upper bound and a greatest
lower bound.
– {A ⊂ N : A finite or N \ A finite}.
For a, b ∈ X, write a ∨ b (‘a join b’), for the least upper bound of {a, b}; and write a ∧ b
(‘a meet b’), for the greatest lower bound of {a, b}
E.g. In P(S), A ∨ B = A ∪ B, A ∧ B = A ∩ B.
A lattice X, say with greatest element 1 and least element 0, is a Boolean algebra if ‘X
behaves like P(S)’ :
(i) a ∧ (b ∨ c) = (a ∧ b) ∨ (a ∧ c) (∀a, b, c, ∈ X)
(ii) a ∨ (b ∧ c) = (a ∨ b) ∧ (a ∨ c) (∀a, b, c, ∈ X)
Not true in general, e.g. {A ⊂ N : A finite or N \ A finite}. (Countably infinite, so not P(S).)
22
Example: Lindenbaum algebra
23
Chapter 4 : Predicate Logic
Recall that a group is a set A, equipped with functions m : A2 → A (of ‘arity’ 2), i : A1 → A
(arity 1), and a constant e ∈ A (arity 0, i.e. e : A0 → A), satisfying:
(∀x, y, z) m(x, m(y, z)) = m(m(x, y), z
(∀x) m(x, e) = x ∧ m(e, x) = x
(∀x) m(x, i(x)) = e ∧ m(i(x), x) = e
Same
S⊢t −→
(but a bit more complicated)
Let Ω (function symbols) and Π (relation symbols) be disjoint sets, and let α (‘arity’) be
α : Ω ∪ Π → N.
24
• Atomic formulae.
2. Can define ‘¬p’ to mean ‘p ⇒ ⊥’, and similarly p ∨ q, p ∧ q, etc, and ‘(∃ x)p’ to mean
‘¬(∀x)(¬p)’.
E.g. In language of groups: e, m(e, e), m(e, i(e)), but not m(x1 , i(x1 )).
m(x, x) = e ⇒ (∀x)(∀y) m(x, y) = m(y, x) ←− unhelpful
↑ ↑ ↑ ↑ ↑
free bound bound bound
Substitution. For p a formula, x a variable, t a term, write p[t/x] for the formula obtained
by substituting t for each free occurence of x.
25
Semantic Entailment
Let L = L(Ω, Π, α) be a language. An L-structure is a non-empty (see later for why) set
A, together with
For example, want ‘(∀x)(m(x, x) = e)’ to hold if and only if each a ∈ A has mA (a, a) = eA .
So: ‘add in ∈ A and subscript-A and read it aloud’. (Not a definition.)
Formal bit!
Atomic formulae
⊥A = 0
1 if sA = tA
(s = t)A = (any closed terms s, t)
0 if not
1 if (t1A . . .tnA ) ∈ φA (each φ ∈ Π, α(φ) = n,
φ(t1 . . .tn )A =
0 if not closed terms t1 , . . ., tn )
Sentences
0 if pA = 1, qA = 0
(p ⇒ q)A = (p, q sentences)
1 if not
1 if p[a/x]A = 1 ∀a ∈ A
((∀x)p)A =
0 if not
(where, for any a ∈ A, we form a new language L′ by adding a constant symbol a,
and make A into an L′ -structure by setting aA = a).
26
If pA = 1, say p holds in A, or p is true in A, or A is a model of p.
Say T axiomatises the class of groups, or ‘axiomatises the theory of groups’. Some-
times the elements of T are called the ‘axioms’ of T .
T : (∀x) (x 6 x)
(∀x)(∀y)(∀z) (x 6 y ∧ y 6 z) ⇒ x 6 z
(∀x)(∀y) (x 6 y ∧ y 6 x) ⇒ x = y
27
Proofs
1. p ⇒ (q ⇒ p) (any formulae p, q)
2. (p ⇒ (q ⇒ r)) ⇒ ((p ⇒ q) ⇒ (p ⇒ r)) (any formulae p, q, r)
3. (¬¬p) ⇒ p (any formula p)
4. (∀x) (x = x) (any variable x)
5. (∀x)(∀y) ((x = y) ⇒ (p ⇒ p[y/x])) (any variables x, y, formula p in which y does
not occur bound)
6. ((∀x) p) ⇒ p[t/x] (any variable x, formula p, term t with no free variable of t
occurring bound in p)
7. ((∀x) (p ⇒ q)) ⇒ (p ⇒ (∀x) q) (any variable x, formulae p, q with x not occurring
free in p)
Rules of deduction
Generalisation: from p, can deduce (∀x) p, provided x does not occur free in any
premise used in the proof of p.
Then (∀x) ⊥ holds in ∅, and ⊥ does not hold in S, so ((∀x)⊥) ⇒ ⊥ does not hold in ∅
28
Proposition 1 (Deduction Theorem). Let S be a set of formulae, and p, q formulae.
Then S ⊢ (p ⇒ q) if and only if S ∪ {p} ⊢ q
Proof. (⇒) As for propositional logic: have a proof of p ⇒ q from S. So add lines ‘p’ and
‘q (modus ponens)’ to obtain a proof of q from S ∪ {p}.
(⇐) Much as for propositional logic: only new case is generalisation. In other words,
in a proof of q from S ∪ {p}, we have written down
r
(∀x) r (generalisation)
and we have a proof of S ⊢ (p ⇒ r) (by induction), and we seek a proof of S ⊢ (p ⇒
(∀x) r). In deduction of r from S ∪ {p}, no hypothesis had x as a free variable, hence
also in deduction of p ⇒ r from S, no hypothesis had x as a free variable. Thus
S ⊢ (∀x) (p ⇒ r) by generalisation.
Aim. S ⊢ p ⇔ S |= p. For example, if a sentence holds in all groups then it may be deduced
from the group theory axioms.
** Non-examinable section **
Proof. Have a proof of p from S, and need to show that every model for S is a model for p.
This is an easy induction on the lines of the proof.
Ideas. 1. Build model out of language itself: take a set of closed terms, with operations,
e.g. (1 + 1) +A (1 + 1) = (1 + 1) + (1 + 1)
2. E.g. for fields, 1 + 0 = 1 for any model, but closed terms 1 + 0 and 1 are distinct.
So we would quotient out A by s ∼ t if S ⊢ (s = t) and use equivalence classes.
3. For ‘fields of characteristic 2 or 3’ : S = field axioms, with ‘1+1 = 0 ∨ 1+1+1 = 0’.
Then S 6⊢ (1 + 1 = 0), and S 6⊢ (1 + 1 + 1 = 0), so [1 + 1] 6= [0] and [1 + 1 + 1] 6= [0].
So we do not get a field of characteristic 2 or 3.
So need to extend S to a maximal consistent set first.
4. For ‘fields with a square root of 2’ : S = field axioms, with ‘(∃ x) (xx = 1 + 1)’.
Then no closed term t has [tt] = [1 + 1].
S lacks ‘witnesses’ : so add constant symbol c, and add axiom ‘cc = 1 + 1’ to S.
But this has added to the language, hence it is no longer maximal consistent, so
we must loop back to Idea 3. Problem: doesn’t terminate!
29
Proof. Have consistent S in language L = L(Ω, Π). Extend S to maximal consistent S1
(by Zorn). Then each sentence p ∈ L has p ∈ S1 or (¬p) ∈ S1 , so S1 is complete
(i.e. ∀p ∈ L : S1 ⊢ p or S1 ⊢ ¬p).
For each (∃ x) p ∈ S1 , add a new constant t to the language, and add p[t/x] to S1 .
We obtain T1 , in language L1 = L(Ω ∪ C1 , Π), that has witnesses for S1 : for each
(∃ x) p ∈ S, have p[t/x] ∈ T1 , some closed term t. Easy to check T1 consistent.
Complete. For sentence p ∈ L, have p ∈ Ln for some n (since p can only mention
finitely many constants). So Sn+1 ⊢ p or Sn+1 ⊢ (¬p) (as Sn+1 complete in
language Ln ), so S ⊢ p or S ⊢ (¬p).
Atomic sentences
⊥ : S 6⊢ ⊥, and ⊥A = 0
s = t : S ⊢ (s = t) ⇔ [s] = [t] (definition of ∼)
⇔ s A = tA (definition of operations on A)
⇔ (s = t)A = 1 (i.e. s = t holds in A)
φ(t1 . . .tn ) : same
Induction step
p ⇒ q : S ⊢ (p ⇒ q) ⇔ S ⊢ ¬p or S ⊢ q
(⇒: if S 6⊢ ¬p, S 6⊢ q, then S ⊢ p, S ⊢ ¬q, by completeness of S./\/\)
⇔ pA = 0 or qA = 1(induction hypothesis)
⇔ (p ⇒ q)A = 1
30
Hence, by remarks before Theorem 3, we have:
Proof. Trivial if we replace ‘has a model’ with ‘is consistent’ (as proofs are finite).
Can we axiomatise the theory of finite groups? In other words, is there a set T of sentences
(in languages of group theory) such that a group G is a model of T ⇔ G finite?
Corollary 7. The class of finite groups is not axiomatisable (in the language of groups).
Remark. Extraordinary that we can prove this, as opposed to just being convinced it is
true!
Etc. Then any finite subset of T ′ has a model (Zm , some m big enough), and so by
compactness, T ′ itself has a model. /\/\
Note. We used compactness, which came from completeness – so we are using the full
strength of the model existence lemma.
Corollary 7′ Let S be a theory with arbitrarily large finite models. Then S has an infinite
model.
31
Corollary 8 (Upward Löwenheim-Skolem Theorem). Let S be a theory with an infi-
nite model. Then S has an uncountable model.
Proof. Add to the language an uncountable family {ci : i ∈ I} of constants, and let S ′ =
S ∪ {‘ci 6= cj ’ : i, j ∈ I, i 6= j}. Seek a model for S ′ .
But any finite subset of S ′ has a model (as it can mention only finitely many of the ci
– so any infinite model of S will do). So by compactness, S ′ has a model.
Remark. Similarly, we can ensure our model does not inject into X, for any fixed X – e.g.
add γ(X) constants, or P(X) constants.
For example, there exists an infinite field (e.g. Q), so there is an uncountable field (e.g. R),
and so also a field that does not inject into P(P(R)), say.
Peano Arithmetic
Axioms:
1. (∀x)(s(x) 6= 0)
2. (∀x)(∀y)(s(x) = s(y) ⇒ x = y)
3. (∀y1 ). . .(∀yn ) (p[0/x] ∧ (∀x)(p ⇒ p[s(x)/x])) ⇒ (∀x)p
(one such for each formula p, free variables y1 , . . ., yn , x – an axiom-scheme, mean-
ing an infinite set of axioms)
4. (∀x)(x + 0 = x)
5. (∀x)(∀y)(x + s(y) = s(x + y))
6. (∀x)(x × 0 = 0)
7. (∀x)(∀y)(x × s(y) = (x × y) + x)
These axioms are called Peano arithmetic (PA), or sometimes formal number theory.
But then we would be missing sets such as {x : x > y}, for a given y. Hence we add
parameters as above.
32
Then PA has an infinite model (N), and hence, by Upward Löwenheim-Skolem, an uncount-
able model. Thus PA has a model not isomorphic to N – doesn’t this contradict the fact that
N is uniquely defined by the usual axioms?
Answer. Axiom 3 is only ‘first-order induction’: it is not true induction (over all subsets of
the structure). E.g., even in N itself, axiom 3 only refers to countably many subsets.
For S ⊂ N, say S definable (or definable in PA) if there exists a formula p (in language
of PA) with free variable x such that
– Set of primes. p(x) : (∀y)(y|x ⇒ [y = 1 ∨ y = x]), where 1 = s(0) and y|x means
(∃t)(yt = x).
This does not contradict the completeness theorem, which tells us that if p holds in every
model of PA, then PA ⊢ p.
33
Chapter 5 : Set Theory
We shall view set theory as ‘just’ another first-order theory. (‘A liberating viewpoint.’)
Axioms of ZF: 2 to get started, 4 to build things, 3 one might not think of at first.
We could view chapter 5 as a worked example from chapter 4, but very scary, as (hopefully)
every model of ZF should contain a copy of all of mathematics, and therefore will be incredibly
complicated.
Axioms of ZF
1. Axiom of extension. ‘If two sets have the same members, then they are equal.’
(∀x)(∀y)[(∀z)(z ∈ x ⇔ z ∈ y) ⇒ x = y]
34
3. Empty-set axiom. ‘There is a set with no members.’
(∃ x)(∀y)(¬y ∈ x)
We write {x, y} for this set, and write {x} for {x, x}.
Can now define (as an abbreviation) the ordered pair (x, y) to be {x}, {x, y} .
Easy to check that (x, y) = (z, t) ⇔ (x = z ∧ y = t). (Follows from the axioms so far.)
and f : x → y means
(f is a function) ∧ (x = dom f ) ∧ (∀z) (∃ t)[(t, z) ∈ f ] ⇒ z ∈ y .
(∀x)(∃ y)(∀z)(z ∈ y ⇔ z ⊂ x)
Similarly, can form the set of all functions from x to y, as a subset of P(x × y).
35
7. Axiom of infinity.
So far, any model (V, ∈) must be infinite. For example, for any set x, let the successor
of x be x+ = x ∪ {x}, and then ∅, ∅+ , ∅++ , ∅+++ , . . . are distinct.
∅+ = {∅}, ∅++ = {∅, {∅}}, ∅+++ = {∅, {∅}, {∅, {∅}}}, ...
Note that any intersection of successor sets is a successor set, so there is a smallest
successor set (namely the intersection of all successor sets): call it ω. (This will be our
version, in V , of the natural numbers.)
Thus (∀x) x ∈ ω ⇔ (∀y)(y is a successor set ⇒ x ∈ y) , so any subset of ω that is a
successor set must equal ω (by definition of ω):
(∀x) [(x ⊂ ω) ∧ (∅ ∈ x) ∧ (∀y)(y ∈ x ⇒ y + ∈ x)] ⇒ x = ω
Want to disallow things like x ∈ x (i.e. ‘{x} has no ∈-minimal member’), and x ∈ y ∈ x
(i.e. ‘{x, y} has no ∈-minimal member’), etc.
36
9. Axiom of replacement
Often say: ‘for each i ∈ I, have Ai : take {Ai : i ∈ I}’. But there is a problem: why
should i 7→ Ai be a function? (I.e., why should {(i, Ai ) : i ∈ I} be a set?)
Want ‘the image of a set, under something looking like a function, is a set’. This is
going from I out into the universe.
Digression on classes
Idea. x 7→ {x} looks like a function, but it is not, as it is not even a set. (Every
SS
function f has a domain, defined for example as a suitable subset of f , and this f
would have domain V /\/\.)
Similarly, a function-class is a collection F of ordered pairs such that for some formula
p, free variables x, y (and maybe more), we have: (x, y) belongs to F ⇔ p holds, and if
(x, y) ∈ F, (x, z) ∈ F , then y = z.
End of digression
For example, taking F (x) = {x}, we have that for any set x we can form {{t} : t ∈ x},
by replacement with p being ‘y = {x}’. This is a bad example, as we can deduce it from
earlier axioms (like power-set) instead. See later for a good example.
37
Remarks. 1. Sometimes ‘foundation’ is called regularity. Sometimes ‘separation’ is called
comprehension.
2. Axiom of choice is not included – can have ZF+AC, denoted ZFC, where:
38
Want foundation to be telling us ‘sets are built up from simpler sets’. If this is correct, we
should want: if p(x) holds whenever (∀y ∈ x) p(y), then p(x) holds for all x.
(Want to say: choose ∈-minimal x with ¬p(x), by foundation, and hence /\/\.
But {x : ¬p(x)} need not be a set! E.g., p could have been ‘x 6= x’.)
What about recursion? Want to be able to define f (x) in terms of the f (y), y ∈ x.
If each y ∈ x has an attempt defined at y, then for each y ∈ x there is a unique attempt
S
fy defined on T C({y}). Put f = {fy : y ∈ x} and then put f ′ = f ∪ {(x, G(f |x ))}.
So define F by: q(x, y) = ‘ (∃ f ) (f an attempt) ∧ (x ∈ dom f ) ∧ (f (x) = y) ’.
39
Note. Proofs of ∈-induction and ∈-recursion look similar to induction and recursion on a
well-ordered set (from chapter 2).
Which properties of the ‘relation’ ∈ (i.e. the formula p(x, y) = ‘x ∈ y’) have we used?
So, for any p(x, y) that is well-founded and local, can prove p-induction and p-recursion. If
r is a relation on a set a, then trivially r is local, so to have r-induction and r-recursion, we
just need r well-founded. (So theorems in chapter 2 were a special case of this.)
Then b transitive (definition of f ), and f surjective (definition of b), and so just need
to check that f is injective (then also have f (x) ∈ f (y) ⇔ x r y). We shall show that
(∀y ∈ a)(f (x) = f (y) ⇒ x = y) for each x ∈ a, by r-induction on x.
So suppose f (x) = f (y), and that (∀ t r x)(∀u ∈ a)(f (t) = f (u) ⇒ t = u).
40
So by Mostowski, a well-ordering is order-isomorphic to a unique ordinal – that ordinal is
the order-type of this well-ordering. (This was owed from chapter 2.)
So well-orderings x and y are order-isomorphic ⇔ they have the same order type.
Amusing remark. For a well-ordering x, Mostowski sends each initial segment Iy to its
order-type, so x is sent to {order-type of Iy : y ∈ x}. So, for each ordinal α, we have
α = {β : β < α}. Thus α < β ⇔ α ∈ β.
S
So, for example, α+ = α ∪ {α} and sup{αi : i ∈ I} = {αi : i ∈ I} ←− unhelpful.
0. V0 transitive.
If β = α. Done, as Vα ⊂ Vα .
Limits. Done.
41
S
Theorem 7. Every x belongs to some Vα . ‘ V = α∈ON Vα ’.
Notes. 1. x ⊂ Vα ⇔ x ∈ Vα+1 .
2. Proof shows rank(x) = sup{rank(y)+ : y ∈ x}. (‘Best way to work out ranks.’)
42
Chapter 6 : Cardinals
We know that x ↔ α, some ordinal α, so could define card x to be the least such α.
[ Just in ZF, use the ‘Scott trick’: let α(x) = least rank(y), over all y ↔ x (sometimes called
the ‘essential rank’ of x), and put card x = {y ⊂ Vα(x) : y ↔ x}. ]
The Alephs
E.g. 0, 1, 2, . . ., ω, ω1 , and indeed γ(X) for any set X. But not ω 2 (countable, so ω 2 ↔ ω).
ω0 = ω
ωα+1 = γ(ωα )
ωλ = sup{ωβ : β < λ}
Then each ωα is initial (by induction). Also, every infinite initial δ is an ωα . Indeed, the ωα
are unbounded in the ordinals – e.g. we have ωα > α ∀α, by induction. Taking the least α
with δ 6 ωα , must have δ = ωα , by definition of the ωα .
In ZFC, it is a total order. In fact, just in ZF it need not be a total order – the ℵα are
the cardinalities of the well-orderable sets.
43
Cardinal Arithmetic
m+n to be card (M ⊔ N )
mn to be card (M × N )
mn to be card (M N ), where M N = {f : f a function from N to M }
with M , N any sets with card M = m, card N = n. (Does not depend on choice of M , N .)
P
Similarly, i∈I mi = card (⊔i∈I Mi ). (Note: AC used here.) Etc.
(A) ℵ0 ℵ0 = ℵ0 (as ω × ω ↔ ω)
(B) m+n=n+m (as M ⊔ N ↔ N ⊔ M )
(C) mn = nm (as M × N ↔ N × M )
(D) (mn )p = mnp (as (M N )P ↔ M N ×P )
We know ℵ0 ℵ0 = ℵ0 . What about ℵ1 ℵ1 ? All + and · are easy on the alephs, thanks to:
Proof. Induction on α.
Thus every proper initial segment has order-type < ωα , whence our well-ordering has
order-type 6 ωα . Thus ωα × ωα injects into ωα , so ℵα ℵα 6 ℵα .
Trivially ℵα 6 ℵα ℵα , so ℵα ℵα = ℵα .
44
Corollary 2. Let α 6 β. Then ℵα + ℵβ = ℵα ℵβ = ℵβ .
Proof. ℵβ 6 ℵα + ℵβ 6 2ℵβ 6 ℵα ℵβ 6 ℵβ ℵβ = ℵβ .
Remarks. However, exponentiation is hard. For example 2ℵ0 might not even be an aleph
(if no AC).
ℵ
Even today, not all implications about values of cardinal exponentiation (ℵαβ ) are
known.
45
** Bonus lecture : Incompleteness **
Aim. PA incomplete: i.e., there exists a sentence p such that PA 6⊢ p and PA 6⊢ ¬p.
Here, ‘true’ = ‘true in N’, ‘provable’ = ‘PA proves it’. So we want p, true, but not provable.
Idea. Find p saying ‘I am not provable’, or, more precisely, p with p true ⇔ p not provable.
[ Then done: if p false then PA ⊢ p, whence p holds in every model of PA, and in particular
p holds in N /\/\. So p true, hence p not provable. ]
We shall ‘code up’ formulae, proofs, etc. inside PA (i.e. as natural numbers). But it still
looks as if, in any format, ‘p not provable’ has to be longer than p.
E.g. f (n) = 2n definable, meaning: there is a formula p(x, y) such that for all m, n ∈ N,
m = 2n ⇔ p[n/x, m/y] holds.
Coding
′
Language symbols are: 0 s + · ⊥ ⇒ ( ) ∀ x =
Assign to each a distinct value: v(0) = 1, v(s) = 2, v(+) = 3, . . ., v( ′ ) = 11, v(=) = 12.
Now code a formula p by raising successive primes to the powers of successive symbols.
E.g. If p is ‘(∀x)(x = 0)’, have code c(p) = 27 39 510 78 117 1310 1712 191 238 .
46
For any m ∈ N, ‘m codes a formula’ is definable (as there exists an algorithm).
Write Sm for the formula coded by m (and set Sm = ‘⊥’ if m does not code a formula).
Observe that ‘m codes an axiom’ is definable (where ‘axiom’ means logical or PA), as there
is an algorithm. (Easy check.)
Similarly, ‘l, m, n code formulae, with Sn obtained from Sl , Sm by modus ponens’ is definable,
and same for generalisation.
Clever bit:
Consider χ(m) = ‘m codes a formula, with one free variable, and Sm (m) is a non-provable
statement’. Clearly definable, say by formula p(x). (I.e. p(m) holds in N ⇔ χ(m) true.)
Let the code for p be N (i.e. p(x) = SN ). So χ(N ) asserts: ‘N codes a formula, with one
free variable, and SN (N ) unprovable’. (I.e. ‘χ(N ) not provable’.)
We have shown:
However, we can certainly enlarge PA to a complete theory: e.g. set T = {p : p true in N}.
Why does the above proof not still work? (I.e. with PA replaced by T throughout.) It can
only be because:
Why does the proof of Theorem 1 not formalise, in PA, into a proof of our true-but-unprovable
p from PA?
Answer. We used existence of a model of PA (namely N), i.e. we used con(PA) = ‘PA is
consistent’ = ‘(∀n)(n does not code a proof of ⊥)’.
47
Hence:
Theorem 3. PA 6⊢ con(PA).
Does ZF ⊢ con(PA)? (So, (∀x ∈ ω)(x does not code a proof of ⊥).)
48
Lent 2010 LOGIC AND SET THEORY – EXAMPLES 1 IBL
2. Write down a proof of ⊥ ⇒ q. Use this to write down a proof of p ⇒ q from ¬p.
4. Show that {p, q} ⊢ p ∧ q in three different ways: by writing down a proof, by using the
Deduction Theorem, and by using the Completeness Theorem.
7. Three people each have a set of beliefs: a consistent deductively closed set. Show
that the set of propositions that they all believe is also consistent and deductively closed.
Must the set of propositions that a majority believe be consistent? Must it be deductively
closed?
8. Can the third axiom be deduced from the first two? In other words, is there a proof of
(¬¬p) ⇒ p that uses only the first two axioms and modus ponens?
9. Let t1 , t2 , . . . be propositions such that, for every valuation v, there exists n with
v(tn ) = 1. Use the Compactness Theorem to show that in fact we may bound the values of
n: there must be an N such that, for every valuation v, there exists n ≤ N with v(tn ) = 1.
10. Two sets S, T of propositions are equivalent if S ⊢ t for every t ∈ T and T ⊢ s for every
s ∈ S. A set S of propositions is independent if for every s ∈ S we have S − {s} 6⊢ s. Show
that every finite set of propositions has an independent subset equivalent to it. Give an
infinite set of propositions that has no independent subset equivalent to it. Show, however,
that for every set of propositions there exists an independent set equivalent to it.
11. Give a direct proof of the Compactness Theorem (not making use of the notion of
syntactic implication).
12. Give an explicit function f from natural numbers to natural numbers such that every
tautology of length n has a proof that is at most f (n) lines long.
2. Let α and β be non-zero ordinals. Must we have α + β > α? Must we have α + β > β?
4. Show that the inductive and the synthetic definitions of ordinal multiplication coincide.
7. Let α and β be ordinals with α ≥ β. Show that there is a unique ordinal γ such that
β + γ = α. Must there exist an ordinal γ with γ + β = α?
9. Is ω1 a successor or a limit?
10. Let α be a countable (non-zero) limit ordinal. Prove that there exists an increasing
sequence α1 < α2 < α3 < . . . with supremum equal to α. Is this result true for α = ω1 ?
11. Show that, for every countable ordinal α, there is a subset of Q of order-type α. Why
is there no subset of R of order-type ω1 ?
12. Let X be a totally ordered set such that every subset of X is isomorphic to some initial
segment of X. Prove that the ordering must be a well-ordering.
13. Is it possible to select for each countable (non-zero) limit ordinal α an ordinal xα < α
in such a way that the xα are distinct?
+
14. Let X be a totally ordered set such that the only order-preserving injection from X
to itself is the identity. Must X be finite?
Lent 2010 LOGIC AND SET THEORY – EXAMPLES 3 IBL
1. How many different partial orders (up to isomorphism) are there on a set of 4 elements?
How many of these are complete?
2. Which of the following posets (ordered by inclusion) are complete?
(i) The set of all subsets of N that are finite or have finite complement
(ii) The set of all independent subsets of a vector space V
(iii) The set of all subspaces of a vector space V
3. Let X be a complete poset, and let f : X → X be order-reversing (meaning that x ≤ y
implies f (x) ≥ f (y) ). Give an example to show that f need not have a fixed point. Show,
however, that there must exist either a fixed point of f or two distinct points x and y with
f (x) = y and f (y) = x.
4. Use Zorn’s Lemma to show that every partial order on a set may be extended to a total
order.
5. Give a direct proof of Zorn’s Lemma (not using ordinals and not using the Axiom of
Choice) for countable posets.
6. Show that the statement ‘for any sets X and Y , either X injects into Y or Y injects
into X’ is equivalent to the Axiom of Choice (in the presence of the other rules for building
sets). [Hint for one direction: Hartogs’ Lemma.]
7. What is yellow and equivalent to the Axiom of Choice?
8. Formulate sets of axioms in suitable languages (to be specified) for the following theories.
(i) The theory of fields of characteristic 2
(ii) The theory of posets having no maximal element
(iii) The theory of bipartite graphs
(iv) The theory of algebraically closed fields
(v) The theory of groups of order 60
(vi) The theory of simple groups of order 60
(vii) The theory of real vector spaces
9. Write down axioms (in the language of groups) for the theory of groups that are either
infinite or have order a multiple of 100.
10. Show that the theory of fields of positive characteristic is not axiomatisable (in the
language of fields), and that the theory of fields of characteristic zero is axiomatisable but
not finitely axiomatisable.
11. Is every countable model of Peano Arithmetic isomorphic to N?
12. Write down axioms, in a suitable language, for the theory of groups that have an
element of infinite order. Can this be done in the language of groups?
13. Let L be the language consisting of a single function symbol f , of arity 1. Write
down a theory T that asserts that f is a bijection with no finite orbits, and describe the
countable models of T . Prove that T is a complete theory.
14. Show that the following theories are not axiomatisable.
(i) The theory of connected graphs (in the language of graphs)
(ii) The theory of simple groups (in the language of groups)
+
(iii) The theory of non-abelian simple groups (in the language of groups)
Lent 2010 LOGIC AND SET THEORY – EXAMPLES 4 IBL
1. Show that the Empty-Set Axiom is deducible from the Axioms of Infinity and Separation
(or, if you prefer, just from the Axiom of Infinity), and that the Axiom of Separation is
deducible from the Axiom of Replacement.
2. Show that the Pair-Set Axiom is deducible from the Axioms of Empty-Set, Power-Set
and Replacement.
3. Write down sentences (in the language of ZF) to express the assertions that, for any two
sets A and B, the product A × B and the set of all functions from A to B exist. Indicate
how to deduce these sentences from the axioms of ZF.
4. Is it true that if x is a transitive set then the relation ∈ on x is a transitive relation?
Does the converse hold?
5. What is the rank of {2, 3, 6}? What is the rank of {{2, 3}, {6}}? Work out the ranks of
Z, Q and R, using your favourite constructions of these objects from ω.
6. A set x is called hereditarily finite if each member of T C({x}) is finite. Prove that
the class HF of hereditarily finite sets coincides with Vω . Which of the axioms of ZF are
satisfied in the structure HF (i.e. the set HF , with the relation ∈ |HF )?
7. Which of the axioms of ZF are satisfied in the structure Vω+ω ?