Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1. Expansion laws.
(Vx)A(x) = (Vx)A(x) n A(t) --the universal quantifier
(=x)A(x)
is an
ini-inirary conjunction
2. DeMorgan infinitary
A(x) = (fx)--l(x)
y)
4.
as a free variable.
(lx),a(x) n B =(lx)(l(x) n B)
over n
over n:
(lx)B(x) -+ (!x)(l(r)
r..
SernidistributivitY of V over
l= (Vx),4(x) v
v:
Fr
rsi-t'r'r-,*,' 1c;;.i1.
n,1
ijeililciist|ibi;ii
1-=
i,
it:., {-,ir
rxs1:
--'
111.x)zt(x)
(l;r)B(x)) -+ (lx)(z(x)
+ B(r))
+ (!r)B(x)) is nor valid
but the
Serridistribr"rtivity
l=
of V over -+
Example 6.
Prove that the lbnnLrla 2t = (.1x)A(x) n (lx)B(") -+ (:.r)(l(x) n B(x)) is not valid.
L,et consider the interpretation
1:(D,rn>, where:
to a plan p.
D+
,'
@:
,t ((3x)A(x) n (lx)B(x)
)-'
u/
((1x)(A(x) n B(x)))
)
u1
(1x)A(x)
),^' ut (
(lx)B(x)
,, ( (:x)(l(x) n B(.r))) :
@
L d n xll d):
I, I is an anti-model of U.
valid formula.
Definition 7:
l.
A predicate formula U is in prenex normol form it it has the form: r,vhere g,,r:1,...,n are quantifiers, and
(Qt*l ).'.(Q,x,)M,
M is
free
(Qtxt)...(Qnx")is called
formulaU.
L,Lrpea
Theorem 1: A predicate formula adrnits a logical equivalent conjunctive prenex normal form.
The prenex normal
presen'e the
logical equivalence, according to the following algorithm: Step 1: The connectives -+ and +> are replaced using the connectives -,A.V Step 2: T'he bound variables are renamed such that they u'ill be distinct. Step 3: Application of infinitary DeMorgan laws. Step 4: The extraction of quantifiers in front of the forrnula laws are applied. !!! The order of quantifiers extraction is arbitrary. Step 5: The matrix is transformed into CNF'using DeMorgan laws and the distributive
Iaws.
Remarks:
. c
After the step 4 we obtain the prenex normal form which is not unique. If the formula obtained after the second step contains n distinct and independent bound variables, the there are n! prenex normal forrns, logically equivalent with the initial formula.
Definition 8:
(J
1'
prenex
by US
(l) If Q,.is
prefix.
the leftmost universal quantifier in the prefix, then we introduce a new constant
x,
(2)It QsI,...,Q r*, 1 ( sl 9,, then we introduce a new m-place function symbol, f, and we replace in M
occurrences
all
of r,. by f(xr1 ,...,xs*t).(Qrx,,) is deleted frorn the prefix. To U it corresponds a formula in Skolem normal -form without quantifiers(clausal normal
form),
denoted
[/S
l0
t.
'
Remarks:
The transfclrmations used in the Skolemization process do not preserve the logical equivalence but preserwe the inconsistenc,v according to the follorving theorem:
1.
iff Z'is
incor-rsistent
iff
Vs'tis inconsistent.
Stepl: replace
+ connective
will be distinct q("))) v (--(Yy) p(y) (V z)q(z))
A:
A
"
(V
z)q(z))
A:
At: A{
,tp Az: A;
d= (Vr)(Vy)(=z)((--p(x)v
Because the forrnula
q(x)) n
p(y) n'.q(z))-
3!:6
prenex normal
Al
A! , A{
we obtain:
iI
Al
l'
4- af , a : Skolem constant
Al:(Yx)(VyX(-p(x) v q(x)) n p(y) n-q(f (x))), lz <*: f (x))' 1f: Skoiem function l3s:(vrxVy)((-p(x)vq(")) ^p(y)n-q(g(x,y))),lz<-g(x,v)l,g:binarySkolemfunction
quantifiers.
A,''r
Asr't
The Skolem nonnal forms without quantifiers are obtained by eliminating the universal
-.q( a)
: (--p(x) v q(x)) n p(y) r, "-q(f (x)) Al't : (--p(x) v q(x)) n p(y) n--q(g(x, y))
the formula: Example g: Transform into prenex normal form and Skolem normal form y = (lx)(Vy)P(x, y)v (=z)(-QQ) v (Vu)(f r)R(z,u't))
LI
[-Is = (Vy)(Va)(.P(a,y)v
constant,/g:
(y),u,9(v,u))
Theorem 3 (Church 1936): but is semi-decidable. If a The problem of valiclity of a first-orcler formula is uncleciduble, the following situations: procedure p is used to check the validity of a formula we have . if a formula A is valid, then P ends with the corresponding answer' . if the formula A is not valid, then P ends lvith the corresponding answer or P may never
stop.
theorern proving' Theorem of deduction: if Xu {A} | - B then xl - (A+B), is used in Refutation theorem: if Xu { -A} is inconsistent then xl-A.
method. This theorem is used in proof methods such as: resolution, semantic tableaux called refutation proof metltods '
Theorem
soundness and completness states the equivalence between the "logical concept. consequence,' concept and "syntactic consequence" Let r be a set of first-order formulas and y a first-order formula'
of
. .
completness'. soundness:
if rl:7
then
rl-Y'
l:1'
if I l- r
then r
t2
A particular ease of this theorem. is the foilowing result: 'nA formula is a tautorogy if and onry if it is a theorem in first-order logic.,,
the
forrnula
) is a rheorem.
l- (Vx)(.a(x) -+ B(*)) -+ ((vx)A(") + (Vx)B(x)) ::) (Yx)(A(x) -+ B(x)) | ((vx)A(") _+ (yx)B(x)) ::>
(Vx)(A(x)
B(x)),(Vx)A(x)
l_ (Vx)
B(*)
we prove that (vx)( A(x) -+ B(')),(Yx)A(x)l (vx)B(x) using rhe defi'irion of a deduction building the sequence (f1 , n,..., fg) of predicate
formulas:
fI,n l- *oR:
fa: (Vx)A(x) f5: (Vx)A(") -+
f4, f5
|
x_>y_tenn
A(y)_+B(y)
---- axiom A4, x),y_!s1111
A(y)
of (vx)B(x)
B(x))
and
using this deduction and applying fwice the theorern of deduction we obtain:
l-
_+
(vx)B(x))
1a I-)