Docsity

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

Toggle sidebar
bg1
PART II:
PREDICATE CALCULUS
so far:
-logic of the connectives ¬,∧,∨,→,↔, . . . (as
used in mathematics)
-smallest unit: propositions
-deductive calculus: checking logical validity
and computing truth tables
−− >sound, complete, compact
now:
- look more deeply into the structure of propo-
sitions used in mathematics
- analyse grammatically correct use of func-
tions, relations, constants, variables and quan-
tifiers
- define logical validity in this refined language
- discover axioms and rules of inference (be-
yond those of propositional calculus) used in
mathematical arguments
- prove: −− >sound, complete, compact
Lecture 8 - 1/7
pf3
pf4
pf5

Partial preview of the text

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

PART II:

PREDICATE CALCULUS

so far:

  • logic of the connectives ¬, ∧, ∨, →, ↔,... (as used in mathematics)
  • smallest unit: propositions
  • deductive calculus: checking logical validity and computing truth tables −− > sound, complete, compact

now:

  • look more deeply into the structure of propo- sitions used in mathematics
  • analyse grammatically correct use of func- tions, relations, constants, variables and quan- tifiers
  • define logical validity in this refined language
  • discover axioms and rules of inference (be- yond those of propositional calculus) used in mathematical arguments
  • prove: −− > sound, complete, compact

8. The language of (first-order)

predicate calculus

The language LF OP C^ consists of the following

symbols:

Logical symbols

connectives: →, ¬

quantifier: ∀ (‘for all’)

variables: x 0 , x 1 , x 2 ,...

3 punctuation marks: ( ) ,

equality symbol:

non-logical symbols:

predicate (or relation) symbols: P (^) n(k ) for n ≥

0 , k ≥ 1 (P (^) n(k ) is a k-ary predicate symbol)

function symbols: f (^) n(k ) for n ≥ 0 , k ≥ 1 (f (^) n(k ) is

a k-ary function symbol)

constant symbols: cn for n ≥ 0

8.2 Examples

c 0 ; c 3 ; x 5 ; f 3 (1) (c 2 ); f 4 (2) (x 1 , f 3 (1) (c 2 )) are all

terms

f 2 (3) (x 1 , x 2 ) is not a term (wrong arity)

P 0 (3) (x 4 , c 0 , f 3 (2) (c 1 , x 2 )) and f 1 (2) (c 5 , c 6 )

= x 11

are atomic formulas

f 3 (1) (c 2 ) is a term, but no formula

∀x 1 f 2 (2) (x 1 , c 7 )

= x 2 is a formula, not atomic

∀x 2 P 0 (1) (x 3 ) is a formula

8.3 Remark

We have unique readability for terms, for atomic

formulas, and for formulas.

8.4 Interpretations and logical validity for LF OP C^ (Informal discussion)

(A) Consider the formula

φ 1 : ∀x 1 ∀x 2 (x 1

= x 2 → f 5 (1) (x 1 )

= f 5 (1) (x 2 ))

Given that

= is to be interpreted as equality, ∀

as ‘for all’, and the f (^) n(k ) as actual functions (in

k arguments), φ 1 should always be true. We

shall write

|= φ

and say ‘φ 1 is logically valid’.

(B) Consider the formula

φ 2 : ∀x 1 ∀x 2 (f 7 (2) (x 1 , x 2 )

= f 7 (2) (x 2 , x 1 ) → x 1

= x 2 )

Then φ 2 may be false or true depending on the

situation:

8.5 Free and bound variables (Informal discussion)

There is a further complication: Consider the formula

φ 3 : ∀x 0 P 0 (2) (x 1 , x 0 )

Under the interpretation < N, ≤> you cannot

tell whether < N, ≤>|= φ 3 :

  • if we put x 1 = 0 then yes
  • if we put x 1 = 2 then no.

So it depends on the value we assign to x 1 (like in propositional calculus: truth value of p 0 ∧ p 1 depends on the valuation).

In φ 3 we can assign a value to x 1 because x 1 occurs free in φ 3.

For x 0 , however, it makes no sense to assign a particular value; because x 0 is bound in φ 3 by the quantifier ∀x 0.