\begin{logicproof}{0}
	\neg p \imp (q \imp r) & \prem \\
	\neg p  & \prem \\
	\lnot r & \prem\\
	q \imp r & $\impe 1,2$\\
	\lnot q & $\MT 4,3$
\end{logicproof}
