Hom turns sums into products

Hom out of a direct sum canonically identifies with the product of Homs.
Hom turns sums into products

Hom turns sums into products: Let {Mi}iI\{M_i\}_{i\in I} be a family of RR-modules and let NN be an RR-module. Restriction along the canonical maps ιi:MiiIMi\iota_i:M_i\to \bigoplus_{i\in I}M_i induces a natural isomorphism

HomR(iIMi,N)    iIHomR(Mi,N). \operatorname{Hom}_R\Bigl(\bigoplus_{i\in I} M_i,\,N\Bigr)\;\cong\;\prod_{i\in I}\operatorname{Hom}_R(M_i,N).

This expresses the as converting a in the source into a of hom-sets, complementing how behaves with sums.