06.03.2013 Views

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.10.1 Theorem Proving in FOL with Resolution Principle<br />

Suppose, we have to prove a theorem Th from a set of axioms. We denote it<br />

by<br />

Let<br />

{ A1, A2, ...., An}_ Th<br />

A1 = Biscuit (coconut-crunchy)<br />

A2 = Child (mary) ∧ Takes (mary, coconut-crunchy)<br />

A3 = ∀ X (Child(X) ∧ ∃ Y (Takes (X,Y) ∧ Biscuit (Y))) →<br />

Loves (john, X)<br />

<strong>and</strong> Th = Loves (john, mary) = A4 (say).<br />

Now, to prove the above theorem, we would use Robinson’s inference<br />

rule. First of all, let us express A1 through A4 in CNF. Expressions A1 <strong>and</strong> A4<br />

are already in CNF. Expression A2 can be converted into CNF by breaking it<br />

into two clauses:<br />

Child (mary) <strong>and</strong><br />

Takes (mary, coconut-crunchy).<br />

Further, the CNF of expression A3 is<br />

¬Child (X) ∨ ¬Takes (X,Y) ∨ ¬Biscuit (Y) ∨ Loves (john, X)<br />

It can now be easily shown that the negation of the theorem (goal) if<br />

resolved with the CNF form of expressions A1 through A3, the resulting<br />

expression would be a null clause for a valid theorem. To illustrate this, we<br />

will now form pairs of clauses, one of which contains a positive predicate,<br />

while the other contains the same predicate in negated form. Thus by<br />

Robinson’s rule, both the negated <strong>and</strong> positive predicates will drop out <strong>and</strong><br />

the value of the variables used for unification should be substituted in the<br />

resulting expression. The principle of resolution is illustrated below (fig. 5.4)<br />

to prove the goal that Loves (john, mary).<br />

5.11 Different Types of Resolution<br />

The principle of resolution can be extended to different forms. But an overextension<br />

may cause fatal errors. This section illustrates the diversified use of<br />

the resolution principle with the necessary precautions to avoid the scope of<br />

mistakes by the beginners.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!