Summation over Finite Index is Well-Defined

Theorem
Let $\struct{G, +}$ be a commutative monoid.

Let $\family{g }_{i \mathop \in I}$ be an indexed subset of $G$ where the indexing set $I$ is finite.

Then the summation $\ds \sum_{i \mathop \in I} g_i$ is well-defined.

Proof
To show that summation over $I$ is well-defined it needs to be shown:
 * $(1) \quad \exists$ a finite enumeration of $I$
 * $(2) \quad \forall$ finite enumerations $e$ and $d$ of $I : \ds \sum_{k \mathop = 1}^n g_{e_k} = \sum_{k \mathop = 1}^n g_{d_k}$

Proof of $(1)$
By definition of finite set:
 * $\exists n \in \N : \exists$ a bijection $e: \closedint 1 n \to I$

Hence $e$ is a finite enumeration of $I$ by definition.

So the summation $\ds \sum_{k = 1}^n g_{e_k}$ exists.

Proof of $(2)$
Let $d: \closedint 1 n \to I$ be any other finite enumeration of $I$.

Consider the composite mapping $e^{-1} \circ d : \closedint 1 n \to \closedint 1 n$ which exists and is a bijection because $e$ and $d$ are bijections.

Let $\operatorname{id}_I: I \to I$ denote the identity mapping on $I$.

We have:

The result follows.