Example. Cardinality of the disjoint sum [00LZ]
- January 28, 2024
- Jon Sterling, with contributions from Marcelo Fiore
For all m,n:\mathbb {N}, we have {\mathopen {}\left [m\right ]\mathclose {}}+{\mathopen {}\left [n\right ]\mathclose {}} \cong {\mathopen {}\left [m+n\right ]\mathclose {}}.
Proof.
- January 28, 2024
- Jon Sterling
We can think of {\mathopen {}\left [m\right ]\mathclose {}}+{\mathopen {}\left [n\right ]\mathclose {}} as the set of coordinates into two strips of cells, the first of which has m cells and the second of which has n cells. Conversely, we can think of {\mathopen {}\left [m+n\right ]\mathclose {}} as the set of coordinates a single strip of m+n cells. A function I\colon {\mathopen {}\left [m\right ]\mathclose {}}+{\mathopen {}\left [n\right ]\mathclose {}}\to {\mathopen {}\left [m+n\right ]\mathclose {}} could then be thought of as witnessing a method to lay out the two strips in serial; we will define such a function and show that it is a bijection.
\begin {aligned} I &\colon {\mathopen {}\left [m\right ]\mathclose {}}+{\mathopen {}\left [n\right ]\mathclose {}} \to {\mathopen {}\left [m+n\right ]\mathclose {}}\\ I{\mathopen {}\left (0,i<m\right )\mathclose {}} &= i\\ I{\mathopen {}\left (1,j<n\right )\mathclose {}} &= m+j \end {aligned}The function I places a cell from the first strip sequentially after the first m cells of the serialised strip. The inverse can be defined as follows:
I{\mathopen {}\left (k\right )\mathclose {}} = \begin {cases} {\mathopen {}\left (0,k\right )\mathclose {}} &\text {when } k < m\\ {\mathopen {}\left (1,k-m\right )\mathclose {}} &\text {when } k \geq m \end {cases}