Link to original\phi:\mathrm{Hom}_A(M\otimes_AN,P)\to\mathrm{Hom}_A(M,\mathrm{Hom}_A(N,P)).
Lemma
If and are -modules, then
\begin{proof}
Note that there is an isomorphism , which maps to where . So there is
If and are -modules, then is also a -module by . For any , if is an element of , then we have that for all and (see here). It yields that and so consists of the elements of which are fixed by .
Since an isomorphism will map the fixed points of in the one space to the fixed points in the other space, we obtain that .
\end{proof}