I came across the following theorem:
Let $M$ be a metric space. $M$ is compact if and only $M$ is the continuous image of the cantor set. (see reference)
An immediate consequence of this theorem is that any compact metric space has cardinality no larger than $\mathbb{R}$. This seems wrong to me. Consider the space of equibounded functions in $L_1[0,1]$. That is, take $M > 0$, and let $$ X = \big{\{} f \in L_1[0,1] : |f(x)| \leq M \ \text{for all } x \in [0,1] \big{\}} $$
I have the following observations:
- $X$ is obviously a metric space with the $L_1$ norm.
- $X$ is obviously totally bounded.
- $X$ obviously inherits completeness from $L_1[0,1]$.
- $X$ obviously inherits its cardinality $\# X = 2^\mathbb{R}$ from $L_1[0,1]$.
One of the above four observations must be wrong, or else we have violated the above theorem. An alternative explanation would be that theorem is wrong and the proof presented in Willard's General Topology makes an implicit assumption on the cardinality of the metric space.
Overall I am least confident in my second observation. While my intuition tells me this set is totally bounded, this could be an example of a space that is bounded but not totally bounded.
Any thoughts on which of these observations is/are wrong would be appreciated. Thanks!