Is the following expression true? $$(q \Rightarrow p) \Rightarrow(p \Rightarrow q)\equiv(p \Rightarrow q)$$
It's actually from a bigger problem, and I'm currently at $(q \Rightarrow p) \Rightarrow(p \Rightarrow q)$. I have to get to $p \Rightarrow q$ to prove the theorem.
$$(q \Rightarrow p) \Rightarrow(p \Rightarrow q)$$ $$(q ∧ p) \Rightarrow(p ∧ q)$$ $$(q ∧ p) ∧ (p ∧ q)$$ $$p∧q$$ $$p \Rightarrow q$$
Is there a faster way to prove this? Any help is appreciated!
You can just use a truth-table to confirm that this is indeed true.
Or:
$(q \Rightarrow p) \Rightarrow (p \Rightarrow q) \equiv$ (Implication)
$\neg (q \Rightarrow p) \lor (p \Rightarrow q) \equiv$ (Implication x2)
$(q \land \neg p) \lor \neg p \lor q \equiv$ (Absorption)
$\neg p \lor q \equiv$ (implication)
$p \Rightarrow q$