As we well know, addition takes two inputs and produces an output:
\[
\begin{align}
z &= x + y.
\end{align}
\]
By nesting additions, we can add more than two numbers together.
\[
\begin{align}
(5 + 1) + 6 &= 12
\end{align}
\]
We know from experience that it makes no difference what order or groupings we use to add the numbers.
\[
\begin{align}
5 + (1 + 6) &= 12
\\
(6 + 1) + 5 &= 12
\\
1 + (5 + 6) &= 12
\end{align}
\]
We'll usually leave out parentheses since they are unnecessary.
\[
\begin{align}
5 + 1 + 6 &= 12
\end{align}
\]
Let's introduce another notation for the sum of a list of numbers.
\[
\begin{align}
\sumcomponent (5, 1, 6) &= 12
\end{align}
\]
Sums makes sense for lists of any length.
\[
\begin{align}
\sumcomponent () &= 0
\\
\sumcomponent (a) &= a
\\
\sumcomponent (a, b) &= a + b
\\
\sumcomponent (a, b, c) &= a + b + c
\\
&\vdots
\end{align}
\]
The following sum law assures us that we've defined a sensible multi-component!