Hilbert's Program and the Study of Proof

Formalization, finitary reasoning, and the attempt to justify infinitary mathematics through a mathematical analysis of finite derivations.

Modern logic · Part 5Historical questions · mathematical ideas

What would a finitary justification of ideal mathematics have to establish?

Separate consistency, completeness, and decision, and work through a finite Herbrand certificate for an existential validity.

Selected landmarksSeries timeline ↗

Hilbert, Bernays, Ackermann, and collaborators investigate formal mathematics using restricted metamathematical methods.

Source: Hilbert's Program

The responses to the paradoxes offered different ways to restrict mathematical reasoning. A further question remained: how could one justify confidence in a proposed system as a whole?

David Hilbert sought an answer that would preserve the power of classical mathematics. The program associated with his name aimed to represent mathematical reasoning formally and then establish, using secure finitary methods, that its powerful ideal principles could not lead to contradiction.

Portrait of David Hilbert wearing a hat before 1912
David Hilbert (1862–1943) Axiomatization and the metamathematical study of consistency.
Sources and credit for David Hilbert

Unknown photographer, before 1912, public domain, via Wikimedia Commons Image source · Public domain · Biographical dates

This required a new division of labor. Within a mathematical theory, one proves statements about numbers, sets, or functions. Outside it, one studies the expressions and derivations of the theory itself. The latter investigation became known as metamathematics or proof theory.

From an axiomatic problem to a program

Hilbert's second problem, presented in 1900, called for a consistency proof for arithmetic. His work on the foundations of geometry had shown the importance of models and relative consistency arguments. But interpreting one theory in another leaves a question about the background theory that performs the interpretation.

The proof-theoretic program took a more developed form during the 1920s. Hilbert and his collaborators sought to analyze mathematical proofs as finite configurations of symbols. Paul Bernays was central to both the technical development and the clarification of the program's aims. Wilhelm Ackermann pursued difficult consistency arguments, including work using Hilbert's epsilon calculus.

Portrait of Paul Bernays
Paul Bernays (1888–1977)
Sources and credit for Paul Bernays

Unbekannt. Via Wikimedia Commons. Image source · Public domain · Biographical dates

Portrait of Wilhelm Ackermann
Wilhelm Ackermann (1896–1962)
Sources and credit for Wilhelm Ackermann

Unknown photographer; historical portrait of Wilhelm Ackermann. The source description contains a typographical error in the death year; the biographical source gives 1962. Via Wikimedia Commons. Image source · Public domain · Biographical dates

It is therefore misleading to describe the program as one proposal made in a single year. The 1900 problem, Hilbert's earlier foundational work, and the mature metamathematical project are connected stages with different formulations.

The broader setting also mattered. Foundational disagreement was not confined to whether a particular formal axiom was safe. Brouwer's intuitionism challenged accepted uses of classical logic in infinite mathematics. Hilbert wanted to explain why the existing mathematical methods could be retained.

Real and ideal mathematics

Hilbert distinguished a secure domain of finitary reasoning from stronger ideal methods. The precise boundary of finitism was debated and remains a subject of historical interpretation. At its center were concrete finite expressions and elementary operations on them.

For example, one can inspect a finite sequence of strokes, append another stroke, compare two sequences, or carry out a calculation on numerals. One can also reason generally about such operations without assuming an already completed universe of arbitrary infinite objects.

Ideal mathematics includes principles that range over infinite domains and make possible concise, systematic theories. Hilbert's proposal was not simply to declare these expressions meaningless and stop. Their use was to be justified by showing that the ideal apparatus could not produce unacceptable consequences for the secure part.

A consistency proof is one version of this ambition: demonstrate that the formalized ideal theory cannot derive a contradiction. Stronger formulations seek a form of conservativity, showing that ideal reasoning proves no new statements of a specified real kind beyond those already justified by the secure methods.

Consistency and conservativity must be distinguished. A theory can be consistent while proving new arithmetical statements. To prove conservativity, one must specify both the weaker theory and the class of statements whose consequences are being compared.

Proofs as finite objects

Consider a formal language with symbols for zero, successor, addition, equality, variables, and logical operations. The well-formed expressions are generated by explicit rules. A formal proof is then a finite sequence or tree of formulas in which each step is an axiom or follows by an allowed inference.

Even a theory containing infinitely many axioms can have effective proof checking if its axioms are given by a recognizable schema. For example, the induction schema supplies an instance for each formula. A particular proposed proof uses only finitely many such instances, and each can be checked against the schema.

This distinction is crucial. Infinitely many possible derivations do not make the checking of one finite derivation an infinite task. The metamathematician can ask what an arbitrary finite proof must look like and whether its structure permits a contradiction.

The proof is now data for another mathematical investigation. Its formulas need not be interpreted as true assertions in an intended infinite structure at every stage of that investigation. One may instead establish a syntactic invariant preserved by every inference.

A consistency proof for a small calculus

A simple example shows the method without claiming to reproduce the difficulty of arithmetic.

Take closed terms built from 00, successor SS, and addition. Allow the equations

t+0=t,t+S(u)=S(t+u),t+0=t, \qquad t+S(u)=S(t+u),

along with reflexivity of equality and the usual rules of symmetry, transitivity, and replacement of equals inside terms.

Assign a natural-number value to every closed term by recursion:

v(0)=0,v(S(t))=v(t)+1,v(t+u)=v(t)+v(u).\begin{aligned} v(0)&=0,\\ v(S(t))&=v(t)+1,\\ v(t+u)&=v(t)+v(u). \end{aligned}

Every initial equation has equal values on its two sides. Reflexivity, symmetry, and transitivity preserve that property. Replacing one subterm by another of the same value also preserves the value of the complete term.

Induction on the finite derivation therefore proves:

if t=u is derivable, then v(t)=v(u).\text{if }t=u\text{ is derivable, then }v(t)=v(u).

Since v(0)≠v(S(0))v(0)\neq v(S(0)), the calculus cannot derive 0=S(0)0=S(0).

The argument uses a semantic invariant for a deliberately weak equational calculus. It illustrates the structure of a consistency proof: inspect the axioms, inspect the rules, and establish a property that excludes the designated contradiction.

It does not establish the consistency of full arithmetic with unrestricted induction. We have used ordinary reasoning about natural numbers in the metatheory and must assess that background separately if we want to claim a particular finitary reduction. The example makes the dependence visible instead of concealing it.

The epsilon calculus

Hilbert's epsilon notation offered a way to analyze quantificational reasoning through terms that act as potential witnesses. An expression

εx A(x)\varepsilon x\,A(x)

is intended to select an xx satisfying AA, if one exists. A characteristic principle is

A(t)→A(εx A(x)).A(t)\to A(\varepsilon x\,A(x)).

If some supplied term satisfies the condition, the selected witness must satisfy it as well. The notation permits quantified reasoning to be reorganized around terms and substitution.

The difficult part is not the informal idea of choosing a witness. Epsilon expressions can be nested, and changing the value assigned to one expression can affect conditions involving others. A procedure that repairs one failed condition may disturb another.

The epsilon-substitution approach sought to replace these expressions by numerical values in a way that satisfies the finite collection of relevant conditions extracted from a proof. If the repair process could always be shown to terminate by permitted methods, it could support a consistency argument.

Ackermann's work demonstrates why early proof theory was technically demanding. The obstacle was not a lack of symbolic notation but the control of interacting dependencies in arbitrary proofs. Later developments clarified which termination arguments require principles stronger than those first envisaged.

Epsilon theorems and finite instances

Portrait of Jacques Herbrand
Jacques Herbrand (1908–1931)
Sources and credit for Jacques Herbrand

Natascha Artin-Brunswick. Via Wikimedia Commons. Image source · CC BY 3.0 · Biographical dates

The epsilon program also produced positive results for logic itself. In a standard equality-free formulation of the first epsilon theorem, if a quantifier-free, epsilon-free conclusion follows in the epsilon calculus from premises of that same elementary form, then an epsilon-free elementary derivation exists. The precise treatment of equality and nonlogical axioms requires additional qualifications. The theorem concerns elimination of a formal apparatus, rather than a semantic claim that all its expressions already designate independently understood objects.

A closely connected result is Herbrand's theorem. One convenient form says that an existential sentence

∃x1⋯∃xn A(x1,…,xn)\exists x_1\cdots\exists x_n\,A(x_1,\ldots,x_n)

with quantifier-free matrix AA is valid in equality-free first-order logic exactly when a finite disjunction of suitable ground instances of AA is propositionally valid. A dummy constant may be added if the language has no closed term. More general formulas are handled through appropriate transformations, not by simply discarding their quantifiers. The relation between these results and the complexity of the extracted disjunctions is developed in Moser and Zach's paper.

A small example explains why several instances can be essential. Consider

∃x (P(x)→P(f(x))).\exists x\,\bigl(P(x)\to P(f(x))\bigr).

No fixed choice such as x=cx=c is uniformly successful: a structure may make P(c)P(c) true and P(f(c))P(f(c)) false. Yet take the two instances

(P(c)→P(f(c)))∨(P(f(c))→P(f(f(c)))).\bigl(P(c)\to P(f(c))\bigr) \lor \bigl(P(f(c))\to P(f(f(c)))\bigr).

This is a propositional tautology. If its first conditional is false, then P(f(c))P(f(c)) is false, which makes its second conditional true. The finite disjunction establishes the original existential sentence without selecting one witness that works independently of the interpretation.

This is an important bridge to automated reasoning. A quantified validity problem has a finite certificate made from terms and propositional reasoning, although the theorem supplies no uniform small bound on how far a search must go. Herbrand's 1930 thesis, the epsilon theorems, and later proof-search methods belong to this shared history. Herbrand died in 1931; later work clarified and repaired parts of the original technical presentation. The theorem used today is not a claim that every intermediate lemma in the thesis was correct.

Three ambitions that should not be conflated

The foundational discussions involved several questions that a slogan about mechanical mathematics can blur:

QuestionWhat a successful result would provide
ConsistencyA reason that no formal contradiction can be derived.
Completeness of a calculusA proof for every semantic consequence under its specified interpretation.
DecisionAn algorithm that terminates with the correct yes/no answer on every input in the stated class.

The Entscheidungsproblem, formulated prominently in Hilbert and Ackermann's 1928 textbook, concerned deciding logical validity. It was distinct from the program's demand for finitary consistency proofs. Gödel's completeness theorem answered a question about the adequacy of first-order proof rules; the later Church–Turing undecidability results ruled out the general decision algorithm. None of those answers can be substituted for the other two.

Nor did the negative results erase positive decision procedures. Propositional truth tables terminate, and particular first-order fragments have decision procedures. The historical change was to replace a hope for one universal method with exact investigations of which restrictions permit which algorithms. Richard Zach's historical study explains how the actual proof-theoretic program developed through technical work and changing judgments about finitism.

What does the metatheory assume?

A formal system cannot introduce its own notation to a reader who lacks any prior ability to distinguish expressions and follow rules. Describing a formal theory therefore begins with some background reasoning.

This observation does not make formalization circular. We distinguish the mathematical theory under investigation from the methods used to specify and study it. The important question is how much strength a particular metatheorem requires.

Primitive recursive arithmetic, or PRA, is a prominent formal account of a substantial portion of finitary reasoning. William Tait later defended an influential identification of finitist reasoning with primitive recursive methods. Other analyses have drawn the boundary differently.

Portrait of William W. Tait
William W. Tait (1929–2024)
Sources and credit for William W. Tait

Andrej Bauer. Via Wikimedia Commons. Image source · CC BY-SA 2.5 si · Biographical dates

It is consequently better to say that PRA is a significant precise account used in assessing the program than to say that Hilbert simply defined finitism to mean PRA. Historical intentions and later formal reconstructions are related but not identical.

The note on apparent circularity in logic textbooks develops the distinction between object theory and metatheory. Here its role is specific: the credibility and strength of a consistency proof depend on the resources permitted in the external argument.

The impact of incompleteness

Gödel's 1931 results imposed a severe limitation on the original ambition. Under the appropriate hypotheses, a consistent effectively axiomatized theory sufficiently strong for arithmetic cannot prove its own standard consistency statement.

To connect this with Hilbert's program, an additional step is needed. If the proposed finitary consistency argument can be formalized inside the theory being justified, then such an argument would yield the forbidden internal consistency proof. The assessment therefore depends partly on the relationship between the proposed finitary methods and the formal resources of the object theory.

This is more precise than saying that Gödel proved mathematics could never be justified. Stronger theories can establish consistency statements for weaker ones. Restricted programs of reduction, conservativity, and proof interpretation remain possible. The question becomes which resources justify which systems.

Gentzen's later consistency proof for arithmetic illustrates the change. It uses a form of transfinite induction whose strength must be examined openly. The proof provides important information even though it does not satisfy the original hope for a straightforward finitary justification of all the desired mathematics.

A continuing research program

Hilbert's program did not achieve its original objective in its unrestricted form. It nevertheless transformed what could count as a mathematical question.

Proofs could be compared by strength and transformed by explicit procedures. Logical systems could be studied for conservativity and interpretability. Particular mathematical theorems could be analyzed to determine which axioms they actually need.

The resulting methods contributed to proof theory, computability, and eventually mechanized reasoning. Their value does not depend on presenting later proof assistants as the inevitable fulfillment of Hilbert's intentions.

The competing constructive response also remained productive. Rather than justify unrestricted classical reasoning from outside, it reconsidered the meaning of mathematical assertion itself. The next note follows that change in the understanding of proof and existence.

Check your understanding: Why is a finite certificate not a decision algorithm?

Suppose a theorem guarantees that every valid sentence in a class has a finite certificate, and certificates can be enumerated and checked. Must the search terminate on every input?

Answer. It terminates when it encounters a certificate for a valid input. If the input is not valid, no such certificate exists, and enumeration alone gives no signal to stop. A decision procedure additionally needs a terminating way to recognize negative cases or another argument that bounds the search. The distinction explains how first-order completeness coexists with undecidability.

Sources and further reading

  • David Hilbert, “Mathematical Problems” (1900), especially the second problem; “Neubegründung der Mathematik” (1922); and “Über das Unendliche” (1926).
  • David Hilbert and Paul Bernays, Grundlagen der Mathematik, volumes I and II (1934, 1939).
  • Wilhelm Ackermann, “Begründung des 'tertium non datur' mittels der Hilbertschen Theorie der Widerspruchsfreiheit” (1924).
  • William W. Tait, “Finitism” (1981), for an influential later analysis rather than a definition simply attributed to Hilbert.
  • Hilbert's Program, for the changing formulations, collaboration, and assessment of the program.
  • Georg Moser and Richard Zach, “The Epsilon Calculus and Herbrand Complexity”, for precise epsilon theorems, Herbrand disjunctions, and proof-size qualifications.
  • Richard Zach, “The Practice of Finitism: Epsilon Calculus and Consistency Proofs in Hilbert's Program”, for Ackermann, Bernays, and the changing technical understanding of finitism.