CS 540Lecture NotesFall 1996

First-Order Logic (Chapters 7 - 9)


First-Order Logic (FOL or FOPC) Syntax

Translating English to FOL

Inference Rules for FOL

Automated Inference for FOL

Resolution

Unification

Resolution Refutation Procedure

Example using PL Sentences

Problems Yet to Be Addressed

Converting FOL Sentences to Clause Form

Revised Resolution Refutation Procedure

procedure resolution(KB, Q)
   ;; KB is a set of consistent, true FOL sentences
   ;; Q is a goal sentence that we want to derive
   ;; return success if KB |- Q, and failure otherwise
   KB = union(KB, ~Q)
   KB = clause-form(KB)  ; convert sentences to clause form
   while false not in KB do
     pick 2 clauses, C1 and C2, that contain literals that unify
     if none, return "failure"
     resolvent = resolution-rule(C1, C2)
     KB = union(KB, resolvent)
   return "success"
end

Example: Hoofers Club

Resolution as Search through a Search Space


Last modified October 23, 1996
Copyright © 1996 by Charles R. Dyer. All rights reserved.