8.7 The Dispute over Excluded Middle
Here is a proof that two numbers with a certain property exist which, when it is finished, still does not tell you what the numbers are. It is correct by the rules of this book. Some mathematicians, called intuitionists, reject it, for a century now and for reasons that are mathematical rather than merely fussy. This section shows the proof, says what those mathematicians ask of a proof, finds the one rule that fails to provide it, and asks what can be proved without that rule and what analysis would lose.
8.7.1. Irrational powers, with and without a witness
Here is the standard example of a proof that establishes existence without saying what exists.
There are irrational numbers
Try it first (ten minutes): find such
Idea. The first candidates anyone
tries are
Proof. Let
Case 1:
Case 2:
In either case there are irrational
The classical step is the first line,
Remark. In fact the second case
holds:
The other way out finds the witness. Since
The number
Idea. The irrationality goes as for
Proof. Suppose that
For the consequence,
This proof uses no classical rule. The irrationality
of
Quick check. Does the proof of Proposition 8.7.2 use a classical rule? Does it name its witness?
Solution. No classical rule: its
box assumes
8.7.2. What a proof provides
Chapter 4 gave the connectives a meaning through truth values: every letter is true or false, and a table computes the rest. That semantics already takes a side, since a row decides every letter. The intuitionist explains a statement instead by saying what counts as a proof of it. The resulting clauses are called the BHK reading, after Brouwer, Heyting, and Kolmogorov.
To know a statement is to have a proof of it, and a proof of a compound statement is built from proofs of its parts.
- There is no proof of
. - A proof of
is a pair: a proof of and a proof of . - A proof of
is a proof of or a proof of , with a label saying which. - A proof of
is a method that takes any proof of and returns a proof of . - A proof of
is a method that takes any proof of and returns a proof of . So is read as , exactly the reading that the table in Section 2.2, after Definition 2.2.1, found row by row. - A proof of
is an object together with a proof of . - A proof of
is a method that produces, for every object , a proof of .
In words: a disjunction must say which side, an existence claim must name the object, and an implication or a universal statement must come with a method that works on every input. A proof of a negation provides no object at all; it is a guarantee that no proof of the negated statement will ever arrive.
Each rule other than
Excluded middle under BHK. A proof
of
Not every, and some not. Chapter 6
derived
Quick check. Describe a BHK proof
of
Solution. We need a method that
takes any proof of
8.7.3. One extra rule
Chapter 2 found that one rule stands apart.
Recall what Section 2.5 established. Over the
primitive rules other than
Call a derivation intuitionistic if
no line is justified by
This is why Chapter 2 kept
| System | Rules | |
|---|---|---|
| intuitionistic | the primitive rules other than |
not derivable (Theorem 4.7.4
for the propositional rules, and the optional Section
8.8 again, by stages of knowledge; the rules for |
| classical | the same rules and |
derivable (Proposition 2.5.3) |
Every intuitionistic derivation is a derivation, so
everything intuitionistic logic derives, classical logic
derives too, and soundness applies to it: Theorem 4.7.2,
and, for derivations whose lines contain quantifiers or
equations, the soundness statement for predicate logic
in Section 7.2. The difference is a list of sequents
that only the classical system reaches. Chapters 2–7
flag the derivations that use
Quick check. Is the derivation of
Proposition 2.5.1
(a),
Solution.
- (a) Yes: it is one
box on . (b) No: it is derived with .
8.7.4. Excluded middle cannot be refuted
If intuitionists do not assert
For every statement
Try it first (ten minutes): the goal is a negation. Open the box that the goal asks for, hunt for a clash, and note which rule closes each box you open.
Idea. An attempt that starts from
Before reading on: self-explain lines 5 and 6.
Proof. Exercise B1 (a) of Section 3.2 (Exercise (B1: Three theorems)) derived this already, inside a conjunction; here is that derivation again, read for what it does not use. The derivation is:
The two boxes close by
Set it beside the derivation of Proposition 2.5.3.
Lines 1–7 are the same, line for line. Only line 8
differs: there
Second readingNon-example by minimal change
Keep lines 1–7, and write
What the proposition says is this: nobody can
refute excluded middle. A refutation of
The proposition under BHK. The
derivation of Proposition 8.7.3
is such a method, and it decides nothing. Its conclusion
asks for a method that takes any
Remark. The proposition is one
instance of a general fact, due to Glivenko (1929) and
stated here without proof: if a statement built from
letters by the connectives is derivable with all the
rules, then its double negation is derivable without
Warning. Intuitionistic logic does
not say that excluded middle is false. No instance
Quick check. Does Proposition 8.7.3
show that
Solution. No. It derives
8.7.5. Which laws survive without RAA
Chapters 2 and 6 flagged every law they derived with
| Law | Derived without |
Needs |
|---|---|---|
| double negation (Proposition 2.5.1) | (a) |
(b) |
| contraposition (Proposition 2.3.2, Proposition 2.5.2) | ||
| De Morgan (Proposition 2.5.5) | (a), (b), (c) | (d) |
| implication as a disjunction (Proposition 2.5.6) | (a) |
(b) |
| excluded middle (Proposition 2.5.3) | ||
| Peirce’s law (Proposition 2.5.4) | — | |
| negated implication (Proposition 6.2.2) | ||
| modus tollens, disjunctive syllogism, constructive dilemma (Proposition 2.3.1, Proposition 2.3.4, Example (Constructive dilemma)) | all | — |
| quantifier negation (Proposition 6.2.1) | (b); (c) both ways | (a) |
| passage laws (Proposition 6.2.7) | eight of the ten directions |
For each propositional entry of the right column, the
double negation of its conclusion is derivable without
Quick check. An intuitionist has
proved
Solution. Not in general: that step
is Proposition 2.5.2,
in the right column of the table. She may when
8.7.6. A short history
The dispute has dates.
In 1908 L. E. J. Brouwer published “De onbetrouwbaarheid der logische principes” (“The unreliability of the logical principles”) in the Tijdschrift voor Wijsbegeerte. His point was that excluded middle had been abstracted from reasoning about finite collections, where every case can in principle be checked, and then applied without justification to infinite ones, where it cannot. Over the next two decades he rebuilt parts of analysis on this view, and the movement took the name intuitionism.
In 1925 A. N. Kolmogorov showed that classical reasoning can be imitated inside a logic without excluded middle by putting a double negation in front of every subformula: the first double-negation translation (Exercise C2 below checks one step of it).
In July 1927 David Hilbert lectured in Hamburg on “Die Grundlagen der Mathematik”, printed in 1928. He defended excluded middle in a much-repeated comparison: to take it from the mathematician would be like forbidding the astronomer the telescope or the boxer the use of his fists. The quarrel between his program and Brouwer’s became known as the Grundlagenstreit, the dispute over foundations. It turned personal in 1928, when Hilbert had Brouwer removed from the editorial board of the Mathematische Annalen; the board was then dissolved and re-formed without him.
In 1929 V. Glivenko proved the theorem of the remark above: classical propositional logic sits inside intuitionistic logic behind a double negation. In 1930 Arend Heyting published “Die formalen Regeln der intuitionistischen Logik” in the Sitzungsberichte der Preußischen Akademie der Wissenschaften. It wrote down rules for intuitionistic logic, in a format different from ours, and from then on the logic could be studied as a formal system like any other.
In 1933 Kurt Gödel published a double-negation translation of arithmetic, which shows that classical arithmetic is consistent if intuitionistic arithmetic is. Gerhard Gentzen had found an equivalent translation independently and withdrew his paper of 1933 when Gödel’s appeared.
In 1967 Errett Bishop published Foundations of Constructive Analysis. It developed a large part of analysis without excluded middle, and also without Brouwer’s philosophy and his special axioms about the real numbers. Most of what is now called constructive analysis descends from it.
Second readingAnother dispute: the conditional
Excluded middle is not the only rule that has been
questioned. Chapter 1 read
8.7.7. What analysis would lose
What does analysis look like without the rule? Here are four previews, stated informally and without proof. Classical analysis takes the first as an axiom and proves the other three; each is a place where classical reasoning, by the rule or by an axiom, does work that a constructive proof cannot.
- The supremum. Classical analysis
takes as an axiom that every non-empty set of real
numbers that is bounded above has a supremum.
Constructively, a non-empty set
bounded above has a supremum if and only if it is order-located: for all real numbers , either is an upper bound of or some element of exceeds (Bishop’s form of the least upper bound principle). The classical axiom asserts the supremum without requiring anyone to make these decisions. - Monotone sequences. E. Specker (1949) gave an increasing, bounded sequence of rational numbers that a computer program can list term by term, but whose limit is not a computable real number: no program can print its decimal digits. So the convergence of bounded monotone sequences, which classical analysis proves from that axiom, cannot come with a method for computing the limit.
- The intermediate value theorem. Let
be continuous on with . Classically, one proves that for some . Constructively, what holds in general is the approximate version: for every some has . The exact version holds under extra hypotheses, for example when is strictly increasing. A bisection needs the sign of at a midpoint , and finitely many digits of cannot always tell whether is negative, zero, or positive: the digits of a value equal to begin like those of a tiny positive or negative one. - Bolzano–Weierstrass. A bisection
proof of the theorem says: one of the two halves of an
interval contains infinitely many terms of the sequence;
continue with that half. That step is
on “the left half contains infinitely many terms”, a statement that nobody can decide in general, and the proof does not say which half.
8.7.8. Proofs as programs
The BHK clauses read like the description of a
programming language. A proof of
Second readingProofs as programs, in Lean
Intuitionistic logic fits this picture exactly. Classical.choice, a form of the axiom of
choice. Excluded middle, Classical.em, is
then a theorem, derived from choice
together with two extensionality principles by
Diaconescu’s theorem. Lean draws one line with care. A
definition that uses classical logic to produce
data, for instance a number chosen by
deciding an arbitrary proposition, must be marked
noncomputable, since no program computes
it. A proof that uses Classical.em needs no
mark, because proofs carry no data.
-- excluded middle is a theorem, proved from the axiom of choice
example (p : Prop) : Or p (Not p) := Classical.em p
-- a number defined by deciding an arbitrary proposition
open Classical in
noncomputable def indicator (p : Prop) : Nat := if p then 1 else 0
Warning. “Constructive” does not mean “computable in practice”. A constructive proof provides a method, and the method may be hopeless. Deciding whether a whole number is prime by trying every smaller divisor is constructive, and for a number with a thousand digits no computer could finish it. Constructive mathematics asks whether a method exists, not whether it is fast.
8.7.9. The book’s position
The main line of this book stays classical. The
decision is made once, in the axioms for the real
numbers, which include trichotomy: for real numbers
What the book does flag is a genuinely
non-constructive step of the kind discussed above, such
as the bisection step of Bolzano–Weierstrass, and every
use of the axiom of choice. One clause says so, and
nothing more. Such a step is never silent anyway: by Definition 8.3.2,
a
Remark (Looking ahead). Analysis on the Real Line takes trichotomy as one of its axioms in Chapter 1, and flags in one clause each genuinely non-constructive step it makes.
8.7.10. Exercises
A. Check your understanding
Parts (a)–(d) are about Proposition 8.7.3 and its derivation; part (e) is about the proof of Theorem 8.7.1.
- (a) Which rule closes each of the two boxes, and at which line?
- (b) The outer box
opens with a negation and ends in
, the shape of an box. Why is no used? - (c) Give the BHK
reading of the conclusion
. - (d) True or false,
with a reason: for some statement
, intuitionistic logic derives from no premises. - (e) Which line of
that proof uses
, and on which statement? Does the proof say which pair works?
Solution.
(a) The inner box, lines 2–4, opens with
and closes by at line 5, giving . The outer box, lines 1–7, opens with and closes by at line 8.(b) The rule that closes a box is decided by what is written after it, not by the box. Line 8 writes
, the negation of the box’s assumption , and that is what writes. would be needed only to write after the same box.(c) A method that takes any method
, sending proofs of to proofs of , and returns a proof of . The derivation provides one: label a proof of “left” and apply , which gives a proof of ; label that proof “right” and apply again.(d) False. Such a derivation would also be a derivation with all the rules. Together with the derivation of
from no premises (Proposition 2.5.3), would derive from no premises. No derivation does that: by Theorem 4.7.2, or by the soundness statement for predicate logic in Section 7.2 when or the derivation involves quantifiers or equality, would be true under every valuation (in every structure under every assignment), and no valuation, and no structure and assignment, makes true.(e) The first line, which splits on “
is rational” by . The proof does not say which pair works: it shows that works in the first case and in the second, and does not decide which case holds.
Answer each in a line. (a)–(d) ask whether a
derivation avoids
- (a) A derivation’s
last line is
, by from a box on . Is the derivation intuitionistic? - (b) A box opens with
and ends in , and the next line is . Which rule? Is the step intuitionistic? - (c) Is
derivable without ? - (d) A classmate
derives
from and says no was used. What do you check first? - (e) Under BHK, what
does a proof of
do? - (f) Under BHK, what
must a proof of
hand over? - (g) “
or ; we consider the two cases.” What is this in logical form, and does the book flag it? - (h) “Suppose
is rational. … a contradiction. Hence is irrational.” Is this intuitionistic? - (i) A proof
establishes
. What does it hand over under BHK? - (j) True or false: every intuitionistic derivation is a derivation of Chapters 1–7.
- (k) May an
intuitionist argue “not every element of
is positive, so some element of is not positive”? - (l) Which line of the proof of Theorem 8.7.1 would an intuitionist reject, and would she reject its conclusion?
Solution.
(a) No: the last line is justified by
.(b)
; yes.(c) Yes: Example (Three negations become one) derives it, and its derivation uses no
.(d) Every line and every cited result. That direction of De Morgan’s law is in the right column of the table in “Which laws survive without RAA”, so some line is
, or , or cites a result derived with one of them.(e) It takes any pair, a proof of
and a proof of , and returns the first component.(f) A natural number together with a proof of the instance: for example
, with and .(g)
in form, an instance of trichotomy for the real numbers. The book does not flag it: it rests on an axiom (“The book’s position”).(h) Yes: the goal is a negation, “
is not rational”, and the box on “ is rational” closes by .(i) No object: only a method that turns any refutation of
into a proof of .(j) True. It uses some of the rules of Chapters 1–7 and no others, so it is a derivation, and soundness applies to it.
(k) Not in general: that step is Proposition 6.2.3 (a), the bounded form of Proposition 6.2.1 (a), derived with
and in the right column of the table. She asks for the element.(l) The first line, the
split on “ is rational”. Not the conclusion: the second proof in “Irrational powers, with and without a witness” proves it with a named witness, , and no classical rule.
B. Practice
Derive
Hint: the goal is a negation; compare the derivation of the proposition in this section.
Solution. The goal is a negation,
so we open a
Lines 1, 2, 3, and 8 are assumptions. Line 4 repeats
line 2 into the box of line 3, since
- (a) Give the BHK
reading of a proof of
, and describe such a proof. - (b) The same for
. - (c) The same for
, over the natural numbers. - (d) A proof of an
existence claim
opens with “suppose that no satisfies ” and reaches a contradiction. Without a classical rule, which of and does it prove? What does it provide under the BHK reading?
Solution.
(a) A method that takes any proof
of and returns a proof of , that is, a method that takes any proof of and returns a proof of . The method: given , and then given , apply to . This is the BHK reading of Proposition 2.5.1 (a).(b) A method that takes any method
(from proofs of to proofs of ) and returns a proof of : a method that takes any (from proofs of to proofs of ) and returns a proof of , that is, a method from proofs of to proofs of . The method: given , , and a proof of , compute . This is the BHK reading of Proposition 2.3.2, whose derivation uses no .(c) Unfolding the bounded quantifiers (Definition 5.1.1): a method that takes any object
and a proof that , and returns an object together with a proof of . The method: given and the proof of , output , with the proofs that and .(d) The box opens with
and ends in , so closes it with . Writing instead is (or after ), a classical step. Under the BHK reading the proof provides a method that takes any proof that nothing satisfies and returns a proof of . It provides no object: a proof of would have to name one.
In the derivation of Proposition 6.2.1
(a), which step makes the existence claim without a
witness? Why does no witness appear, although line 4 is
an
Solution. Two lines are classical:
line 6, an
No witness appears because no
- (a) Which labeled
results of Chapter 2 (propositions and theorems) were
derived with
, directly or through , , or a cited result that uses one of them? (b) The same question for Chapters 3 to 7, counting lemmas, corollaries, and the step TAUT of Definition 4.8.1 as well.
Solution.
(a) Seven: Proposition 2.5.1 (b); Proposition 2.5.2; Proposition 2.5.3; Proposition 2.5.5 (d); Proposition 2.5.6 (b), through
; Theorem 2.5.7, whose proof uses all three: in ①, in ②, in ③; and Proposition 2.5.4. Every other proposition and theorem of Chapter 2 uses no classical rule, including Theorem 2.2.1, whose box closes by .(b) Chapter 3: the direction
of Proposition 3.2.2 (b), whose box closes by . Chapter 4: Lemma 4.8.3, through , and with it Theorem 4.8.4 and the direction of Corollary 4.8.5; the step TAUT of Definition 4.8.1, licensed through Corollary 4.8.5; and, in the optional Section 4.10, Lemma 4.10.2, whose key step uses through Proposition 3.2.2, with Theorem 4.10.5 and Theorem 4.10.6, as the fold after the proof of Theorem 4.10.5 says. Chapter 5: none. In Chapter 6: Proposition 6.2.1 (a); the direction of Proposition 6.2.2; the direction of Proposition 6.2.3 (a); the two directions of Proposition 6.2.7, in (d) and in (e), both through ; Proposition 6.2.5, as proved, since its box assumes and concludes ; and Proposition 6.3.1, through Corollary 4.8.5. Chapter 7: none derived; the classical theorems of Section 7.6, first-order completeness and what rests on it, are stated without proof, so the question does not reach them.
The results of Sections 4.4, 4.5 and 4.9, such as the
standard equivalences and monotonicity, are not on the
list: they are statements about valuations and derive
nothing, and their remarks mention
Derive each without
- (a)
. - (b)
. - (c)
. - (d) Which row of the table in “Which laws survive without RAA” does each of (a)–(c) concern?
Solution.
- (a) The goal is a
negation, so a
box on . That assumption clashes with any disjunction , so we manufacture a side, as in the derivation of in this section, twice:12 asm, for3 asm, for4 asm, for5 3, 46 5, 17 4–68 79 8, 210 3–911 1012 11, 213 2–12 - (b) The same plan,
with the premise supplying
inside the box on :12 asm, for3 asm, for4 1, 35 46 5, 27 3–68 79 8, 210 2–9 - (c) Two
implications, so two
boxes; inside, the instance of excluded middle is used by cases:1 asm, for2 asm, for3 asm, for4 35 asm, for6 5, 27 68 1, 3–4, 5–79 2–810 1–9Every box closes by
, or . No line uses , or , and no line cites a result. In (c), line 6 is on (line 5) and (line 2). - (d)
- (a) concerns De Morgan (d): it is Glivenko’s double negation of that row’s conclusion. (b) concerns implication as a disjunction (b), in the same way. (c) concerns double negation (b): one instance of excluded middle, taken as a hypothesis, gives double-negation elimination at that instance with no further classical step. (The optional Section 8.8’s Exercise C1 shows that such a step need not run back: one instance of excluded middle gives Peirce’s law for that letter, and that instance of Peirce’s law does not give the instance of excluded middle.)
Marking scheme. (10 points) - 3:
(a). - 3: (b). - 3: (c). - 1: (d). - For each
derivation: 1 for the skeleton (the outer
Fatal errors (0 for that derivation): a line
justified by
C. Going deeper
This section proved that
- (a) Show that
and are irrational numbers with rational. - (b) For which
integers
are and irrational numbers with rational? Prove your answer.
Solution (Hint 1). Compute
Solution (Hint 2). Suppose
Solution.
(a) First,
, since ; this is rational. Next, is irrational by Theorem 2.2.1. Finally, suppose that with integers and . Since and is increasing, , so . Raising to the power gives . The left side is even because , and the right side is odd, being a product of odd factors. No integer is both, so is irrational.(b) Answer: exactly the integers
that are not powers of .
For every
If
If
Marking scheme. (10 points) - 2: (a)
For statements built from letters by
- (a) Show that every
has the form for some statement . - (b) Deduce that
without , for all statements and .
Solution (Hint 1). Put
Solution (Hint 2). The conclusion
you get has two negations too many. Look for a result of
Section 2.2 that removes negations without
Solution.
(a) By the definition, each of the three clauses produces a statement whose first two symbols are
: , , and . So , with the letter, , or , respectively. No induction is needed, since the outermost clause alone decides the first two symbols.(b) Three steps, each without
.
① The derivation of Exercise (B1: With and without the new rule, used later)
(a) uses no
② The first premise follows from
③ By (a),
Chaining ②, ①, and ③ gives
Marking scheme. (10 points) - 2: (a)
every clause of
R. Review
A set
Solution. This uses the method of
Chapter 6, Section 6.2: negate quantifier by quantifier,
keeping the bounds (Proposition 6.2.3;
compare Example (Three negations from analysis)).
In symbols, “
Now let
Give a Fitch derivation of
Solution. This uses Chapter 1’s
rules:
Line 10 may cite line 5, since both lie in the box of
line 4, which is still open; the case boxes end with
Decide with a truth table whether
Solution. This item reaches back within this volume, since there is no earlier one: it uses the tables of Chapter 4 and the derivations of Chapter 2.
The table. Work backwards from F, as in Example (Working backwards from F)
and the entailments of Definition 4.5.3.
A refuting row needs
The derivation. The goal is a disjunction
with neither side in hand, and the premise gives
The one classical line is line 11. Closing the same
box by
No derivation of this sequent avoids
Prove that for every integer
Solution. The tool is
proof by cases on the remainder of
Case
Case
Case
In each case
Why the look-alikes are worse. A proof by
contradiction (“suppose