A request that this article title be changed to Axiomatic system (logic) is under discussion. Please do not move this article until the discussion is closed. |
In logic, more specifically proof theory, a Hilbert system, sometimes called Hilbert calculus, Hilbert-style system, Hilbert-style proof system, Hilbert-style deductive system or Hilbert–Ackermann system, is a type of formal proof system attributed to Gottlob Frege[1] and David Hilbert.[2] These deductive systems[3][4][5] are most often studied for first-order logic, but are of interest for other logics as well.[6][2]
Most variants of Hilbert systems take a characteristic tack in the way they balance a trade-off between logical axioms and rules of inference.[1][7][8][9] Hilbert systems can be characterised by the choice of a large number of schemas of logical axioms and a small set of rules of inference. Systems of natural deduction take the opposite tack, including many deduction rules but very few or no axiom schemas.[3] The most commonly studied Hilbert systems have either just one rule of inference – modus ponens, for propositional logics – or two – with generalisation, to handle predicate logics, as well – and several infinite axiom schemas. Hilbert systems for alethic modal logics, sometimes called Hilbert-Lewis systems, additionally require the necessitation rule. Some systems use a finite list of concrete formulas as axioms instead of an infinite set of formulas via axiom schemas, in which case the uniform substitution rule is required.[10]
A characteristic feature of the many variants of Hilbert systems is that the context is not changed in any of their rules of inference, while both natural deduction and sequent calculus contain some context-changing rules.[11] Thus, if one is interested only in the derivability of tautologies, no hypothetical judgments, then one can formalize the Hilbert system in such a way that its rules of inference contain only judgments of a rather simple form. The same cannot be done with the other two deductions systems:[citation needed] as context is changed in some of their rules of inferences, they cannot be formalized so that hypothetical judgments could be avoided – not even if we want to use them just for proving derivability of tautologies.
Formal deductions
editIn a Hilbert system, a formal deduction (or proof) is a finite sequence of formulas in which each formula is either an axiom or is obtained from previous formulas by a rule of inference. These formal deductions are meant to mirror natural-language proofs, although they are far more detailed.
Suppose is a set of formulas, considered as hypotheses. For example, could be a set of axioms for group theory or set theory. The notation means that there is a deduction that ends with using as axioms only logical axioms and elements of . Thus, informally, means that is provable assuming all the formulas in .
Hilbert systems are characterized by the use of numerous schemas of logical axioms. An axiom schema is an infinite set of axioms obtained by substituting all formulas of some form into a specific pattern. The set of logical axioms includes not only those axioms generated from this pattern, but also any generalization of one of those axioms. A generalization of a formula is obtained by prefixing zero or more universal quantifiers on the formula; for example is a generalization of .
Exemplary Hilbert systems for propositional logic
editHilbert systems that axiomatize propositional logic are also called Frege systems.
Frege's Begriffsschrift
editAxiomatic proofs have been used in propositional logic since the famous Ancient Greek textbook, Euclid's Elements of Geometry, c. 300 BC. But the first fully formalized proof system that thereby qualifies as a Hilbert system dates back to Gottlob Frege's 1879 Begriffsschrift.[12][13] Frege's system used only implication and negation as connectives,[14] and it had six axioms,[13] which were these ones:[15][16]
- Proposition 1:
- Proposition 2:
- Proposition 8:
- Proposition 28:
- Proposition 31:
- Proposition 41:
These were used by Frege together with modus ponens and a rule of substitution (which was used but never precisely stated) to yield a complete and consistent axiomatization of classical truth-functional propositional logic.[15]
Łukasiewicz's P2
editJan Łukasiewicz showed that, in Frege's system, "the third axiom is superfluous since it can be derived from the preceding two axioms, and that the last three axioms can be replaced by the single sentence ".[16] Which, taken out of Łukasiewicz's Polish notation into modern notation, means . Hence, Łukasiewicz is credited[13] with this system of three axioms:
Just like Frege's system, this system uses a substitution rule and uses modus ponens as an inference rule.[13] The exact same system was given (with an explicit substitution rule) by Alonzo Church,[17] who referred to it as the system P2,[17][18] and helped popularize it.[18]
Schematic form of P2
editOne may avoid using the rule of substitution by giving the axioms in schematic form, using them to generate an infinite set of axioms. Hence, using Greek letters to represent schemas (metalogical variables that may stand for any well-formed formulas), the axioms are given as:[12][18]
The schematic version of P2 is attributed to John von Neumann,[13] and is used in the Metamath "set.mm" formal proof database.[18] It has also been attributed to Hilbert, and named in this context.[19]
Proof example in P2
editAs an example, a proof of in P2 is given below. First, the axioms are given names:
- (A1)
- (A2)
- (A3)
And the proof is as follows:
- (instance of (A1))
- (instance of (A2))
- (from (1) and (2) by modus ponens)
- (instance of (A1))
- (from (4) and (3) by modus ponens)
Exemplary Hilbert system for predicate logic
editThere is an unlimited amount of axiomatisations of predicate logic, since for any logic there is freedom in choosing axioms and rules that characterise that logic. We describe here a Hilbert system with nine axioms and just the rule modus ponens, which we call the one-rule axiomatisation and which describes classical equational logic. We deal with a minimal language for this logic, where formulas use only the connectives and and only the quantifier . Later we show how the system can be extended to include additional logical connectives, such as and , without enlarging the class of deducible formulas.
The first four logical axiom schemas allow (together with modus ponens) for the manipulation of logical connectives.
- P1.
- P2.
- P3.
- P4.
The axiom P1 is redundant, as it follows from P3, P2 and modus ponens (see proof). These axioms describe classical propositional logic; without axiom P4 we get positive implicational logic. Minimal logic is achieved either by adding instead the axiom P4m, or by defining as .
- P4m.
Intuitionistic logic is achieved by adding axioms P4i and P5i to positive implicational logic, or by adding axiom P5i to minimal logic. Both P4i and P5i are theorems of classical propositional logic.
- P4i.
- P5i.
Note that these are axiom schemas, which represent infinitely many specific instances of axioms. For example, P1 might represent the particular axiom instance , or it might represent : the is a place where any formula can be placed. A variable such as this that ranges over formulae is called a 'schematic variable'.
With a second rule of uniform substitution (US), we can change each of these axiom schemas into a single axiom, replacing each schematic variable by some propositional variable that isn't mentioned in any axiom to get what we call the substitutional axiomatisation. Both formalisations have variables, but where the one-rule axiomatisation has schematic variables that are outside the logic's language, the substitutional axiomatisation uses propositional variables that do the same work by expressing the idea of a variable ranging over formulae with a rule that uses substitution.
- US. Let be a formula with one or more instances of the propositional variable , and let be another formula. Then from , infer .
The next three logical axiom schemas provide ways to add, manipulate, and remove universal quantifiers.
- Q5. where t may be substituted for x in
- Q6.
- Q7. where x is not free in .
These three additional rules extend the propositional system to axiomatise classical predicate logic. Likewise, these three rules extend system for intuitionstic propositional logic (with P1-3 and P4i and P5i) to intuitionistic predicate logic.
Universal quantification is often given an alternative axiomatisation using an extra rule of generalisation (see the section on Metatheorems), in which case the rules Q6 and Q7 are redundant.
The final axiom schemas are required to work with formulas involving the equality symbol.
- I8. for every variable x.
- I9.
Conservative extensions
editIt is common to include in a Hilbert system only axioms for the logical operators implication and negation towards functional completeness. Given these axioms, it is possible to form conservative extensions of the deduction theorem that permit the use of additional connectives. These extensions are called conservative because if a formula φ involving new connectives is rewritten as a logically equivalent formula θ involving only negation, implication, and universal quantification, then φ is derivable in the extended system if and only if θ is derivable in the original system. When fully extended, a Hilbert system will resemble more closely a system of natural deduction.
Existential quantification
edit- Introduction
- Elimination
- where is not a free variable of .
Conjunction and disjunction
edit- Conjunction introduction and elimination
- introduction:
- elimination left:
- elimination right:
- Disjunction introduction and elimination
- introduction left:
- introduction right:
- elimination:
Metatheorems
editBecause Hilbert systems have very few deduction rules, it is common to prove metatheorems that show that additional deduction rules add no deductive power, in the sense that a deduction using the new deduction rules can be converted into a deduction using only the original deduction rules.
See also
editNotes
edit- ^ a b Máté & Ruzsa 1997:129
- ^ a b Smith, Peter (2013-02-21). An Introduction to Gödel's Theorems. Cambridge University Press. p. 10. ISBN 978-1-107-02284-3.
- ^ a b Restall, Greg (2002-09-11). An Introduction to Substructural Logics. Routledge. pp. 73–74. ISBN 978-1-135-11131-1.
- ^ Gaifman, Haim (2002). "A Hilbert Type Deductive System for Sentential Logic, Completeness and Compactness" (PDF). Columbia. Retrieved 2024-08-19.
- ^ Benthem, Johan van; Gupta, Amitabha; Parikh, Rohit (2011-04-02). Proof, Computation and Agency: Logic at the Crossroads. Springer Science & Business Media. p. 41. ISBN 978-94-007-0080-2.
- ^ Buss, S. R. (1998-07-09). Handbook of Proof Theory. Elsevier. pp. 552–553. ISBN 978-0-08-053318-6.
- ^ Bacon, Andrew (2023-09-29). A Philosophical Introduction to Higher-order Logics. Taylor & Francis. p. 424. ISBN 978-1-000-92575-3.
- ^ Eijck, Jan van (1991-02-26). Logics in AI: European Workshop JELIA '90, Amsterdam, The Netherlands, September 10-14, 1990. Proceedings. Springer Science & Business Media. p. 113. ISBN 978-3-540-53686-4.
- ^ Troelstra, A. S.; Schwichtenberg, H. (2000). Basic Proof Theory. Cambridge Tracts in Theoretical Computer Science (2 ed.). Cambridge: Cambridge University Press. p. 51. doi:10.1017/cbo9781139168717. ISBN 978-0-521-77911-1.
- ^ Ono, Hiroakira (2019-08-02). Proof Theory and Algebra in Logic. Springer. p. 5. ISBN 978-981-13-7997-0.
- ^ Gabbay, Dov M.; Guenthner, Franz (2013-03-14). Handbook of Philosophical Logic. Springer Science & Business Media. p. 201. ISBN 978-94-017-0458-8.
- ^ a b Bostock, David (1997). Intermediate logic. Oxford : New York: Clarendon Press ; Oxford University Press. pp. 4–5, 8–13, 18–19, 22, 27, 29, 191, 194. ISBN 978-0-19-875141-0.
- ^ a b c d e Smullyan, Raymond M. (2014-07-23). A Beginner's Guide to Mathematical Logic. Courier Corporation. pp. 102–103. ISBN 978-0-486-49237-7.
- ^ Franks, Curtis (2023), "Propositional Logic", in Zalta, Edward N.; Nodelman, Uri (eds.), The Stanford Encyclopedia of Philosophy (Fall 2023 ed.), Metaphysics Research Lab, Stanford University, retrieved 2024-03-22
- ^ a b Mendelsohn, Richard L. (2005-01-10). The Philosophy of Gottlob Frege. Cambridge University Press. p. 185. ISBN 978-1-139-44403-3.
- ^ a b Łukasiewicz, Jan (1970). Jan Lukasiewicz: Selected Works. North-Holland. p. 136.
- ^ a b Church, Alonzo (1996). Introduction to Mathematical Logic. Princeton University Press. p. 119. ISBN 978-0-691-02906-1.
- ^ a b c d "Proof Explorer - Home Page - Metamath". us.metamath.org. Retrieved 2024-07-02.
- ^ Walicki, Michał (2017). Introduction to mathematical logic (Extended ed.). New Jersey: World Scientific. p. 126. ISBN 978-981-4719-95-7.
References
edit- Curry, Haskell B.; Robert Feys (1958). Combinatory Logic Vol. I. Vol. 1. Amsterdam: North Holland.
- Monk, J. Donald (1976). Mathematical Logic. Graduate Texts in Mathematics. Berlin, New York: Springer-Verlag. ISBN 978-0-387-90170-1.
- Ruzsa, Imre; Máté, András (1997). Bevezetés a modern logikába (in Hungarian). Budapest: Osiris Kiadó.
- Tarski, Alfred (1990). Bizonyítás és igazság (in Hungarian). Budapest: Gondolat. It is a Hungarian translation of Alfred Tarski's selected papers on semantic theory of truth.
- David Hilbert (1927) "The foundations of mathematics", translated by Stephan Bauer-Menglerberg and Dagfinn Føllesdal (pp. 464–479). in:
- van Heijenoort, Jean (1967). From Frege to Gödel: A Source Book in Mathematical Logic, 1879–1931 (3rd printing 1976 ed.). Cambridge MA: Harvard University Press. ISBN 0-674-32449-8.
- Hilbert's 1927, Based on an earlier 1925 "foundations" lecture (pp. 367–392), presents his 17 axioms -- axioms of implication #1-4, axioms about & and V #5-10, axioms of negation #11-12, his logical ε-axiom #13, axioms of equality #14-15, and axioms of number #16-17 -- along with the other necessary elements of his Formalist "proof theory" -- e.g. induction axioms, recursion axioms, etc; he also offers up a spirited defense against L.E.J. Brouwer's Intuitionism. Also see Hermann Weyl's (1927) comments and rebuttal (pp. 480–484), Paul Bernay's (1927) appendix to Hilbert's lecture (pp. 485–489) and Luitzen Egbertus Jan Brouwer's (1927) response (pp. 490–495)
- Kleene, Stephen Cole (1952). Introduction to Metamathematics (10th impression with 1971 corrections ed.). Amsterdam NY: North Holland Publishing Company. ISBN 0-7204-2103-9.
- See in particular Chapter IV Formal System (pp. 69–85) wherein Kleene presents subchapters §16 Formal symbols, §17 Formation rules, §18 Free and bound variables (including substitution), §19 Transformation rules (e.g. modus ponens) -- and from these he presents 21 "postulates" -- 18 axioms and 3 "immediate-consequence" relations divided as follows: Postulates for the propostional calculus #1-8, Additional postulates for the predicate calculus #9-12, and Additional postulates for number theory #13-21.
External links
edit- Gaifman, Haim. "A Hilbert Type Deductive System for Sentential Logic, Completeness and Compactness" (PDF).
- Farmer, W. M. "Propositional logic" (PDF). It describes (among others) a specific Hilbert-style proof system (that is restricted to propositional calculus).