





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Propositional Calculus
How this can be done is made precise in the following definition.
v : {p 0 , p 1 , p 2 ,.. .} → {T, F }
v^ ˜ : Form (L) → {T, F } (Form (L) denotes the set of all formulas of L)
defined recursively as follows: 2.(i) If φ is a formula of length 1, i.e. a propo- sitional variable, then v˜(φ) := v(φ). 2.(ii) If v˜ is defined for all formulas of length ≤ n, let φ be a formula of length n + 1 (≥ 2).
Then, by the Unique Readability Theorem, either φ = ¬ψ for a unique ψ or φ = (ψ ⋆ χ) for a unique pair ψ, χ and a unique ⋆ ∈ {→, ∧, ∨, ↔},
where ψ and χ are formulas of lenght ≤ n, so v^ ˜(ψ) and v˜(χ) are already defined.
Remark: These truth tables correspond roughly to our ordinary use of the words ‘not’, ‘if - then’, ‘and’, ‘or’ and ‘if and only if’, except, perhaps, the truth table for implication (→).
2.2 Example Construct the full truth table for the formula
φ := ((p 0 ∨ p 1 ) → ¬(p 1 ∧ p 2 ))
v^ ˜(φ) only depends on v(p 0 ), v(p 1 ) and v(p 2 ).
po p 1 p 2 (p 0 ∨ p 1 ) (p 1 ∧ p 2 ) ¬(p 1 ∧ p 2 ) φ T T T T T F F T T F T F T T T F T T F T T T F F T F T T F T T T T F F F T F T F T T F F T F F T T F F F F F T T
2.3 Example Truth table for
φ := ((p 0 → p 1 ) → (¬p 1 → ¬p 0 ))
p 0 p 1 (p 0 → p 1 ) ¬p 1 ¬p 0 (¬p 1 → ¬p 0 ) φ T T T F F T T T F F T F F T F T T F T T T F F T T T T T
3.2 Lemma ψ |= φ if and only if |= (ψ → φ).
Proof: ‘⇒’: Assume ψ |= φ. Let v be any valuation.
Thus, for every valuation v, v˜((ψ → φ)) = T , so |= (ψ → φ).
‘⇐’: Conversely, suppose |= (ψ → φ). Let v be any valuation s.t. v˜(ψ) = T. Since v˜((ψ → φ)) = T , also v˜(φ) = T by tt →. Hence ψ |= φ.
More generally, we make the following
3.3 Definition Let Γ be any (possibly infinite) set of formulas and let φ be any formula. Then φ is a logical consequence of Γ if, for every valuation v:
if v˜(ψ) = T for all ψ ∈ Γ then v˜(φ) = T
Notation: Γ |= φ
3.4 Lemma Γ ∪ {ψ} |= φ if and only if Γ |= (ψ → φ).
Proof: similar to the proof of previous lemma 3.2 - Exercise.