2.2 Proving a Negation
The rules of Section 2.1 use a
negation:
2.2.1. How to prove that something is not so
To show that no rational number has square
Try the smaller goal
The mathematician’s sentence shows the missing rule.
“Suppose
To prove “not
The left schema is
This rule has conditions that matter; read each one.
- Open a box whose first line is the
assumption
. It is the unnegated statement: the thing we want to refute, not the thing we want to prove. Any statement may be assumed. In a finished derivation this assumption is printed “asm, for ”: the annotation names the rule that will close the box, as “asm, for ” did in Section 1.4. - Inside the box every rule may be used, and every line available just above the box may be cited, as in any box (Definition 1.4.2).
- The last line of the box is exactly
, and it is a line of that box itself, not inside a further box opened within it. This is the same wording as for , and every box rule shares it. - Close the box and write
on the next line, outside it. The justification cites the box as a range, “ – ”. The assumption is discharged: after the box closes, nothing inside it may be cited, and only the negation leaves. - The new line is always a negation.
never writes a statement whose main connective is not .
Second readingEdge cases of not-introduction
The degenerate case is a box of one line, whose
assumption is already
So
A noninstance by one change. Take a
box opened by
A box that never uses its
assumption. A box may reach
Why this rule. The statement
The rules for
| To … | a negation |
an implication |
|---|---|---|
| prove it | box from |
box from |
| use it, given |
Remark. Row by row,
Warning. Do not open the box with
what you want to prove. To prove
In the Givens/Goal table,
2.2.2. The first example: a number that is never zero
The goal we could not reach at the start of the section comes first.
Let
Idea. The goal
Solution. The goal
With the school fact as the premise:
Quick check. In this derivation,
which box does
Solution. The box
2.2.3. First derivations with not-introduction
The goal-directed move of this section: a goal
Show that (a)
Idea.
- (a) The goal
is , a negation of . So the box opens with what is negated, , and aims at . The clash is immediate: the premise and the assumption .The goal alone (left); then the box opened on
, its goal at its foot (right).1412 asm, for34 2–3 - (b) The goal
opens a box on . Inside it the premise is an implication, and the premise-directed move feeds it its hypothesis , which manufactures from . The premise then hands back , and that clashes with the box’s own assumption. The assumption is used twice: once to build the hypothesis, once in the clash.
The box opened, its goal
Solution.
- (a) Four lines.
12
asm, for3 1, 24 2–3 - (b) Six lines.
In (b), line 4 already says
Derivation (a) adds two negations. The reverse
passage, from
Quick check. Is
Solution. Yes. The goal
The rules are
In the next derivation the clash itself creates a goal that is a negation, and the move of this section is used a second time, one box inside another.
Show that
Idea. The goal
The outer box opened, its goal
Solution. Seven lines.
Line 4 may cite line 2, because the only box
containing line 2, the box
2.2.4. How the rule looks in a mathematical proof
The proof that no rational number has square
(L) Every rational number can be
written as
This holds because a fraction whose numerator and
denominator are both even can be reduced by
There is no rational number whose square is
Idea. Fix a rational number
Proof. Let
Since
Quick check. In the proof, which
step is
Solution. The step “this is a
contradiction”. It cites “
The propositional part of the proof fits in a
derivation. Fix
Line 13 is
Notice also what the proof does not
need: that
And notice which rule closes it. “Suppose
2.2.5. The rule card
Before the card, the rule at work on large
statements. Each row is one use of
| The box | New line | |
|---|---|---|
| from |
||
| from |
||
| from |
Not an instance. From the third box,
the line “
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) |
In Lean, the negation of P is defined to
be P → False, with False
playing the part of intro performs both
Warning (Not allowed:
- Close the box on
instead of : clause 3, the last line is (one line repairs it; the fold “Edge cases of not-introduction”). - Close it on a
that stands in a box inside it: clause 3, the last line is a line of the box itself. - Write
after a box opened by : clause 4, the new line is the negation of the whole assumption, here . - Write the negation of part of the assumption: clause 4, the whole assumption is negated (the pair below).
- Cite a line of the box after it has closed: clause 4, only the negation leaves.
The discharge is where the rule bites, so here is one
wrong step beside the right one, with the premise
The left list would show
Remark (Looking ahead). Sets,
Relations, and Cardinality, Chapter 2 proves (L)
from a fact about the natural numbers called
well-ordering. Analysis on the Real Line,
Chapter 1 uses this section’s theorem in exactly the
form proved here, as evidence that the rational numbers
have a gap where
2.2.6. Exercises
A. Check your understanding
- (a) Write the schema
of
from memory, and say which statement opens its box. - (b) Which rule does
this sentence use, and which box does it close? “Suppose
had a reciprocal . Then , which is absurd. So has no reciprocal.” - (c) In the proof of
Theorem 2.2.1,
the sentence “
is even” follows from “ is even”. Which result and which rule justify it? - (d) Where in the
proof of Theorem 2.2.1
is (L) used, and what would go wrong if (L) said only
“
with ”? - (e) Run the proof of
Theorem 2.2.1
with
in place of : assume and write as in (L). Which step can no longer be justified? (The conclusion “no rational number has square ” is false, so some step must fail.)
Solution.
(a) The schema is the left one of Definition 2.2.1: a box opened by the assumption
, ending on as a line of the box itself, then outside it, citing the box. The box opens with the unnegated statement .(b)
. The conclusion is the negative statement “ has no reciprocal”; the box opens with “ has a reciprocal ”, and “which is absurd” is its line , reached by from and the fact .(c) Theorem 2.1.3, for
, is the implication “if is even, then is even”; together with “ is even” it gives “ is even” by (line 8 of the derivation, citing lines 3 and 7).(d) The fact (L) supplies the line “
and are not both even” (line 2 of the derivation), which the of line 12 cites. Without that clause the proof still derives “both even”, but it contradicts nothing ( has both even), and no is reached.(e) With
we get , so is even and is even, . Then , so . This is where the proof stalls: nothing says is even, so Theorem 2.1.3 cannot be applied to . Indeed for we have , which is odd. Every step before the stall is correct; the proof simply fails to reach .
The parts run from one step, through a missing line, a justification column and steps to judge, to short derivations.
(a) Which statement opens the
box for the goal ?(b) A box opens with
and ends with . What does write after it?(c) For a real number
, the goal is . Which statement opens the box?(d) A box runs from line 4,
, to line 8, , a line of that box itself. What does “ 4–8” write?(e) Line 10 is
, justified “ 6–9”. What are lines 6 and 9?(f) Inside a box opened at line 3 by
, line 5 is , justified “ 4, 2”, and line 2 is . What is line 4?(g) Fill in (i)–(iv), and say what the derivation shows, written with
.123 asm, for4 (i)5 (ii)6 (iii)7 (iv)(h) A box opens with
and its last line is . May close it?(i) Line 1 is the premise
; line 2, , opens a box; line 3, , justified “ 2, 1”, is the last line of that box. What may line 4, just after the box, be by ?(j) Find the illegal line, and say why it is illegal.
123 asm, for4 1, 35 4, 26 3–57 1, 3(k) Lines 3–7 form a box opened by
. Inside it, lines 4–6 form a box opened by , whose last line, 6, is ; line 7 is , justified “ 4–6”. Is “8. — 3–7” correct?(l) “Suppose
for a real . Then , which contradicts .” What may “Hence” write, and by which rule?(m) Derive
.(n) Derive
.(o) Derive
.
Solution.
(a)
, the statement the goal negates.(b)
: one in front of the whole assumption.(c)
, since is .(d)
, the negation of the whole assumption of line 4.(e) Line 6 is the assumption
, which opens the box; line 9 is , the last line of that box.(f)
, the unnegated half of line 2; it comes from line 3 by .(g) Line 3 is the assumption for
; (i) 2, 3; (ii) 4; (iii) 5, 1; (iv) . The derivation shows .(h) No: the last line must be
. First write by , citing the assumption and the line ; then closes the box.(i)
, the negation of the box’s assumption; not .(j) Line 7: it cites line 3, which lies inside the box
, closed before line 7.(k) No. The box
ends on , not on ; the at line 6 is a line of the inner box, not of the box itself (clause 3). The outer box needs a line of its own.(l)
, by . The supposition opens the box, and the contradiction is its line ; the step to is the identity .(m) 2
, assumption, for ; 3 , 2; 4 , 3, 1; 5 , .(n) 2
, assumption, for ; 3 , 1, 2; 4 , 2, 3; 5 , .(o) 2
, assumption, for ; 3 , 1; 4 , 2, 3; 5 , 1; 6 , 4, 5; 7 , .
B. Practice
A search for
Solution. The goal is an
implication, so the outer box opens on
Line 5 may cite line 2 because the box
Let
Hint: complete the square.
Solution. The goal is
so
This is the pattern of Example (A negative statement proved by not-introduction),
with the square
You may use that every integer can be written as
- (a) Prove that if
is an integer and is divisible by , then is divisible by . - (b) Hence prove that
no rational number has square
.
Solution.
- (a) Suppose
is divisible by , so has the form with an integer. The integer has the form , or , and we argue by cases ; a three-way split is two uses of , one inside a box of the other.Case
. Then is divisible by , as required.Cases
and . Thenso
has the form as well as the form . An integer has only one of the three forms, so this is a contradiction , and the case cannot occur. By , is divisible by in this case too.All cases give that
is divisible by , which proves (a) . The two impossible cases were closed exactly as the odd case in the proof of Theorem 2.1.3. - (b) Let
be a rational number and suppose . Write with , not both divisible by . Then , so divides , and by (a), for an integer . Then , so , and by (a) again, divides . So divides both and ; this contradicts their choice . Hence . Since was an arbitrary rational number, no rational number has square .
The form of (L) matters: the argument ends at “
Show that
Solution. The goal
In words: if
Let
- (
) Every rational number can be written as with integers , , , and , not both divisible by . - (
) For every integer , if divides , then divides .
- (a) Prove that no
rational number has square
, naming the rule at each logical step. - (b) Where does your
proof use (
), and where ( )? - (c) Your proof never
used that
is prime, only the two facts. Put and in place of . ( ) is true (Exercise C1 of Section 2.4 proves it; take it as given here). Does ( ) follow from (L)? Is ( ) true? What does the argument then prove about , and why does it prove nothing about ?
Solution.
(a) Let
be a rational number, and suppose . By ( ), with and , not both divisible by . Then , so divides , and by ( ) divides ; write . Then , so , divides , and by ( ) again divides . So divides both and , which contradicts their choice . Hence ; since was arbitrary, no rational number has square .(b) (
) twice, once for and once for , in the places where Theorem 2.2.1 used Theorem 2.1.3. ( ) when and are chosen, and again at the clash, which cites “not both divisible by ”.(c) For
: ( ) follows from (L) of the text, since integers , that are not both even are not both divisible by . With ( ) as given, the argument proves that is irrational; Exercise C1 of this section does it by another route, with (L) and Theorem 2.1.3 in place of ( ). ( ) itself is not proved here: its proof is Exercise C1 of Section 2.4. For : ( ) is false, since divides but not . The proof breaks at its first use of ( ), as it must, since and is rational: with , divides , but not .
Marking scheme. (10 points)
- 2: the
frame, a fixed rational , and from ( ). - 2:
and the first use of ( ). - 2:
and the second use. - 1: the clash with (
), , and the passage from to every rational number. - 1: (b).
- 2: (c), (
) from (L) with the conclusion about (1), and with a witness against ( ) (1).
Fatal errors (0 for the step): using “
For each claim, either derive it with the rules of
Chapter 1 and Sections 2.1–2.2, or break it by
statements about a real number
- (a)
. - (b)
. - (c)
. - (d)
. - (e)
. - (f)
. - (g)
. - (h)
.
Solution.
- (a) Derive. The goal
is a negation, so the box opens on
, and its first half clashes with the premise.12 asm, for3 24 1, 35 2–4 (b) Break. Take
: “ ”, : “ ”. At , is false ( fails), so is true, and is true, so is true. The counterexample set , (Definition 1.1.3) is true.(c) Derive. On the assumption
, the premise completes the antecedent, and the assumption produces its own negation.123 asm, for4 3, 25 1, 46 3, 57 3–6- (d) Derive. Inside
the box of
, feed the premise its two hypotheses one at a time; the it hands back clashes with .123 asm, for4 35 1, 46 37 5, 68 7, 29 3–8 (e) Break. Take
: “ ”, : “ ”. The implication holds for every . At , is true, and is true, so is true: the counterexample set , is true.(f) Derive. On the assumption
, the two premises give and .123 asm, for4 1, 35 2, 36 4, 57 3–6- (g) Derive. The goal
opens a box on . The only way to use the premise is to clash with it, so becomes a subgoal, and a second box proves it, as in Example (Three negations become one).12 asm, for3 asm, for4 35 4, 26 3–57 6, 18 2–7 (h) Break. Take
: “ ”, : “ ”. At , is true, so is true; is false, so is true and is false. The counterexample set , is true.(i) and (h) are the look-alikes, each moving a negation or a conjunct the wrong way: (b) would refute a conjunct from a refuted conjunction, and (h) would add a conjunct under two negations. (g) keeps both negations because
can only add them, as the warning of this section says. (d) unpacks its nested premise inside the box, one per hypothesis, as the two forms of Proposition 1.4.2 suggest.
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
Prove that no rational number has square
Solution (Hint 1). Follow the proof
of Theorem 2.2.1.
After writing
Solution (Hint 2). You will reach
Solution. Let
We show that
So
Marking scheme. (10 points) - 2:
opens with
Fatal errors (0 for the step): applying Theorem 2.1.3
to
Here is a “proof” that
Suppose
is rational and . Write with , integers, , not both divisible by . Then , so divides . Since divisible by implies divisible by , we get . Then , so , and as before divides . This contradicts the choice of and . Hence no rational number has square .
- (a) Explain why the conclusion must be false.
- (b) Find the step that fails, and show that it fails with a specific integer.
- (c) Every other step is a correct use of a rule. Which rule turns the “contradiction” into the conclusion, and why is the argument still wrong?
Solution.
(a)
is rational and .(b) The step “
divisible by implies divisible by ” is a false lemma: for , is divisible by , but is not. It fails exactly on the witness of (a): with we have , and the lemma would claim that divides .(c) The last step is
, applied to the box opened by “ ”. The rule is applied correctly, but the box contains a line that is not justified: the false lemma was used as if it were a premise available everywhere, through . A derivation is only as good as its premises. In Theorem 2.2.1 the corresponding lemma is Theorem 2.1.3, which we proved; here nothing proves the lemma, and nothing could. Compare part (e) of A1, where the honest proof stalls without reaching ; here is “reached” through a false line.