I want to find out if the formula $\{p\implies(q\land r),(p\lor r)\implies q,\neg r\}$ is satisfiable. (meanings each clause is satisfiable. there is an $\land$ between the clauses.
The problem is that the first (leftmost) clause is not a Horn clauses, so we can't use Horn's algorithm if I am not mistaken.
Is there another way to approach this?
We can rewrite $p \to (q \land r)$ as $\lnot p \lor (q \land r)$ [see Material Implication] and then apply Distributivity to get :
Thus, we can replace the formula with the couple of Horn clauses :
The same approach can be aused with $(p ∨ r) \to q$, and the final result will be :
that is satisfiable: it is enough to set $p=r=FALSE$.