I want to prove in $HPC$ that
$$ \vdash_{HPC} (A\rightarrow B)\rightarrow ((B\rightarrow C) \rightarrow (A\rightarrow C ))$$
I tried using different combinations of the $A\rightarrow (B \rightarrow A)$ and $ (A \rightarrow (B \rightarrow C)) \rightarrow ((A \rightarrow B) \rightarrow (A \rightarrow C)) $ axioms but didn't reach the result. What am I missing?
thanks.
Solution:
Using the deduction theorem for $HPC$, this is correct iff: $$ A\rightarrow B, B \rightarrow C, A \vdash_{HPC} C$$
which is easily proven by using the $MP$ rule 2 times.