I have constructed the following proof of $\phi \vdash \neg \neg \phi$ using an axiomatic proof system as well as $(\neg$I) and ex falso quodlibet ($\phi,\neg \phi \vdash \psi$) and ($\rightarrow$I), which I've already proved. I get suspicious whenever I use EFQ, so I'm doubting my proof, but perhaps it's fine:
- $\phi \hspace{5cm} premise$
- $\neg \phi \hspace{4.6cm} assumption$
- $\neg \phi \hspace{4.6cm} EFQ, 1,2$
- $\phi \rightarrow \neg \phi \hspace{3.55cm} \rightarrow I\hspace{0.3cm}1,3$
- $\neg \phi \hspace{4.55cm} MP \hspace{0.4cm} 1,4 $
- $\neg \neg \phi \hspace{4.2cm} \neg$I
So I suppose $\neg \phi$, derive $\neg \phi$ by EFQ, and so I can assert $\phi \rightarrow \neg \phi$ and by modus ponens get to $\neg \phi$, which is obviously a contradiction, so we must have $\neg \neg \phi$, when $\phi$ is a premise. I do think that works, but let me know if you spot a blunder! The line that I have some doubts about is the $\rightarrow$ introduction.
To expand, I now ask myself: why can't I just do the following?
- $\phi \hspace{5cm} premise$
- $\neg \phi \hspace{4.6cm} assumption$
- $\neg \phi \hspace{4.6cm} EFQ, 1,2$
- $\neg \neg \phi \hspace{4.2cm} \neg$I
NOTE: 'assumption' means something we are going to discharge eventually, whereas 'premise' as an actual premise/assumption.
EDIT: The axioms I can use, along with the derived rules I mentioned above, are:
$$ (A1) \hspace{1cm} \phi \rightarrow (\psi \rightarrow \phi)\ $$
$$ (A2) \hspace{1cm} \phi \rightarrow (\psi \rightarrow \chi) \rightarrow ((\phi \rightarrow \psi) \rightarrow (\phi \rightarrow \chi))\ $$
$$ (A3) \hspace{1cm}(\neg \phi \rightarrow \neg \psi) \rightarrow (\psi \rightarrow \phi) $$