Docsity

Consistency, Completeness and Compactness, Lecture Notes- Maths, Study notes of Mathematics

Toggle sidebar
bg1
7. Consistency, Completeness and
Compactness
7.1 Definition
Let Γ ⊆Form(L0). Γ is said to be consistent
(or L0-consistent) if for no formula αboth Γ ⊢
αand Γ ⊢ ¬α.
Otherwise Γ is inconsistent.
E.g. ∅is consistent: by soundness theorem,
αand ¬αare never simultaneously true.
7.2. Lemma
Γ∪ {¬φ}is inconsistent iff Γ⊢φ.
(In part., if Γ6⊢ φthen Γ∪ {¬φ}is consistent).
Proof: ‘⇐’:
Γ⊢φ⇒Γ∪ {¬φ} ⊢ φ
Γ∪ {¬φ} ⊢ ¬φ)⇒Γ∪ {¬φ}
is inconsistent
‘⇒’:
Γ∪ {¬φ} ⊢ α
Γ∪ {¬φ} ⊢ ¬α)⇒6.11 Γ∪ {¬φ} ⊢SQ α
Γ∪ {¬φ} ⊢SQ ¬α)
⇒PC Γ⊢SQ φ⇒6.11 Γ⊢φ
2
Lecture 7 - 1/9
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Consistency, Completeness and Compactness, Lecture Notes- Maths and more Study notes Mathematics in PDF only on Docsity!

7. Consistency, Completeness and

Compactness

7.1 Definition Let Γ ⊆ Form(L 0 ). Γ is said to be consistent (or L 0 -consistent) if for no formula α both Γ ⊢ α and Γ ⊢ ¬α.

Otherwise Γ is inconsistent.

E.g. ∅ is consistent: by soundness theorem, α and ¬α are never simultaneously true.

7.2. Lemma Γ ∪ {¬φ} is inconsistent iff Γ ⊢ φ. (In part., if Γ 6 ⊢ φ then Γ ∪ {¬φ} is consistent).

Proof: ‘⇐’:

Γ ⊢ φ ⇒ Γ Γ^ ∪ {¬∪ {¬φφ}}^ ⊢⊢^ ¬φφ

} ⇒ Γ is inconsistent^ ∪ {¬φ}

‘⇒’: Γ ∪ {¬φ} ⊢ α Γ ∪ {¬φ} ⊢ ¬α

} ⇒ 6. 11 Γ Γ^ ∪ {¬∪ {¬φφ}}^ ⊢⊢SQ^ α SQ ¬α

}

⇒PC Γ ⊢SQ φ ⇒ 6. 11 Γ ⊢ φ

2

7.3 Lemma Suppose Γ is consistent and Γ ⊢ φ. Then Γ ∪ {φ} is consistent.

Proof: Suppose not, i.e. for some α

Γ ∪ {φ} ⊢ α Γ ∪ {φ} ⊢ ¬α

} ⇒DT ΓΓ^ ⊢⊢^ ((φφ^ →→ ¬^ α)α)

} Γ⊢φ ⇒ (^) MP

⇒ Γ Γ^ ⊢⊢ ¬^ αα 6 \ 6 \

7.4 Definition Γ ⊆ Form(L 0 ) is maximal consistent if (i) Γ is consistent, and (ii) for every φ, either Γ ⊢ φ or Γ ⊢ ¬φ.

Note: This is equivalent to saying that for every φ, if Γ ∪ {φ} is consistent then Γ ⊢ φ. Proof: Exercise

7.6 Theorem Suppose Γ is maximal consistent. Then Γ is satisfiable.

Proof: For each i, Γ ⊢ pi or Γ ⊢ ¬pi (by maximality), but not both (by consistency)

Define a valuation v by

v(pi) =

{ T if Γ ⊢ pi F if Γ ⊢ ¬pi

Claim: for all φ ∈ Form(L 0 ):

v^ ˜(φ) = T iff Γ ⊢ φ

Proof by induction on the length n of φ:

n=1: Then φ = pi for some i, and so, by def. of v,

v^ ˜(pi) = T iff Γ ⊢ pi.

IH: Claim true for all i ≤ n.

Now assume length (φ) = n+

Case 1: φ = ¬ψ (⇒ length (ψ) = n)

v^ ˜(φ) = T iff v˜(ψ) = F tt ¬ iff Γ 6 ⊢ ψ IH iff Γ ⊢ ¬ψ 7.5(a) iff Γ ⊢ φ

Case 2: φ = (ψ → χ) (⇒ length (ψ), length (χ) ≤ n)

v^ ˜(φ) = T iff v˜(ψ) = F or v˜(χ) = T tt → iff Γ 6 ⊢ ψ or Γ ⊢ χ IH iff Γ ⊢ ¬ψ or Γ ⊢ χ 7.5(a) iff Γ ⊢ (ψ → χ) 7.5(b) iff Γ ⊢ φ

So v˜(φ) = T for all φ ∈ Γ, i.e. v satisfies Γ.

2

Now let Γ′^ :=

⋃∞ n=0 Γn.

Then Γ′^ is consistent:

Any proof of Γ′^ ⊢ α and Γ′^ ⊢ ¬α would use only

finitely many formulas from Γ′, so for some n, Γn ⊢ α and Γn ⊢ ¬α – contradicting the

consistency of Γn.

Finally, Γ′^ is maximal (even in a stronger sense):

for all n, either φn ∈ Γ′^ or ¬φn ∈ Γ′. 2

Note that the proof does not make use of

Zorn’s Lemma.

7.8 Corollary

If Γ is consistent then Γ is satisfiable.

Proof: 7.6 + 7.7 2

7.9 The Completeness Theorem

If Γ |= φ then Γ ⊢ φ.

Proof:

Suppose Γ |= φ, but Γ 6 ⊢ φ.

⇒ by 7.2, Γ ∪ {¬φ} is consistent

⇒ by 7.8, there is some valuation v such that

v^ ˜(ψ) = T for all ψ ∈ Γ ∪ {¬φ}

⇒ v˜(ψ) = T for all ψ ∈ Γ, but v˜(φ) = F

⇒ Γ 6 |= φ: contradiction. 2

7.10 Corollary

(7.9 Completeness + 6.5 Soundness)

Γ |= φ iff Γ ⊢ φ