I am working through 'Notes on logic and set theory' by P.T. Johnstone. Exercise 2.2 reads
Write down a proof of ($\bot\Rightarrow q$) in the propositional calculus.
Here $q$ is an arbitrary primitive proposition and 'proof' means deduction from the axioms
(a) $(p \Rightarrow (q\Rightarrow p))$
(b) $((p \Rightarrow (q\Rightarrow r)) \Rightarrow ((p \Rightarrow q) \Rightarrow (p \Rightarrow r)))$
(c) $(\neg\neg p \Rightarrow p)$
and modus ponens. Here is my solution:
Instead of proving that $\,\,\vdash (\bot \Rightarrow q)$ we prove that $\{\bot\}\vdash q$. This is easy:
$\bot$ ----- premiss
$(\bot \Rightarrow ((q\Rightarrow \bot)\Rightarrow \bot))$ ----- instance of (a)
$((q\Rightarrow \bot) \Rightarrow \bot)$----- modus ponens
$(((q\Rightarrow \bot )\Rightarrow \bot) \Rightarrow q)$ ----- instance of (c)
$q$ ----- modus ponens
Then the Deduction theorem finishes the job. (The Deduction theorem says that if $S$ is a set of propositions and $s,t$ are propositions then $S\vdash (s\Rightarrow t)$ if and only if $S\cup \{s\}\vdash t$.)
I am unsatisfied, however, since I did not explicitly write down the proof of $(\bot \Rightarrow q)$. I tried to do this by following the algorithm given in the proof of the Deduction theorem (see Theorem 2.4 in Johnstone's book) but it turned into a mess, so I gave up. My question:
Is there a short proof of $\,\,\vdash (\bot \Rightarrow q)$, like that of $\{\bot\}\vdash q$?