📥 Download raw
module Padova2025.ComputationalContent.Intro where

Intro

Constructive and nonconstructive proofs

Are there irrational numbers x and y such that their power xy is rational? To recall, and to fix definitions, a real number is called rational if and only if it is of the form a/b with integers a and b. (This is the case if and only if the number has a periodic decimal expansion, like 1/3 = 0.333…) A number is called irrational if and only if it is not rational (like √2).

By the following proof, the answer is yes:

Theorem. There are irrational numbers x and y such that xy is rational.

Proof. Either √2√2 is rational or not. In the first case, we can set x = √2 and y = √2. In the second case, we can set x = √2√2 and y = √2; indeed, then xy = √2√2 ⋅ √2 = √2² = 2 is rational. ∎

The question on the existence of irrational numbers whose power is rational is thereby settled. However, a lingering feeling of discontent with the displayed proof may remain: As long as we do not know which of the two cases holds, we cannot point our finger at any particular example for such a pair of numbers.

Are there more informative proofs? Let us try again:

Theorem. There are irrational numbers x and y such that xy is rational.

Proof. Set x = √2 and y = log√2(3). Then x is well-known to be irrational; the irrationality of y might be less well-known but is actually easier to establish than the irrationality of √2; and xy = 3 is rational. ∎

This second proof is constructive, explicitly providing a witness for the existential claim. In contrast, the first proof, which establishes truth but does not disclose any witnesses, is dubbed nonconstructive. Such proofs are accepted in classical mathematics, the standard flavor of mathematics; in the alternative flavor of constructive mathematics, they are not.

Unique features of constructive mathematics

In constructive mathematics, we embrace almost all axioms and rules of inference of classical mathematics, but we do not use the law of excluded middle (A ∨ ¬A), we do not use the (equivalent) law of double negation elimination (¬¬A ⇒ A) and we do not use the axiom of choice. But on the other hand we also do not postulate their negations: Instead we remain neutrally agnostic about those principles. Hence every constructive proof is also a valid classical proof. (Amazingly, a specific kind of converse holds as well, but not in a literal sense.)

Constructive mathematics has a couple of unique features:

The surprising success of Hilbert’s failed program

Can every result of classical mathematics be constructivized? Taken literally, this question has a clear-cut negative answer. Many results are known to admit only classical proofs, as they imply nonconstructive principles:

But these observations are just the beginning of a grander story. Hilbert made a distinction between abstract results—typically of an infrastructural nature—and concrete results, which concern more tangible mathematical objects such as natural numbers. While many abstract results cannot be proven constructively, their concrete consequences often can.

Classical proofs can in many cases be mined for constructive and hence computational content; classical proofs can thus be regarded as blueprints for more informative constructive proofs. In many cases, there are even formal meta-theorems backing this philosophy, guaranteeing the feasibility of this extraction endeavor. In this refined sense, Hilbert’s program has been widely successful, and auxiliary objects which can only be obtained by transfinite means, such as minima of infinite sequences or maximal ideals, can be viewed as convenient fictions: They are not strictly speaking available in constructive mathematics, but they might as well be, because their consequences are.

The following modules are devoted to studying a particularly versatile constructivization technique based on the double negation monad. This method can be used to eliminate applications of the law of excluded middle from classical proofs. (For eliminating applications of the axiom of choice, other techniques are used, often based on formal topology or topos theory.)