2.3 Derived Rules: Proved Sequents as New Rules
Section 2.1 closed an impossible case by hand, and
Section 2.2 proved negations by hand, one box at a time.
By now the same few patterns keep coming back: the
impossible case of Example (An impossible case),
and a box that turns a known implication round.
Mathematicians give such patterns names (“by
contraposition”, “since
2.3.1. A box that keeps coming back
Here are two short arguments from different corners of mathematics.
Let
be an integer whose square is not even. Suppose is even. Then is even, which contradicts the hypothesis. Hence is not even.
Let
be a real number with . Suppose . Then , which contradicts . Hence .
The subjects differ; the steps are the same. Each has
a known implication (“if
A mathematician does not write these four lines. She
writes “since
2.3.2. Modus tollens, from the rules we have
The pattern of the two arguments is: from an implication and the negation of its conclusion, infer the negation of its hypothesis.
Idea. Read the skeleton off the
goal. The goal
Proof. The following is a
derivation with premises
Line 5 cites the premise on line 2, which lies in no
box and so is available everywhere below it. The box
The name is Latin for “the mode that takes away”:
denying the conclusion takes away the hypothesis. Its
partner, from
A second form of the same fact packs the two premises into one implication. It is the form in which mathematicians state it: an implication implies its contrapositive.
Idea. The goal is an implication,
so Chapter 1’s first goal-directed move applies: open a
box with its hypothesis
Proof. The following is a
derivation with premise
Line 5 may cite line 2, because the only box
containing line 2, the box
The statement
Now compare the two derivations. Lines 3–6 of the
derivation of Proposition 2.3.1
are, line for line and citation for citation, lines 3–6
of the derivation of Proposition 2.3.2:
2.3.3. What a derived rule is
A sequent that has been derived may be used as a rule.
This is what a mathematician does when she writes “by Lemma 3”: the lemma was proved once, and each use of it is a single step. For derivations we must say exactly what that step may do.
Let
In words: a proved sequent is a new rule. Its premises become the cited lines, its conclusion the line written, and its letters the metavariables of a schema (Definition 1.2.1). Read the definition clause by clause.
- “Already derived.” The sequent must have been derived before the line that uses it: earlier in the book, and never inside its own derivation. A derivation that used a sequent to derive that same sequent would prove nothing.
- “Replace each letter … the same statement
for every occurrence.” The letters of a derived
sequent stood for arbitrary statements all along (Definition 1.2.3),
so they may be replaced by any statements, provided the
replacement is uniform. From
and , the rule gives , with the letters and of Proposition 2.3.1 (written and in the schema) replaced by and . - “Available at line
.” The scope rule of Definition 1.4.2 still governs every citation. A derived rule may not reach into a closed box, just as a primitive rule may not. - “The resulting instance of
.” The rule writes the conclusion, with the same replacement, and nothing else. The derived rule does not open or close any box of the derivation that uses it.
We give the derived rules of this section short tags:
Left: with the derived rule. Right: written out.
Line 3 on the left stands for lines 3–6 on the right: the same premises, the same last line.
A derived rule is shorthand for lines we could always write out, so it lets us prove nothing that the primitive rules could not.
Quick check. In the figure, which lines does line 3 on the left cite, and which lines on the right use those same two premises?
Solution. Lines 1 and 2. On the right, line 4 cites line 1 and line 5 cites line 2.
Second readingWhy a derived rule adds no power
Convenience, not power. A
derived-rule line abbreviates a stretch of derivation
that we could write out in full. To expand it, repeat
each cited line by (D3) of Definition 1.4.2,
then copy the derivation of the sequent below the
repetitions, with its letters replaced, its premises
replaced by the repetitions, and its line numbers
shifted. Every citation inside the copy points inside
the copy or to a repetition, all in the current box, so
every citation is available. The copy’s boxes close
before its last line, which is the instance of
The degenerate case is a sequent with nothing done to
its premise,
Line 3 is the instance of Proposition 2.3.2
with
Warning. A derived rule must match
its sequent exactly, under one uniform replacement of
letters. From
In the Givens/Goal table, a derived rule adds its conclusion to the Givens in one row, as an elimination rule does.
2.3.4. Pasting whole derivations: weakening and cut
The figure expands one derived-rule line inside a derivation. Outside every box there is a cleaner statement, about whole derivations: two derivations can be joined end to end, and premises that are never used do no harm.
Let
- (a)
Weakening. If
and every member of is a member of , then . In particular, implies . - (b)
Cut. If
and , then . - (c)
Chaining. If
for every , and , then .
In words: (a) extra premises never hurt; (b) a statement that has been derived may be used as a premise; (c) a sequent already proved can be applied to statements already derived. Part (c) is Definition 2.3.1 for whole derivations, outside every box; inside a box, the expansion of the fold “Why a derived rule adds no power” does the same job.
Chaining and cut are the reason a derived-rule line
outside every box is legitimate: the lines it cites lie
in no box, so the derivation up to each of them derives
it from
Second readingThe proof: pasting derivations
Idea. Part (a) is read off Definition 1.2.3,
which asks only that the premises of the derivation
belong to the list. For (b) and (c),
write the derivations one after another and let the last
one cite, instead of its premise
Proof. (a) A derivation
witnessing
For (b) and (c) we prove one statement that contains both:
Part (b) is
To prove
- First, as premises, every premise of
, and every premise of that is a member of . - Then the lines of
that are not premises, then those of , and so on up to , each with its boxes. - Then the lines of
that are not premises, with its boxes.
Renumber the lines, and change each citation as
follows. A citation of a premise that is in
We check that
Quick check. Given Proposition 2.3.1,
which part of Lemma 2.3.3
gives
Solution. Part (a), weakening, with
2.3.5. Disjunctive syllogism: the impossible case, filed
The second pattern is the impossible case of Section 2.1. Every integer is even or odd; this one is not even; so it is odd. A disjunction, one side refuted, the other side left.
Idea. This is Example (An impossible case)
with a simpler clash. There, the case
Proof. The following is a
derivation with premises
The two boxes
Set the derivation beside that of Example (An impossible case).
Both split
The rule as stated refutes the left
disjunct. To refute the right one, first put the
disjunction in the other order; that, too, is now one
line, since Example (First derivations with “or”)
derived
- (a) Show that
, and then write the derivation out with primitive rules only. - (b) Show that
.
Solution. Idea. A derived
rule is a premise-directed shortcut: a
line
- (a) Work backwards
from the goal
. The premise would give it by if were available. And comes by from and . So is used twice, the second time on the conclusion of the first.123512345 1, 41234 2, 35 1, 4Line 4 is the instance with
replaced by and by ; line 5 the instance with and . In primitive rules, each line becomes its four lines, as in lines 3–6 of the derivation of Proposition 2.3.1: a box on the hypothesis, , , . This natural expansion has eleven lines.1234 asm, for5 2, 46 5, 37 4–68 asm, for9 1, 810 9, 711 8–10The literal expansion of the fold “Why a derived rule adds no power” adds a repetition of each cited line and is longer; the natural one cites the available lines directly.
- (b) The disjunction
has its left side refuted by , so gives , and then fires.
Expanded, line 4 becomes lines 3–7 of the derivation
of Proposition 2.3.4
(five lines), with a case split on line 1 and the case
Quick check. Which derived rule of this section, if any, gives a new line in one step from each pair of available lines?
- (i)
and . (ii) and . (iii) and . (iv) and .
Solution.
- (i)
gives . (ii) gives . (iii) None: nothing is known about the case . (iv) None in one step: needs the negation of the conclusion , which is , not . A box gives from first, as in Example (Two negations from one premise), and then gives .
2.3.6. Modus tollens on numbers, and the green card
In a mathematical proof,
Let
Solution. Take
The claim of Example (Four cards)
(Section 1.3), for one card, is
| The card shows | So we have | What a rule gives | Turn it? |
|---|---|---|---|
| yes: a green back would break the claim | |||
| nothing about |
no | ||
| red | nothing about |
no | |
| green | yes: an even number would break the claim |
Turning the green card tests exactly the line
Quick check. Which card would
Solution. The
Second readingModus tollens and testing a claim
A claim about every integer of a kind makes one
prediction per instance. “For every prime
2.3.7. How this rule looks in a mathematical proof
Theorem 2.1.3
(Section 2.1) says that for an integer
Written the way a mathematician would write it, the
proof is four sentences: Suppose
Let
Solution. Idea. The
hypothesis “
Suppose
With
Line 11 is Example (First derivations with “or”)
used as a derived rule, so that line 12 refutes the left
disjunct, as
Second readingThe two derivations of Even Square, line for line
Compare this with the twelve-line derivation after Theorem 2.1.3
in Section 2.1. There, line 11 split on (E1) at once,
and the odd case, lines 6–10, got
2.3.8. Common errors
Warning. A derived rule may be used
only after its sequent has been
derived, and never inside its own derivation. A
“derivation” of Proposition 2.3.2
that justifies one of its lines by
Warning. The converse of the
contrapositive is a different sequent.
2.3.9. The rule card
A sequent is proved once, for letters, and used for every statement put in their place. So it pays to prove a lemma with the fewest premises and the most general letters it allows: one derivation, written once, serves every row of its rule below.
| Rule | Letters replaced | Cited lines | New line |
|---|---|---|---|
Not an instance. From
Chapter 1’s seven rules are on the card at the end of Section 1.6; here are this chapter’s so far.
| Rule | Shape | You write | Lean |
|---|---|---|---|
| “…, which contradicts …” | exact hn hp (goal
False) |
||
| “This case cannot occur.” “So there is nothing to prove.” | exfalso |
||
| box |
“Suppose |
intro hp (goal False) |
|
| (derived) |
“Since |
mt h hnq |
|
| (derived) |
“We prove the contrapositive: suppose not |
mt |
|
| (derived) |
“ |
h.resolve_left hnp |
Warning (Not allowed: derived rules). Each step breaks the clause of the reading of Definition 2.3.1 shown.
- “
on a line of the derivation of Proposition 2.3.2”: the sequent is not yet derived where it is used (clause 1; Exercise C2). - “
by from and ”: writes the negation of the whole hypothesis, (clause 4). - “
citing a line inside a closed box”: the scope rule still governs every citation (clause 3). - “
in one line from , , ”: one instance per line; Example (Derived rules in use) (a) takes two lines (clause 4). - “
by from , here”: is derived only in Section 2.5 (clause 1).
Remark (Looking ahead). Chapter 4 makes exact the replacement of letters that a derived rule allows, under the name substitution.
2.3.10. Exercises
A. Check your understanding
(a) State Definition 2.3.1 in your own words, including what “already derived” and “the same statement” require.
(b) Here is a derivation that uses
. Rewrite it with primitive rules only.123 1, 24 3(c) True or false, with a reason: “
follows from by , so follows from by .”
Solution.
(a) If a sequent has been derived earlier (not inside the derivation that uses it), then in a later derivation we may replace its letters by statements, each letter by one statement everywhere it occurs, and, when available lines hold the resulting instances of its premises, write the resulting instance of its conclusion on one line, citing the sequent and those lines.
(b) Line 3 becomes a box on
, then , , and :123 asm, for4 1, 35 4, 26 3–57 6- (c) False.
is the sequent . Applied to , with replaced by and by , it gives , not . The passage from to is the converse, a different sequent; Section 2.5 derives it with a new rule.
Each part takes a line or two. The parts run from
single steps, through a missing line and a justification
column, to whole derivations. Let
- (a) Lines 1
, 2 . What does “ 1, 2” write? - (b) Lines 1
, 2 . What does “ 1, 2” write? - (c) What does
write from ? - (d) Line 3 is
and line 5 is . What does “ 5, 3” write? - (e) Written out with
primitive rules, citing available lines directly, how
many lines does one
line become? - (f) Line 8 is
, justified “ 2, 6”, and line 6 is . What is line 2? - (g) Line 9 is
, justified “ 4, 7”, and line 7 is . What is line 4? - (h) Lines 1–4 are
the premises
, , , . Justify 5 ; 6 ; 7 . - (i) Lines 1
, 2 . Does apply? - (j) Lines 1
, 2 . Does , as stated, apply? - (k) May a derivation
of Proposition 2.3.2
use
on one of its lines? - (l) Find the illegal
line: 1
; 2 ; 3 , 1, 2. - (m) Derive
. - (n) Derive
. - (o) Derive
in one line.
Solution.
(a)
.(b)
(the letter of replaced by ).(c)
, that is, .(d)
, with and .(e) Four: an assumption,
, , (the figure).(f)
.(g)
.(h) 5
1, 2; 6 5, 4; 7 3, 6.(i) Not yet:
needs . Write it from by a box first; then gives .(j) No:
refutes the left disjunct. Use the other form (Exercise B1 (a)) or exchange the disjuncts first.(k) No: a derived rule may be used only after its sequent has been derived.
(l) Line 3:
needs the negation of the conclusion, , and gives ; line 3 runs it backwards, from to . The form breaks at false, true.(m) 3
, assumption; 4 , 1, 3; 5 , 4; 6 , 5, 2; 7 , 3–6. ( does not match: is not available.)(n) 4
, 1, 2; 5 , 4, 3; 6 , 5.(o) 3
, 1, 2.
B. Practice
- (a) Show that
by a derivation from the primitive rules. - (b) Let
be a real number with and . You may use that implies or . Deduce that , naming the result you use.
Solution.
- (a) As in Proposition 2.3.4,
with the roles of the boxes exchanged: now the case
is the impossible one.123 asm, for4 asm, for5 4, 26 57 1, 3–3, 4–6 - (b) Since
, we have or . Since and , we have . By part (a), with : “ ” and : “ ”, used as a derived rule (Definition 2.3.1), we conclude .
Here are nine lines, each a statement with its
justification. Seven of them, in the right order and
with the right boxes, form a derivation of
- (i)
, by on the box from to . - (ii)
, by from and . - (iii)
, premise. - (iv)
, by on the box from to . - (v)
, assumption. - (vi)
, by from and . - (vii)
, assumption. - (viii)
, assumption, opening the box for the that proves . - (ix)
, by from and the assumption of (vii), written directly below (iv).
Solution. The order is (iii), (v),
(vii), (ii), (vi), (iv), (i), with one box opened by (v)
and closed after (iv), and a second box inside it,
opened by (vii) and closed after (vi). This is the
derivation of Proposition 2.3.2.
It is the only admissible order. The premise comes
first. (i) needs a box from
- (viii) cannot be
used.
proves from a box opened by , the statement being negated (Definition 2.2.1). A box opened by and ending in would give . (ix) cannot be used where it is placed. Directly below (iv), the box opened by (vii) has closed, so the assumption is not available (Definition 1.4.2). Placed inside that box, the same line is (ii).
A search for
Solution. The premises are an
implication and the negation of its conclusion, which
invites
Line 3 is
- (a) Section 1.6
derived the constructive dilemma, Example (Constructive dilemma).
Use it as a derived rule, tagged
, together with Example (First derivations with “or”), to derive in four lines. - (b) Derive the
destructive dilemma
, using . - (c) Derive
: “ rules out ”, the form in which the traditional modus ponendo tollens is used. Then break “from and , conclude ”. - (d) Let
be an integer. Use (b) to show: if is odd or is not a multiple of , then is not a multiple of or not a multiple of . Take as premises that a multiple of is even and a multiple of is a multiple of , and read “odd” as “not even”.
Solution.
- (a) Line 3 is Example (Constructive dilemma),
, with replaced by . Line 4 is the second sequent of Example (First derivations with “or”), , with replaced by .123 CD 1, 24 or merges 3 - (b) Split the
premise
; in each case refutes one hypothesis, and builds the goal.123 14 15 asm, for6 3, 57 68 asm, for9 4, 810 911 2, 5–7, 8–10 - (c) The goal is an
implication, so open a box on
; its goal is a negation, so open a box on inside it.12 asm, for3 asm, for4 2, 35 4, 16 3–57 2–6The look-alike breaks with
: “ ” and : “ ”, at : and are true and is false, so the counterexample set , , is true. Modus ponendo tollens uses a negated conjunction and affirms one conjunct; uses a disjunction and refutes one disjunct; mixing the two is the error of the look-alike. - (d) Write
: “ is a multiple of ”, : “ is even”, : “ is a multiple of ”, : “ is a multiple of ”. The premises are (since and ), and the hypothesis is . Open a box on the hypothesis; inside it, (b) as a derived rule, with , , , replaced by , , , , gives ; then closes the box on . For instance is odd, and not a multiple of .
Marking scheme. (10 points)
- 2: (a),
with the replacement named, then . - 3: (b),
in each case box, both boxes ending in . - 3: (c), the nested
box inside the box (2), and a correct break of the look-alike (1). - 2: (d), the letters, the premises, and the use of
(b) inside a
box.
Fatal error (0 for (b)): a case box citing a line of the other case box.
For each claim, derive it with the rules so far,
including
- (a)
. - (b)
. - (c)
. - (d)
. - (e)
. - (f)
. - (g)
. - (h)
.
Solution.
(a) Break. Take
: “ ” and : “ ”. At , and are true and is true, so the counterexample set (Definition 1.1.3) , , is true. This is affirming a disjunct (Section 1.6).(b) Derive. The goal is a negation: open a box on
, and manufacture the premise’s hypothesis by .123 asm, for4 35 1, 46 2, 57 3–6(c) Break. Take
: “ ” and : “ ”. At , is true (its hypothesis fails), is true and is false, so the counterexample set , is true. ( on gives , not this.)(d) Derive.
123 1, 24 3- (e) Derive.
refutes the conjunction; then a box on rebuilds it from the premise .1234 1, 25 asm, for6 3, 57 6, 48 5–7 - (f) Derive.
123
asm, for4 1, 35 4, 26 3–5 (g) Break. Take
: “ ”, : “ ”, : “ ”. The premise is true for every . At , is true and is false, so the counterexample set , , is true.(h) Break. Take
: “ ”, : “ ”, : “ ”, : “ ”. At , is true (its hypothesis fails) and is true (for every ), is true since is, and is false, since is true. So the counterexample set , , is true.(i) and (c) are the look-alikes of
and of ; (g) drops the hypothesis that (f) keeps in its box; (h) is the destructive dilemma of Exercise B4 (b) with the of its conclusion made .
Marking scheme. (16 points) For each
claim: 1 for the verdict; 1 for a derivation every line
of which checks, or for a choice of statements and one
value of
C. Going deeper
- (a) Show that
, using twice. - (b) Hence show that
with the rules so far. - (c) In words, the
conclusion of (b) says that
and do not both fail. Explain why a derivation with the rules so far naturally ends at rather than at .
Solution.
- (a) The first
has , . The second has , , so it gives the negation of , which is . Lines 5 and 6 then clash.12345 1, 36 2, 47 5, 6Line 7 cites
and then : the unnegated line first, with of replaced by . - (b) The goal is a
negation, so open a box on
and aim at . Inside, supplies the two negated premises of (a), and the rest is (a).123 asm, for4 35 36 1, 47 2, 58 6, 79 3–8 - (c) To reach
by we would need or on its own. The premises give once is known and once is known, and nothing available says which of , holds. What the rules so far can do is refute the opposite, , by a box, and that gives the negation in (b). The step from (b) to uses the rule of Section 2.5.
A student offers this derivation of
- (a) Every line is an instance of the rule it names. What is wrong?
- (b) Give a correct
derivation. May lines 3 and 4 be replaced by the one
line “
, 1, 2”?
Solution.
(a) Line 3 uses
, the derived rule whose sequent, , is the very one being derived. Definition 2.3.1 allows a sequent to be used only when it has already been derived; here it has not, so line 3 has no justification. (The whole derivation is also pointless: line 3 alone is already the goal.)(b) The derivation of Proposition 2.3.2, from the primitive rules:
Yes: lines 3–4 become the one line “
Here is a proof that for an integer
Suppose
is odd. If were even, , then would be even; so, by contraposition, since is not even (it is odd, and no integer is both), is not even. As every integer is even or odd, is odd.
Label each sentence, or part of a sentence, with the
rule or rules it uses, primitive or derived. Take as
premises the facts (E1) and (E2) of Section 2.1 and the
school computation “if
Solution. Write
- “Suppose
is odd”: the assumption of the box for , whose goal is . - “If
were even, , then would be even”: the implication , a premise (the school computation). Reading the sentence as a box that proves , assuming and computing, is equally correct. - “
is not even (it is odd, and no integer is both)”: , by : a box on builds by and clashes with (E2), , by . - “by contraposition …
is not even”: on gives , and with gives . (One line does both.) - “As every integer is even or odd,
is odd”: on (E1), , with the left side refuted, gives . - The frame as a whole:
, closing the box of on , gives .
As a derivation:
The computation is right:
Marking scheme. (10 points)
- 2: identifies the frame as
, with the box opened on the hypothesis “ is odd”. - 2: identifies “
is not even” as , naming the clash (with “no integer is both”, by ). - 3: identifies
(then ), or , applied to “if is even, then is even”, with that antecedent and consequent. Reading the “if were even” sentence as a premise or as a box that proves the implication earns these points equally. - 2: identifies
on “every integer is even or odd”, naming “even” as the refuted side. - 1: names the closing
.
Fatal errors (0 for the step): naming anything but