Reading preferences
Optional display controls need JavaScript. All reading content and navigation work without it.
How to use Read
This page follows First-Order Completeness in source order. Every one of the 832 formula occurrences is native, unflattened MathML with a stable source pin. The companion Listen page is a reviewed words-only stream.
Introduction
The completeness theorem is one of the most fundamental results about logic. It comes in two formulations, the equivalence of which we'll prove. In its first formulation it says something fundamental about the relationship between semantic consequence and our derivation system: if a sentence source 19 follows from some sentences source 20, then there is also a derivation that establishes source 20. Thus, the derivation system is as strong as it can possibly be without proving things that don't actually follow.
In its second formulation, it can be stated as a model existence result: every consistent set of sentences is satisfiable. Consistency is a proof-theoretic notion: it says that our derivation system is unable to produce certain derivations. But who's to say that just because there are no derivations of a certain sort from source 29, it's guaranteed that there is a structure source 30? Before the completeness theorem was first proved—in fact before we had the derivation systems we now do—the great German mathematician David Hilbert held the view that consistency of mathematical theories guarantees the existence of the objects they are about. He put it as follows in a letter to Gottlob Frege:
If the arbitrarily given axioms do not contradict one another with all their consequences, then they are true and the things defined by the axioms exist. This is for me the criterion of truth and existence.
Frege vehemently disagreed. The second formulation of the completeness theorem shows that Hilbert was right in at least the sense that if the axioms are consistent, then <em>some</em> structure exists that makes them all true.
These aren't the only reasons the completeness theorem—or rather, its proof—is important. It has a number of important consequences, some of which we'll discuss separately. For instance, since any derivation that shows source 52 is finite and so can only use finitely many of the sentences in source 53, it follows by the completeness theorem that if source 54 is a consequence of source 54, it is already a consequence of a finite subset of source 55. This is called <em>compactness</em>. Equivalently, if every finite subset of source 57 is consistent, then source 57 itself must be consistent.
Although the compactness theorem follows from the completeness theorem via the detour through derivations, it is also possible to use the <em>the proof of</em> the completeness theorem to establish it directly. For what the proof does is take a set of sentences with a certain property—consistency—and constructs a structure out of this set that has certain properties (in this case, that it satisfies the set). Almost the very same construction can be used to directly establish compactness, by starting from “finitely satisfiable” sets of sentences instead of consistent ones. The construction also yields other consequences, e.g., that any satisfiable set of sentences has a finite or denumerables model. (This result is called the Löwenheim–Skolem theorem.) In general, the construction of structures from sets of sentences is used often in logic, and sometimes even in philosophy.
Outline of the Proof
The proof of the completeness theorem is a bit complex, and upon first reading it, it is easy to get lost. So let us outline the proof. The first step is a shift of perspective, that allows us to see a route to a proof. When completeness is thought of as “whenever source 18 then source 19,” it may be hard to even come up with an idea: for to show that source 20 we have to find a derivation, and it does not look like the hypothesis that source 22 helps us for this in any way. For some proof systems it is possible to directly construct a derivation, but we will take a slightly different approach. The shift in perspective required is this: completeness can also be formulated as: “if source 26 is consistent, it is satisfiable.” Perhaps we can use the information in source 27 together with the hypothesis that it is consistent to construct a structure that satisfies every sentence in source 30. After all, we know what kind of structure we are looking for: one that is as source 32 describes it!
If source 34 contains only atomic sentences, it is easy to construct a model for it. Suppose the atomic sentences are all of the form source 37 where the source 37 are constants. All we have to do is come up with
a domain source 40 and an assignment for source 40 so that source 41. But that's not very hard: put source 42, source 42, and for every source 43, put the tuple source 43 into source 44, where source 44 is the index of the constant symbol source 45 (i.e., source 45).
Now suppose source 49 contains some formula source 49, with source 49 atomic. We might worry that the construction of source 51 interferes with the possibility of making source 52 true. But here's where the consistency of source 53 comes in: if source 53, then source 53, or else source 54 would be inconsistent. And if source 54, then according to our construction of source 56, source 57, so source 58. So far so good.
What if source 60 contains complex, non-atomic formulas? Say it contains source 61. To make that true, we should proceed as if both source 62 and source 62 were in source 62. And if source 62, then we will have to make at least one of them true, i.e., proceed as if one of them was in source 64.
This suggests the following idea: we add additional formulas to source 67 so as to (a) keep the resulting set consistent and (b) make sure that for every possible atomic sentence source 68, either source 69 is in the resulting set, or source 69 is, and (c) such that, whenever source 70 is in the set, so are both source 70 and source 70, if source 71 is in the set, at least one of source 71 or source 71 is also, etc. We keep doing this (potentially forever). Call the set of all formulas so added source 73. Then our construction above would provide us with a structure source 74 for which we could prove, by induction, that it satisfies all sentences in source 76, and hence also all sentence in source 76 since source 77. It turns out that guaranteeing (a) and (b) is enough. A set of sentences for which (b) holds is called <em>complete</em>. So our task will be to extend the consistent set source 80 to a consistent and complete set source 80.
There is one wrinkle in this plan: if source 83 we would hope to be able to pick some constant source 84 and add source 84 in this process. But how do we know we can always do that? Perhaps we only have a few constants in our language, and for each one of them we have source 87. We can't also add source 87, since this would make the set inconsistent, and we wouldn't know whether source 89 has to make source 89 or source 89 true. Moreover, it might happen that source 90 contains only sentences in a language that has no constant symbols at all (e.g., the language of set theory).
The solution to this problem is to simply add infinitely many constants at the beginning, plus sentences that connect them with the quantifiers in the right way. (Of course, we have to verify that this cannot introduce an inconsistency.)
Our original construction works well if we only have constants in the atomic sentences. But the language might also contain functions. In that case, it might be tricky to find the right functions on source 102 to assign to these functions to make everything work. So here's another trick: instead of using source 103 to interpret source 104, just take the set of constants itself as the domain. Then source 105 can assign every constant to itself: source 106. But why not go all the way: let source 107 be all <em>terms</em> of the language! If we do this, there is an obvious assignment of functions (that take terms as arguments and have terms as values) to functions: we assign to the function source 110 the function which, given source 110 terms source 110, and so on, source 111 as input, produces the term source 111 as value.
The last piece of the puzzle is what to do with source 114. The predicate source 115 has a fixed interpretation: source 115 iff source 116. Now if we set things up so that the value of a term source 117 is source 117 itself, then this structure will make <em>no</em> sentence of the form source 118 true unless source 119 and source 119 are one and the same term. And of course this is a problem, since basically every interesting theory in a language with functions will have as theorems sentences source 122 where source 122 and source 122 are not the same term (e.g., in theories of arithmetic: source 123). To solve this problem, we change the domain of source 124: instead of using terms as the objects in source 125, we use sets of terms, and each set is so that it contains all those terms which the sentences in source 126 require to be equal. So, e.g., if source 127 is a theory of arithmetic, one of these sets will contain: source 128, source 128, source 128, etc. This will be the set we assign to source 129, and it will turn out that this set is also the value of all the terms in it, e.g., also of source 131. Therefore, the sentence source 132 will be true in this revised structure.
So here's what we'll do. First we investigate the properties of complete consistent sets, in particular we prove that a complete consistent set contains source 137 iff it contains both source 138 and source 138, source 138 iff it contains at least one of them, etc. (Reference to the proposition characterizing complete consistent sets). Then we define and investigate “saturated” sets of sentences. A saturated set is one which contains conditionals that link each quantified sentence to instances of it (Reference to the definition of the Henkin witness sentences). We show that any consistent set source 143 can always be extended to a saturated set source 144 (Reference to the Henkin saturation extension lemma). If a set is consistent, saturated, and complete it also has the property that it contains source 146 iff it contains source 146 for some closed term source 147 and source 148 iff it contains source 148 for all closed terms source 149 (Reference to the proposition characterizing quantifiers in a saturated set). We'll then take the saturated consistent set source 151 and show that it can be extended to a saturated, consistent, and complete set source 153 (Reference to Lindenbaum's extension lemma). This set source 154 is what we'll use to define our term model source 155. The term model has the set of closed terms as its domain, and the interpretation of its predicates is given by the atomic sentences in source 159 (Reference to the definition of the term model). We'll use the properties of saturated, complete consistent sets to show that indeed source 162 iff source 162 (Reference to the term-model Truth Lemma without identity), and thus in particular, source 164. Finally, we'll consider how to define a term model if source 166 contains source 166 as well (Reference to the definition of the factored term model) and show that it satisfies source 168 (Reference to the quotient-model Truth Lemma with identity).
Complete Consistent Sets of sentence
Definition of a complete set of sentences
Complete set
A set source 20 of sentences is <em>complete</em> iff for any sentence source 21, either source 21 or source 22.
In what follows, we will often tacitly use the properties of reflexivity, monotonicity, and transitivity of source 55 (see
Reference to the Proof Theoretic Notions section for sequent calculus Reference to the Proof Theoretic Notions section for natural deduction Reference to the Proof Theoretic Notions section for axiomatic deduction Reference to the Proof Theoretic Notions section for tableaux).
Proposition characterizing complete consistent sets
Suppose source 62 is complete and consistent. Then:
Proof
Let us suppose for all of the following that source 79 is complete and consistent.
Suppose that source 84. Suppose to the contrary that source 84. Since source 85 is complete, source 85. By
Reference to the explicit inconsistency proposition for sequent calculus Reference to the explicit inconsistency proposition for natural deduction Reference to the explicit inconsistency proposition for axiomatic deduction Reference to the explicit inconsistency proposition for tableaux, source 96 is inconsistent. This contradicts the assumption that source 97 is consistent. Hence, it cannot be the case that source 97, so source 98.
Exercise.
First we show that if source 135, then either source 135 or source 136. Suppose source 136 but source 136 and source 137. Since source 137 is complete, source 138 and source 138. By
Reference to the proposition giving disjunction derivability facts for sequent calculus Reference to the proposition giving disjunction derivability facts for natural deduction Reference to the proposition giving disjunction derivability facts for axiomatic deduction Reference to the proposition giving disjunction derivability facts for tableaux, item (1), source 148 is inconsistent, a contradiction. Hence, either source 148 or source 149.
For the reverse direction, suppose that source 151 or source 151. By
Reference to the proposition giving disjunction derivability facts for sequent calculus Reference to the proposition giving disjunction derivability facts for natural deduction Reference to the proposition giving disjunction derivability facts for axiomatic deduction Reference to the proposition giving disjunction derivability facts for tableaux, item (2), source 162. By Reference to the derivability implies membership clause for complete consistent sets, source 162, as required.
Exercise.
End of proof.
Exercise: complete the complete consistent set proof
Complete the proof of Reference to the proposition characterizing complete consistent sets.
Henkin Expansion
Proposition preserving consistency under language expansion
If source 34 is consistent in source 34 and source 34 is obtained from source 35 by adding a denumerable set of new constants source 35, source 36, and so on, then source 36 is consistent in source 36.
Definition of a saturated set
Saturated set
A set source 40 of formulas of a language source 40 is <em>saturated</em> iff for each formula source 41 with one free variable source 42 there is a constant source 42 such that source 45.
The following definition will be used in the proof of the next theorem.
Definition of the Henkin witness sentences
Let source 53 be as in Reference to the proposition preserving consistency under language expansion. Fix an enumeration source 54, source 54, and so on of all formulas source 54 of source 55 in which one variable (source 55) occurs free. We define the sentences source 56 by induction on source 56.
Let source 58 be the first constant among the source 58 we added to source 59 which does not occur in source 59. Assuming that source 60, and so on, source 60 have already been defined, let source 60 be the first among the new constants source 61 that occurs neither in source 62, and so on, source 62 nor in source 62.
Henkin saturation extension lemma
Every consistent set source 72 can be extended to a saturated consistent set source 73.
Proof
Given a consistent set of sentences source 77 in a language source 77, expand the language by adding a denumerable set of new constants to form source 79. By Reference to the proposition preserving consistency under language expansion, source 79 is still consistent in the richer language. Further, let source 80 be as in Reference to the definition of the Henkin witness sentences. Let The two-row display starts with Gamma sub zero equal to Gamma and forms each successor by adjoining the current Henkin witness sentence.Display defining the Henkin extension sequence
If source 89 were inconsistent, then for some source 89, source 89 would be inconsistent (Exercise: explain why). So to show that source 90 is consistent it suffices to show, by induction on source 91, that each set source 92 is consistent.
The induction basis is simply the claim that source 94 is consistent, which is the hypothesis of the theorem. For the induction step, suppose that source 96 is consistent but source 96 is inconsistent. Recall that source 97 is source 99, where source 101 is a formula of source 101 with only the variable source 102 free. By the way we've chosen the source 102 (see Reference to the definition of the Henkin witness sentences), source 103 does not occur in source 103 nor in source 104.
If source 106 is inconsistent, then source 106, and hence both of the following hold:
Since source 119 does not occur in source 120 or in source 120, Reference to the Strong Generalization Theorem for axiomatic deduction Reference to the Strong Generalization Theorem for sequent calculus Reference to the Strong Generalization Theorem for natural deduction Reference to the Strong Generalization Theorem for tableaux applies. From source 123, we obtain source 127. Thus we have that both source 131 and source 132, so source 135 itself is inconsistent. (Note that source 139.) Contradiction: source 145 was supposed to be consistent. Hence source 146 is consistent.End of proof.
Proposition characterizing quantifiers in a saturated set
Suppose source 161 is complete, consistent, and saturated.
source 163 iff source 163 for at least one closed term source 164. source 165 iff source 165 for all closed terms source 166.
Proof
First suppose that source 173. Because source 174 is saturated, source 175 for some constant source 176. By Reference to the proposition giving implication derivability facts for axiomatic deduction Reference to the proposition giving implication derivability facts for sequent calculus Reference to the proposition giving implication derivability facts for natural deduction Reference to the proposition giving implication derivability facts for tableaux, item (1), and Reference to the proposition characterizing complete consistent setsReference to the derivability implies membership clause for complete consistent sets, source 178.
For the other direction, saturation is not necessary: Suppose source 182. Then source 182 by Reference to the proposition giving quantifier derivability facts for axiomatic deduction Reference to the proposition giving quantifier derivability facts for sequent calculus Reference to the proposition giving quantifier derivability facts for natural deduction Reference to the proposition giving quantifier derivability facts for tableaux, item (1). By Reference to the proposition characterizing complete consistent setsReference to the derivability implies membership clause for complete consistent sets, source 185.
Exercise.
End of proof.
Lindenbaum's Lemma
Lindenbaum extension lemma
Lindenbaum's Lemma
Every consistent set source 29 in a language source 29 can be extended to a complete and consistent set source 30.
Proof
Let source 34 be consistent. Let source 34, source 34, and so on be an enumeration of all the sentences of source 35. Define source 36, and
Let source 45.Each source 47 is consistent: source 47 is consistent by definition. If source 48, this is because the latter is consistent. If it isn't, source 49. We have to verify that source 50 is consistent. Suppose it's not. Then <em>both</em> source 51 and source 52 are inconsistent. This means that source 53 would be inconsistent by
Reference to the proposition about two inconsistent opposite extensions for axiomatic deduction Reference to the proposition about two inconsistent opposite extensions for sequent calculus Reference to the proposition about two inconsistent opposite extensions for natural deduction Reference to the proposition about two inconsistent opposite extensions for tableaux, contrary to the induction hypothesis.
For every source 65 and every source 65, source 65. This follows by a simple induction on source 66. For source 66, there are no source 66, so the claim holds automatically. For the inductive step, suppose it is true for source 68. We show that if source 68 then source 68. We have source 69 or source 69 by construction. So source 70. If source 71, then source 71 by inductive hypothesis (if source 72) or the trivial fact that source 72 (if source 73). We get that source 73 by transitivity of source 74.
From this it follows that source 76 is consistent. Here's why: Let source 77 be finite. Each source 77 is also in source 78 for some source 78. Let source 78 be the largest of these. Since source 79 if source 79, every source 79 is also source 80, i.e., source 80, and source 81 is consistent. So, every finite subset source 81 is consistent. By Reference to the proof theoretic compactness proposition for axiomatic deduction Reference to the proof theoretic compactness proposition for sequent calculus Reference to the proof theoretic compactness proposition for natural deduction Reference to the proof theoretic compactness proposition for tableaux, source 90 is consistent.
Every sentence of source 93 appears on the list used to define source 94. If source 94, then that is because source 95 was inconsistent. But then source 95, so source 96 is complete.
End of proof.
Construction of a Model
Definition of the term model
Term model
Let source 39 be a complete and consistent, saturated set of sentences in a language source 40. The <em>term model</em> source 41 of source 41 is the structure defined as follows:
The domain source 44 is the set of all closed terms of source 45.
The interpretation of a constant source 46 is source 46 itself: source 47.
The function source 48 is assigned the function which, given as arguments the closed terms source 49, and so on, source 49, has as value the closed term source 50:
Reader correction SAR-002: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged. We will now check that we indeed have source 76.
Lemma evaluating closed terms in the term model
Let source 79 be the term model of Reference to the definition of the term model, then source 80.
Proof
The proof is by induction on source 83, where the base case, when source 83 is a constant, follows directly from the definition of the term model. For the induction step assume source 85 are closed terms such that source 86 and that source 86 is an source 86-ary function. Then The three-row display evaluates a compound term by applying the interpreted function to the values of its arguments, replaces those values by the terms themselves, and obtains the original compound term.Display for the term-value induction step
End of proof.
{FOL}{
Proposition characterizing quantifiers in the term model
Let source 118Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged. be the term model of Reference to the definition of the term model.
source 120Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged. iff source 121Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged. for at least one closed term source 121Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged.. source 122Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged. iff source 123Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged. for all closed terms source 123Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged..
Proof
By Reference to the semantic proposition for quantified formulas, source 131Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged. iff for at least one variable assignment source 132Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged., source 132Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged.. As source 133Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged. consists of the closed terms of source 133Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged., this is the case iff there is at least one closed term source 134Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged. such that source 135Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged. and source 135Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged.. By Reference to the substitution and assignment extensionality proposition, source 137Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged. iff source 137Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged., where source 138Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged.. By Reference to the proposition equating sentence truth and assignment satisfaction, source 139Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged. iff source 139Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged., since source 140Reader correction: Editorial projection note: the source omits an empty non-first-order alternative at this conditional boundary. This edition restores the boundary, so first-order-only material appears only in the first-order chapter; the canonical source is unchanged. is a sentence.
Exercise.
End of proof.
}
Exercise: complete the term model quantifier proof
Complete the proof of Reference to the proposition characterizing quantifiers in the term model.
Truth Lemma for the term model without identity
Truth Lemma
Suppose source 164 does not contain source 164. Then source 165 iff source 165.
Proof
We prove both directions simultaneously, and by induction on source 169.
Case: source 172 by definition of satisfaction. On the other hand, source 173 since source 174 is consistent.
Case: source 183 iff source 183 (by the definition of satisfaction) iff source 185 (by the construction of source 186).
Case: source 194 iff source 195 (by definition of satisfaction). By induction hypothesis, source 197 iff source 198. Since source 198 is consistent and complete, source 199 iff source 200.
Case: source 219 iff source 220 or source 221 (by definition of satisfaction) iff source 222 or source 222 (by induction hypothesis). This is the case iff source 223 (by Reference to the proposition characterizing complete consistent setsReference to the disjunction clause for complete consistent sets).
Case: source 252 iff source 253 for at least one term source 253 (Reference to the proposition characterizing quantifiers in the term model). By induction hypothesis, this is the case iff source 255 for at least one term source 255. By Reference to the proposition characterizing quantifiers in a saturated set, this in turn is the case iff source 257.
End of proof.
Exercise: complete the Truth Lemma proof
Complete the proof of Reference to the term-model Truth Lemma without identity.
Identity
Definition of the term-model congruence relation
Let source 27 be a consistent and complete set of sentences in source 28. We define the relation source 28 on the set of closed terms of source 29 by
Proposition establishing the congruence properties of approx
The relation source 37 has the following properties:
source 39 is reflexive.
source 40 is symmetric.
source 41 is transitive.
If source 42, source 42 is a function, and source 42, and so on, source 43, source 43, and so on, source 43 are closed terms, then
If source 48, source 48 is a predicate, and source 48, and so on, source 49, source 49, and so on, source 49 are closed terms, then
Display of predicate congruence under approx
The two-line display says that a predicate atom with t in one argument position belongs to Gamma star exactly when the corresponding atom with the related term t prime belongs.
Proof
Since source 58 is consistent and complete, source 58 iff source 59. Thus it is enough to show the following:
If source 66, then
source 67Reader correction: The frozen source has two consecutive commas in the first function-term argument list. The reader removes the extra comma; the source formula and source MathML remain available for comparison.for every source 71-place function source 71 and closed terms source 71, and so on, source 72, source 72, and so on, source 72.If source 73 and source 74, then source 76 for every source 77-place predicate source 77 and closed terms source 77, and so on, source 78, source 78, and so on, source 78.
End of proof.
Exercise: complete the congruence proof
Complete the proof of Reference to the congruence proposition for the relation approx.
Definition of equivalence classes and the quotient term set
Suppose source 87 is a consistent and complete set in a language source 88, source 88 is a closed term, and source 88 as in the previous definition. Then:
and source 93.Definition of the factored term model
Let source 98 be the term model for source 99 from Reference to the definition of the term model. Then source 99 is the following structure:
source 106 iff source 108, i.e., iff source 108.
Proposition that the quotient structure is well defined
source 136 is well defined, i.e., if source 136, and so on, source 137, source 137, and so on, source 137 are closed terms, and source 138 then
source 140, i.e.,
andsource 146 iff source 147, i.e.,
Proof
Follows from Reference to the congruence proposition for the relation approx by induction on source 156.
End of proof.
As in the case of the term model, before proving the truth lemma we need the following lemma.
Lemma evaluating terms in the quotient model
Let source 163, then source 164.
Proof
The proof is similar to that of Reference to the term-model value lemma.
End of proof.
Exercise: complete the quotient term-value proof
Complete the proof of Reference to the quotient-model term-value lemma.
Truth Lemma for the quotient model with identity
source 177 iff source 177 for all sentences source 178.
Proof
By induction on source 182, just as in the proof of Reference to the term-model Truth Lemma without identity. The only case that needs additional attention is when source 183. The display follows three equivalent conditions: the quotient model satisfies t equals t prime, their equivalence classes are equal, t is related to t prime by approx, and the equality sentence belongs to Gamma star.Display of the identity case of the quotient Truth Lemma
End of proof.
The Completeness Theorem
First formulation of the Completeness Theorem
Completeness Theorem
Let source 21 be a set of sentences. If source 21 is consistent, it is satisfiable.
Proof
Suppose source 26 is consistent. By Reference to the Henkin saturation extension lemma, there is a saturated consistent set source 28. By Reference to Lindenbaum's extension lemma, there is a source 29 which is consistent and complete.
Since source 32, for each formula source 33, source 33 contains a sentence of the form source 35 and so source 37 is saturated. If source 37 does not contain source 38, then by Reference to the term-model Truth Lemma without identity, source 40 iff source 40. From this it follows in particular that for all source 41, source 42, so source 43 is satisfiable. If source 44 does contain source 44, then by Reference to the quotient-model Truth Lemma with identity, for all sentences source 45, source 46 iff source 46. In particular, source 47 for all source 47, so source 48 is satisfiable.
End of proof.
Semantic-to-syntactic formulation of completeness
Completeness Theorem, Second Version
For all source 53 and sentences source 53: if source 53 then source 54.
Proof
Note that the source 58's in Reference to the semantic-to-syntactic completeness corollary and Reference to the Completeness Theorem are universally quantified. To make sure we do not confuse ourselves, let us restate Reference to the Completeness Theorem using a different variable: for any set of sentences source 61, if source 62 is consistent, it is satisfiable. By contraposition, if source 63 is not satisfiable, then source 63 is inconsistent. We will use this to prove the corollary.
Suppose that source 66. Then source 66 is unsatisfiable by Reference to the proposition relating entailment to unsatisfiability. Taking source 67 as our source 68, the previous version of Reference to the Completeness Theorem gives us that source 69 is inconsistent. By
Reference to the proposition relating derivability to inconsistency for axiomatic deduction Reference to the proposition relating derivability to inconsistency for sequent calculus Reference to the proposition relating derivability to inconsistency for natural deduction Reference to the proposition relating derivability to inconsistency for tableaux, source 80.
End of proof.
Exercise: derive the first completeness formulation
Use Reference to the semantic-to-syntactic completeness corollary to prove Reference to the Completeness Theorem, thus showing that the two formulations of the completeness theorem are equivalent.
Exercise: audit the rules used by completeness
In order for a derivation system to be complete, its rules must be strong enough to prove every unsatisfiable set inconsistent. Which of the rules of derivation were necessary to prove completeness? Are any of these rules not used anywhere in the proof? In order to answer these questions, make a list or diagram that shows which of the rules of derivation were used in which results that lead up to the proof of Reference to the Completeness Theorem. Be sure to note any tacit uses of rules in these proofs.
The Compactness Theorem
One important consequence of the completeness theorem is the compactness theorem. The compactness theorem states that if each <em>finite</em> subset of a set of sentences is satisfiable, the entire set is satisfiable—even if the set itself is infinite. This is far from obvious. There is nothing that seems to rule out, at first glance at least, the possibility of there being infinite sets of sentences which are contradictory, but the contradiction only arises, so to speak, from the infinite number. The compactness theorem says that such a scenario can be ruled out: there are no unsatisfiable infinite sets of sentences each finite subset of which is satisfiable. Like the completeness theorem, it has a version related to entailment: if an infinite set of sentences entails something, already a finite subset does.
Definition of finite satisfiability
A set source 30 of formulas is <em>finitely satisfiable</em> iff every finite source 30 is satisfiable.
Compactness Theorem in two forms
Compactness Theorem
Reader correction TR024-SOURCE-PROSE-001: The frozen source calls both Gamma and A sentences, although the theorem uses Gamma as a set of sentences. The reader supplies the missing type distinction; the source line is unchanged. The following hold for any sentences source 35Reader correction: The frozen source calls both Gamma and A sentences, although the theorem uses Gamma as a set of sentences. The reader supplies the missing type distinction; the source line is unchanged. and source 35Reader correction: The frozen source calls both Gamma and A sentences, although the theorem uses Gamma as a set of sentences. The reader supplies the missing type distinction; the source line is unchanged.:
Proof
We prove (2). If source 45 is satisfiable, then there is a structure source 46 such that source 47 for all source 47. Of course, this source 48 also satisfies every finite subset of source 49, so source 49 is finitely satisfiable.
Now suppose that source 52 is finitely satisfiable. Then every finite subset source 53 is satisfiable. By soundness ( Reference to the soundness corollary that satisfiability implies consistency for axiomatic deduction Reference to the soundness corollary that satisfiability implies consistency for sequent calculus Reference to the soundness corollary that satisfiability implies consistency for natural deduction Reference to the soundness corollary that satisfiability implies consistency for tableaux), every finite subset is consistent. Then source 63 itself must be consistent by
Reference to the proof theoretic compactness proposition for axiomatic deduction Reference to the proof theoretic compactness proposition for sequent calculus Reference to the proof theoretic compactness proposition for natural deduction Reference to the proof theoretic compactness proposition for tableaux. By completeness (Reference to the Completeness Theorem), since source 74 is consistent, it is satisfiable.
End of proof.
Exercise: prove the finite entailment form of compactness
Prove (1) of Reference to the Compactness Theorem in two forms.
Compactness example producing a non-covered model
In every model source 92 of a theory source 92, each term source 92 of course picks out a element of source 93. Can we guarantee that it is also true that every element of source 94 is picked out by some term or other? In other words, are there theories source 95 all models of which are covered? The compactness theorem shows that this is not the case if source 97 has infinite models. Here's how to see this: Let source 98 be an infinite model of source 98, and let source 98 be a constant not in the language of source 99. Let source 99 be the set of all sentences source 100 for source 100 a term in the language source 101 of source 101, i.e.,
A finite subset of source 105 can be written as source 105, with source 106 and source 106. Since source 107 is finite, it can contain only finitely many terms. Let source 108 be a element of source 108 not picked out by any of them, and let source 109 be the structure that is just like source 110, but also source 110. Since source 111 for all source 111 occurring in source 111, source 112. Since source 112, source 112, and source 113 does not occur in source 113, also source 114. Together, source 114 for every finite subset source 115 of source 115. So every finite subset of source 116 is satisfiable. By compactness, source 117 itself is satisfiable. So there are models source 118. Every such source 118 is a model of source 119, but is not covered, since source 119 for all terms source 120 of source 120.Compactness example producing an infinitesimal
Consider a language source 124 containing the predicate source 124, constants source 125, source 125, and functions source 125, source 125, and source 126. Let source 126 be the set of all sentences in this language true in the structure source 127 with domain source 127 and the obvious interpretations. source 128 is the set of all sentences of source 129 true about the rational numbers. Of course, in source 129 (and even in source 130), there are no numbers source 130 which are greater than source 130 but less than source 131 for all source 131. Such a number, if it existed, would be an <em>infinitesimal:</em> non-zero, but infinitely small. The compactness theorem can be used to show that there are models of source 134 in which infinitesimals exist. We do not have a function for division in our language (division by zero is undefined, and functions have to be interpreted by total functions). However, we can still express that source 137, since this is the case iff source 138. Now let source 138 be a new constant and let source 138 be
(where source 143 with source 144 source 144's). For any finite subset source 145Reader correction: The frozen sentence combines 'for all' with 'have' and has no grammatical subject for the bound. The reader states that every displayed inequality in the finite subset has index k below K; the source is unchanged. of source 145Reader correction: The frozen sentence combines 'for all' with 'have' and has no grammatical subject for the bound. The reader states that every displayed inequality in the finite subset has index k below K; the source is unchanged. there is a source 145Reader correction: The frozen sentence combines 'for all' with 'have' and has no grammatical subject for the bound. The reader states that every displayed inequality in the finite subset has index k below K; the source is unchanged. Reader correction TR024-SOURCE-PROSE-002: The frozen sentence combines 'for all' with 'have' and has no grammatical subject for the bound. The reader states that every displayed inequality in the finite subset has index k below K; the source is unchanged. such that for all the sentences source 146Reader correction: The frozen sentence combines 'for all' with 'have' and has no grammatical subject for the bound. The reader states that every displayed inequality in the finite subset has index k below K; the source is unchanged. in source 146Reader correction: The frozen sentence combines 'for all' with 'have' and has no grammatical subject for the bound. The reader states that every displayed inequality in the finite subset has index k below K; the source is unchanged. have source 146Reader correction: The frozen sentence combines 'for all' with 'have' and has no grammatical subject for the bound. The reader states that every displayed inequality in the finite subset has index k below K; the source is unchanged.. If we expand source 147 to source 147 with source 147 we have that source 148 for any finite source 149, and so source 149 is finitely satisfiable (Exercise: prove this in detail). By compactness, source 150 is satisfiable. Any model source 151 of source 151 contains an infinitesimal, namely source 152.Exercise: obtain a nonstandard arithmetic element
In the standard model of arithmetic source 158, there is no element source 159 which satisfies every formula source 159 (where source 160 is source 160 with source 160 source 161's). Use the compactness theorem to show that the set of sentences in the language of arithmetic which are true in the standard model of arithmetic source 163 are also true in a structure source 164 that contains a element which <em>does</em> satisfy every formula source 165.
Compactness example separating infinitude from finitude
We know that first-order logic with identity can express that the size of the domain must have some minimal size: The sentence source 173 (which says “there are at least source 173 distinct objects”) is true only in structures where source 174 has at least source 175 objects. So if we take
then any model of source 179 must be infinite. Thus, we can guarantee that a theory only has infinite models by adding source 180 to it: the models of source 181 are all and only the infinite models of source 182.So first-order logic can express infinitude. The compactness theorem shows that it cannot express finitude, however. For suppose some set of sentences source 186 were satisfied in all and only finite structures. Then source 187 is finitely satisfiable. Why? Suppose source 188 is finite with source 189 and source 189. Let source 190 be the largest number such that source 190. source 191, being satisfied in all finite structures, has a model source 192 with finitely many but source 192 elements. But then source 193. By compactness, source 193 has an infinite model, contradicting the assumption that source 195 is satisfied only in finite structures.
A Direct Proof of the Compactness Theorem
We can prove the Compactness Theorem directly, without appealing to the Completeness Theorem, using the same ideas as in the proof of the completeness theorem. In the proof of the Completeness Theorem we started with a consistent set source 18 of sentences, expanded it to a consistent, saturated, and complete set source 20 of sentences, and then showed that in the term model source 22 constructed from source 23, all sentences of source 23 are true, so source 24 is satisfiable.
We can use the same method to show that a finitely satisfiable set of sentences is satisfiable. We just have to prove the corresponding versions of the results leading to the truth lemma where we replace “consistent” with “finitely satisfiable.”
Proposition characterizing complete finitely satisfiable sets
Suppose source 33 is complete and finitely satisfiable. Then:
source 35 iff both source 36 and source 36.
source 38 iff either source 39 or source 39.
Exercise: prove the finite-satisfiability clauses directly
Prove Reference to the proposition characterizing complete finitely satisfiable sets. Avoid the use of source 48.
Finite-satisfiability Henkin extension lemma
Every finitely satisfiable set source 60 can be extended to a saturated finitely satisfiable set source 61.
Exercise: prove the finite-satisfiability Henkin lemma
Prove Reference to the finite-satisfiability Henkin extension lemma. (Hint: The crucial step is to show that if source 68 is finitely satisfiable, so is source 68, without any appeal to derivations or consistency.)
Proposition characterizing quantified instances under finite satisfiability
Suppose source 75 is complete, finitely satisfiable, and saturated.
source 77 iff source 77 for at least one closed term source 78. source 79 iff source 79 for all closed terms source 80.
Exercise: prove the finite-satisfiability quantifier clauses
Prove Reference to the finite-satisfiability proposition for quantified instances.
Finite-satisfiability Lindenbaum extension lemma
Every finitely satisfiable set source 92 can be extended to a complete and finitely satisfiable set source 94.
Exercise: prove the finite-satisfiability Lindenbaum lemma
Prove Reference to the finite-satisfiability Lindenbaum extension lemma. (Hint: the crucial step is to show that if source 100 is finitely satisfiable, then either source 101 or source 101 is finitely satisfiable.)
Direct Compactness Theorem
Compactness
source 116 is satisfiable if and only if it is finitely satisfiable.
Proof
If source 121 is satisfiable, then there is a structure source 122 such that source 123 for all source 123. Of course, this source 124 also satisfies every finite subset of source 125, so source 125 is finitely satisfiable.
Now suppose that source 128 is finitely satisfiable. By Reference to the finite-satisfiability Henkin extension lemma, there is a finitely satisfiable, saturated set source 130. By Reference to the finite-satisfiability Lindenbaum extension lemma, source 131 can be extended to a complete and finitely satisfiable set source 132, and source 132 is still saturated. Construct the term model source 134 as in Reference to the definition of the term model. Note that Reference to the proposition characterizing quantifiers in the term model did not rely on the fact that source 137 is consistent (or complete or saturated, for that matter), but just on the fact that source 138 is covered. The proof of the Truth Lemma (Reference to the term-model Truth Lemma without identity) goes through if Reader correction TR024-SOURCE-SELECTION-001: The frozen conditional assigns this sentence's period to its unused non-first-order branch. The reader restores the terminal period after the FOL replacement list; the source is unchanged. we replace references to Reference to the proposition characterizing complete consistent sets and Reference to the proposition characterizing quantifiers in a saturated set by references to Reference to the proposition characterizing complete finitely satisfiable sets and Reference to the finite-satisfiability proposition for quantified instances
End of proof.
Exercise: write the direct-proof Truth Lemma
Write out the complete proof of the Truth Lemma (Reference to the term-model Truth Lemma without identity) in the version required for the proof of Reference to the direct Compactness Theorem.
The Löwenheim–Skolem Theorem
The Löwenheim–Skolem Theorem says that if a theory has an infinite model, then it also has a model that is at most denumerable. An immediate consequence of this fact is that first-order logic cannot express that the size of a structure is nonenumerable: any sentence or set of sentences satisfied in all nonenumerable structures is also satisfied in some enumerable structure.
Downward Lowenheim Skolem Theorem
If source 21 is consistent then it has a enumerable model, i.e., it is satisfiable in a structure whose domain is either finite or denumerable.
Proof
If source 27 is consistent, the structure source 27 delivered by the proof of the completeness theorem has a domain source 28 that is no larger than the set of the terms of the language source 29. So source 30 is at most denumerable.
End of proof.
Downward Lowenheim Skolem Theorem without identity
If source 34 is a consistent set of sentences in the language of first-order logic without identity, then it has a denumerable model, i.e., it is satisfiable in a structure whose domain is infinite and enumerable.
Proof
If source 41 is consistent and contains no sentences in which identity appears, then the structure source 42 delivered by the proof of the completeness theorem has a domain source 43 identical to the set of terms of the language source 44. So source 44 is denumerable, since source 45 is.
End of proof.
Example: Skolem's Paradox
Skolem's Paradox
Zermelo–Fraenkel set theory source 49 is a very powerful framework in which practically all mathematical statements can be expressed, including facts about the sizes of sets. So for instance, source 51 can prove that the set source 52 of real numbers is nonenumerable, it can prove Cantor's Theorem that the power set of any set is larger than the set itself, etc. If source 54 is consistent, its models are all infinite, and moreover, they all contain elements about which the theory says that they are nonenumerable, such as the element that makes true the theorem of source 57 that the power set of the natural numbers exists. By the Löwenheim–Skolem Theorem, source 59 also has enumerable models—models that contain “nonenumerable” sets but which themselves are enumerable.