Theorem mpani

An inference based on modus ponens. (Contributed by NM, 10-Apr-1994.) (Proof shortened by Wolf Lammen, 19-Nov-2012.)

Hypotheses
mpani.1
\( \vdash \psi \)
mpani.2
\( \vdash \varphi \rightarrow \psi \wedge \chi \rightarrow \theta \)
Conclusion
\( \vdash \varphi \rightarrow \chi \rightarrow \theta \)
Proof
mpani.1
l1
a1i _
\( \vdash \varphi \rightarrow \psi \)
mpani.2
\( \vdash \varphi \rightarrow \psi \wedge \chi \rightarrow \theta \)
mpand l1 _