Propositional Calculus, Lecture Notes- Maths, Study notes of Mathematics

Proposition Calculus, Proposition variables, strings, formulas, unique readability theorem

Typology: Study notes

2010/2011

Uploaded on 09/08/2011

dukenukem
dukenukem 🇬🇧

3.9

(8)

240 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
PART I:
Propositional Calculus
1. The language of
propositional calculus
... is a very coarse language with limited ex-
pressive power
... allows you to break a complicated sentence
down into its subclauses, but not any further
... will be refined in PART II Predicate Calcu-
lus, the true language of 1st order logic
... is nevertheless well suited for entering for-
mal logic
Lecture 2 - 1/8
pf3
pf4
pf5
pf8

Partial preview of the text

Download Propositional Calculus, Lecture Notes- Maths and more Study notes Mathematics in PDF only on Docsity!

PART I:

Propositional Calculus

1. The language of

propositional calculus

... is a very coarse language with limited ex-

pressive power

... allows you to break a complicated sentence

down into its subclauses, but not any further

... will be refined in PART II Predicate Calcu-

lus, the true language of 1st order logic

... is nevertheless well suited for entering for-

mal logic

1.1 Propositional variables

  • all mathematical disciplines use variables,

e.g. x, y for real numbers or z, w for complex numbers or α, β for angles etc.

  • in logic we introduce variables p 0 , p 1 , p 2 ,...

for sentences (propositions)

  • we don’t care what these propositions say,

only their logical properties count, i.e. whether they are true or false (when we use variables for real numbers, we also don’t care about particular num- bers)

1.3 Strings

  • A string (from L) is any finite sequence of symbols from L placed one after the other - no gaps
  • Examples

(i) → p 17 () (ii) ((p 0 ∧ p 1 ) → ¬p 2 ) (iii) ))¬)p 32

  • The length of a string is the number of symbols in it. So the strings in the examples have length 4 , 10 , 5 respectively. (A propositional variable has length 1.)
  • we now single out from all strings those which make grammatical sense (formulas)

1.4 Formulas

The notion of a formula of L is defined (re- cursively) by the following rules:

I. every propositional variable is a formula

II. if the string A is a formula then so is ¬A

III. if the strings A and B are both formulas then so are the strings

(A → B) read A implies B (A ∧ B) read A and B (A ∨ B) read A or B (A ↔ B) read A if and only if B

IV. Nothing else is a formula, i.e. a string φ is a formula if and only if φ can be obtained from propositional variables by finitely many applications of the formation rules II. and III.

Lemma If φ is a formula then

  • either φ is a propositional variable
  • or the first symbol of φ is ¬
  • or the first symbol of φ is (.

Proof: Induction on n := the length of φ:

n = 1 : then φ is a propositional variable -

any formula obtained via formation rules (II. and III.) has length > 1.

Suppose the lemma holds for all formulas of length ≤ n. Let φ have length n + 1

⇒ φ is not a propositional variable (n + 1 ≥ 2)

⇒ either φ is ¬ψ for some formula ψ - so φ begins with ¬

or φ is (ψ 1 ⋆ ψ 2 ) for some ⋆ ∈ {→, ∧, ∨, ↔} and some formulas ψ 1 , ψ 2 - so φ begins with (. 2

The unique readability theorem

A formula can be constructed in only one way:

For each formula φ exactly one of the follow-

ing holds

(a) φ is pi for some unique i ∈ N;

(b) φ is ¬ψ for some unique formula ψ;

(c) φ is (ψ⋆χ) for some unique pair of formulas

ψ, χ and a unique binary connective

⋆ ∈ {→, ∧, ∨, ↔}.

Proof: Problem sheet ♯1.