Page 78 - DCAP506_ARTIFICIAL_INTELLIGENCE
P. 78

Artificial Intelligence




                    Notes          Eliminate  rewriting P  Q as P  Q
                                   Use DeMorgans laws to push  inwards:
                                   rewrite  (P  Q) as P  Q
                                   rewrite  (P  Q) as P  Q

                                   Eliminate double negations: rewrite P as P
                                   Use the distributive laws to get CNF:
                                   rewrite (P  Q)  R as (P  R)  (Q R)
                                   rewrite (P  Q)  R as (P  R)  (Q  R)


                                          Example:
                                   (P  (Q  R))

                                   (P (Q  R))
                                    P   (Q  R)
                                    P  (Q   R)
                                   P (Q   R)

                                   Two clauses: P, Q  R

                                   5.4.2 Resolution Rule of Inference

                                                              Figure  5.4:  Resolution  Rule






























                                   where B is a propositional letter and A and C are clauses (possibly empty) A(“C is the resolvent of
                                   the two clauses.







          72                                LOVELY PROFESSIONAL UNIVERSITY
   73   74   75   76   77   78   79   80   81   82   83