I'm trying to prove this argument is valid:
Hypotheses:
- $(p$ or $q)$ implies $r$
- not $r$
- $q$
Conclusion: not $p$
I used modus tollens on steps 1 and 2 to get not $(p$ or $q).$
Then I distributed the not sign using De Morgans law to get not $p$ or not $q.$
Then I grouped the not $p$ or not $q$ and the 3rd hypothesis to get not $p$ using disjunctive syllogism.
Is this correct? I'm not if the disjunctive syllogism step is correct because of the signs.