

Introduction to Logic

Tools for Thought


Exercise 14.4  Resolution 
Given the clauses {p(a), q(a)}, {¬p(x), r(x)}, {¬q(x), r(x)}, use Relational Resolution to derive the clause {r(a)}.

Show Instructions
To apply a rule of inference, check the lines you wish to use as premises and click the button for the rule of inference. Reiteration allows you to repeat an earlier item. To delete one or more lines from a proof, check the desired lines and click Delete. Note that factoring and resolution are implemented here as separate rules of inference.
Whenever entering expressions, use Ascii characters only. Use ~ for ¬; use { and } for sets. For variables use strings of alphanumeric characters that begin with a capital letter. For example, to enter the sentence {¬p(x), q(y)}, write {~p(X), q(Y)}.

1
{p(a),q(a)}
Premise
2
{~p(X),r(X)}
Premise
3
{~q(X),r(X)}
Premise
4
{q(a),r(a)}
Resolution
1
2
5
{r(a)}
Resolution
4
3
