Summation over Finite Subset is Well-Defined

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

Let $F \subseteq G$ be a finite subset of $G$.

Then the summation $\ds \sum_{g \mathop \in F} g$ is well-defined.

Proof
To show that summation over $F$ is well-defined it needs to be shown:
 * $(1) \quad \exists$ a finite enumeration of $F$
 * $(2) \quad \forall$ finite enumerations $g$ and $h$ of $F : \ds \sum_{i \mathop = 1}^n g_i = \sum_{i \mathop = 1}^n h_i$

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

Hence $g$ is a finite enumeration of $F$ by definition.

So the summation $\ds \sum_{i \mathop = 1}^n g_i$ exists.

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

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

Let $\iota: G \to G$ denote the identity mapping on $G$.

We have:

The result follows.