Professional Documents
Culture Documents
09
09
Assignment 5. Due Date: 03/03/14 1. Consider axioms from Assignment 4. Prove that John likes peanuts using resolution. 2. Consider the following facts: The members of the Elm St. Bridge Club are Joe, Sally, Bill, and Ellen. Joe is married to Sally. Bill is Ellens brother. The spouse of every married person in the club is also in the club. The last meeting of the club was at Joes house. (a) Represent these facts in the predicate logic. (b) From the facts given above, most people would be able to decide on the truth of the following additional statements: The last meeting of the club was at Sallys house. Ellen is not married. Can you construct resolution proofs to demonstrate the truth of each of these statements given the five listed above? Do so if possible. Otherwise, add the facts you need and then construct the proofs. Assume the following facts: Steve only likes easy courses. Science courses are hard. All the courses in the basketweaving department are easy. BK 301 is a basketweaving course. Use resolution to answer the question, What course would Steve like? (read pp. 160-164 of the handout)
3.
Conversion to Clause Form: All Romans who know Marcus either hate Caesar or think that anyone who hates anyone is crazy. Problem: x: [Roman(x) know(x, Marcus)] [hate(x, Caesar) (y: z: hate(y, z) thinkcrazy(x, y))] Solution: Flatten Separate out quantifiers Conjunctive Normal Form: Roman(x) know(x, Marcus) hate(x, Caesar) hate(y, z) thinkcrazy(x,z) Clause Form: Conjunctive normal form No instances of
2.
3.
4.
6.
7.
10
11
12
Propositional Resolution
We want to prove R. Given Axioms Clause Form P P (P Q) R P Q R (2) (S T) Q S Q (3) T Q (4) T T
(1)
(5)
P Q R P Q T Q T Q
R P
13
Herbrands Theorem
To show that a set of clauses S is unsatisfiable, it is necessary to consider only interpretations over a particular set, called the Herbrand universe of S. A set of clauses S is unsatisfiable if and only if a finite subset of ground instances (in which all bound variables have had a value substituted for them) of S is unsatisfiable.