Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Gödel's completeness theorem
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Fundamental theorem in mathematical logic}} {{For|the subsequent theories about the limits of provability|Gödel's incompleteness theorems}} [[File:Completude logique premier ordre.png|thumb|upright=1.8|The formula ([[Universal quantification|∀]]''x''. ''R''(''x'',''x'')) [[Material conditional|→]] (∀''x''[[Existential quantification|∃]]''y''. ''R''(''x'',''y'')) holds in all [[Structure (mathematical logic)|structures]] (only the simplest 8 are shown left). By Gödel's completeness result, it must hence have a [[natural deduction]] proof (shown right).]] '''Gödel's completeness theorem''' is a fundamental theorem in [[mathematical logic]] that establishes a correspondence between [[semantics|semantic]] truth and syntactic [[Provability logic|provability]] in [[first-order logic]]. The completeness theorem applies to any first-order [[Theory (mathematical logic)|theory]]: If ''T'' is such a theory, and φ is a sentence (in the same language) and every model of ''T'' is a model of φ, then there is a (first-order) proof of φ using the statements of ''T'' as axioms. One sometimes says this as "anything true in all models is provable". (This does not contradict [[Gödel's <!---first---> incompleteness theorem]], which is about a formula φ<sub>u</sub> that is unprovable in a certain theory ''T'' but true in the "standard" model of the natural numbers: φ<sub>u</sub> is false in some other, "non-standard" models of ''T''.<ref>{{Cite arXiv|last=Batzoglou|first=Serafim|eprint=2112.06641|title=Gödel's Incompleteness Theorem|year=2021|class=math.HO }} (p.17). Accessed 2022-12-01.</ref>) The completeness theorem makes a close link between [[model theory]], which deals with what is true in different models, and [[proof theory]], which studies what can be formally proven in particular [[formal system]]s. It was first proved by [[Kurt Gödel]] in 1929. It was then simplified when [[Leon Henkin]] observed in his [[Ph.D. thesis]] that the hard part of the proof can be presented as the Model Existence Theorem (published in 1949).<ref>{{cite journal | jstor=2267044 | url= | author=Leon Henkin | title=The completeness of the first-order functional calculus | journal=[[The Journal of Symbolic Logic]] | volume=14 | number=3 | pages=159–166 | date=Sep 1949 | doi= 10.2307/2267044| s2cid= 28935946}} </ref> Henkin's proof was simplified by [[Gisbert Hasenjaeger]] in 1953.<ref>{{cite journal | jstor=2266326 | url= | author=Gisbert F. R. Hasenjaeger | title=Eine Bemerkung zu Henkin's Beweis für die Vollständigkeit des Prädikatenkalküls der Ersten Stufe | journal=The Journal of Symbolic Logic | volume=18 | number=1 | pages=42–48 | date=Mar 1953 | doi= 10.2307/2266326| s2cid= 45705695}}</ref> ==Preliminaries== There are numerous [[deductive system]]s for first-order logic, including systems of [[natural deduction]] and [[Hilbert-style deduction system|Hilbert-style systems]]. Common to all deductive systems is the notion of a ''formal deduction''. This is a sequence (or, in some cases, a finite [[tree structure|tree]]) of formulae with a specially designated ''conclusion''. The definition of a deduction is such that it is finite and that it is possible to verify [[algorithm]]ically (by a [[computer]], for example, or by hand) that a given sequence (or tree) of formulae is indeed a deduction. A first-order formula is called ''[[Validity (logic)|logically valid]]'' if it is true in every [[structure (mathematical logic)|structure]] for the language of the formula (i.e. for any assignment of values to the variables of the formula). To formally state, and then prove, the completeness theorem, it is necessary to also define a deductive system. A deductive system is called ''complete'' if every logically valid formula is the conclusion of some formal deduction, and the completeness theorem for a particular deductive system is the theorem that it is complete in this sense. Thus, in a sense, there is a different completeness theorem for each deductive system. A converse to completeness is ''[[soundness theorem|soundness]]'', the fact that only logically valid formulas are provable in the deductive system. If some specific deductive system of first-order logic is sound and complete, then it is "perfect" (a formula is provable if and only if it is logically valid), thus equivalent to any other deductive system with the same quality (any proof in one system can be converted into the other).{{Citation needed|date=December 2024|reason=Provide reliable source defining 'perfect'.}} ==Statement== We first fix a deductive system of first-order predicate calculus, choosing any of the well-known equivalent systems. Gödel's original proof assumed the Hilbert-Ackermann proof system. ===Gödel's original formulation=== The completeness theorem says that if a formula is logically valid then there is a finite deduction (a formal proof) of the formula. Thus, the deductive system is "complete" in the sense that no additional inference rules are required to prove all the logically valid formulae. A converse to completeness is ''[[soundness theorem|soundness]]'', the fact that only logically valid formulae are provable in the deductive system. Together with soundness (whose verification is easy), this theorem implies that a formula is logically valid [[if and only if]] it is the conclusion of a formal deduction. ===More general form=== The theorem can be expressed more generally in terms of [[logical consequence]]. We say that a sentence ''s'' is a ''syntactic consequence'' of a theory ''T'', denoted <math>T\vdash s</math>, if ''s'' is provable from ''T'' in our deductive system. We say that ''s'' is a ''semantic consequence'' of ''T'', denoted <math>T\models s</math>, if ''s'' holds in every [[model (mathematical logic)|model]] of ''T''. The completeness theorem then says that for any first-order theory ''T'' with a [[well-order]]able language, and any sentence ''s'' in the language of ''T'', {{block indent|if <math>T\models s</math>, then <math>T\vdash s</math>.}} Since the converse (soundness) also holds, it follows that <math>T\models s</math> [[if and only if]] <math>T\vdash s</math>, and thus that syntactic and semantic consequence are equivalent for first-order logic. This more general theorem is used implicitly, for example, when a sentence is shown to be provable from the axioms of [[group theory]] by considering an arbitrary group and showing that the sentence is satisfied by that group. Gödel's original formulation is deduced by taking the particular case of a theory without any axiom. ===Model existence theorem=== The completeness theorem can also be understood in terms of [[consistency]], as a consequence of Henkin's [[Consistency#Henkin's theorem|model existence theorem]]. We say that a theory ''T'' is ''syntactically consistent'' if there is no sentence ''s'' such that both ''s'' and its negation ¬''s'' are provable from ''T'' in our deductive system. The model existence theorem says that for any first-order theory ''T'' with a well-orderable language, {{block indent|if <math>T</math> is syntactically consistent, then <math>T</math> has a model.}} Another version, with connections to the [[Löwenheim–Skolem theorem]], says: {{block indent|Every syntactically consistent, [[countable]] first-order theory has a finite or countable model.}} Given Henkin's theorem, the completeness theorem can be proved as follows: If <math>T \models s</math>, then <math>T\cup\lnot s</math> does not have models. By the contrapositive of Henkin's theorem, then <math>T\cup\lnot s</math> is syntactically inconsistent. So a contradiction (<math>\bot</math>) is provable from <math>T\cup\lnot s</math> in the deductive system. Hence <math>(T\cup\lnot s) \vdash \bot</math>, and then by the properties of the deductive system, <math>T\vdash s</math>. ===As a theorem of arithmetic=== The model existence theorem and its proof can be formalized in the framework of [[Peano arithmetic]]. Precisely, we can systematically define a model of any consistent effective first-order theory ''T'' in Peano arithmetic by interpreting each symbol of ''T'' by an arithmetical formula whose free variables are the arguments of the symbol. (In many cases, we will need to assume, as a hypothesis of the construction, that ''T'' is consistent, since Peano arithmetic may not prove that fact.) However, the definition expressed by this formula is not recursive (but is, in general, [[arithmetical hierarchy#The arithmetical hierarchy of sets of natural numbers|Δ<sub>2</sub>]]). ==Consequences== An important consequence of the completeness theorem is that it is possible to [[enumerable set|recursively enumerate]] the semantic consequences of any [[effectively computable|effective]] first-order theory, by enumerating all the possible formal deductions from the axioms of the theory, and use this to produce an enumeration of their conclusions. This comes in contrast with the direct meaning of the notion of semantic consequence, that quantifies over all structures in a particular language, which is clearly not a recursive definition. Also, it makes the concept of "provability", and thus of "theorem", a clear concept that only depends on the chosen system of axioms of the theory, and not on the choice of a proof system. ==Relationship to the incompleteness theorems== [[Gödel's incompleteness theorems]] show that there are inherent limitations to what can be proven within any given first-order theory in mathematics. The "incompleteness" in their name refers to another meaning of ''complete'' (see [[Model theory#Using the compactness and completeness theorems|model theory – Using the compactness and completeness theorems]]): A theory <math>T</math> is complete (or decidable) if every sentence <math>S</math> in the language of <math>T</math> is either provable (<math>T\vdash S</math>) or disprovable (<math>T\vdash \neg S</math>). The first incompleteness theorem states that any <math>T</math> which is [[consistent]], [[effectively computable|effective]] and contains [[Robinson arithmetic]] ("''Q''") must be incomplete in this sense, by explicitly constructing a sentence <math>S_T</math> which is demonstrably neither provable nor disprovable within <math>T</math>. The second incompleteness theorem extends this result by showing that <math>S_T</math> can be chosen so that it expresses the consistency of <math>T</math> itself. Since <math>S_T</math> cannot be proven in <math>T</math>, the completeness theorem implies the existence of a model of <math>T</math> in which <math>S_T</math> is false. In fact, <math>S_T</math> is a [[Arithmetical hierarchy|Π<sub>1</sub> sentence]], i.e. it states that some finitistic property is true of all natural numbers; so if it is false, then some natural number is a counterexample. If this counterexample existed within the standard natural numbers, its existence would disprove <math>S_T</math> within <math>T</math>; but the incompleteness theorem showed this to be impossible, so the counterexample must not be a standard number, and thus any model of <math>T</math> in which <math>S_T</math> is false must include [[Non-standard model of arithmetic|non-standard numbers]]. In fact, the model of ''any'' theory containing ''Q'' obtained by the systematic construction of the arithmetical model existence theorem, is ''always'' non-standard with a non-equivalent provability predicate and a non-equivalent way to interpret its own construction, so that this construction is non-recursive (as recursive definitions would be unambiguous). Also, if <math>T</math> is at least slightly stronger than ''Q'' (e.g. if it includes induction for bounded existential formulas), then [[Tennenbaum's theorem]] shows that it has no recursive non-standard models. ==Relationship to the compactness theorem== The completeness theorem and the [[compactness theorem]] are two cornerstones of first-order logic. While neither of these theorems can be proven in a completely [[effectively computable|effective]] manner, each one can be effectively obtained from the other. The compactness theorem says that if a formula φ is a logical consequence of a (possibly infinite) set of formulas Γ then it is a logical consequence of a finite subset of Γ. This is an immediate consequence of the completeness theorem, because only a finite number of axioms from Γ can be mentioned in a formal deduction of φ, and the soundness of the deductive system then implies φ is a logical consequence of this finite set. This proof of the compactness theorem is originally due to Gödel. Conversely, for many deductive systems, it is possible to prove the completeness theorem as an effective consequence of the compactness theorem. The ineffectiveness of the completeness theorem can be measured along the lines of [[reverse mathematics]]. When considered over a countable language, the completeness and compactness theorems are equivalent to each other and equivalent to a weak form of choice known as [[weak Kőnig's lemma]], with the equivalence provable in RCA<sub>0</sub> (a second-order variant of [[Peano arithmetic]] restricted to induction over Σ<sup>0</sup><sub style="margin-left:-0.6em">1</sub> formulas). Weak Kőnig's lemma is provable in ZF, the system of [[Zermelo–Fraenkel set theory]] without axiom of choice, and thus the completeness and compactness theorems for countable languages are provable in ZF. However the situation is different when the language is of arbitrary large cardinality since then, though the completeness and compactness theorems remain provably equivalent to each other in ZF, they are also provably equivalent to a weak form of the [[axiom of choice]] known as [[Boolean prime ideal theorem#The ultrafilter lemma|the ultrafilter lemma]]. In particular, no theory extending ZF can prove either the completeness or compactness theorems over arbitrary (possibly uncountable) languages without also proving the ultrafilter lemma on a set of the same cardinality. ==Completeness in other logics== The completeness theorem is a central property of [[first-order logic]] that does not hold for all logics. [[Second-order logic]], for example, does not have a completeness theorem for its standard semantics (though does have the completeness property for [[Henkin semantics]]), and the set of logically valid formulas in second-order logic is not recursively enumerable. The same is true of all higher-order logics. It is possible to produce sound deductive systems for higher-order logics, but no such system can be complete. [[Lindström's theorem]] states that first-order logic is the strongest (subject to certain constraints) logic satisfying both compactness and completeness. A completeness theorem can be proved for [[modal logic]] or [[intuitionistic logic]] with respect to [[Kripke semantics]]. ==Proofs== Gödel's [[Original proof of Gödel's completeness theorem|original proof of the theorem]] proceeded by reducing the problem to a special case for formulas in a certain syntactic form, and then handling this form with an ''ad hoc'' argument. In modern logic texts, Gödel's completeness theorem is usually proved with [[Leon Henkin|Henkin]]'s proof, rather than with Gödel's original proof. Henkin's proof directly constructs a [[term model]] for any consistent first-order theory. James Margetson (2004) developed a computerized formal proof using the [[Isabelle (theorem prover)|Isabelle]] theorem prover.<ref>{{cite report | url=http://afp.sourceforge.net/entries/Completeness-paper.pdf |archive-url=https://web.archive.org/web/20060222105036/http://afp.sourceforge.net/entries/Completeness-paper.pdf |archive-date=2006-02-22 |url-status=live | author=James Margetson | title=Proving the Completeness Theorem within Isabelle/HOL | type=Technical Report | date=Sep 2004 }}</ref> Other proofs are also known. ==See also== * [[Original proof of Gödel's completeness theorem]] * [[Trakhtenbrot's theorem]] ==References== {{reflist}} ==Further reading== * {{cite thesis |last=Gödel |first=K |author-link=Kurt Gödel |year=1929 |title=Über die Vollständigkeit des Logikkalküls |url=http://ubdata.univie.ac.at/AC05181322 |version=Doctoral dissertation |publisher=University Of Vienna }} The first proof of the completeness theorem. * {{cite journal |last=Gödel |first=K |author-link=Kurt Gödel |title=Die Vollständigkeit der Axiome des logischen Funktionenkalküls |language=de |journal=[[Monatshefte für Mathematik]] |volume=37 |issue=1 |pages=349–360 |year=1930 |doi=10.1007/BF01696781 |jfm=56.0046.04 |s2cid=123343522 }} The same material as the dissertation, except with briefer proofs, more succinct explanations, and omitting the lengthy introduction. * {{cite book | issn=1431-4657 | isbn=3540058192 | author=[[Hans Hermes]] | title=Introduction to Mathematical Logic | location=London | publisher=Springer | series=Hochschultext (Springer-Verlag) | volume= | year=1973 }} Chapter 5: ''"Gödel's completeness theorem"''. ==External links== * [[Stanford Encyclopedia of Philosophy]]: "[http://plato.stanford.edu/entries/goedel/ Kurt Gödel]"—by [[Juliette Kennedy]]. * MacTutor biography: [http://www-groups.dcs.st-and.ac.uk/~history/Mathematicians/Godel.html Kurt Gödel.] {{Webarchive|url=https://web.archive.org/web/20051013055626/http://www-groups.dcs.st-and.ac.uk/~history/Mathematicians/Godel.html |date=2005-10-13 }} * Detlovs, Vilnis, and Podnieks, Karlis, "[http://www.ltn.lv/~podnieks/ Introduction to mathematical logic.]" {{Metalogic}} {{Mathematical logic}} {{DEFAULTSORT:Godels Completeness Theorem}} [[Category:Theorems in the foundations of mathematics]] [[Category:Metatheorems]] [[Category:Model theory]] [[Category:Proof theory]] [[Category:Works by Kurt Gödel|Completeness theorem]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Block indent
(
edit
)
Template:Citation needed
(
edit
)
Template:Cite arXiv
(
edit
)
Template:Cite book
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite report
(
edit
)
Template:Cite thesis
(
edit
)
Template:For
(
edit
)
Template:Mathematical logic
(
edit
)
Template:Metalogic
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Webarchive
(
edit
)