Use rules of inference to show:
- ∀x(P(x) → Q(x)) premise
- ∀x(Q(x) → R(x)) premise
¬R(a) premise
¬P(a) conclusion
I have a lot of trouble with these sort of questions and was wondering if I did this correctly. Usually I have no idea which rules to use and it feels like I just need to try them randomly until they work.
1) ∀x(P(x) → Q(x)) premise
2) P(a) → Q(a) Universal instantiation (1)
3) ∀x(Q(x) → R(x)) premise
4) Q(a) → R(a) Universal instantiation (3)
5) P(a) → R(a) Hypothetical syllogism (2,4)
6) ¬R(a) premise
7) ¬P(a) Modus tollens (5,6)