The following lemma states that if we can prove negation of a Well Formed Formula (WFF) $\alpha$ by assuming the formula itself, then we can do it without such an assumption.
Lemma. Let $\Sigma$ be a set of WFFs and $\alpha$ a WFF. If $\Sigma \cup \{\alpha\} \vdash (\neg \alpha)$, then $\Sigma \vdash (\neg \alpha)$.
Proof. Suppose that we have shown that $\vdash ((\alpha \to (\neg \alpha)) \to (\neg \alpha))$. By the deduction theorem, $\Sigma \cup \{\alpha\} \vdash (\neg \alpha)$ implies that $\Sigma \vdash (\alpha \to (\neg \alpha))$. By monotonicity, we also have $\Sigma \vdash ((\alpha \to (\neg \alpha)) \to (\neg \alpha))$. Now, applying Modus Ponens (MP), we can conclude that $\Sigma \vdash (\neg \alpha)$.
As you can see, the proof relies on showing that $\vdash ((\alpha \to (\neg \alpha)) \to (\neg \alpha))$. Here is a list of tools that I can use for proving this.
Hilbert Axioms. Any WFF of the the following forms is considered as an axiom.
- $(\alpha \to (\beta \to \alpha))$.
- $\big((\alpha \to (\beta \to \gamma)) \to ((\alpha \to \beta) \to (\alpha \to \gamma))\big)$.
- $\big(((\neg \beta) \to (\neg \alpha)) \to (\alpha \to \beta)\big)$.
Also, by using Hilbert axioms, I have proved the followings.
- $\vdash (\alpha \to \alpha)$.
- $\vdash \big((\neg(\neg \alpha)) \to \alpha\big)$.
- $\vdash \big(\alpha \to (\neg(\neg \alpha))\big)$.
One last thing that I can use is transitivity, which I proved by using the deduction theorem.
- $\{\alpha \to \beta, \, \beta \to \gamma\} \vdash (\alpha \to \gamma)$.
Question. How can I show that $\vdash ((\alpha \to (\neg \alpha)) \to (\neg \alpha))$? It would be nice to let me know your line of thought for tackling this problem.

$ (Premise) 2. $\neg A$ (Premise) 3. $A \land \neg A~~$ (Join, 1, 2) 4. $\neg \neg A$ (Conclusion, 2) 5. $A \implies \neg \neg A$(Conclusion, 1). – Dan Christensen Jul 14 '24 at 17:46&(understood as the usual Haskell operator). – Naïm Camille Favier Jul 14 '24 at 18:05