97 Potential and Actual Infinity in a Proof Assistant

Large numbers in English are named in steps of three decimal places (the short scale):

name

value

name

value

thousand

\(10^{3}\)

duodecillion

\(10^{39}\)

million

\(10^{6}\)

tredecillion

\(10^{42}\)

billion

\(10^{9}\)

quattuordecillion

\(10^{45}\)

trillion

\(10^{12}\)

quindecillion

\(10^{48}\)

quadrillion

\(10^{15}\)

sexdecillion

\(10^{51}\)

quintillion

\(10^{18}\)

septendecillion

\(10^{54}\)

sextillion

\(10^{21}\)

octodecillion

\(10^{57}\)

septillion

\(10^{24}\)

novemdecillion

\(10^{60}\)

octillion

\(10^{27}\)

vigintillion

\(10^{63}\)

nonillion

\(10^{30}\)

unvigintillion

\(10^{66}\)

decillion

\(10^{33}\)

googol

\(10^{100}\)

undecillion

\(10^{36}\)

A proof written out to one hundred unvigintillion lines, \(10^{68}\), could not be stored: all storage devices on Earth together hold of order \(10^{23}\) bytes, and the observable universe contains about \(10^{80}\) atoms, so even one character per atom would leave little room. A proof checked by Lean [971] is a finite string of symbols, and the kernel accepts it only as such. A theorem about an infinite collection is therefore one finite sentence, “for all \(n\)”, established by induction in finitely many steps. The theorem tower_never_closes concerns a tower without end, yet its proof is a few lines long. The infinite is not written out; it is pointed to by finite words. The library does treat infinite collections as single objects, such as the set of all natural numbers or the cardinal \(\aleph _0\) [972], but every term that names them is again a finite string.

The distinction is Aristotle’s, between potential and actual infinity [235]. Induction is a rule, that whatever holds at \(n\) holds at \(n+1\), and it shows that one can always go further; it does not show that the whole exists as a completed totality. The natural numbers of Lean have the same character: Nat is defined by two rules, zero and succ, so each element is a finite term, and “for every \(n\)” states a rule rather than holding a completed infinite set. The treatment of the actual infinite as one object belongs to Cantor [210], and it was against this that Kronecker said that the integers were made by God and all else is the work of man [973].

The finite proof by induction rests on further assumptions. In Lean the induction principle for Nat is generated from its definition, which states that the natural numbers are exactly what zero and succ build and nothing else; in first-order Peano arithmetic the same content is an axiom scheme, and models with further, non-standard numbers satisfy it. Beneath this lie the rules of the type theory that license inductive definitions, the axioms a proof may invoke (propext, Quot.sound and Classical.choice, listed for any theorem by #print axioms), and the correctness of the kernel and of the machine that runs it. Lowest of all, a proof that is a finite string of symbols presupposes that a symbol, read again, is recognised as the same symbol: the check begins only where \(A=A\) is already in use.

No proof, then, handles an actual infinity. What mathematics calls an infinite set, from Cantor’s transfinite numbers to \(\aleph _0\) in Lean, is introduced by declaration: an axiom of infinity, or a definition that names the totality of what a rule generates, after which the totality is used as one object in finitely many steps. The infinite set enters every proof only through this finite name and the finite rules attached to it; nothing infinite is ever written, read or traversed. The difference between the declared infinite and an actual one is therefore not removed by set theory but located: it sits in the declaration, which is assumed rather than shown.