1.3 Using an Implication: Modus Ponens
Section 1.2 gave the two rules for “and”. This section gives one rule for “implies”: the rule that uses an implication already in hand. Proving one needs a new device, the subject of Section 1.4; using one is what a proof does every time it applies a theorem. The work is to see exactly what the rule allows, and to find chains of implications forwards and backwards.
1.3.1. Four cards
Before the rule, a puzzle about what “if … then” says.
Each of four cards has a whole number on one side and
a color on the other. They lie on a table showing
Solution. For each card, try to break the claim: can its hidden side make a card that is even and not red? (By the promise reading of Section 1.1, that is the only way to break it.)
The card showing
The card showing
The red card. Its color is the conclusion of the implication. If its number is even, the card fits the claim; if its number is odd, the card still fits, since the claim says only what even cards look like and nothing about which cards are red. No hidden number can contradict the claim. Leave it.
The green card. If its number is even, it is an even card that is not red, and the claim is false. This card must be turned.
So the answer is the
Two of the cards show the two ways an implication
meets a case: the
1.3.2. The rule
An implication fires on its hypothesis, and gives its conclusion.
This rule is called
We read it in four bullets.
- Two given lines. One line is an
implication
, the other is . Both stand earlier in the derivation, anywhere above line and in either order on the page. - Read
and off the main connective. To see a line as , its main connective (Definition 1.1.2) must be . Then , the hypothesis, is everything that this joins on its left, and , the conclusion, is everything on its right. In , the hypothesis is and the conclusion is . In , the hypothesis is and the conclusion is , itself an implication. - The hypothesis must match exactly.
Line
must be the statement , symbol for symbol: the letter occurs in both given lines, and a use of the rule replaces it by the same statement in both (Definition 1.2.1). A part of will not do, and neither will a statement that “says the same thing”. From and , the rule gives nothing, although and are each derivable from the other (Proposition 1.2.1); the hypothesis must first be rebuilt as , by and . - The new line is the whole
conclusion. The rule writes
, the whole of what stands right of the main , and nothing else. If is , the rule writes , and getting takes one more line, by .
The citation lists the implication first and its
hypothesis second, always: “
Second readingA legal, useless line
The statements
Why this rule. It is what “by Theorem
so-and-so” means. For integers
Every application of a theorem has this shape: check the theorem’s hypotheses, assemble them into exactly the theorem’s hypothesis, and fire.
Quick check. To get “
Solution. The conjunction
Why it is safe. If
Why nothing more. From
Warning. Affirming the consequent
looks like modus ponens and is not. Let
Quick check. Line 1 is
Solution. From line 1 and
The hypothesis can itself be an implication, and then the brackets put it on the left.
Quick check. Line 1 is
Solution.
Remark. At this point an
implication can be used but not
proved. A derivation can write an
implication only by taking it out of a line that already
contains it:
Second readingA rule is not one more premise
Picture a reader who grants both “if
So
1.3.3. Chains of implications
With
Forwards, from the premises. An available
implication (for now, one on an earlier line) whose
hypothesis is also available can fire:
Backwards, from the goal. Suppose the goal
is
The two directions meet in the middle, when a line
reached forwards is a goal reached backwards. In written
mathematics the backward step has a standard phrase, “to
show
In the Givens/Goal table,
Quick check. The premises are
Solution. Two premises have
conclusion
A picture shows the search at a glance. Draw each statement as a dot and each implication as an arrow from its hypothesis to its conclusion. Forwards, follow the arrows out of what you have; backwards, follow the arrows into the goal.
Backwards from
Give a derivation of each sequent.
- (a)
. - (b)
. - (c)
. - (d)
. - (e)
.
Solution.
- (a) Idea.
There is nothing to choose: the premises are an
implication and its hypothesis, and the rule fires once.
123
1, 2This is the form of the two short arguments at the start of “The form of an argument” in Section 1.1 (
odd, so odd; , so ), now shown as a sequent: a derivation with these premises and this last line exists. - (b) Idea,
forwards. The premise
has its hypothesis available, so it fires and gives . Now has its hypothesis available, so it fires and gives , the goal.1234 2, 15 3, 4Idea, backwards. The goal
is a letter. Which available implication has conclusion ? Only , so it suffices to reach (left picture: the goal at the bottom, its new subgoal above it). Which implication has conclusion ? Only , so it suffices to reach ; and is a premise, so the gap closes (right picture).12345 3, 41234 2, 15 3, 4Both searches write the same five lines, the forward one from the top and the backward one from the last line up. Exercise B3 has a case where the backward search is much shorter.
- (c) Idea.
The goal
is a letter. From the goal: the only line that mentions is , but its conclusion is , not ; the sits one implication deeper. From the premises: is a conjunction, so take it apart by , giving and . Now is exactly the hypothesis of , which fires and gives . This new line is an implication whose hypothesis is available, so it fires too. In the pictures, the goal stands alone at first; then writes lines 3 and 4, and only line 5 is missing; line 6 stays unjustified until line 5 is there for to cite.126123 14 16123 14 15 2, 36 5, 4Line 6 is the first line in this chapter where
fires on an implication that was itself written by , not given as a premise. - (d) Idea.
This time the goal leads. The goal
is the conclusion of , so it suffices to reach its hypothesis . That subgoal is a conjunction, so, goal-directed as in Section 1.2, it comes from with subgoals and , and both are premises. In the pictures, the goal stands alone at first; then the subgoal , read off line 1, sits above it as line 4, still unjustified.123512345 1, 41234 2, 35 1, 4Compare (c). There the implication took its two hypotheses one at a time,
, and the conjunction was a premise to be taken apart. Here the implication takes both hypotheses at once, , and the conjunction is a subgoal to be built. The content is the same; the brackets decide which rules the derivation uses. (Section 1.4 shows that each of the two implications is derivable from the other.) - (e) Idea.
Both ends at once. From the goal:
is a conjunction, so its last line is , with subgoals and . From the premises: both are conjunctions, so takes each apart, giving , , , and . The two ends meet through : fires on and gives the subgoal , and fires on and gives the subgoal . In the second picture lines 3–6 came from the premises and line 9 from the goal; lines 7–8, still unjustified, are where the two searches meet.
Each derivation in the example is a box-free
derivation (Definition 1.2.2)
with
1.3.4. Checking a line of modus ponens
Finding a chain can take some searching; checking one
never does. For a line justified “
- Are lines
and earlier than this line? - Is the main connective of line
a ? If so, read off (its left side) and (its right side). - Is line
exactly , symbol for symbol? - Is this line exactly
?
Here is the check run on lines 5 and 6 of (c), and on
a tempting wrong line that might replace them, “
| Line | Cites | Line |
Line is |
|
|---|---|---|---|---|
| 5: |
2, 3 | yes ( |
yes | |
| 6: |
5, 4 | yes ( |
yes | |
| wrong: |
2, 4 | no ( |
no ( |
The wrong line fails twice: it feeds line 2 the wrong
hypothesis and takes out a part of the conclusion. The
main connective settles it: the first
1.3.5. Two chains about numbers
The chains so far were made of letters. Here are two made of facts about numbers, one found forwards and one backwards. In both, the premises are true school facts, and the work is to see which implication fires on what.
- (a) Let
be an integer. From the five premises derive . - (b) Let
and be real numbers. From the six premises derive .
Solution.
- (a) The
premises. Each implication is a fact about every
integer. If
, then and . If , then ; if , then . And a number divisible by and by is divisible by , the theorem of the Quick check on .Idea, forwards. Fire every implication whose hypothesis is in hand. Only the second premise can fire at first, on
. Its conclusion is a conjunction, which splits into and . Now the third and fourth premises fire. The last premise wants its whole hypothesis on one line, so assembles it exactly, and the last premise fires. In the pictures, the goal stands alone at first; then lines 6–8 are written forwards, and line 11, still unjustified, is the hypothesis the last premise asks for.1234512Then lines 6–8, written forwards:
123456 2, 17 68 61112 5, 11The finished derivation:
123456 2, 17 68 69 3, 710 4, 811 9, 1012 5, 11Read back, the twelve lines say: if
divides , then divides . - (b) The
premises. Each is true for all real
and . If , then , and the same for . If and , adding gives . If , then , and , so .
Idea, backwards. Two premises end in the
goal. The last one makes
Then the subgoal read off premise 5:
The finished derivation:
Premise 6 is true and never cited. A true premise can still be a dead end: what decides a backward search is whether the subgoal can be reached, not whether the implication is true.
Quick check. In (b), why is premise 6 never fired?
Solution. Its hypothesis
1.3.6. How this looks in a mathematical proof
Let
- if
, then (since , multiplying by gives , and ); - if
, then (add to both sides).
A written proof that
Each piece of the sentence is one line.
| Line | Sentence |
|---|---|
| 3 | “Since |
| 4 | “… we have |
| 5 | “… and so |
The sentence never mentions lines 1 and 2: writers
leave a known implication unstated. Each “since
1.3.7. Common errors
The first warning of this section was about the wrong given line: the conclusion in place of the hypothesis. Another common error is a hypothesis that is only partly there.
Warning.
Second readingThe same slip in analysis
This is the commonest slip in analysis: “
A near relative is a hypothesis in the wrong order,
as in the third bullet of the rule’s reading:
Warning. A third error: firing an
arrow that is not the whole line.
1.3.8. The rule card
Before the card, the rule at work on large
statements. Each row is one use of
| The implication | The hypothesis line | New line | ||
|---|---|---|---|---|
Not an instance. From
The card of Section 1.2 grows by one row. Shape shows the given lines, then the new line; You write is the phrase a written proof uses for the rule.
| Rule | Shape | You write | Lean |
|---|---|---|---|
| “We show |
constructor |
||
| “In particular, |
h.1 (and h.2) |
||
| “Since |
exact h hp |
In the Lean column, h is the implication
and hp the proof of its hypothesis;
h hp applies the one to the other, which is
modus ponens.
Warning (Not allowed:
- “
from and ”: is not the hypothesis, which is (the hypothesis must match exactly). - “
from and ”: the second given line must be the hypothesis, not the conclusion; this is affirming the consequent (two given lines). - “
from and ”: the whole hypothesis must stand on a line (the hypothesis must match exactly). - “
from and ”: the new line is the whole conclusion, (the new line is the whole conclusion). - “
from and ”: the cited line’s main connective is ; take out first (read and off the main connective).
Remark (Looking ahead). Chapter 4
proves more than “affirming the consequent is a bad
form”: no derivation, however long, works for every
choice of
1.3.9. Exercises
A. Check your understanding
- (a) Write the schema
of
from memory. - (b) Lines 1 and 2 of
a derivation are
and . Which of the following can line 3 be, by one application of ? ; ; ; . - (c) In Example (Four cards), why is the red card not worth turning?
- (d) True or false,
with a reason: from lines
and , gives .
Solution.
(a) Given lines
: and : ; new line : , justified “ ” (Definition 1.3.1).(b) Only
, the conclusion of line 1. The line needs a further , and two further lines and a line. The line is not the conclusion of line 1, so cannot write it.(c) The claim is “even
red”, and the red card shows the conclusion. An odd number behind it would not contradict the claim, which says nothing about which cards are red; an even number would fit it. Inferring anything about its number from its color would be affirming the consequent.(d) False.
needs an implication and a line that is its hypothesis. The hypothesis of is , and is not ; the hypothesis of is , which is not a line. So does not apply at all. (The sequent does hold, but its derivation needs the rule of Section 1.4.)
Each part takes a line or two. Lines are numbered as in a derivation. The parts run from one step, through a missing line, a justification column and steps to judge, to short derivations.
- (a) Lines 1
, 2 . What does “ 1, 2” give? - (b) Lines 1
, 2 . What does “ 1, 2” give? - (c) Lines 1
, 2 . What does “ 1, 2” give? - (d) Line 7 is
, justified “ 4, 6”, and line 6 is . What is line 4? - (e) Line 5 is
, justified “ 2, 3”, and line 2 is . What is line 3? - (f) Justify each
line, the first two being premises: 1
, 2 , 3 , 4 , 5 , 6 . - (g) Lines 1
, 2 . Is “ 1, 2” legal? - (h) Lines 1
, 2 . Is “ — 1, 2” legal? - (i) Lines 1
, 2 , 3 . Is “4. — 1, 3” legal? - (j) Lines 1
, 2 . Is “3. — 1, 2” legal? If not, repair it. - (k) Break the form
of “if
is divisible by , then by ; is divisible by ; so is divisible by ”. - (l) Premises
, , ; goal . Searching backwards, which implication leads to a derivation? - (m) Derive
. - (n) Derive
. - (o) Derive
.
Solution.
(a)
, the conclusion of line 1, whose hypothesis is line 2 exactly.(b)
: since binds more tightly, line 1 is . Getting needs one more line.(c)
: the hypothesis of line 1 is , which is line 2 exactly, and its conclusion is the implication .(d)
. cites the implication first, so line 4 is an implication whose hypothesis is line 6 and whose conclusion is line 7.(e)
, the hypothesis of line 2, exactly.(f) Lines 1 and 2 are premises; 3 is
1; 4 is 1; 5 is 2, 4; 6 is 3, 5. An implication cut out of a conjunction fires on a line that wrote.(g) No: the hypothesis of line 1 is
, and line 2 is .(h) No: the hypothesis must be
exactly, and is a different statement.(i) No: line 3 is
, not the hypothesis . First write by 3 as line 4, then by 1, 4.(j) No: the main connective of line 1 is
, so line 1 is not an implication, and cannot fire on it. Repair: 3 , 1; 4 , 3, 2.(k) Take
. The first premise is true for every integer, since ; the second is true, since ; and is not divisible by . Both premises true, conclusion false: the form is affirming the consequent.(l)
: its hypothesis is a premise, so fires at once. The other, , makes the new goal, and nothing gives : a dead end.(m) 2
, 1; 3 , 1; 4 , 3, 2.(n) 4
, 1, 2; 5 , 4, 3.(o) 4
, 1, 3; 5 , 2, 4; 6 , 4; 7 , 5, 6.
B. Practice
Give a derivation of each sequent. For each, say which step you found first, and whether it came from the goal or from a premise.
- (a)
. - (b)
.
Solution.
- (a) The first step
found was from the goal:
is a conjunction, so the last line is with subgoals and . Then from the premises: fires on and gives , and fires on and gives , which takes apart.1234 2, 15 3, 46 57 6, 4Line 4 is cited twice, by line 5 and by line 7.
- (b) The first step
found was from the goal:
is the conclusion of line 1, so it suffices to reach exactly. The premise is not it. So take the premise apart and rebuild in the right order.
Let
Solution. The hypothesis
In prose: Since
Find a derivation of
Solution. Search backwards. The
goal
It uses premises 1, 2, and 6. The others are never
cited, which is allowed: a derivation need not use every
premise (Definition 1.2.3).
Deleting lines 3–5 and renumbering gives a derivation of
A forward search fires every implication whose
hypothesis is available, relevant or not: from
A search for
Solution. The move is to work
backwards from the goal. The goal
Line 6 writes
In (a)–(c), add one premise, not the
conclusion itself, so that the sequent can be derived
with
- (a)
. - (b)
. - (c)
. - (d)
- (i) “Since
divides , is even.” (ii) “Since is even, is divisible by .” (iii) “Since is even, is even.” (iv) “Since is divisible by , is divisible by .”
- (i) “Since
Solution.
- (a) Several premises
work. Add
:1234 1, 35 2, 4Or add
: then 4 , 2, 3. Any premise from which these rules reach or (for instance ) is right too. - (b) Several premises
work. Add
:1234 1, 35 2, 4Or add
itself (then one line), or (then two lines and one line first). Any premise from which these rules reach or is right. - (c) Several premises
work: any premise from which, together with
and , these rules reach . For instance :1234 3, 15 4, 1 works the same way, and so does , with an line first. The premise alone also works, and it says the most: it hands over the new part of the conclusion outright. - (d)
- (i) “If
, then is even”: true, since . (ii) “If is even, then ”: true, since gives . (iii) “If is even, then is even”: true, by Argument A of Section 1.1. (iv) “If , then ”: false at , where and does not divide . The sentence in (iv) looks just like the other three. A missing premise is where a hidden error hides.
- (i) “If
C. Going deeper
Here is an argument, followed by the derivation its author offers for it.
If
is divisible by , then is even. And is even. So is divisible by .
With
- (a) Name the line
that fails, and say why it is not an instance of the
schema of
. - (b) Show that the step can lead from true premises to a false conclusion.
- (c) What new statement about divisibility can be correctly derived from the two premises with the rules so far?
Solution.
(a) Line 3. The schema needs, besides the implication
, a line that is its hypothesis . Matching line 1 gives and , so the second cited line would have to be ; line 2 is , which is . The line affirms the consequent.(b) Try to break the step: this instance already does. The first premise is true, because every multiple of
is even ( ); the second is true, since ; and the conclusion is false: is at most when and at least when , so for no integer . So the step at line 3 leads from two true premises to a false line, and no safe rule can allow it.(c) None. Go down any derivation from these premises line by line, as in Exercise (C4: Challenge: What conjunction cannot do): every line is
, , or a conjunction built from them by alone. A premise is of this kind. joins two such lines into another one. gives back a conjunct of such a line, which is again of this kind. would need, besides the implication , a line , and is not of this kind; so never fires, and no line is . What we can reach are the premises and conjunctions of them, such as , which say nothing the premises did not. The premises tell us nothing about whether is divisible by , which is why the conclusion had to be smuggled in.
Consider the sequent
- (a) Describe a search for a derivation in words, in three parts: what the goal asks for; what the premises give; where the two meet.
- (b) Write the derivation, naming the rule on every line.
Solution (Hint 1). Two premises
have main connective
Solution (Hint 2). The goal splits
into
Solution.
(a) From the goal:
is a conjunction, so the last line is with subgoals and . The only line mentioning is , whose conclusion is ; so needs and , and needs . From the premises: splits by into and ; then fires on and gives . Where they meet: is at once a subgoal and a piece of the premise; , reached forwards, is the hypothesis the backward search asked for; and , from , is the last hypothesis needs.(b) The derivation, with the rule on every line:
Line 4 is cited twice, by line 6 and by line 9.
Marking scheme. (10 points)
- 2: from the goal, splits
into the subgoals and for a final . - 2: takes
apart by . - 3: fires
, then , then , each citing an implication and exactly its hypothesis. - 2: the final
, whose line is . - 1: the three-part description names where the searches meet.
Any other correct derivation earns the same points
step for step (its lines may come in another order, as
long as each cites only earlier lines). Fatal errors (0
for the step):