Docsity

Propositional Calculus: Valuations and Truth Tables, Study notes of Mathematics

Toggle sidebar
bg1
2. Valuations
Propositional Calculus
•is designed to find the truth or falsity of
a compound formula from its constituent
parts
•it computes the truth values
T(‘true’) or F(‘false’) of a formula φ,
given the truth values assigned to
the smallest constituent parts, i.e.
the propositional variables occuring in φ
How this can be done is made precise in the
following definition.
Lecture 3 - 1/9
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Propositional Calculus: Valuations and Truth Tables and more Study notes Mathematics in PDF only on Docsity!

2. Valuations

Propositional Calculus

  • is designed to find the truth or falsity of a compound formula from its constituent parts
  • it computes the truth values T (‘true’) or F (‘false’) of a formula φ, given the truth values assigned to the smallest constituent parts, i.e. the propositional variables occuring in φ

How this can be done is made precise in the following definition.

2.1 Definition

  1. A valuation v is a function

v : {p 0 , p 1 , p 2 ,.. .} → {T, F }

  1. Given a valuation v we extend v uniquely to a function

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.

  • If v˜(ψ) = T then (by def.) v˜(φ) = T , so v˜((ψ → φ)) = T by tt →. (‘tt ⋆’ stands for the truth table of the connective ⋆)
  • If v˜(ψ) = F then v˜((ψ → φ)) = T by tt →.

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.