RTP: $P \to Q, R \to \neg Q, (S\to \neg P)\to R \vdash (\neg T ∨ P)\to(T \to S)$ using primitive rules of natural deduction. I've attempted this question multiple times but keep getting stuck on trying to get $S$ so I can use a couple arrow introductions to get the conclusion.
Attempt:
1 (1) $P \to Q$ Assumption
2 (2) $R \to \neg Q$ Assumption
3 (3) $(S\to \neg P)\to R$ Assumption
4 (4) $(\neg T ∨ P)$ Assumption
5 (5) $T$ Assumption
4,5 (6) $P$ $4,5∨$E
1,4,5 (7) $Q$ $1,6\to$E
8 (8) $S$ Assumption
9 (9) $S\to \neg P$ Assumption
8,9 (10) $\neg P$ Assumption
4,5,9 (11) $\neg T$ 6,10RAA(8)
12 (12) R Assumption
2,12 (13) $\neg Q$ $2,12\to$E
1,2,4,5 (14) $~R$ 7,13RAA(12)
I realise now that I've eliminated almost all the necessary assumptions with only line 9 left over (those at lines 4 and 5 which will be eliminated via arrow introduction for the conclusion once I have $S$), but I don't know how I can proceed from here. Any help would be greatly appreciated.
The premise is a negation $\neg(S \to \neg P)$, so it is likely you need to perform negation elimination. For that you need to intermediately derive $S \to \neg P$, resulting in a contradiction from which you may infer anything.
That anything will be $S$, so you prove the conclusion by contradiction, assuming $\neg S$ earlier on and dropping that assumption in the last step.
Now you want to derive $S \to \neg P$; this is an implication, so you have to derive $\neg P$ from an assumption $S$. Given the other assumptions you have at your disposal, how do you think that subderivation can be plugged together?