Hypothetical Syllogism/Formulation 5

Theorem

 * $\vdash \left({q \implies r}\right) \implies \left({\left({p \implies q}\right) \implies \left({p \implies r}\right)}\right)$

Proof
Let us use substitution instances as follows:

From Hypothetical Syllogism: Formulation 3 we have:
 * $\vdash \left({\left({p \implies q}\right) \land \left({q \implies r}\right)}\right) \implies \left({p \implies r}\right)$

Using substitution instances leads us back to:
 * $\vdash \left({q \implies r}\right) \implies \left({\left({p \implies q}\right) \implies \left({p \implies r}\right)}\right)$