Characterisation of Spanning Set through Free Module Indexed by Set

Theorem
Let $M$ be a unitary $R$-module.

Let $S = \family {m_i}_{i \mathop \in I}$ be a family of elements of $M$.

Let $\Psi: R^{\paren I} \to M$ be the morphism given by Universal Property of Free Module Indexed by Set.

Then $S$ is a spanning set of $M$ $\Psi$ is surjective.

Proof
For $\family {r_i}_{i \mathop \in I} \in R^{\paren I}$ we have:
 * $\map \Psi {\family {r_i}_{i \mathop \in I} } = \ds \sum_{i \mathop \in I} m_i r_i$

Thus $\Psi$ is surjective every element of $M$ is a linear combination of $S$.