I've been tasked with resolving the following statement to prove that it is valid:
$(p\rightarrow q) \rightarrow ((p \lor r) \rightarrow (q \lor r))$
I convert to CNF with the following set of clauses as a result:
$\{\{p, \lnot p, q, r\}, \{\lnot q, \lnot p, q, r\}, \{p, \lnot r, q, r\}, \{\lnot q, \lnot r, q, r\}\}$
I've labelled them (1) through (4) when applying the resolution steps.
When I attempt to resolve by refutation, I hit a bit of a wall; when applying the rule to most of these, I eliminate the resolvent because it's the trivial clause - so it's not added to the set of clauses. However, at some point, I always come across a non-trivial resolvent, namely $\{\lnot p, q, r\}$ when resolving on (1) and (2). This is then labelled (5) added to the set to give:
$\{\{p, \lnot p, q, r\}, \{\lnot q, \lnot p, q, r\}, \{p, \lnot r, q, r\}, \{\lnot q, \lnot r, q, r\}, \{\lnot p, q, r\}\}$
I've redone this step several times, with different combinations of the above clauses but always end up with the final resolvent of $\{\lnot p, q, r\}$. Though, since the statement is a tautology, it should resolve to the empty set of clauses.
Is my CNF conversion possibly the problem, or am I missing something in the resolution step?