Lemma. Cartesian product of countable sets [00ML]
- January 29, 2024
- Jon Sterling, with contributions from Marcelo Fiore
The product of countable sets is countable.
Proof.
- January 29, 2024
- Jon Sterling
Let A and B be countable sets. If either A or B is empty, then A\times B is empty and thus countable. Otherwise, let e_A\colon \mathbb {N}\twoheadrightarrow A and e_B\colon \mathbb {N}\twoheadrightarrow B be enumerations of A and B respectively. Then the function e_A\times e_B\colon \mathbb {N}\times \mathbb {N}\to A\times B can be seen to be surjective; letting f\colon \mathbb {N}\twoheadrightarrow \mathbb {N}\times \mathbb {N} be any enumeration of \mathbb {N}\times \mathbb {N}, can compose to obtain a surjection {\mathopen {}\left (e_A\times e_B\right )\mathclose {}}\circ f\colon \mathbb {N}\twoheadrightarrow A\times B by Theorem [00MD].