Let $X$ be a compact Hausdorff space. Assume that the vector space of real-valued continuous functions on $X$ is finite-dimensional. I would like to conclude that $X$ is finite.
Certainly, the converse implication is trivial.
Let $X$ be a compact Hausdorff space. Assume that the vector space of real-valued continuous functions on $X$ is finite-dimensional. I would like to conclude that $X$ is finite.
Certainly, the converse implication is trivial.
By contraposition, suppose that $X$ is infinite. By the Hausdorff property, one may construct recursively a countably infinite family $(O_n)_{n=1}^\infty$ of pair-wise disjoint, non-empty open subsets of $X$. For each $n$ pick $x_n\in O_n$. As $X$ is normal, by Urysohn's lemma, for each $n$ there exists a continuous function $f_n$ such that $f_n(x_n)=1$ and $$\{x\in X\colon f_n(x)\neq 0\}\subseteq O_n.$$ Clearly, the set $\{f_n\colon n\in \mathbb{N}\}$ is linearly independent, so $C(X)$ is infinite-dimensional.