History and philosophy of mathematics
Formalism, intuitionism and Platonism
Three rival philosophies of what mathematics is: Platonism holds mathematical objects exist independently of us (Gödel's view); Hilbert's Formalism reduces mathematics to consistent symbol manipulation, provable by finitary means; Brouwer's Intuitionism rejects the unrestricted law of excluded middle and demands constructive witnesses. We prove the classic irrationality puzzle both non-constructively and constructively, and show the Gödel–Kolmogorov translation embeds classical logic into intuitionistic logic.
IntuitionWhat Kind of Thing Is a Number?
Imagine three mathematicians arguing over whether the number "exists". The Platonist says: yes, exists in an abstract realm of mathematical objects, exactly as real as the number existed before anyone counted to it — we discover theorems the way astronomers discover planets. The Formalist says: mathematics is a game with symbols and rules, like chess; "" is a meaningful string only because it obeys the axioms of arithmetic, and mathematics is really about which strings of symbols are derivable from which, not about a mystical realm. The Intuitionist says: a mathematical object exists only when we can construct it step by step in our minds; is not automatically true, because for some propositions we may never possess a construction proving nor one refuting it.
SchoolThe Law of Excluded Middle
Definition: Classical vs. Intuitionistic Logic
In classical logic, is an axiom: for any proposition , either holds or holds — no third option, and no proof is required to know which one holds. In intuitionistic logic (Brouwer, formalized by Heyting), a proof of must exhibit either a proof of or a proof of ; so is only accepted when we can actually decide, for the specific at hand, which disjunct holds. This is not "classical logic minus one axiom" cosmetically — it changes which theorems are provable and, crucially, makes every proof computationally meaningful: a constructive proof of must contain an algorithm producing a witness .
This single formula is accepted unconditionally by classical logic but only case-by-case by intuitionistic logic. What is provable intuitionistically, for every , is the weaker double negation — proved as Theorem 2 below.
| Question | Platonism (Gödel) | Formalism (Hilbert) | Intuitionism (Brouwer) |
|---|---|---|---|
| Do numbers exist? | Yes, in an abstract realm, independent of minds | Irrelevant — only symbol-strings and derivation rules matter | Only if we can mentally construct them |
| Is always true? | Yes — truth is objective, independent of proof | Yes, as a formal axiom within the consistent system | No — only when a witness or refutation is constructed |
| What makes a proof valid? | Correctly tracking objective mathematical truth | A finite, mechanically checkable derivation from axioms | An explicit construction/algorithm producing the object |
UndergraduateHilbert's Program and Gödel's Blow
Hilbert proposed to secure all of mathematics by (1) formalizing it as a system of axioms and mechanical inference rules, and (2) proving, using only finitary methods (no infinite objects, no completed infinite totalities — reasoning any Formalist and Intuitionist could both accept), that is consistent: it can never derive both and , in particular never . Gödel's second incompleteness theorem (1931) showed this is impossible for any consistent containing arithmetic: cannot prove using only methods formalizable inside itself. Hilbert's specific finitary consistency program died, but formalism as a foundational stance survived — proof theory (Gentzen's consistency proof of arithmetic using transfinite induction up to , going beyond strict finitism) and modern proof assistants (Coq, Lean, Isabelle) are its direct descendants.
There exist irrational numbers such that .
Why is it true?
This theorem is the sharpest classroom illustration of the Formalist/Platonist vs Intuitionist divide: the classical (non-constructive) proof establishes existence via a case split on an undecided proposition, never telling you which case is real, while the constructive proof exhibits explicit values.
Proof
Classical (non-constructive) proof. Consider . By the law of excluded middle, either or — we do not need to know which.
Case 1: if , take : both are irrational ( is irrational by the classic proof-by-contradiction on parity of in ), and is rational by assumption of this case. Done.
Case 2: if , take (irrational by this case's assumption) and (irrational). Then : . Since , done.
Either way we have exhibited irrational with — but the proof never tells us which case holds, i.e. whether itself is rational or irrational. A Formalist accepts this immediately (it is a valid derivation in classical first-order logic); an Intuitionist rejects it as a genuine existence proof because it produces no single explicit pair together with a proof that that specific pair works.
Constructive proof (removes the case split). Take and . Both are irrational: irrational as above; irrational because if in lowest terms with then , so , but the left side is a power of and the right side a power of (for , has only the prime factor ), forcing , contradicting .
Now compute explicitly: , using , so gives .
This time no case split, no unresolved disjunction — Fact 2's original open question (is rational?) is bypassed entirely, and any Intuitionist accepts the pair as a genuine witness. (Historical footnote: Gelfond–Schneider (1934) later proved is in fact irrational — indeed transcendental — resolving Case 2 as the "true" one, but the classical proof above needed no such deep theorem.)
For every proposition , the double negation is provable in intuitionistic logic — even though itself may not be.
Why is it true?
Kolmogorov (1925) and Gödel (1933) independently showed classical logic embeds into intuitionistic logic via this "negative translation": you never regain full LEM, but you can always recover its double negation, which is exactly what is needed to embed classical arithmetic proofs into an intuitionistic system, a key step in later formalized proof assistants.
Proof
Step 1: Fix the intuitionistic rules we may use. Intuitionistic logic keeps modus ponens and the natural deduction rules for , and defines where is absurdity ("from a proof of , anything follows" — ex falso quodlibet — is intuitionistically valid). What is not assumed is or the double-negation elimination law .
**Step 2: Prove the easy direction intuitionistically.** Assume a proof of . We must produce a proof of , i.e. assume a proof of and derive . Applying this assumed function to our proof of directly yields a proof of . So holds with no case analysis — this direction never needed LEM.
**Step 3: Build a proof of directly.** We must show . Assume a proof of (i.e. refutes the disjunction); we must derive . Observe that , restricted to the right disjunct, gives a function taking any proof of to a proof of — that is exactly a proof of (apply after wrapping with the right-injection ). Call this derived proof .
Step 4: Close the loop. Since we have , we can form (the right disjunct of , instantiated with proof ). Feed this term back into : is a proof of , exactly the we needed to derive in Step 3. This closes the assumption from Step 3, giving a full intuitionistic proof of , i.e. of .
*Step 5: Why this does not* give back.** Step 4 produces , but intuitionistically is not generally derivable (that would require the very LEM-like principle we lack). So the translation is genuinely weaker: it shows classical logic's "law" survives as an irrefutable statement (its negation is always contradictory) even where it cannot be asserted outright — precisely the gap that lets constructive mathematics coexist with, and interpret, classical mathematics via Gödel's negative translation of every formula (replacing each atomic formula and each connective with its double-negated intuitionistic analogue), which sends every classically-provable arithmetic sentence to an intuitionistically-provable one.
AdvancedReal-World Applications and Worked Examples
The intuitionist's demand for constructive witnesses turned out to be extraordinarily practical: the Curry–Howard correspondence shows that a constructive proof of is a program computing from . This underlies proof assistants like Coq, Agda, and Lean, used to formally verify the CompCert C compiler and the Feit–Thompson theorem, and underlies type systems in functional programming languages (Haskell, ML) where types are propositions and programs are proofs. Formalism's finitary, mechanically-checkable derivations are literally what a computer proof-checker verifies line by line — no appeal to Platonic intuition is needed for the machine to accept a proof.
Example: Extracting an Algorithm from a Constructive Existence Proof
A constructive proof states: "for every , there exists a unique pair with and given dividend , ." Show how this proof, if written constructively, directly yields the Euclidean division algorithm.
Solution
Step 1: A constructive existence proof proceeds by induction on . Base case : take ; clearly and (assuming ).
Step 2: Inductive step: assume for we already have with , . For : if , take — since . If , take — since .
Step 3: This inductive proof is already an algorithm: it's a recursive function computing from by repeatedly incrementing, exactly matching the "count up" division algorithm. Extracting a program via Curry–Howard from a proof written in a more efficient style (e.g. binary long division, subtracting successive multiples of ) yields the fast Euclidean division algorithm used in every processor's ALU, with the proof's structure guaranteeing termination and correctness for free.
Example: Formalizing Fermat's Little Theorem in Lean
Explain why a "proof" of Fermat's Little Theorem ( for prime ) accepted by the Lean proof assistant is a stronger guarantee of correctness than a proof accepted only by human peer review, from the Formalist's point of view.
Solution
Step 1: A human-reviewed proof relies on reviewers correctly parsing informal mathematical prose, filling in "obvious" steps mentally, and trusting their own background knowledge of definitions — any of which can hide an error (famously, Wiles's first FLT proof attempt had a gap found only after extensive review).
Step 2: A Lean proof is a term in a formal type theory (the Calculus of Inductive Constructions); Lean's kernel — a few thousand lines of trusted code — mechanically re-derives every single inference step from the axioms, with zero appeal to intuition, English prose, or "it's obviously true".
Step 3: This is exactly Hilbert's formalist vision realized in software: mathematics reduced to symbol manipulation checkable by a small, auditable program, sidestepping any need to agree on whether numbers "really exist" (Platonism) or on what counts as a legitimate mental construction (Intuitionism) — the kernel only cares whether the derivation is syntactically valid.
Which philosophy holds that mathematical objects exist independently of the human mind, in an abstract realm, and that mathematicians discover rather than invent theorems?
In the classical proof that irrational exist with , what logical principle is invoked to justify the case split on whether is rational?
What did Gödel's second incompleteness theorem prove about Hilbert's formalist consistency program?
The Curry–Howard correspondence, which underlies proof assistants like Coq and Lean, identifies constructive proofs of with what?
References
- Michael Dummett (2000). Elements of Intuitionism
- Kurt Gödel (1931). Über formal unentscheidbare Sätze der Principia Mathematica und verwandter Systeme I
- A.S. Troelstra, D. van Dalen (1988). Constructivism in Mathematics: An Introduction
- The Univalent Foundations Program (2013). Homotopy Type Theory: Univalent Foundations of Mathematics