414_W24_lecture17_Derivations
414_W24_lecture17_Derivations
1 Derivations 2
1.1 Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1
1 Derivations
1.1 Basics
2
2 Illustrating the Difference Between a Valid Argument and a
Proof: A Richard Feynman Story
3
One time a PhD candidate was asking the physicist Mur-
ray Gell-Mann about some techniques Feynman had in-
vented for solving problems.
4
a) Write down the problem.
b) Think really hard. (Gell-Mann presses his fingers to
his temple and makes a “concentrate really hard” face.)
c) Write down the correct answer.”
5
It’s not enough that the premises in principle guarantee
the truth of the conclusion, we want something that will
convince us if we were unconvinced, and find the answer
if there is an answer there to be found.
How do we do that?
6
So let’s say as a first approximation, that we will need
to refine a little: a proof, or derivation of B from A is a
series of sentences
7
The philosophy majors in the class will recall trying to
figure out what Réné Descartes meant by “Clear and Dis-
tinct” perception in his Meditations on First Philoso-
phy, which was his effort to work out such an idea of
“sufficiently small step to be obvious”.
8
Let’s look at a couple of inferences:
A→I
A
…
I
9
Both of those are logically valid inferences, and in addi-
tion they are pretty basic and immediate. Obvious, even.
A → I, A therefore I
10
We don’t have to even interpret the language with truth-
tables or first-order interpretations to study derivations.
11
Let’s return to the hand-waving first approximation:
12
To give us a uniform way to refer to all lines of the deriva-
tion, let’s count the conclusion as the last of the letters
with subscripts.
13
When we have a derivation of S from premises Γ, we will
write Γ ⊢ S.
14
3 A Hilbert-Style Derivation System for First Order Logic
Those of you who have taken Phil 303 will have learned a
system of natural deduction, which is geared to studying
the structure of arguments from hypotheses.
15
3.1 The Logical Axioms
16
The following are axioms of FOL:
Propositional Axioms:
A1) B → (C → B)
A2) (B → (C → D)) → (B → C) → (B → D)
A3) (∼ C →∼ B) → ((∼ C → B) → B))
Quantifier Axioms
A4) ∀xB(x) → B(t) if t is any term. (See qualification
on the next slide)
17
Mendelson adds a qualification to A4) using a phrase
“free for x in B(x)”. Rather than explain this new vocab-
ulary which we’ll never use again, I’ll just explain what
the qualification does.
18
3.2 Proper Axioms
19
3.3 The Rules
Modus Ponens: B, B → C ⊢ C
20
A quick explanation:
21
I’d rather avoid those complications right now, as they
won’t matter for what we will be doing in the second half
of the course..
So for the next few lectures, we’ll reason with wffs, and
though I will occasionally speak of wffs being true, I mean
“true if sentences, satisfied if formulae that are not sen-
tences”.
22
I want to pause over the generalization rule for a moment,
because it illustrates a crucial point about the difference
between → and ⊢.
23
3.4 The Soundness of the Rules
24
In fact, the system determined by the rules and axioms
I’ve given you is sound in the sense that:
Γ⊢S⇒Γ⊨S
25
3.5 Completeness
Do we know that:
Γ⊨S⇒Γ⊢S?
26
But I’m happy to tell you that we do know that
Γ⊨S⇒Γ⊢S
27
So putting the two sides together, we have that:
Γ⊨S⇒Γ⊢S
28
3.6 The Compactness Theorem - Statement and Proof
29
Compactness theorem (form 1): If a set of sentences Γ
has no model, then some finite subset of Γ has no model.
30
Aside:
31
There is a profound connection between the topological
fact about spaces and the logical fact about consequences
of sets of sentences.
32
The way we will prove compactness today is to rely on a
theorem that I’ll prove Monday called the Completeness
Theorem (for First Order Logic), that pertains to the re-
lations between ⊢ and ⊨.
33
One consequence of the Compactness theorem:
34
3.6.2 Compactness Theorem - The Proof
35
Here is the reasoning for form 2 of compactness from com-
pleteness and soundness, We want to show:
Γ⊨S
36
That is, there is a derivation of S whose only premises
are sentences of Γ.
37
More briefly:
38
4 Size of models: basic facts
The first question you can ask about is size: how large
or small a model can be.
39
A particular denumerable model that we’ll be seeing a lot
of is the standard model of formal arithmetic, with the
natural numbers as the domain and the canonical inter-
pretations of 0, +, × and ′.
40
Once we start to work with infinite models, we will lose
some control over how large we can make the model be.
Examples:
41
So for example,
42
BJB give a different example, that also works.
43
Let’s look at the case for n = 3.
But that won’t work, since we are dealing with the uni-
versal quantifier out front: so if we have two objects a
and b in the model, then we can pick x1 to be a and x2
to be b and our model will have to satisfy:
44
To get a sentence that is true in all and only the mod-
els that have at most n objects you need only negate a
sentence that is true in models with at least n+1 objects.
This will ensure that the objects picked out by the first
variables are the only ones in the domain.
45
I’ll follow BJB and write:
Kn = I n & J n
46
The set {I1, I2, . . . , In, . . .} has only infinite models, since
a model of it has at least n objects for arbitrarily large
n.
Note that this set has the feature that although the whole
set is true in only infinite models, any finite subset is true
in at least one finite model (and in fact infinitely many
of them).
47
There are finite sets of sentences that have only infinite
models.
(1) ∀x∃yR(x, y)
(2) ∀x∀y ∼(Rxy&Ryx)
(3) ∀x∀y∀z((Rxy&Ryz) → Rxz).
48
How do we show that
(1) ∀x∃yR(x, y)
(2) ∀x∀y ∼(Rxy&Ryx)
(3) ∀x∀y∀z((Rxy&Ryz) → Rxz).
49
4.1 Compactness in Action: Non-Standard Models of Arithmetic
50
Alternative notation: Sometimes in the context of the
language of arithmetic a convention is used of writing a
bar over the symbol to indicate you are talking about the
symbol and not what the symbol denotes:
¯ +̄, ×
0̄, ′̄, <, ¯
51
Next week, we’ll take as our base theory of arithmetic
the quite rudimentary theory called Q, determined by
the axioms set down on BJB p.208.
As we’ll see, the answer is: yes, in fact there are lots of
them.
52
Perhaps the easiest way to show there must be non-
standard models of arithmetic is to use compactness.
53
Take any finite subset
54
Since every finite subset of
55
5 Aside for the Mathematicians in Class: Compactness in Non-
Foundational Mathematics
56