Edge Rewrite
Jump to content

Hilbert system

From Wikipedia, the free encyclopedia
(Redirected from Hilbert calculus)

In logic and proof theory, a Hilbert system, Hilbert calculus, or Hilbert-style proof system is a type of formal proof system in which logical principles are expressed primarily by axiom schemata or axioms, and proofs use a comparatively small number of rules of inference.[1][2] The terminology is not completely uniform: some authors use Hilbert system for a narrower class of calculi, while others use axiomatic system or axiomatic calculus for essentially the same style of presentation.[1]

Hilbert systems are commonly contrasted with natural deduction and sequent calculus. A typical Hilbert presentation has many logical axiom schemata and only one or two primitive inference rules, whereas natural-deduction and sequent systems place more of the logical structure in their inference rules.[1][3] Modus ponens is the characteristic rule of many propositional Hilbert calculi; first-order systems often add generalization, although it is also possible to formulate first-order logic with modus ponens as the only primitive rule.[4][5]

The style is historically associated with Gottlob Frege, whose 1879 Begriffsschrift contained a highly formal axiomatic logical calculus, and with David Hilbert and his school. Hilbert and Wilhelm Ackermann's Principles of Mathematical Logic (1928) was especially influential in establishing axiomatic presentations of propositional and predicate logic.[6][7]

General form

[edit]

Formal deductions

[edit]

Let be a Hilbert system with a collection of logical axioms or axiom schemata and a collection of inference rules. A proof in is a finite sequence of formulas

such that every is either a logical axiom (or an instance of an axiom schema), or follows from earlier formulas in the sequence by one of the inference rules. The last formula, , is the formula proved.[4]

More generally, if is a set of formulas regarded as assumptions or as the non-logical axioms of a theory, a derivation from may also use members of as lines of the derivation. The notation

means that there is such a derivation whose final formula is . When is empty, one writes

,

and is called a theorem of the system.[4]

The distinction between logical axioms and proper or non-logical axioms is important in applications. The logical axioms belong to the underlying calculus, while proper axioms specify a particular mathematical theory, such as group theory, Peano arithmetic, or Zermelo–Fraenkel set theory.[5]

Axiom schemata and substitution

[edit]

Modern Hilbert systems are often presented using axiom schemata. For example,

does not denote one formula of the object language if and are being used as metavariables. It represents every formula obtained by replacing them with well-formed formulas of the language.

An alternative is to use a finite collection of particular formulas containing propositional variables and add a primitive rule of uniform substitution. For propositional logic this rule has the form

,

where uniformly replaces propositional variables by arbitrary formulas. The schematic and substitutional presentations are closely related, and both occur under the description Hilbert-style.[2]

Historically, this distinction matters because Frege's formulas in the Begriffsschrift were not axiom schemata in the modern sense; his Roman letters functioned within Frege's own quantificational notation, and Frege separately employed a substitution procedure.[6]

Assumptions and the deduction theorem

[edit]

In a standard Hilbert derivation from assumptions, the set of assumptions is fixed while the primitive inference rules are applied. In particular, there is normally no primitive rule corresponding directly to the natural-deduction operation of assuming a formula temporarily and then discharging it.

For many Hilbert systems, the corresponding operation is supplied by the deduction theorem. In a familiar propositional Hilbert calculus,

if and only if

.[5] The deduction theorem is a metatheorem about transformations of derivations, rather than a primitive inference rule. In first-order calculi containing a generalization rule, its formulation requires additional restrictions concerning variables that occur free in assumptions.[5]

This is one important difference between Hilbert systems and natural deduction. Natural deduction typically represents the analogous move directly by implication introduction:

,

with the occurrence of being discharged.

Propositional logic

[edit]

Many different Hilbert axiomatizations of classical propositional logic are known. They can use different primitive connectives and distribute the work differently between axioms, axiom schemata, and inference rules.

A three-schema calculus

[edit]

A widely used system with primitive connectives and has the following axiom schemata:[8][9]

(A1)
(A2)
(A3)

together with the single inference rule

Modus ponens (MP): from and , infer .

The same basis may instead be presented using three particular formulas with propositional variables, together with uniform substitution. Church presented such a calculus as the system .[8] Closely related three-axiom reductions of Frege's propositional calculus are due to Jan Łukasiewicz.[10]

Example proof

[edit]

As a simple example, can be proved without using (A3):

  1.   (instance of A1)
  2.   (instance of A2)
  3.   (1, 2 by MP)
  4.   (instance of A1)
  5.   (4, 3 by MP)

Such derivations illustrate a characteristic feature of Hilbert calculi: even elementary results may require several applications of axiom schemata and modus ponens. In practice, once metatheorems such as the deduction theorem and derived rules have been established, they are commonly used to abbreviate later arguments.[5]

First-order logic

[edit]

There is no unique Hilbert axiomatization of first-order logic. Equivalent calculi may employ different primitive connectives, treat equality differently, or move principles between the axiom set and the rules of inference.[4][5] Two common styles are illustrated below.

A formulation with modus ponens only

[edit]

Enderton gives a first-order deductive calculus in which modus ponens is the only primitive inference rule.[4] In a language whose primitive propositional connectives are and and whose primitive quantifier is , the logical axioms are all universal generalizations of formulas belonging to the following groups:

  1. Propositional tautologies. Any substitution instance of a tautology of classical propositional logic.
  2. Universal instantiation:
    ,
    where the term is substitutable for in .
  3. Distribution of universal quantification over implication:
    .
  4. Vacuous universal quantification:
    ,
    where does not occur free in .

Here a generalization of means a formula

for some . Taking generalizations of the logical axioms makes a separate primitive generalization rule unnecessary.[4]

If equality is included as a logical symbol, Enderton adds axiom groups for reflexivity and substitution of identicals:

  1. .
  2. , where is atomic and results from replacing zero or more appropriate occurrences of in by .[4]

Other equivalent sets of equality axioms are common.

A formulation with generalization

[edit]

Another standard presentation, used for example by Mendelson, takes the following propositional axiom schemata:[5]

(A1)
(A2)
(A3)

and adds the quantifier axiom schemata

(A4) , where is free for in ;
(A5) , where does not occur free in .

The inference rules are

Modus ponens: from and , infer ;
Generalization: from , infer .

The restrictions in (A4) and (A5) are essential. The first prevents variable capture during substitution, while the second prevents an illicit dependency on a variable that is being quantified.[5]

These two first-order examples illustrate the flexibility characteristic of Hilbert systems: a principle such as generalization can be represented by a primitive inference rule in one calculus and absorbed into the logical axioms of another.

Derived and defined connectives

[edit]

A Hilbert calculus need not take every familiar connective as primitive. For classical propositional logic, the pair is functionally complete: every truth function can be expressed using only negation and implication.[11] Thus one may define, for example,

,
.

Similarly, if and negation are primitive in classical first-order logic, existential quantification can be introduced by

.

When new notation is introduced purely by such explicit definitions, formulas containing the new symbols can be translated back into the original language. In this sense the enlarged language is a conservative extension: it does not make any new sentence of the old language provable merely by introducing the abbreviations.[12]

Instead of treating and as abbreviations, one can make them primitive and add suitable Hilbert axiom schemata. A common set includes

Conjunction
Disjunction
.

With an appropriate proof of equivalence to their definitions, these give another conservative presentation of the same classical logic. The exact collection of schemata is conventional rather than unique.

Other logics

[edit]

Hilbert systems are not restricted to classical propositional and first-order logic. They are widely used for modal logic, intuitionistic logic, relevance logic, many-valued logics, and other non-classical systems.[2]

For example, the basic normal modal logic K has a standard Hilbert axiomatization consisting of the theorems or axioms of classical propositional logic, the modal axiom schema

and the rules modus ponens and necessitation

.

Stronger normal modal logics are often obtained by adding further modal axiom schemata.[13]

The balance between axioms and rules can differ considerably among non-classical Hilbert calculi. Consequently, possessing a particular number of axioms or having modus ponens as the sole rule is characteristic of many important examples, but is not a definition applying to every system described as Hilbert-style.

Historical development

[edit]

Frege's Begriffsschrift

[edit]

Frege's 1879 Begriffsschrift is one of the foundational works of modern formal logic and is often credited with introducing modern quantificational logic.[6] Its logical system officially contains nine axioms. Six of them form what, in modern terminology, can be regarded as its propositional portion; the remaining axioms concern identity and generality.[6]

In a modernized notation, the six propositional formulas are analogous to

  1. .[6]

Frege described a form of modus ponens as his principal mode of inference, but also used operations corresponding to substitution and the introduction or movement of universal generality.[6] His notation and conception of variables differ significantly from modern schematic presentations, so the displayed formulas are modern analogues rather than literal transcriptions of Frege's formalism.[6]

Łukasiewicz later showed, using a modern treatment of the propositional part of Frege's system, that one of the six formulas is redundant and that the negational portion can be substantially compressed.[6]

Hilbert and Ackermann

[edit]

During the early twentieth century, Hilbert and his collaborators developed axiomatic logical calculi as part of the broader program of formalizing mathematics and studying formal proofs mathematically. The first edition of Hilbert and Ackermann's Grundzüge der theoretischen Logik appeared in 1928 and became an influential systematic presentation of propositional and predicate logic.[14] Modern uses of terms such as Hilbert calculus and Hilbert-style system reflect this tradition, although historically related calculi also predate Hilbert in Frege's work.

Łukasiewicz and compact axiom bases

[edit]

The search for small and independent axiom bases became an important part of twentieth-century investigations of propositional logic. Łukasiewicz and other members of the Lwów–Warsaw school studied numerous bases using implication, negation, equivalence, and other primitive connectives, as well as problems of independence and completeness.[15]

Such minimality is mathematically interesting but does not determine which Hilbert calculus is most convenient in practice. Adding redundant axiom schemata or derived rules may make ordinary deductions much shorter while leaving the set of theorems unchanged.

Relation to other proof systems

[edit]

Natural deduction and sequent calculus

[edit]

Hilbert systems, natural deduction, and sequent calculus can often be constructed so that they prove exactly the same formulas, but they represent deductive structure differently.[1]

In a typical Hilbert system, a line of a derivation is simply a formula, and the assumptions available to a derivation remain fixed while primitive rules are applied. Operations such as the introduction and discharge of an assumption are handled indirectly through metatheorems such as the deduction theorem.

In natural deduction, by contrast, rules are designed around the introduction and elimination behavior of logical constants. Assumptions may be introduced temporarily and subsequently discharged. Sequent calculus makes contexts explicit in sequents such as

,

and its logical and structural rules directly manipulate those contexts.

Consequently, Hilbert systems often have particularly compact definitions but relatively long fully expanded proofs. Natural-deduction systems are generally closer to the organization of ordinary mathematical arguments, while sequent calculi are especially useful for structural results such as cut elimination.[1]

Frege systems in proof complexity

[edit]

In proof complexity, the term Frege system has a more specific technical meaning introduced by Stephen Cook and Robert Reckhow. A Frege system is a propositional proof system based on a finite collection of sound, implicationally complete schematic inference rules.[16]

The name honors Frege, but Frege's own Begriffsschrift calculus is not literally a Frege system in this modern technical sense, because its axioms were not given as modern substitution schemata.[16] Standard schematic Hilbert calculi for classical propositional logic do qualify.

Cook and Reckhow's theory abstracts away from the particular choice of ordinary propositional axioms: different Frege systems are polynomially equivalent in proof strength, in the sense relevant to proof complexity.[16]

See also

[edit]

References

[edit]
  1. 1 2 3 4 5 Troelstra, A. S.; Schwichtenberg, H. (2000). Basic Proof Theory (2nd ed.). Cambridge University Press. pp. 51–57. ISBN 978-0-521-77911-1.
  2. 1 2 3 Ono, Hiroakira (2019). Proof Theory and Algebra in Logic. Springer. pp. 3–7. doi:10.1007/978-981-13-7997-0. ISBN 978-981-13-7997-0.
  3. Restall, Greg (2000). An Introduction to Substructural Logics. Routledge. pp. 72–75. ISBN 978-0-415-22178-8.
  4. 1 2 3 4 5 6 7 Enderton, Herbert B. (2001). A Mathematical Introduction to Logic (2nd ed.). Academic Press. pp. 110–115.
  5. 1 2 3 4 5 6 7 8 Mendelson, Elliott (2010). Introduction to Mathematical Logic (5th ed.). CRC Press. pp. 62–69.
  6. 1 2 3 4 5 6 7 8 Cook, Roy T. (2023). "Frege's Logic". The Stanford Encyclopedia of Philosophy. Retrieved 2026-08-07.
  7. Smith, Peter (2013). An Introduction to Gödel's Theorems (2nd ed.). Cambridge University Press. p. 10. ISBN 978-1-107-02284-3.
  8. 1 2 Church, Alonzo (1956). Introduction to Mathematical Logic. Vol. 1. Princeton University Press. p. 119.
  9. Łukasiewicz, Jan (1970). Selected Works. North-Holland. p. 136.
  10. Simons, Peter. "Jan Łukasiewicz". The Stanford Encyclopedia of Philosophy. Retrieved 2026-08-07.
  11. Mendelson, Elliott (2010). Introduction to Mathematical Logic (5th ed.). CRC Press. pp. 18–23.
  12. Mendelson, Elliott (2015). Introduction to Mathematical Logic (6th ed.). CRC Press. pp. 101–103. ISBN 978-1-4822-3772-6.
  13. "Algebraic Propositional Logic". The Stanford Encyclopedia of Philosophy. Retrieved 2026-08-07.
  14. Hilbert, David; Ackermann, Wilhelm (1950). Principles of Mathematical Logic. Chelsea.
  15. "Lvov-Warsaw School". The Stanford Encyclopedia of Philosophy. Retrieved 2026-08-07.
  16. 1 2 3 Cook, Stephen A.; Reckhow, Robert A. (1979). "The Relative Efficiency of Propositional Proof Systems". The Journal of Symbolic Logic. 44 (1): 36–50. doi:10.2307/2273702. JSTOR 2273702.

Further reading

[edit]
  • Church, Alonzo (1956). Introduction to Mathematical Logic. Vol. 1. Princeton University Press.
  • Enderton, Herbert B. (2001). A Mathematical Introduction to Logic (2nd ed.). Academic Press.
  • Mendelson, Elliott (2015). Introduction to Mathematical Logic (6th ed.). CRC Press. ISBN 978-1-4822-3772-6.
  • Ono, Hiroakira (2019). Proof Theory and Algebra in Logic. Springer. doi:10.1007/978-981-13-7997-0.
  • Troelstra, A. S.; Schwichtenberg, H. (2000). Basic Proof Theory (2nd ed.). Cambridge University Press. ISBN 978-0-521-77911-1.