Lecture 7 Exercises
Laura Kovács
Problem 7.1
Consider the clause set
where is a predicate symbol, is a function symbol, are variables, and is a constant. Give a refutation in the non-ground binary-resolution system . For each derived clause, state the premises, the inference rule, and the mgu used.
Solution
- Negative factoring on (1) with :
- Negative factoring on (4) with :
- Resolve (5) with (2) using :
- Resolve (4) with (6) using :
- Resolve (3) with (7) using :
- Resolve (5) with (8) to obtain .
Since a contradiction is derived, the original set is unsatisfiable.
Problem 7.2
Let be a unary predicate symbol, a unary function symbol, variables, and a constant. Consider the clauses , , and .
- Does subsume ?
- Does subsume ?
Justify both answers.
Solution
- No. Any instance of contains two literals, whereas has only one. Therefore no substitution can make a sub-multiset of .
- Yes. The substitution turns into , which is exactly , so subsumes .
Problem 7.3
Let be a variable, constants, and a unary function symbol. Give a superposition refutation of
using only inferences (no ) and ensuring that no inference mixes the symbols with in the same clause. Name every derived clause, cite premises, and record the mgu.
Solution
Treat repeated occurrences of as variants with distinct variables. The derivation:
- (axiom)
- (axiom)
- via superposition of (1) with itself ()
- via superposition of (2) with (3) using
- via equality resolution on (4) with
As is derived, the clause set is unsatisfiable.