Formulate and prove...
Solution.
Suppose that \(S,j_1,j_2\) and \(\bar{S},\bar{j_1},\bar{j_2}\) are both sums of \(B_1,B_2\) in a given category.
The definition of \(S\) as a sum says that for any two maps \(B_1 \xrightarrow{f_1} X\) and \(B_2 \xrightarrow{f_2} X\text{,}\) there is exactly one map \(S \xrightarrow{f} X\) such that \(f_1 = f j_1\) and \(f_2 = f j_2\text{.}\) This shows that the following diagram commutes:
By choosing \(X = \bar{S}\text{,}\) there must be a unique map \(S \xrightarrow{h} \bar{S}\) such that \(\bar{j_1} = h j_1\) and \(\bar{j_2} = h j_2\text{.}\)
We’d like to demonstrate that this map is an isomorphism, so we need to to find an inverse to it. Since \(\bar{S}\) is also a product in the category, this defines a unique map \(\bar{S} \xrightarrow{k} S\) for which \(j_1 = k \bar{j_1}\) and \(j_2 = k \bar{j_2}\text{.}\)
Let’s make the claim that \(h,k\) are inverses. Namely, that \(k h = 1_S\) and \(h k = 1_\bar{S}\text{.}\) Consider the following compositions:
\begin{equation*}
(k h) j_1 = k (h j_1) = k \bar{j_1} = j_1
\end{equation*}
\begin{equation*}
(k h) j_2 = k (h j_2) = k \bar{j_2} = j_2
\end{equation*}
The map \(k h\) composed with \(j_1\) gives \(j_1\) and composed with \(j_2\) gives \(j_2\text{.}\) By choosing \(f_1 = j_1\) and \(f_2 = j_2\text{,}\) the definition of sum says that there’s a unique map satisfying \(f j_1 = j_1\) and \(f j_2 = j_2\text{.}\) Since this is uniquely satisfied by \(f = 1_S\text{,}\) we’ve can conclude that \(k h = 1_S\text{.}\)
Likewise, we can reverse the roles of \(S,\bar{S}\) and examine the following compositions:
\begin{equation*}
(h k) \bar{j_1} = h (k \bar{j_1}) = h j_1 = \bar{j_1}
\end{equation*}
\begin{equation*}
(h k) \bar{j_2} = h (k \bar{j_2}) = h j_1 = \bar{j_2}
\end{equation*}
By the same reasoning, the unique map \(g\) for which all \(g \bar{j_1} = \bar{j_1}\) and \(g \bar{j_2} = \bar{j_2}\) could only be the unique identity map \(g = 1_\bar{S}\text{.}\) It follows that \(h k = 1_\bar{S}\) and completes the proof that \(S\) is isomorphic to \(\bar{S}\text{.}\)
Having proved the result, I still feel like there’s a weak spot in my understanding of that last step. I’m thinking it has to do with the properties of “epimorphisms” and “monomorphisms” in relation to the identity map. In the proof for the product, we rely on the fact that pre-composing by \(hk\) didn’t change anything while in the proof for sum we rely on the fact that post-composing by \(k h\) didn’t change anything. My hunch is that this is related to the connection between the section, retraction, and inverse. If an inverse map exists, then the section and retraction are both equal to it.