Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Hilbert system

From Wikipedia, the free encyclopedia
System of formal deduction in logic

Inlogic, more specificallyproof theory, aHilbert system, sometimes calledHilbert calculus,Hilbert-style system,Hilbert-style proof system,Hilbert-style deductive system orHilbert–Ackermann system, is a type offormal proofsystem attributed toGottlob Frege[1] andDavid Hilbert.[2] Thesedeductive systems are most often studied forfirst-order logic, but are of interest for other logics as well.

It is defined as a deductive system that generates theorems from axioms and inference rules,[3][4][5] especially if the only inference rule ismodus ponens.[6][7] Every Hilbert system is anaxiomatic system, which is used by many authors as a sole less specific term to declare their Hilbert systems,[8][9][10] without mentioning any more specific terms. In this context, "Hilbert systems" are contrasted withnatural deduction systems,[3] in which no axioms are used, only inference rules.

While all sources that refer to an "axiomatic" logical proof system characterize it simply as a logical proof system with axioms, sources that use variants of the term "Hilbert system" sometimes define it in different ways, which will not be used in this article. For instance,Troelstra defines a "Hilbert system" as a system with axiomsand withE{\displaystyle {\rightarrow }E} andI{\displaystyle {\forall }I} as the only inference rules.[11] A specific set of axioms is also sometimes called "the Hilbert system",[12] or "the Hilbert-style calculus".[13] Sometimes, "Hilbert-style" is used to convey the type of axiomatic system that has its axioms given inschematic form,[2] as in the§ Schematic form of P2 below—but other sources use the term "Hilbert-style" as encompassing both systems with schematic axioms and systems with a rule of substitution,[14] as this article does. The use of "Hilbert-style" and similar terms to describe axiomatic proof systems in logic is due to the influence of Hilbert andAckermann'sPrinciples of Mathematical Logic (1928).[2]

Most variants of Hilbert systems take a characteristic tack in the way they balance atrade-off betweenlogical axioms andrules of inference.[1][6][15][11] Hilbert systems can be characterised by the choice of a large number ofschemas of logical axioms and a small set ofrules of inference. Systems ofnatural 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, forpropositional logics – or two – withgeneralisation, to handlepredicate logics, as well – and several infinite axiom schemas. Hilbert systems for alethicmodal logics, sometimes calledHilbert-Lewis systems, additionally require thenecessitation 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 theuniform substitution rule is required.[14]

A characteristic feature of the many variants of Hilbert systems is that thecontext is not changed in any of their rules of inference, while bothnatural deduction andsequent calculus contain some context-changing rules.[16] Thus, if one is interested only in the derivability oftautologies, no hypothetical judgments, then one can formalize the Hilbert system in such a way that its rules of inference contain onlyjudgments 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

[edit]
This sectiondoes notcite anysources. Please helpimprove this section byadding citations to reliable sources. Unsourced material may be challenged andremoved.(August 2024) (Learn how and when to remove this message)
A graphic representation of the deduction system
A graphic representation of the deduction system

In a Hilbert system, aformal deduction (orproof) 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Γ{\displaystyle \Gamma } is a set of formulas, considered ashypotheses. For example,Γ{\displaystyle \Gamma } could be a set of axioms forgroup theory orset theory. The notationΓϕ{\displaystyle \Gamma \vdash \phi } means that there is a deduction that ends withϕ{\displaystyle \phi } using as axioms onlylogical axioms and elements ofΓ{\displaystyle \Gamma }. Thus, informally,Γϕ{\displaystyle \Gamma \vdash \phi } means thatϕ{\displaystyle \phi } is provable assuming all the formulas inΓ{\displaystyle \Gamma }.

Hilbert systems are characterized by the use of numerous schemas oflogical axioms. Anaxiom 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 exampley(xPxyPty){\displaystyle \forall y(\forall xPxy\to Pty)} is a generalization ofxPxyPty{\displaystyle \forall xPxy\to Pty}.

Propositional logic

[edit]

The following are some Hilbert systems that have been used inpropositional logic. One of them, the§ Schematic form of P2, is also considered aFrege system.

Frege'sBegriffsschrift

[edit]

Axiomatic proofs have been used in mathematics since the famousAncient Greek textbook,Euclid'sElements of Geometry,c. 300 BC. But the first knownfully formalized proof system that thereby qualifies as a Hilbert system dates back toGottlob Frege's1879Begriffsschrift.[9][17] Frege's system used onlyimplication andnegation as connectives,[18] and it had six axioms,[17] which were these ones:[19][20]

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.[19]

Łukasiewicz's P2

[edit]

Jan Ł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 sentenceCCNpNqCqp{\displaystyle CCNpNqCqp}".[20] Which, taken out of Łukasiewicz'sPolish notation into modern notation, means(¬p¬q)(qp){\displaystyle (\neg p\rightarrow \neg q)\rightarrow (q\rightarrow p)}. Hence, Łukasiewicz is credited[17] 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.[17] The exact same system was given (with an explicit substitution rule) byAlonzo Church,[21] who referred to it as the system P2,[21][22] and helped popularize it.[22]

Schematic form of P2

[edit]

One 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 anywell-formed formulas), the axioms are given as:[9][22]

The schematic version of P2 is attributed toJohn von Neumann,[17] and is used in theMetamath "set.mm" formal proof database.[22] In fact, the very idea of using axiom schemas to replace the rule of substitution is attributed to von Neumann.[23] The schematic version of P2 has also been attributed toHilbert, and namedH{\displaystyle {\mathcal {H}}} in this context.[24]

Systems for propositional logic whose inference rules are schematic are also calledFrege systems; as the authors that originally defined the term "Frege system"[25] note, this actually excludes Frege's own system, given above, since it had axioms instead of axiom schemas.[23]

Proof example in P2

[edit]

As an example, a proof ofAA{\displaystyle A\to A} in P2 is given below. First, the axioms are given names:

(A1)(p(qp)){\displaystyle (p\to (q\to p))}
(A2)((p(qr))((pq)(pr))){\displaystyle ((p\to (q\to r))\to ((p\to q)\to (p\to r)))}
(A3)((¬p¬q)(qp)){\displaystyle ((\neg p\to \neg q)\to (q\to p))}

And the proof is as follows:

  1. A((BA)A){\displaystyle A\to ((B\to A)\to A)}       (instance of (A1))
  2. (A((BA)A))((A(BA))(AA)){\displaystyle (A\to ((B\to A)\to A))\to ((A\to (B\to A))\to (A\to A))}       (instance of (A2))
  3. (A(BA))(AA){\displaystyle (A\to (B\to A))\to (A\to A)}       (from (1) and (2) bymodus ponens)
  4. A(BA){\displaystyle A\to (B\to A)}       (instance of (A1))
  5. AA{\displaystyle A\to A}       (from (4) and (3) by modus ponens)

Predicate logic (example system)

[edit]
This sectiondoes notcite anysources. Please helpimprove this section byadding citations to reliable sources. Unsourced material may be challenged andremoved.(August 2024) (Learn how and when to remove this message)

There 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¬{\displaystyle \lnot } and{\displaystyle \to } and only the quantifier{\displaystyle \forall }. Later we show how the system can be extended to include additional logical connectives, such as{\displaystyle \land } and{\displaystyle \lor }, 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.ϕϕ{\displaystyle \phi \to \phi }
P2.ϕ(ψϕ){\displaystyle \phi \to \left(\psi \to \phi \right)}
P3.(ϕ(ψξ))((ϕψ)(ϕξ)){\displaystyle \left(\phi \to \left(\psi \rightarrow \xi \right)\right)\to \left(\left(\phi \to \psi \right)\to \left(\phi \to \xi \right)\right)}
P4.(¬ϕ¬ψ)(ψϕ){\displaystyle \left(\lnot \phi \to \lnot \psi \right)\to \left(\psi \to \phi \right)}

The axiom P1 is redundant, as it follows from P3, P2 and modus ponens (seeproof). These axioms describeclassical propositional logic; without axiom P4 we getpositive implicational logic.Minimal logic is achieved either by adding instead the axiom P4m, or by defining¬ϕ{\displaystyle \lnot \phi } asϕ{\displaystyle \phi \to \bot }.

P4m.(ϕψ)((ϕ¬ψ)¬ϕ){\displaystyle \left(\phi \to \psi \right)\to \left(\left(\phi \to \lnot \psi \right)\to \lnot \phi \right)}

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.(ϕ¬ϕ)¬ϕ{\displaystyle \left(\phi \to \lnot \phi \right)\to \lnot \phi }
P5i.¬ϕ(ϕψ){\displaystyle \lnot \phi \to \left(\phi \to \psi \right)}

Note that these are axiom schemas, which represent infinitely many specific instances of axioms. For example, P1 might represent the particular axiom instancepp{\displaystyle p\to p}, or it might represent(pq)(pq){\displaystyle \left(p\to q\right)\to \left(p\to q\right)}: theϕ{\displaystyle \phi } 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 ofuniform 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ϕ(p){\displaystyle \phi (p)} be a formula with one or more instances of the propositional variablep{\displaystyle p}, and letψ{\displaystyle \psi } be another formula. Then fromϕ(p){\displaystyle \phi (p)}, inferϕ(ψ){\displaystyle \phi (\psi )}.

The next three logical axiom schemas provide ways to add, manipulate, and remove universal quantifiers.

Q5.x(ϕ)ϕ[x:=t]{\displaystyle \forall x\left(\phi \right)\to \phi [x:=t]} wheret may be substituted forx inϕ{\displaystyle \,\!\phi }
Q6.x(ϕψ)(x(ϕ)x(ψ)){\displaystyle \forall x\left(\phi \to \psi \right)\to \left(\forall x\left(\phi \right)\to \forall x\left(\psi \right)\right)}
Q7.(ψϕ)(ψx(ϕ)){\displaystyle (\psi \to \phi )\to (\psi \to \forall x\left(\phi \right))} wherex does not occur inψ{\displaystyle \psi }.

These three additional rules extend the propositional system to axiomatiseclassical predicate logic. Likewise, these three rules extend system for intuitionstic propositional logic (with P1-3 and P4i and P5i) tointuitionistic 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.x=x{\displaystyle x=x} for every variablex.
I9.(x=y)(ϕ[z:=x]ϕ[z:=y]){\displaystyle \left(x=y\right)\to \left(\phi [z:=x]\to \phi [z:=y]\right)}

Conservative extensions

[edit]
This sectiondoes notcite anysources. Please helpimprove this section byadding citations to reliable sources. Unsourced material may be challenged andremoved.(March 2024) (Learn how and when to remove this message)

It is common to include in a Hilbert system only axioms for the logical operators implication and negation towardsfunctional completeness. Given these axioms, it is possible to formconservative extensions of thededuction theorem that permit the use of additional connectives. These extensions are called conservative because if a formula φ involving new connectives is rewritten as alogically 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 ofnatural deduction.

Existential quantification

[edit]
  • Introduction
x(ϕy(ϕ[x:=y])){\displaystyle \forall x(\phi \to \exists y(\phi [x:=y]))}
  • Elimination
x(ϕψ)x(ϕ)ψ{\displaystyle \forall x(\phi \to \psi )\to \exists x(\phi )\to \psi } wherex{\displaystyle x} is not afree variable ofψ{\displaystyle \psi }.

Conjunction and disjunction

[edit]
  • Conjunction introduction and elimination
introduction:α(βαβ){\displaystyle \alpha \to (\beta \to \alpha \land \beta )}
elimination left:αβα{\displaystyle \alpha \wedge \beta \to \alpha }
elimination right:αββ{\displaystyle \alpha \wedge \beta \to \beta }
  • Disjunction introduction and elimination
introduction left:ααβ{\displaystyle \alpha \to \alpha \vee \beta }
introduction right:βαβ{\displaystyle \beta \to \alpha \vee \beta }
elimination:(αγ)((βγ)αβγ){\displaystyle (\alpha \to \gamma )\to ((\beta \to \gamma )\to \alpha \vee \beta \to \gamma )}

Metatheorems

[edit]
This sectiondoes notcite anysources. Please helpimprove this section byadding citations to reliable sources. Unsourced material may be challenged andremoved.(March 2024) (Learn how and when to remove this message)

Because Hilbert systems have very few deduction rules, it is common to provemetatheorems that show that additionaldeduction 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

[edit]

Notes

[edit]
  1. ^abMáté & Ruzsa 1997:129
  2. ^abcSmith, Peter (2013-02-21).An Introduction to Gödel's Theorems. Cambridge University Press. p. 10.ISBN 978-1-107-02284-3.
  3. ^abcRestall, Greg (2002-09-11).An Introduction to Substructural Logics. Routledge. pp. 73–74.ISBN 978-1-135-11131-1.
  4. ^Gaifman, Haim (2002)."A Hilbert Type Deductive System for Sentential Logic, Completeness and Compactness"(PDF).Columbia. Retrieved2024-08-19.
  5. ^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.
  6. ^abBacon, Andrew (2023-09-29).A Philosophical Introduction to Higher-order Logics. Taylor & Francis. p. 424.ISBN 978-1-000-92575-3.
  7. ^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.
  8. ^Haack, Susan (1978-07-27).Philosophy of Logics. Cambridge University Press. p. 19.ISBN 978-0-521-29329-7.
  9. ^abcBostock, 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.
  10. ^Lucas, J. R. (2018-10-10).A Treatise on Time and Space. Routledge. p. 152.ISBN 978-0-429-68517-0.
  11. ^abTroelstra, 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.
  12. ^"Introduction to Logic - Chapter 4".intrologic.stanford.edu. Retrieved2024-08-16.
  13. ^Buss, S. R. (1998-07-09).Handbook of Proof Theory. Elsevier. pp. 552–553.ISBN 978-0-08-053318-6.
  14. ^abOno, Hiroakira (2019-08-02).Proof Theory and Algebra in Logic. Springer. p. 5.ISBN 978-981-13-7997-0.
  15. ^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.
  16. ^Gabbay, Dov M.; Guenthner, Franz (2013-03-14).Handbook of Philosophical Logic. Springer Science & Business Media. p. 201.ISBN 978-94-017-0458-8.
  17. ^abcdeSmullyan, Raymond M. (2014-07-23).A Beginner's Guide to Mathematical Logic. Courier Corporation. pp. 102–103.ISBN 978-0-486-49237-7.
  18. ^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, retrieved2024-03-22
  19. ^abMendelsohn, Richard L. (2005-01-10).The Philosophy of Gottlob Frege. Cambridge University Press. p. 185.ISBN 978-1-139-44403-3.
  20. ^abŁukasiewicz, Jan (1970).Jan Lukasiewicz: Selected Works. North-Holland. p. 136.
  21. ^abChurch, Alonzo (1996).Introduction to Mathematical Logic. Princeton University Press. p. 119.ISBN 978-0-691-02906-1.
  22. ^abcd"Proof Explorer - Home Page - Metamath".us.metamath.org. Retrieved2024-07-02.
  23. ^abCook, Stephen A.; Reckhow, Robert A. (1979)."The relative efficiency of propositional proof systems".The Journal of Symbolic Logic.44 (1): 39.doi:10.2307/2273702.ISSN 0022-4812.JSTOR 2273702.
  24. ^Walicki, Michał (2017).Introduction to mathematical logic (Extended ed.). New Jersey: World Scientific. p. 126.ISBN 978-981-4719-95-7.
  25. ^Pudlák, Pavel; Buss, Samuel R. (1995)."How to lie without being (easily) convicted and the lengths of proofs in propositional calculus". In Pacholski, Leszek; Tiuryn, Jerzy (eds.).Computer Science Logic. Lecture Notes in Computer Science. Vol. 933. Berlin, Heidelberg: Springer. p. 152.doi:10.1007/BFb0022253.ISBN 978-3-540-49404-1.

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 ofAlfred Tarski's selected papers onsemantic 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]
General
Theorems (list)
 and paradoxes
Logics
Traditional
Propositional
Predicate
Set theory
Types ofsets
Maps and cardinality
Set theories
Formal systems (list),
language and syntax
Example axiomatic
systems
 (list)
Proof theory
Model theory
Computability theory
Related
Mathematical logic
Set theory
Type theory
Category theory
Retrieved from "https://en.wikipedia.org/w/index.php?title=Hilbert_system&oldid=1281125735"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp