Set of Invertible Mappings forms Symmetric Group

Theorem
Let $S$ be a set.

Let $\struct {S^S, \circ}$ be the monoid of all the mappings from $S$ to itself.

Let $\GG$ be the set of all invertible mappings from $S$ to $S$.

Then $\struct {\GG, \circ}$ is the symmetric group on $S$.

Proof
We have Set of all Self-Maps is Monoid.

By Inverse of Permutation is Permutation, if $f$ is a permutation of $S$, then so is its inverse $f^{-1}$.

By Bijection iff Inverse is Bijection, it follows that all the invertible elements of $S^S$ are exactly the permutations on $S$.

The result follows from Invertible Elements of Monoid form Subgroup of Cancellable Elements.