| Assigned: | Thursday, November 12 |
| Due: | Thursday, November 19 at 11:59 pm |
Please see the course website for collaboration policy, submission instructions, and regrade policy. You may use Logica with acknowledgement. You may work in groups of up to three. Acknowledge all aid and collaboration.
Ask questions on the course newsgroup. Also check the newsgroup for questions asked by other students and responses from the course staff.
Do not repeat the questions in your submission. Make sure you familiarize yourself with the submÄission system on coursework before the submission deadline.
1. (10 points) Ordered Resolution.
Say whether each of the following strategies is compatible with ordered resolution method, i.e. ordered resolution gets the same conclusions with the restriction as without. (strictly ordered and without using contrapositives.)
If the answer is "not compatible", give an example of a set of premises and a conclusion for which Ordered Resolution and the strategy fail to prove the conclusion.
2. (10 points) Model Elimination. Consider the following premises.
|
p ∧ q ⇒ s ¬p ∧ ¬q ⇒ t r ⇐ s ∨ t |
Give a formal proof of the following conclusion from these premises using model elimination.
For the proof, you must use the Model Elimination technique with the set of support strategy and input restriction (Use the goal as the set-of-support). Use the same presentation as the lecture notes. Label each step in the proof with the method used: Reduction, Cancellation, or Dropping.
3. (10 points) Model Elimination Caching. The Astrachan and Stickel method for caching in Model Elimination Theorem Provers is designed to work with Horn clauses only. Show an example of a non-Horn premise set where the method fails (i.e. it is either unsound or incomplete).
4. (10 points) Equality.
5. (10 points) Demodulation. For each of the following pairs of clauses, show the result of applying demodulation. If it is not possible, state "not possible".
6. (10 points) Paramodulation. We want to show that the following is true.
We are given the following assertions, and the beginning of the proof in Epilog style. Please complete it in the space allotted, using the equality axiom given and paramodulation. That is, your proof should have at most 5 additional steps, should be in Epilog style, and can make use of paramodulation.
| 1. | x = x | (Equality Axiom) |
| 2. | x = x + e | (Group Theory Axiom) |
| 3. | e = x + inv(x) | (Group Theory Axiom |
| 4. | x + (y + z) = (x + y) + z | (Group Theory Axiom) |
| 5. | a = b ? | (Negated Goal) |
| 6. | a + c = b + c | (Negated Goal) |
| 7. | a + e = b ? | 5,2 { x ← a } |
| 8. | a + (w + inv(w)) = b ? | 7,3 { x ← w } |
| 9. | (a + w) + inv(w) = b ? | 8,4 { x ← a, y ← w, z ← inv(w) } |
| 10. | ||
| 11. | ||
| 12. | ||
| 13. | ||
| 14. |
7. (10 points) Paramodulation and Set of Support. Paramodulation is defined
as replacing at least one occurrence of a term by another term to which it is equal.
For example,
8. (10 points) Induction Schema.
Consider the following instance of the induction schema.
Is this sentence Valid, Continget or Unsatisfiable? Explain why.
9. (10 points) Natural Numbers. The following sentences define Peano Arithmetic.
We also have our linear induction schema.
Note that we have filled in the base case (which is 0) and we have "inlined" the successor function by replacing s(x) with x+1.
Using these premises, give a resolution / paramodulation proof that addition is associative.
10. (10 points) Definability. Suppose we wanted to define the unary relation "two" for the natural numbers, where our language has equality and the functions: s (successor function). This relation is definable by the following formula:
where x is a free variable. This sentence will be true when and only when the variable assignment maps x to 2. Therefore, the formula defines the relation two. Define the relation for each of the following sections.
Note: We do not have the successor function in our language. Hint: For part 3 use the definition of {1} you gave in part 2.
Hint: does it matter that we are in R instead of N?
Tell us what you thought about this problem set: