I was looking at the Heine-Borel theorem. It boils down to the following two claims about a metric space $X$:
- Every closed subspace of $X$ is complete. (1)
- Every bounded subspace of $X$ is totally bounded. (2)
When both hold for $X$, every closed and bounded subspace will be complete and totally complete, thus compact. (A proof of) Heine-Borel theorem essentially says both are true for $X=\mathbb R^n$.
Now I would like to look at both properties individually. Clearly, (1) is equivalent to $X$ being complete: it is well-known that closed subspaces of complete space is complete, and conversely every metric space is a closed subspace of itself. However, (2) is strictly weaker than totally bounded: indeed, every subspace of totally bounded space is totally bounded, but (2) also holds for $\mathbb R^n$ which is not even bounded.
So I'm wondering: are spaces satisfying (2) being studied? What are some examples (other than $\mathbb R^n$ or its subspaces) that satisfy (2) but are not totally bounded (preferably not bounded)?