My book (An Exposition of Symbolic Logic with Kalish-Montague derivations) asks me to derive the theorem ~(P → Q) → P, but I have no idea how to derive it. The book gives no correction for theorems' proofs, and it doesn't tell the theorem's name, probably because it doesn't have a name.
So I ask: what is the derivation of ~(P → Q) → P step by step?
The book, at this point, already taught modus ponens, modus tollens, double negation, repetition (A, therefore, A), direct derivation, conditional derivation, indirect derivation, subderivations, and I am not allowed to use any other theorem to prove ~(P → Q) → P.
If it's not allowed to ask for derivations and proofs of things, please, tell me, and I delete this question.
this is a derivation using natural deduction rules from the textbook Gamut L.T.F. "Logic, language and meaning". It may help you with your derivation.