Professional Documents
Culture Documents
t-t"n 4'
RESOLUTION
METHOD,
MFCS
-2010,
Mihaiela Lupea
Resolution method
Re s =
where.
' .
' .
FR",
)p"",
AR",
RRe,
=a
and
notation.
C1
(empty clause)
91
=fvt
C2- gv
-l
C2=
-l
C=Resr(C1,C2)r= -f
Res(Cl ,C2)=
RESOLUTION
METHOD,
MFCS
-2010,
Mihaiela Lupea
modus
.
|
p
+ -p)-=>
-) ql- -q
-+
-p
+ q.-Q l- -P --z
---- a particularization of resolution rule.
-pvQ,-Q1--p
.
|
p
Syllogism rule'.
(p -+ q) -> ((q + r) -+ (p -+
-pvq,-Qvri-pvr
rule upon an initial set of clauses, enriched in this process with new
clauses (resolvents), in order to derive the empty clause (inconsistency).
lf the empty clause cannot be derived, then the initial set of clauses is
consistent.
RESOLUTION
METHOD,
MFCS
-2Q10,
Mihaiela Lupea
sg::s
i:=
0
do{
choose two clashing clauses:
C1,
C2 e S,
C:: Res(Cl,CZ)
S,*r t= S,
u {C}
else ;:=i+7
lf
,S
l-R."
then S inconsistent.
lf
is inconsistent then
Fn."
tr.
!.
RESOLUTION
METHOD,
MFCS
-2010,
Mihaieta Lupea
is a tautology if and only if the empty clause can be derived from the conjunctive normal form of --U,
using the resolution procedure.
u is a tautology
D.
n...AU, n-V)l-n.,!.
Example 1: Using the resolution method prove that the following set of
clauses is inconsistent.
S={p v Q ,-pv 4, py -Q t-pv -q}. We denote the clauses as: C1= p, q,C2=-pv Q, C3=
The process of deriving the empty clause is symbolized using a binary tree as follows:
C1:pvq
C2:-pv
C7= Re so (C5,C6)=
F*." n and
is
inconsistent.
RESOLUTION
METHOD.
MFCS
-2010.
Mihaieta Lupea
Theorem
3: A set s of
of
-py -QV rv p
is a tautology,
2. Delete the clauses subsumed by other clauses of s. C1 is subsumed by C2 or C2 subsumes Cl tf there exists a clause
C3 such that C1=C2vC3.
Ex: C1=t
v --q v r v p, C2=rv p,
^C1=C2
r, C2=rv p, C3=-pv-r}
-/
-r,
C4= q}
RESOLUTION
METHOD,
MFCS
-2010,
Mihaieta Lupea
Example 2: Using the previous transformations simplify the following set of clauses 5={C1=-py pvr,C2=/.y--t/, C3= pv q,C4=pv qvr}.
- C4 is subsumed by C3 so C4 will be eliminated. - C1 and C2 are tautologies and they will be eliminated.
- Only C3 remains but it contains two pure literals: p and q and it will be
eliminated too.
s becomes s'= a
and thus
is a
Exampfe 3: Simplify the set S={C 1=--q ,C2= q ,C3= p v q v r}. C3 is subsumed by C2 and is eliminated. lf we apply transformation 4, c2 is a unit clause, c2 is eliminated and c1 becomes C1'= r after the literal -rq is deleted.
After simplification,
inconsistent set.
is an