



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!




so far:
now:
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 )
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.