I was reading a proof [Theorm 1.2], there says the continuity of the function $f: \mathbb{R}^n \rightarrow \mathbb{R}$ implies the closedness of the set $\{x \mid f(x) \le \alpha\}$. Could someone refresh me on how such a claim is achieved?
Updates: The context is: a function $f$ is coercive if and only if for every $\alpha \in \mathbb{R}$ the set $\{x \mid f(x) \leq \alpha \}$ is compact.