Logic, Sets and Infinity

Intuitionistic Logic and Why Some Mathematicians Reject Excluded Middle

See what it means to demand a construction for every proof, which classical laws drop out, and why the idea matters in computing.

Key takeaways

  • In intuitionistic logic a statement is asserted only when there is a construction that proves it.
  • Proving "P or Q" requires proving one of them, and proving "there exists x" requires producing a witness and a proof about it.
  • Excluded middle and double negation elimination are not general laws, but proving a negation by deriving a contradiction is still allowed.
  • Classical mathematics remains the mainstream; constructive methods are valued for the computational content they deliver.

Intuitionistic logic reads "this statement is true" as "we have a proof of it". On that reading, the law of excluded middle, "P or not P", claims that for every statement we can either prove it or refute it. Nobody has a general way to do that, so intuitionists do not accept the law as a free principle.

They do not say it is false. They say it needs a reason in each case, and the result is a logic where every proof of existence tells you how to find the thing that exists.

Where the idea came from

The Dutch mathematician L. E. J. Brouwer developed intuitionism in the early twentieth century. He held that mathematics is a mental construction, and that a mathematical statement is true only when such a construction has been carried out. His student Arend Heyting later gave the logic a formal system.

Brouwer's views put him in sharp disagreement with David Hilbert, who defended classical methods and sought to justify them by finite means. That story is told in Hilbert's program.

You can use intuitionistic logic without sharing Brouwer's philosophy. Many people study it simply to find out which results can be proved constructively.

What the connectives mean

The usual explanation, called the Brouwer-Heyting-Kolmogorov interpretation, says what counts as a proof of each kind of statement.

Statement A proof of it consists of
P and Q a proof of P together with a proof of Q
P or Q a proof of P or a proof of Q, with a note saying which
If P then Q a method turning any proof of P into a proof of Q
Not P a method turning any proof of P into a contradiction
There exists x with A(x) a particular x and a proof of A(x)
For all x, A(x) a method giving a proof of A(x) for each x

Now read "P or not P" with this table. A proof must tell you which side holds and supply the evidence. For an open conjecture, such as the existence of infinitely many twin primes (open as of the mid-2020s), we have neither.

For some statements excluded middle is fine. "Either 1,000,003 is prime or it is not" is acceptable, because a finite procedure of trial division settles which. The trouble starts with claims ranging over infinitely many cases.

A famous nonconstructive proof

Claim: there exist irrational numbers a and b with aᵇ rational. Here is the classical argument.

Consider √2 raised to the power √2. It is either rational or irrational.

  • If it is rational, take a = b = √2, and we are done.
  • If it is irrational, take a = √2 raised to √2, and b = √2. Then:
aᵇ = (√2^√2)^√2
   = √2^(√2 · √2)      power of a power
   = (√2)²
   = 2                 rational

Either way a suitable pair exists. Yet the argument never tells you which pair. It leans on excluded middle at the first step.

A constructive proof is easy to find here. Take a = √2 and b = log₂ 9, the base-2 logarithm of 9. Then aᵇ = 2^(log₂ 9 / 2) = 9^(1/2) = 3. The number b is irrational: if log₂ 9 = m/n with positive integers m and n, then 2ᵐ = 9ⁿ, an even number equal to an odd one. And √2 is irrational by several classic proofs.

The first argument is shorter. The second hands you the numbers. The contrast is the subject of constructive and nonconstructive existence proofs.

Which laws survive

Principle Intuitionistically provable?
P → not not P yes
not not P → P no, in general
not not not P → not P yes
P or not P no, in general
not not (P or not P) yes
(P → Q) → (not Q → not P) yes
(not Q → not P) → (P → Q) no, in general
(not P or not Q) → not (P and Q) yes
not (P and Q) → (not P or not Q) no, in general

The fifth line is striking. Intuitionistic logic proves that excluded middle can never be refuted. Here is why. Suppose not (P or not P). If P held, then "P or not P" would hold, a contradiction, so not P. But then "P or not P" holds after all, a contradiction again. So the supposition is impossible.

Two kinds of proof by contradiction

This distinction clears up a common confusion.

  1. Proving a negation. Assume P, reach a contradiction, conclude not P. This is just the meaning of "not", so intuitionists accept it. The standard proof that √2 is irrational has this shape.
  2. Proving a positive statement. Assume not P, reach a contradiction, conclude P. All you have really shown is not not P. Stepping to P requires double negation elimination.

Classical textbooks call both proof by contradiction. In the same way, proving "if P then Q" by contrapositive is not automatically constructive, since it uses the seventh line of the table.

What counts as proving that something exists
Classical Showing that none existing is absurd is enough Excluded middle is always available A witness is optional Intuitionistic A witness or method to find it is required Excluded middle needs a case-by-case reason Proofs carry computable content VS Classical Showing that none existing is absurd is enough Excluded middle is always available A witness is optional Intuitionistic A witness or method to find it is required Excluded middle needs a case-by-case reason Proofs carry computable content

A weak counterexample

Brouwer showed why a law might lack support by pointing at unsolved questions. Here is a version using Goldbach's conjecture, the claim that every even number greater than 2 is a sum of two primes, open as of the mid-2020s.

Build a number r digit by digit. Start with 0 and a decimal point. For the k-th digit, check the k-th even number greater than 2. Write 0 if it is a sum of two primes. Any digit can be computed by a finite search, so r is a perfectly well-defined number.

If Goldbach's conjecture is true, every digit is 0 and r = 0. If some even number fails, write a 1 in that position and r > 0. Asserting "r = 0 or r > 0" therefore amounts to knowing which of these holds. Without a resolution of the conjecture, we have no proof of either side.

Note the careful wording. The intuitionist does not claim that r is some third kind of number, or that "r = 0 or r > 0" is false. The point is that excluded middle would hand us a disjunction we have no method to decide. If someone proves the conjecture tomorrow, this particular example loses its force, and another open question can take its place.

Models that make sense of it

No table with finitely many truth values captures intuitionistic propositional logic, a fact shown by Kurt Gödel in the 1930s. This sets it apart from the systems in many-valued logic.

Saul Kripke's models offer a helpful picture. Imagine stages of knowledge that can branch into several futures. Once a statement is established at one stage it stays established later. "Not P" holds now only if P is never established in any possible future. At a stage where P is undecided but might be proved later, neither P nor not P holds yet.

Two properties show the constructive character in the formal system itself. If intuitionistic logic proves "P or Q" outright, with no assumptions, then it already proves P or it proves Q. This is the disjunction property. Intuitionistic arithmetic likewise has an existence property: a proof that some number satisfies a condition yields a particular number that does. Classical logic has neither, since it proves "P or not P" even when it proves no side.

The table of proofs reads like a description of data and programs. A proof of "P and Q" is a pair. A proof of "if P then Q" is a function. A proof of "there exists" carries its witness.

This matching is known as the Curry-Howard correspondence: propositions behave like types, and proofs like programs. It underlies many modern proof assistants, as explained in types as propositions. Several of them let you add excluded middle as an extra axiom, and large classical libraries do so routinely.

Is classical mathematics lost?

Gödel and Gerhard Gentzen showed that classical arithmetic can be translated into its intuitionistic counterpart, essentially by inserting double negations. So if intuitionistic arithmetic is consistent, classical arithmetic is too. The quarrel cannot be settled by saying one of them is riskier in that sense.

Defenders of classical logic argue that mathematical facts hold whether or not we can establish them, and that excluded middle yields shorter proofs and a vast body of dependable theory. Defenders of constructive methods reply that an existence claim with no way to find the object says less, and that keeping track of constructions pays off in algorithms. Errett Bishop's work in the 1960s showed that a large part of analysis can be developed constructively.

Both positions are respectable, and most working mathematicians use classical logic while preferring an explicit construction when one is available. A good exercise is to take a proof you know and ask at each step: if someone asked me for the object, could I compute it?

Written for 4Mathematics with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 41 articles in Logic, Sets and Infinity →

Latest news on this topic