$(s \to p) \lor (t \to q) \vdash (s \to q) \lor (t \to p)$
This has been giving me a terrible headache. I have no idea how to go about proving this. I'm not asking for a complete solution, I just need some pointers to prove this with natural deduction...
Since your premise is a disjunction you need to use the rule of elimination of the disjunction. First you have to assume (s → p) and then try to derivate (s → q) ∨ (t → p), and second you have to assume (t → q) and try to derivate (s → q) ∨ (t → p), wiht this tow derivations you can conlude (s → q) ∨ (t → p) by elimination of the disjunction from your premise.
I have to point out that the derivation i made is 40 steps long and it's a clasical derivation. I dont know if there's a intuitionist derivation, and my first assumption was actually ¬((s → q) ∨ (t → p)).
the proof looks like this:
4-18) derivations until you get (s → q) ∨ (t → p)
21-35) derivations until you get (s → q) ∨ (t → p)
After that you can eliminate the disjunction and finish the derivations with the rules you ned to aplly. I don't know if there's an easier derivation. If you want I can edit the answer and write the full derivation.