Introduction to Logic
Use resolution to show that the clauses {¬p(x,y), q(x,y,f(x,y))},
{¬r(y,z), q(a,y,z)},
{r(y,z), ¬q(a,y,z)},
{p(x,g(x)), q(x,g(x),z)}, and
{¬r(x,y), ¬q(x,w,z)} are unsatisfiable. This one is a little tricky. Be careful about factoring.
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(X,Y),q(X,Y,f(X,Y))}
Premise
2
{~r(Y,Z),q(a,Y,Z)}
Premise
3
{r(Y,Z),~q(a,Y,Z)}
Premise
4
{p(X,g(X)),q(X,g(X),Z)}
Premise
5
{~r(X,Y),~q(X,W,Z)}
Premise
6
{~q(a,X,Y),~q(X,W,Z)}
Resolution
3
5
7
{q(X,g(X),V34),q(X,g(X),f(X,g(X)))}
Resolution
4
1
8
{q(X,g(X),f(X,g(X)))}
Factoring
7
9
{~q(a,X,Y)}
Resolution
8
6
10
{}
Resolution
8
9
