My first upper division logic class.
Use the deduction theorem to give a syntactic proof
$p\wedge q\vdash q\wedge p$
$\{(p\rightarrow (q\rightarrow \bot))\rightarrow \bot, q\rightarrow (p\rightarrow \bot)\}\vdash \bot$ from the deduction thm.
- $(p\rightarrow (q\rightarrow \bot))\rightarrow \bot$ (premise)
- $q\rightarrow (p\rightarrow \bot)$ (premise)
- $\bot$ (Modus ponens)