The problem is to prove $$P \lor Q, P \rightarrow R \lor S, R \rightarrow W \land Z, Z \land \lnot S \rightarrow \lnot W \vdash \lnot S \rightarrow Q$$ using natural deduction.
I'm studying natural deduction for my upcoming exam in Logic and I have come across this problem. Unfortunately, I cannot seem to find a path to its solution. What I have done is the following and I don't know how to proceed any further:
- $P \lor Q$
- $P \rightarrow R \lor S$
- $R \rightarrow W \land Z$
- $Z \land \lnot S \rightarrow \lnot W$
- $P \qquad H$
- $R \lor S \qquad E \rightarrow 2,5$
- $R \qquad H$
- $W \land Z \qquad E\rightarrow 3,7$
- $W \qquad E\rightarrow 8$
- $Z \qquad E\rightarrow 8$
My professor only uses the Fitch notation, so I would appreciate you using it in your answer.
EDIT: Using the suggestions in the answers provided and studying the rules some more, I have come up with this solution. Can you tell me whether it is acceptable?
$1 \quad P \lor Q \\ 2 \quad P \rightarrow R \lor S \\ 3 \quad R \rightarrow W \land Z \\ 4 \quad Z \land \lnot S \rightarrow \lnot W \\ 5 \qquad \lnot S \qquad assumption \\ 6 \qquad \qquad P \qquad assumption \\ 7 \qquad \qquad R \lor S \qquad implication \ elim \ 2,6 \\ 8 \qquad \qquad R \qquad disjunctive \ syll \ 7,5 \\ 9 \qquad \qquad W \land Z \qquad implication \ elim \ 3,8 \\ 10 \qquad \qquad Z \qquad conjunction \ elim \ 9 \\ 11 \qquad \qquad Z \land \lnot S \qquad conjunction \ intro \ 10,5 \\ 12 \qquad \qquad \lnot W \qquad implication \ elim \ 4,11 \\ 13 \qquad \qquad W \qquad conjunction \ elim \ 9 \\ 14 \qquad \qquad false \qquad negation \ elim \ 13,12 \\ 15 \qquad \lnot P \qquad negation \ intro \ 14 \\ 16 \qquad Q \qquad disjunctive \ syll \ 1,15 \\ 17 \quad \lnot S \rightarrow Q \qquad implication \ intro \ 5,16$
The question asks us to prove $\lnot S \to Q$ from the following hypothesis:
Let's think about how this could go wrong. It is claimed that if $S$ is false and all four hypotheses hold, then $Q$ is true. So, for a contradiction, assume $S$ is false and $Q$ is false.
If $Q$ is false, then $P$ is true by item 1. Then $R \lor S$ is true by item $2$. We have assumed $S$ is false, so $R$ must be true.
Now, by item 3, $W$ and $Z$ must be true. Finally, by item 4, because $Z$ is true and $S$ is false, $W$ must be false. This is a contradiction, which is what we wanted.
That argument can be turned into a proof by natural deduction. However, instead of assuming $P$ at line 5 of your deduction above, you want to assume $\lnot S$. This is because you are trying to prove an implication whose hypothesis is $\lnot S$, and so you want to put yourself in a position to use implication introduction to do that. Assuming $P$ will not help as directly.
Then, at the next step, you can assume $\lnot Q$. Eventually, you will be able to derive a contradiction, which will let you deduce $Q$.
So the outline looks like this:
$\lnot S$ (assumption)
5.1. $\lnot Q$ (assumption)
5.2. ...
5.3. ...
5.4. contradiction
5.5. $Q$ (contradiction rule, discharge 5.1)
$\lnot S \to Q$ (implication introduction, discharge 5)
To handle the implication $P\lor Q, \not Q \vdash P$, you can use something like this.
$\lnot Q$ - assume for $\lor$ elimination from 1
3.1 Contradiction with 2 3.2 Conclude $P$, discharge 3
$P$ - assume for $\lor$ elimination from 1
4.1 Conclude $Q$ from 2, discharge 4
$Q$ - $\lor$ elimination from 1, 3, 4