Four-Minute Guide to Resolution
Spring 2010, David Matuszek
P, Q, it_is_raining, or a
predicate, such as P(x), R(x,y),
female(Sally), mother(Sally, x).sinks(x) ∨ dissolves(X, water) ∨ ¬denser(X, water).
Given:
A ∨ someLiteralsConclude:
¬A ∨ someOtherLiterals
someLiterals ∨ someOtherLiterals
Given:
broke(Bob) ∨ well-fed(Bob)Conclude:
¬broke(Bob) ∨ ¬hungry(Bob)
well-fed(Bob) ∨ ¬hungry(Bob)
Given:
broke(x) ∨ well-fed(x)Conclude:
¬broke(Bob) ∨ ¬hungry(Bob)
well-fed(Bob) ∨ ¬hungry(Bob)where
xunifies withBob
X with ¬X,
yielding NIL, the zero-length clause).