Contrapositive in Type Theory

78 Views Asked by At

We define $\neg P=P\rightarrow 0$ in Martin-Lof type theory. So, we have a function $$ (P\to Q)\to [(Q\to 0)\to (P \to 0)] $$ given by function composition. Am I right that there is not reverse function? If so, does that mean contrapositive is not a valid method of argument?