Inverse of Injective and Surjective Mapping is Mapping

Theorem
Let $S$ and $T$ be sets.

Let $f: S \to T$ be a mapping such that:
 * $(1): \quad f$ is an injection
 * $(2): \quad f$ is a surjection.

Then the inverse $f^{-1}$ of $f$ is such that:
 * for each $y \in T$, the preimage $f^{-1} \left({y}\right)$ has exactly one element.

That is, such that $f^{-1} \subseteq T \times S$ is itself a mapping.