6. Correctness and completeness
6.1. Correctness
-
$⊢ α$ because $α$ is an axiom.
We have to check that each axiom of Definition 7 is indeed valid. This has been done in Exercice 3.
-
$⊢ α$ is obtained as the conclusion of an inference rule.
In this case, there exists a formula $β$ such that the derivation of $α$ ends up as follows:By induction hypothesis, $⊨ β$ and $⊨ β → α$, that is, for every model $\sc M$, $⟦β⟧^{\sc M} = 1$ and $⟦β → α⟧^{\sc M} = 1$. We then establish the validity of $α$ as follows:
⋮ ⋮ $β$ $β → α$ $α$ $⟦α⟧^{\sc M}$ $=$ $0+⟦α⟧^{\sc M}$ $=$ $1↖{-}+⟦α⟧^{\sc M}$ $=$ $\ov{⟦β⟧}^{\sc M}+⟦α⟧^{\sc M}$ (by induction hypothesis) $=$ $⟦β→α⟧^{\sc M}$ (by Definition 4) $=$ $1$ (by induction hypothesis)
6.2. Theories
In establishing the equivalence between validity and provability, Proposition 7 is the easy part. Proving the converse, i.e., establishing the completeness theorem, is much more involved and will occupy the remainder of the present chapter.
A few definitions are in order.
A theory is therefore just another name for a set of formulas. Consequently, if $Σ$ is such a set of formulas, Definition 10 also defines the notion of provability under a theory $Σ$. This allows the notions of a consistent theory and of complete theory to be defined.
In definition 13, nothing prevents a theory to be an infinite set of formulas. Definitions 14 and 15 still make sense in such a case because it is not stipulated in Definition 10 that the set of formulas $Γ$ must be finite. Nevertheless, since derivations are finite objects, in case $Σ ⊢ α$, there exists a finite subset $Γ ⊂ Σ$ such that $Γ ⊢ α$. Taking this remark into account, the notion of a consistent theory, for instance, may be rephrased as follows. A theory $Σ$ is said to be consistent if and only if there is no finite subset $Γ ⊂ Σ$ and no formula $α$ such that $Γ ⊢ α$ and $Γ ⊢ ¬α$.
Given two theories $Σ_0$ and $Σ_1$, one says that $Σ_1$ extends $Σ_0$ in case everything which is provable under $Σ_0$ is also provable under $Σ_1$. This is stated by the next definition.
Finally, one defines a model of a theory to be a model that satisfies all the formulas that are provable under the theory.
Alternatively, one could have defined a model of a theory to be a model that satisfies all the formulas that belong to the theory. Then, one would have to establish that this alternative definition is equivalent to Definition 17. This can be done by using a proof similar to the one of Proposition 7.
6.3. Lindenbaum's lemma
In this section, we state and prove an important proposition known as Lindenbaum's lemma. It says that every consistent theory can be extended to a complete consistent theory. We start by establishing a technical lemma.
which contradicts the hypothesis.
We are now in a position of stating and proving Lindenbaum's lemma.
We construct a theory $Σ_ω$ that extends $Σ$ and we show that it is consistent and complete.
Let $α_0, α_1, α_2, ...$ be an enumeration of all the formulas, and define the following sequence of theories:
Then define $Σ_ω$ as follows:
Clearly, $Σ_ω$ is an extension of $Σ$, and it remains to prove that it is both consistent and complete.
In order to show that $Σ_ω$ is consistent, we first establish the consistency of each theory $Σ_i$, by induction on the natural numbers. For the base case, we have that $Σ_0$ is $Σ$, which is consistent by hypothesis. For the inductive step, assume that $Σ_i$ is consistent. Then, if $Σ_i ⊢ ¬ α_i$, we have that $Σ_{i+1}$ is $Σ_i$, which is consistent by induction hypothesis. Otherwise, $Σ_{i+1}$ is $Σ_i ∪ \{α_i\}$, which is consistent by Lemma 8.
Now assume, by way of contradiction, that $Σ_ω$ is not consistent. This means that there exists a formula $α$ such that $Σ_ω ⊢ α$ and $Σ_ω ⊢ ¬ α$. Since derivations are finite, it implies that there exists a finite set of formulas, $Γ⊂Σ_ω$, such that $Γ ⊢ α$ and $Γ ⊢ ¬ α$. But then, there must exist $k ∈ ℕ$ such that $Γ⊂Σ_k$. Hence, there would exist $k ∈ ℕ$ such that $Σ_k ⊢ α$ and $Σ_k ⊢ ¬ α$. But this contradicts the fact that each theory $Σ_i$ is consistent.
In order to show that $Σ_ω$ is complete, take an arbitrary formula $α$. This formula must appear, at some point, in the enumeration. In other words, there exists $k ∈ ℕ$ such that $α = α_k$. Now, if $Σ_k ⊢ ¬ α_k$, we have that $Σ_ω ⊢ ¬ α$ because $Σ_k ⊂ Σ_ω$ and $α_k = α$. In the other case, we have that $Σ_{k+1} = Σ_k ∪ \{α_k\}$. Hence, $Σ_{k+1} ⊢ α_k$, which implies that $Σ_ω ⊢ α$. Therefore, for any arbitrary formula $α$, either $Σ_ω ⊢ α$ or $Σ_ω ⊢ ¬ α$.
6.4. Completeness
A key ingredient in the proof of the completeness theorem is the property that every consistent theory admits a model. In order to prove it, we first give a way of building models from theories.
The above construction is particularly interesting when $Σ$ is a complete consistent theory. In this case, the model $\sc M$ associated to $Σ$ is such that for every $a ∈ {\sc A}$, $\sc M(a) = 0$ if and only if $Σ ⊢ ¬ a$. Indeed, if $Σ ⊢ ¬ a$, it cannot be the case that $Σ ⊢ a$, because $Σ$ is consistent. Therefore, by definition of $\sc M$, $\sc M(a) ≠ 1$, which implies that $\sc M(a) = 0$. Conversely, if $\sc M(a) = 0$, by definition of $\sc M$, it is not the case that $Σ ⊢ a$. Consequently, we must have that $Σ ⊢ ¬ a$, because $Σ$ is complete.
The next lemma sheds light on the link between a complete consistent theory and its associated model.
- if $⟦α⟧^{\sc M} = 1$ then $Σ ⊢ α$
- if $⟦α⟧^{\sc M} = 0$ then $Σ, α ⊢ ⊥$
-
$α = a$, for some $a ∈ \sc A$.
-
If $⟦a⟧^{\sc M} = 1$, then we have that $Σ ⊢ a$, by definition of ${\sc M}$.
-
If $⟦a⟧^{\sc M} = 0$, then we have that $Σ ⊢ ¬a$, because $Σ$ is complete.
we may then conclude using (weakening), (identity), and ($¬$-elim):
$Σ ⊢ ¬ a$ $Σ, a ⊢ ¬ a$ $Σ, a ⊢ a$ $Σ, a ⊢ ⊥$
-
If $⟦a⟧^{\sc M} = 1$, then we have that $Σ ⊢ a$, by definition of ${\sc M}$.
-
$α = \text'⊥'$.
-
This case holds vacuously.
-
We have that $Σ, ⊥ ⊢ ⊥$, by ($⊥$-left).
-
This case holds vacuously.
-
$α = \text'⊤'$.
-
We have that $Σ ⊢ \text'⊤'$, by ($⊤$-right).
-
This case holds vacuously.
-
We have that $Σ ⊢ \text'⊤'$, by ($⊤$-right).
-
$α = ¬α_1$, for some formula $α_1$.
-
If $⟦¬α_1⟧^{\sc M} = 1$, we have that
$⟦α_1⟧^{\sc M} = 0$.
Then, by induction hypothesis, $Σ, α_1 ⊢ ⊥$, and we may conclude using ($¬$-right):
$Σ, α_1 ⊢ \text'⊥'$ $Σ ⊢ ¬α_1$ -
If $⟦¬α_1⟧^{\sc M} = 0$, we have that
$⟦α_1⟧^{\sc M} = 1$.
Then, by induction hypothesis, $Σ ⊢ α_1 $, and we are done using ($¬$-left):
$Σ ⊢ α_1$ $Σ, ¬α_1 ⊢ ⊥$
-
If $⟦¬α_1⟧^{\sc M} = 1$, we have that
$⟦α_1⟧^{\sc M} = 0$.
Then, by induction hypothesis, $Σ, α_1 ⊢ ⊥$, and we may conclude using ($¬$-right):
-
$α = α_1∧α_2$, for some formulas $α_1$ and $α_2$.
-
If $⟦α_1∧α_2⟧^{\sc M} = 1$, we have that
$⟦α_1⟧^{\sc M} =1$ and $⟦α_2⟧^{\sc M} =1$.
Then, by induction hypothesis, $Σ ⊢ α_1$ and $Σ ⊢ α_2$. We conclude using
($∧$-right):
$Σ ⊢ α_1$ $Σ ⊢ α_2$ $Σ ⊢ α_1 ∧ α_2$
-
If $⟦α_1∧α_2⟧^{\sc M} = 0$, we have that
$⟦α_1⟧^{\sc M} =0$ or $⟦α_2⟧^{\sc M} =0$.
Suppose that $⟦α_1⟧^{\sc M} =0$.
Then, by induction hypothesis, $Σ, α_1 ⊢ ⊥$, and we may conclude using ($∧$-left-1):
The case where $⟦α_2⟧^{\sc M} =0$ is handled similarly, using ($∧$-left-2).
$Σ, α_1 ⊢ ⊥$ $Σ, α_1 ∧ α_2 ⊢ ⊥$
-
If $⟦α_1∧α_2⟧^{\sc M} = 1$, we have that
$⟦α_1⟧^{\sc M} =1$ and $⟦α_2⟧^{\sc M} =1$.
Then, by induction hypothesis, $Σ ⊢ α_1$ and $Σ ⊢ α_2$. We conclude using
($∧$-right):
-
$α = α_1∨α_2$, for some formulas $α_1$ and $α_2$.
-
If $⟦α_1∨α_2⟧^{\sc M} = 1$, we have that
$⟦α_1⟧^{\sc M} =1$ or $⟦α_2⟧^{\sc M} =1$.
Suppose that $⟦α_1⟧^{\sc M} =1$.
Then, by induction hypothesis, $Σ ⊢ α_1$, and we may conclude using ($∨$-right-1):
The case where $⟦α_2⟧^{\sc M} =1$ is handled similarly, using ($∨$-right-2).
$Σ ⊢ α_1$ $Σ ⊢ α_1 ∨ α_2$
-
If $⟦α_1∨α_2⟧^{\sc M} = 0$, we have that
$⟦α_1⟧^{\sc M} =0$ and $⟦α_2⟧^{\sc M} =0$.
Then, by induction hypothesis, $Σ, α_1 ⊢ ⊥$ and $Σ, α_2 ⊢ ⊥$. We conclude using
($∨$-left):
$Σ, α_1 ⊢ ⊥$ $Σ, α_2 ⊢ ⊥$ $Σ, α_1 ∨ α_2 ⊢ ⊥$
-
If $⟦α_1∨α_2⟧^{\sc M} = 1$, we have that
$⟦α_1⟧^{\sc M} =1$ or $⟦α_2⟧^{\sc M} =1$.
Suppose that $⟦α_1⟧^{\sc M} =1$.
Then, by induction hypothesis, $Σ ⊢ α_1$, and we may conclude using ($∨$-right-1):
-
$α = α_1→α_2$, for some formulas $α_1$ and $α_2$.
-
If $⟦α_1→α_2⟧^{\sc M} = 1$, we have that
$⟦α_1⟧^{\sc M} =0$ or $⟦α_2⟧^{\sc M} =1$.
We consider the two cases separetely. The first case is when $⟦α_1⟧^{\sc M} =0$. Then, by induction hypothesis, $Σ, α_1 ⊢ ⊥$,
and we are done using ($⊥$-elim) and ($→$-right):
The second case is when $⟦α_2⟧^{\sc M} =1$. Then, by induction hypothesis, $Σ ⊢ α_2$, and we conclude using (weakening) and ($→$-right):
$Σ, α_1 ⊢ ⊥$ $Σ, α_1 ⊢ α_2$ $Σ ⊢ α_1 → α_2$ $Σ ⊢ α_2$ $Σ, α_1 ⊢ α_2$ $Σ ⊢ α_1 → α_2$
-
If $⟦α_1→α_2⟧^{\sc M} = 0$, we have that
$⟦α_1⟧^{\sc M} =1$ and $⟦α_2⟧^{\sc M} =0$.
By induction hypothesis, $Σ ⊢ α_1$ and $Σ, α_2 ⊢ ⊥$.
Then, we are done by ($→$-left):
$Σ ⊢ α_1$ $Σ, α_2 ⊢ ⊥$ $Σ, α→ α_2 ⊢ ⊥$
-
If $⟦α_1→α_2⟧^{\sc M} = 1$, we have that
$⟦α_1⟧^{\sc M} =0$ or $⟦α_2⟧^{\sc M} =1$.
We consider the two cases separetely. The first case is when $⟦α_1⟧^{\sc M} =0$. Then, by induction hypothesis, $Σ, α_1 ⊢ ⊥$,
and we are done using ($⊥$-elim) and ($→$-right):
As an immediate consequence of the above lemma, we obtain that every complete consistent theory has a model.
Let $Σ$ be a complete consistent theory, and $\sc M$ be its associated model. We show that $\sc M$ is indeed a model of $Σ$.
Suppose by way of contradiction that it is not the case and that, therefore, there exists a formula $α$ such that $Σ ⊢ α$ and $⟦α⟧^{\sc M} = 0$. But then, by Lemma 10, we have that $Σ, α ⊢ ⊥$. This implies, by ($¬$-intro), that $Σ ⊢ ¬ α$, which contradicts the consistency of $Σ$.
By combining Lindebaum's lemma and the above corollary, we obtain the key result we were expecting.
We are finally in a position of proving the completeness theorem.