This section is optional, and nothing outside it
depends on it: Section 7.2 stated soundness for
predicate logic without proof, and the rest of the book
uses that statement. The results below build on one
another, so they carry no optional marker of their own;
the section as a whole is the unit a reader may skip.
Here is the proof. It is Chapter 4’s proof of Theorem 4.7.2
with six new cases, one for each quantifier and equality
rule, and it is worth reading for one reason above all:
each side condition of Sections 5.3 to 5.7 is used in
the case of its own rule, and there one can see what
would go wrong without it. The section proves a lemma
about substitution and its corollary on renaming bound
variables, then the theorem, then the corollary that
turns every counter-model of Section 7.2 into a proof
that no derivation exists.
What
carries over, and what is new
Chapter 4 proved that whatever the rules of Chapters
1 and 2 derive is true in every row where the premises
are true. The proof had four steps (Steps 1–4 of the
proof of Theorem 4.7.2).
It reduced to derivations in the primitive rules; it
proved a claim for every line, not only
the last, namely , where is the context
of line ; it did
so by strong induction on , one case per rule; and
it read off the claim for the last line. We follow the
same four steps. Step 2 is an induction, and the
checklist of Section 4.2 applies to it as it applied to
Chapter 4’s: the claim stated for every line, the cases,
and what each case may use. Three things change.
The formulas. Lines now carry
first-order formulas (Definition 5.2.2),
and is the
entailment of Definition 7.1.4:
says that every structure and assignment with satisfy . Assignments
are not optional here. Lines inside a flagged box can
mention the box’s name, a variable such
as , free; such
a line is then not a sentence, and its truth depends on
the value of .
This is why Section 5.4 insisted that fresh names are
always variables, never constants: the proof below
changes their values.
The rules. The primitive rules are
the thirteen of Chapter 4’s list (Section 4.7) and six
new ones: (Definition 5.3.1),
(Definition 5.4.1),
(Definition 5.5.1),
(Definition 5.6.1),
and
(Definition 5.7.1).
Two of the new rules cite a box, the
flagged box of and
the box, so the box rules are now seven: Chapter
4’s five, and and
. The other four new rules cite only lines
and join the one-step rules.
↺Second readingDerived
rules and ‘arith’, written out
Derived rules and “arith”. As in
Step 1 of Theorem 4.7.2,
a line citing a derived rule abbreviates a pasted
derivation in primitive rules. This covers Chapter 2’s
derived rules (Definition 2.3.1),
whose derivations have no flagged boxes and apply to
first-order formulas as they stand, and the bounded
rules of Proposition 6.1.1,
each of which Section 6.1 expanded into a displayed
block of unbounded steps whose side conditions hold
whenever the bounded ones do, and the one-line “(sym)”
and “(trans)” of Section 5.7 (Proposition 5.7.1),
each of which abbreviates its three-line derivation from
and
with the given terms pasted in. Those derivations have
no boxes, and each they use is an
equation, with no quantifier, so every term is free for
its variable and the side conditions of Definition 5.7.1
hold. It also covers the shortcuts of Chapter 6. A law
of Section 6.2 used as one line (QN, NIm, VI, the
passage and distribution laws), and a derivable formula
written as a line, abbreviate their printed derivations,
pasted in with each flag renamed to a name new to the
whole derivation, as “The laws as one line” (Section
6.2, after Proposition 6.2.1)
argues. A line
abbreviates the block of primitive steps that Proposition 6.3.1
provides, pasted in the same way (Section 6.3). In each
case the side conditions of and
still hold inside the pasted block. A line
justified “arith” is not a rule at all: it records an
arithmetic fact. Written out, it is a universally
quantified arithmetic sentence taken as an extra
premise, whose bound variables are
distinct and appear nowhere else in the derivation,
instantiated by at
the terms on the line and applied by , as
Section 5.4 did explicitly when it turned the premises
of a Chapter 1 derivation into universal statements.
That choice of bound variables means that no fresh name
of the derivation appears in the new premise, so the
side conditions of and
still hold, and that every term on the line
is free for the variable it replaces at each
step. So a derivation with “arith” lines is a derivation
in primitive rules from its premises together with those
arithmetic sentences, and soundness speaks about that
derivation.
Renaming. Section 5.2 took, as a
convention, that formulas differing only by renaming
bound variables say the same thing, so a derivation may
write a line, or apply a rule to a cited line, in a
renamed form. This is not a rule either. Corollary 7.3.2
below shows that a formula and any renamed form of it
are satisfied by exactly the same structures and
assignments, so such a step changes nothing in the
proof, which may take every line in the form its rule
displays.
Contexts,
once more
The context of line is still the list of
the premises together with the assumptions of every box
containing line
(Section 4.7, before Lemma 4.7.1).
A flagged box of has
no assumption, so it adds nothing to
the context of the lines inside it. The box
opens with its assumption , which
does join the context.
Section 5.4 extended Definition 1.4.2
to flagged boxes and kept its scope rule and its notion
of availability word for word; two boxes are still
disjoint or one inside the other. So Lemma 4.7.1
(a), whose proof uses only the scope rule, holds as it
stands: if line
is available at line , then .
Part (b) needs one extension, since its statement
names “the assumption of that box”. It becomes: if
line is justified
by a box rule citing the box from line to line , then is together with
the assumption of that box if it has one, and is if it is a
flagged box without an assumption. The proof of (b)
in Section 4.7 is unchanged. It showed that the boxes
containing line
are exactly the cited box and the boxes containing line
, and for that it
used one fact about box rules: the last line of the
cited box is a line of that box itself, not of a box
inside it. The two new box rules demand the same:
requires to be the
last line of the flagged box, a line of that box itself
(Definition 5.4.1),
and requires to be the last line
of the box itself (Definition 5.6.1).
So the boxes containing line are the cited box and
those containing line , and the context of
line adds to
only the
cited box’s assumption, if any. When a flagged box
immediately contains another box and is cited from the
first line of that inner box, as the citation convention
of Section 5.4 says, the argument is the same: the cited
box runs from that line to its last line, and its last
line lies in no box inside it.
Here is the derivation of Proposition 5.6.2,
with its contexts.
1
2asm, for
3 2
4 3
5 1, 2–4
6 2–5
| 1 |
none |
|
| 2, 3, 4 |
flagged
();
box
() |
|
| 5 |
flagged
() |
|
| 6 |
none |
|
Line 6 cites the flagged box , which has
no assumption, and indeed . Line
5 cites the box
, and
is with its
assumption added. Line 3 mentions and free, and line 4
mentions free,
while its context mentions free, through the
assumption : the claim is about every structure and every
value of and that makes the
context true.
Substitution and satisfaction
Five of the six new rules write a substitution: and
write for a term
, in their
conclusion or premise; writes
one in both; and and
write for the
fresh name. To handle them we need to know what
means in a structure. The natural guess
is that substituting the term for has the same effect as
giving the value
of . Section 5.2
showed that this can fail: in ,
putting for
blindly gives
, which is false in , while giving the value of , whatever it is,
leaves true. The of the term was
captured. The lemma says that capture is the only thing
that can go wrong.
Lemma
7.3.1 (Substitution Lemma)
Let be a
structure, an
assignment in ,
a formula,
a variable, and
a term that is
free for in (Definition 5.2.6).
Write . Then
Idea. First terms: substituting
for in a term and then evaluating is
the same as evaluating with set to the value of
. Then structural
induction on , for all
assignments at once, since the quantifier clauses change
the assignment. Atomic formulas follow from the claim
for terms, and connectives pass straight through. The
only real case is with free in it. The
substitution goes inside, and (S6) sets to each in turn. For the
induction hypothesis to help, the value of must not change when
does, and that is
exactly what “free for” guarantees: does not occur in .
Proof. Fix , and . For an assignment
, write .
Terms. We show, for every term and every assignment
, that , by structural
induction on (Definition 5.2.1).
If is the
variable , then
is , with value , and (Definition 7.1.2).
If is another
variable , then
is , and both sides are
, since
changes only . If is a constant , both sides are . If is , then
is (Definition 5.2.5),
and applying to the values,
which agree by the hypothesis for , gives
equal results.
Formulas. We prove, by structural induction
on , the
property : if is free for in , then for every
assignment ,
if and only if . Two facts are used
throughout. If is
free for in or in , it is
free for in the
parts, by the recursive description of “free for” after
Definition 5.2.6
in Section 5.2. And by Definition 5.2.5,
substitution passes through connectives: is
,
and is .
Atomic formulas.
is . By the claim for terms, the tuple of
values of the under is the tuple of
values of the
under , so (S1) of Definition 7.1.3
gives the same answer on both sides. Equations are the same
with (S2). For , is , and neither side
holds (S3).
Connectives. For : by
and
, if and only if , and likewise for ; (S5) combines the
two answers in the same way on both sides. The cases
, , , are the
same with (S4) and the other parts of (S5).
Universal quantifier, not free in .
This happens when
is the variable ,
or when is not
free in .
Then is
itself, since there is no free occurrence of to replace (Section 5.2
proved that whenever is not free in ). The assignments
and
differ at most at , which is not free in
; so by Lemma 7.1.1,
if and only if , which is .
Universal quantifier, free in .
Then is not , and is free in . Every free
occurrence of in
lies in the scope of , so, as is free for in ,
the variable does not occur in , and is free for in (Definition 5.2.6,
and its recursive description in Section 5.2). By Definition 5.2.5,
is . Let . Since does not occur in , the assignments and agree
on every variable of , so , by the claim for terms in the proof of
Lemma 7.1.1.
Since and are different
variables, . Hence, using for the
assignment in the second step, where the first and last steps are (S6). This
is .
Existential quantifier. The same two
subcases, with (S7) in place of (S6) and “for some ” in place of “for every
”.
Every clause of Definition 5.2.2
is covered, so holds for
every formula. This proves the lemma.
The hypothesis “free for” was used once, in the
second quantifier case, to get . The capture example shows what happens
without it. In the structure on with , , and as usual, take and , which is not free for in . The blind
substitution is , false under every assignment.
But holds for every
, with
witness . The
two sides of the lemma disagree, and the reason is
visible in the displayed chain: when (S7) sets to a new value, the
value of
moves with it.
Quick check. Let be the structure on
with , , and as usual, , , and let , . Is free for in ? Compute both
sides of Lemma 7.3.1.
Solution. Yes: the only quantifier
in is , and does not occur in . Here .
The right side asks whether : every is , so yes. The left side is under : every is , so yes. Both
sides hold, as the lemma says. (Under itself, is false: has and not . The lemma
compares with at the
new value of , not at the old
one.)
The lemma also pays a debt of Section 5.2, which took
renaming of bound variables inside a formula as a
convention and left its justification in terms of
meaning to this section.
Corollary
7.3.2 (Renaming Keeps Meaning)
Let be a
formula and
variables, with
not appearing in (Section 5.2).
Let be a
structure for the symbols of , with domain
.
- (a) For every
assignment ,
if and only if , and if and only if .
- (b) If arises from a
formula by
such a renaming of one quantifier anywhere inside (Section 5.2), then
for every structure for the symbols of
and every
assignment in
it, if and only if .
Proof. (a) If is , then is and there is
nothing to prove. Let be a variable other
than . Since does not appear in
, no
quantifier of is on , so is free for in (Definition 5.2.6).
Let . Under
the term has
value , so Lemma 7.3.1
gives: if and only if . The assignments and differ at most at , which does not appear
in ; by Lemma 7.1.1,
the last statement holds if and only if . So if and
only if , for every . Now (S6) gives
the statement for , and (S7) the
statement for .
(b) By structural induction on , for all assignments
at once, since the quantifier clauses change the
assignment. If the renamed quantifier is the outermost
symbol of ,
this is (a). Otherwise is not atomic, and
the renaming takes place inside one immediate part of
, which it
turns into a formula satisfied by the same assignments,
by the induction hypothesis; the other parts are
unchanged. If
is or
,
(S4) or (S5) then gives the same answer for and under every
. If is or
,
with the renaming inside , then is
or , and , are satisfied
by the same assignments , so
(S6) or (S7) gives the same answer for and .
Several renamings one after another are covered by
applying (b) once for each.
The
soundness theorem
We can now state the theorem that Section 7.2 took on
trust.
Theorem
7.3.3 (Soundness for Predicate Logic)
Let be a
list of formulas and a formula. If with
the rules of Chapters 1 and 2 and the quantifier and
equality rules of Sections 5.3 to 5.7, then (Definition 7.1.4).
Idea. The steps are those of
Chapter 4’s proof (Steps 1–4 of Theorem 4.7.2).
① Reduce to derivations in the primitive rules.
② Prove for every line , by strong induction on
(Theorem 4.2.2):
fix a structure
and an assignment satisfying , and show that
they satisfy .
③ The cases. Premises, assumptions, and the thirteen
propositional rules go through word for word, because
(S3)–(S5) are Chapter 4’s clauses. ,
, and are Lemma 7.3.1,
used once or twice. is (S2).
The two box rules are the heart of the proof, and they
both use the same trick: change the value of the
fresh name. In , to
show under , take any , and set to ; the context does not
notice, because
is not in it, so the box’s last line holds
there, and moving
from to gives under . In
, set to the witness that
provides; the box’s assumption holds there, so its last
line holds
there, and since does not mention
, it holds under
as well.
④ The last line lies in no box, so its context is the
premises.
Before reading on: in the case
below, the assignment must
still satisfy the context , and at the end
the conclusion must come back from to . Which clause of the side condition
of does each step use?
Proof. Step 1
(reduction). Suppose . By
the subsection “What carries over, and what is new”,
there is a derivation of in the primitive
rules whose premises all belong to . (A derivation
with “arith” lines is of this kind only for the list of
its premises together with the arithmetic sentences
those lines stand
for, as explained there. The theorem applies to it with
the list
in place of ,
and gives : truth in every structure that satisfies
and . The sentences hold, for instance,
when the arithmetic symbols have their usual meaning on
, as in Section
7.1.) Fix one, with lines , formulas , and contexts
. Let be the finite set
of constants, function symbols and predicate symbols
that occur in some line of it. A line may contain
symbols that occur neither in nor in , as does in the line between and
;
so the induction is run over structures that interpret
every symbol of , and Step 4
returns to the structures of Definition 7.1.4.
Step 2 (the induction). For , let be: if , then every
structure that
interprets every symbol of and every
assignment in
with satisfy . In Steps 2 and 3, “structure”
means a structure that interprets every symbol of , and possibly
more. We prove
for all by Theorem 4.2.2.
For and , holds vacuously. Let
and
assume for
every .
Every line and box that line cites is available at
line , so lies
before it (Definition 1.4.2);
hence the hypothesis holds for every cited line and for
the last line of every cited box. Let be a structure, with
domain , and an assignment with
. We show . Two consequences of the hypothesis
do the bookkeeping, as in the proof of Theorem 4.7.2.
If line cites
line , then by Lemma 4.7.1
(a), so , and gives If line
cites, by a box rule, the box from line to line , then by Lemma 4.7.1
(b), extended in the subsection “Contexts, once more”,
and :
Step 3 (the cases).
Claim. If line is a premise, an
assumption, or justified by one of the thirteen
primitive rules of Chapters 1 and 2, then .
Proof of Claim. Claims 1–3 in the
proof of Theorem 4.7.2
treat these cases. Each step there uses only , , the fact that
a premise or an assumption belongs to its own context,
and the clauses (V1)–(V6) of Definition 4.4.2.
Clauses (S3)–(S5) of Definition 7.1.3
are (V1)–(V6) with “ makes true” replaced by
“”. Making that replacement throughout,
the proofs of those claims prove this one, case by
case.
Claim. If line is justified by ,
, , or , then
.
Proof of Claim. . Line is , citing a
line holding , with free for in . By , , so by (S6), for every , in particular for . By Lemma 7.3.1,
which applies because is free for in , .
. Line is ,
citing a line holding , with free for in . By , . By Lemma 7.3.1,
with .
So is the element
(S7) asks for, and .
.
Line is . The two sides have
the same value , so (S2) holds.
.
Line is , citing
lines holding and , with
and free for in . By and (S2), and are the
same element ; and
. By Lemma 7.3.1
for , . By Lemma 7.3.1
for , read from
right to left, .
Claim. If line is justified by or
, then .
Proof of Claim. . Line is ,
citing a flagged box with name and no assumption,
whose last line
holds . The side
condition of Definition 5.4.1
says that at line
the name
appears in no premise and in no assumption of a box
still open at line , and not in . The
premises and the assumptions of the boxes open at line
are exactly the
formulas of , so
(i) appears in no formula
of ;
and
(ii) does not appear in
, so is not the variable
, and does not appear in
.
The flagged box has no assumption, so says: every
structure and assignment satisfying satisfy .
Let ; we
show . Put . It differs from at most at , which by (i) is free
in no formula of ; so by Lemma 7.1.1,
. This is where the fresh-name
condition is used: changing the value of cannot disturb
anything we assumed. By , . By (ii), does not appear in
, so no
quantifier of is on , and the term is free for in (Definition 5.2.6).
Its value under is , so Lemma 7.3.1
gives The assignments and agree at , where both give , and at every variable
other than and
, where both
give the value
gives. They can differ only at , which by (ii) does
not appear in . By Lemma 7.1.1,
. Since was arbitrary,
(S6) gives .
. Line is , citing a line holding and a
box with name
that opens with the assumption and ends
with . The side
condition of Definition 5.6.1
says that
appears neither in , nor in , nor
in any premise, nor in any assumption of a box still
open at line .
So
(i) appears in no formula
of ;
(ii) is not , and does not appear in
;
(iii) does not appear in
.
By ,
every structure and assignment satisfying and satisfy
.
By for
line , ; by (S7), choose with . Put . First, , by (i) and Lemma 7.1.1,
as in the case. Second, . Indeed, and differ
at most at ,
which by (ii) does not appear in , so by Lemma 7.1.1;
the term is
free for in by (ii), and has
value under , so Lemma 7.3.1
gives . This is where “ not in ” is
used. By , . Finally, and differ at most at
, which by (iii)
does not appear in , so by
Lemma 7.1.1.
This is where “ not in ” is
used.
The three claims cover every way a line can be
justified, so
holds, and by Theorem 4.2.2
holds for
every line of the
derivation.
Step 4 (the last line). The last
line lies in no
box (Definition 1.4.2),
so
consists of premises only, and . Let
be a structure
for the symbols occurring in and , with domain , and an assignment with
. Expand to a structure with the same
domain and the same meanings, which also interprets the
symbols of
that does not,
so that
interprets every symbol of : fix some , which exists
because is
non-empty (M1), and give each new constant the value
, each new
function symbol, of arity say, the function with constant
value , and each
new predicate symbol the empty relation. Then is an assignment in
, and by
the remark after Definition 7.1.4
(the clauses of Definition 7.1.3
consult only the symbols of the formula at hand), each
formula of ,
and , is
satisfied by exactly when it is satisfied by . Every premise
belongs to ,
so ; by , ; and so . This proves .
The answer to the prompt: the first step uses the
clauses “no premise” and “no open assumption”, which
together say that is not in ; the second uses
“not in ”. The last line of the
box, which may mention as often as it likes,
plays no part in either. That is the precise sense in
which “let be
arbitrary” works: whatever value is given, what we
know still holds, so what we proved about holds at that
value.
The case uses the same move with the opposite
purpose. There the value of is
not arbitrary; it is set to the witness
. What makes that
legitimate is that nothing else knows about (condition (i)), that
the assumption then holds
at the witness (condition (ii)), and that the result
forgets it
again (condition (iii)).
Counter-models prove non-derivability
The corollary is the one Section 7.2 used, now with a
proof.
Corollary
7.3.4 (Counter-models)
Let be a
list of formulas and a formula. If some
structure and
assignment
satisfy every formula of and do not satisfy
, then .
If the derivations in question may use “arith” lines,
a counter-model must also satisfy the arithmetic
sentences those lines stand for (Step 1 of the proof of
Theorem 7.3.3),
for instance by giving the arithmetic symbols their
usual meaning.
Every counter-model of Section 7.2 is now a proof
that no derivation exists.
- By Example (The swap of and ), . The
converse search of Proposition 5.6.2
stalled at two lines, a
blocked by an open assumption and an
blocked by its conclusion; now we know that no other
route could have succeeded.
- The two-element structure with , gives
and : the one-way laws of Proposition 6.2.6
are one-way.
- , which Exercise (C2: A witness is not a name, used later)
could only explain informally.
- , by the structure on with the even integers
and :
generalizing over a name in a premise is not merely
forbidden, it would be unsound.
- The passage laws of Proposition 6.2.7
need not free in
: with free, , by the counter-model of Exercise (B1: Three counter-models, used later)
(iii), which names an assignment.
Every side
condition is a case of the proof
The side conditions of Sections 5.3 to 5.7 were
introduced one at a time, each with a counterexample.
The proof above shows that they are all the same kind of
thing: each is used in the case of its own rule, and
dropping it breaks a step of that case. Each
counterexample of Sections 5.3 to 5.7 can be read as a
failed case:
- generalizing over a name in a premise, as in “” (Section 5.4): the case
fails at “”, since changing
changes the
premise ;
- generalizing over a name in an open assumption, as
in “from , ” (Section 5.4): the same step, with the
assumption in ;
- a name that leaks into the conclusion of , as
in Exercise (C1: The conclusion clause of for-all-introduction, used later):
the last step of the
case, since now
occurs in ;
- treating the witness as arbitrary, by over
its name inside its box
(Section 5.6): the case
again, since the box’s assumption is in ;
- letting the witness escape its box, or giving a
second witness a name already in an open assumption
(Section 5.6): the
case, at condition (iii) or (i);
- a capture in
(Section 5.3) or
(Section 5.5): the or
case, where Lemma 7.3.1
does not apply; Exercise C2 and the solution to Exercise
B1 give false conclusions;
- a capture in , as in
(Section 5.7):
the
case, where Lemma 7.3.1
does not apply to .
Warning. A side condition is not
mere bookkeeping: a derivation that breaks one is not
covered by Theorem 7.3.3,
and it can reach a false line, as the counter-model to
in the previous subsection shows for the
first item of the list.
Quick check. Exercise (C2: Find the error, used later)
gives a derivation of whose box
ends in ; the
line after the box is by , and
the last line is by .
Which case of the proof of Theorem 7.3.3
fails, at which step, and for which line? Give a
structure and an assignment showing that the claim is false for that line.
Solution. The case
fails, at its last step: contains
, so condition
(iii) is false, and “” cannot be carried back
from to . The line concerned
is the illegal line
, whose
context is the premise alone. Take , and : the premise holds (witness ), and fails, since . The
final conclusion is still true in this structure, as it is
in every structure satisfying the premise; the fault is
in the line before it.
Exercises
A. Check your
understanding
Exercise
(A1)
These parts are about the proof of Theorem 7.3.3.
- (a) In the
case, name the two places where the side condition of
is used, and say which clause each
uses.
- (b) The derivation
below breaks the side condition of : its
conclusion
contains the fresh name. Which step of the case
fails? Give a structure and an assignment in which the
premise holds and line 3 does not.
- (c) Give the idea of
the proof in two sentences.
- (d) Why does the
claim quantify over assignments, and not
only over structures? Point to a line of the derivation
of Proposition 5.6.2
printed in this section.
1
2asm, for
3 1, 2–2
Solution. (a) First, to
show that still satisfies : this uses
“ appears in no
premise and in no assumption of a box open at line ”, which together say
that is in no
formula of , so Lemma 7.1.1
applies. Second, to pass from to (and, before that, to know that
is free for
in ): this uses
“ does not
appear in ”.
(b) The last step: from to , which needs not in . Take , , . The
premise holds, with witness ; line 3, , fails, since
. Inside the box, under , line
2 holds; the proof would carry it back to , and that is exactly
what fails.
(c) Every line of a derivation is satisfied
by every structure and assignment that satisfy its
context, by strong induction on the line, with one case
per rule. The quantifier box rules are handled by
changing the value of the fresh name, which the side
conditions guarantee the context and the conclusion
cannot notice.
(d) Lines inside boxes contain free
variables, the fresh names, and their truth depends on
the values of those variables. Line 3, , is not a
sentence: in the structure on with read as , it is satisfied
when ,
, and
not when , . The and
cases work precisely by changing such
values.
B. Practice
Exercise
(B1: The case)
Write out the case
of the proof of Theorem 7.3.3
in full: state what is known about the cited line, and
show , naming the reason for each
step. Where is “
free for in ” used?
Solution. Line is , by
citing a line holding , where is free for in (Definition 5.5.1).
Let be a
structure interpreting every symbol of the derivation
(as in Step 2), with domain , and an assignment with
. Line is available at line
, so by Lemma 4.7.1
(a), and . Since , the induction hypothesis gives . Let , an element of . Because is free for in , Lemma 7.3.1
applies and gives . By (S7) of
Definition 7.1.3,
with the element ,
.
“Free for” is used exactly once, to apply Lemma 7.3.1.
Without it the step fails: from , read
as , an “”
would give , and in the structure on
with read as the first is true and
the second (“there is a least integer”) false.
Exercise
(B2: Three non-derivability results)
Use the following counter-models from Section 7.2 to
state three non-derivability results, citing Corollary 7.3.4,
and check in each case that the structure (and
assignment) satisfy every premise and not the
conclusion.
Solution. (a) , . The premise holds (for take , for take ); the conclusion fails ( fails at ,
at ). Both are
sentences, so any assignment will do. By Corollary 7.3.4,
.
(b) , , . The premise holds, since its hypothesis fails
at ; the
conclusion fails at . By Corollary 7.3.4,
.
(c) , , with an assignment . There are no
premises, so the condition on premises holds trivially.
The formula fails under : its hypothesis
holds (witness )
and its conclusion, with free, has value . By Corollary 7.3.4,
with empty,
. Here the assignment is essential: under
the
formula holds, and the structure alone would not have
been a counter-model.
C. Going deeper
Exercise
(C1: The case)
Write out the case
of the proof of Theorem 7.3.3
in full, from memory: the data of line , the side condition,
what the induction hypothesis gives for the cited line
and the cited box, and the argument, naming at each step
which clause of the side condition it uses.
Solution (Hint 1). The tool is the
assignment , where is a witness for under
. You will need
Lemma 7.1.1
three times and Lemma 7.3.1
once.
Solution (Hint 2). Start: “Let
be a structure
interpreting every symbol of the derivation, with domain
, and an assignment with
. By the induction hypothesis for line
and Lemma 4.7.1
(a), , so choose with .”
Solution. Data. Line is , by
citing a line
holding and a box with name , from line (the assumption ) to line
(the formula
). Side
condition (Definition 5.6.1):
appears neither
in , nor in
, nor in a premise, nor in an assumption
of a box still open at line .
What the hypothesis gives. Line is available at line
, so (Lemma 4.7.1
(a)), and
holds: every structure interpreting every symbol of the
derivation, and every assignment satisfying , satisfy . The
box is cited by a box rule, so its last line has context
(Lemma 4.7.1
(b), extended in the subsection “Contexts, once more”),
and says that
every such structure and assignment satisfying and satisfy
.
The argument. Let be a structure
interpreting every symbol of the derivation (as in Step
2), with domain ,
and an
assignment with . Then , so ; by (S7),
choose with
. Let .
- . The formulas of are the premises
and the assumptions of the boxes open at line ; by the side condition,
appears in none
of them.
differs from
only at , so Lemma 7.1.1
applies to each formula of .
- . Since does not appear in
, it is not and does not appear in
. So
and differ at most at , which is not in
, and by Lemma 7.1.1.
The term is
free for in , as no quantifier
of is on
, and ;
so Lemma 7.3.1
gives .
- By 1, 2 and the hypothesis for the box, .
- and
differ only at
, which does not
appear in ; by
Lemma 7.1.1,
.
Since and
were
arbitrary, this proves .
Marking scheme. (10 points)
- 2: states the data and the full side condition, and
the context of the box’s last line.
- 2: obtains a witness from the cited line
through the induction hypothesis and (S7), and sets
to .
- 2: shows the new assignment still satisfies , using “ in no premise and no
open assumption”.
- 2: shows the new assignment satisfies , using
“ not in ” and
the substitution lemma.
- 2: applies the hypothesis for the box, and returns
to using
“ not in ”.
A proof that treats the box’s assumption and the
context in the other order earns the same points. Fatal
errors (0 for the step): setting to an arbitrary
element rather than the witness; concluding
directly from without the condition on .
Exercise
(C2: “Free for” is needed)
Show that the side condition “ is free for in ” of
cannot be dropped. Give a two-line “derivation” that
uses with a term that is not free for , a structure in which
its premise is true and its conclusion false, and the
step of the proof of Lemma 7.3.1
that fails.
Solution (Hint 1). Look for a
premise in which contains a
quantifier and
occurs free inside its scope; instantiate at .
Solution (Hint 2). Try , “ is
not an upper bound of everything”, in a structure with
no largest element.
Solution. Take and . The free occurrence of in lies in the scope
of , and
occurs in , so is not
free for in . Ignoring this,
would allow:
In ,
the premise says “for every integer , not every integer
is ”, that is, no
integer is largest: for each , the integer is not . It is true. The
conclusion says “not every integer has ”, which is false,
since is
reflexive. So the premise is true and the conclusion
false, and a rule allowing this step would be
unsound.
The step of Lemma 7.3.1
that fails is the second quantifier case, applied to
: it needs not in , so that the value of
does not change
when (S6) sets to
each . Here , and its value is
the new each
time: compares each with itself, while
at the value of compares each with the fixed . The legal route
renames first (Section 5.2): , and then at
gives , which is true in under every
assignment.
Marking scheme. (10 points)
- 3: a premise and a step
at a term that is not free for , with the capture
identified.
- 4: a structure, with the premise checked true and
the conclusion checked false.
- 3: names the quantifier case of Lemma 7.3.1
and the fact it needs ( not in ).
Fatal errors (0 for the step): a “counter-model” in
which the premise is false; a step in which is in fact free for
.