How should “If P then Q; Q; therefore P” be evaluated?

Qiyās al-Khalf: Compound Reductio, Impossibility and Proof of the Claim