I'm working on a project assigned to me by my lecturer. It involves automated proofs. It is quite complex but I simplified it and narrowed it down to natural deduction. So far I have proven:
$$ P(x) \rightarrow (Q(x) \rightarrow R(x)), P(y) \rightarrow P(x), P(y), R(x) \rightarrow \lnot R(y), \lnot R(y) \rightarrow R(x), Q(y) $$
and I have to show $R(y)$. I tried law of excluded middle ($Q(x) \lor \lnot Q(x)$ and $P(x) \lor \lnot P(x)$), proof by contradiction etc. but I just cannot prove it. I start to think that I'm lacking assumptions. Can someone confirm? Is this not provable?
Finding a counter example would maybe help me see what kind of assumption I'm missing.