Suppose $C\subset \mathbb{R^n}$, and $f:\mathbb{R^n}\to \mathbb{R}$ is continuous on cl$C.$
Prove that $$\inf\{ f(x)|x\in C\}=\inf\{ f(x)|x\in\text{cl}C \}.$$
I tried to use whenever a sequence, $x_n \in C$ converges to $x^* \in\text{cl}C$, we have $f(x_n)\to f(x^*)$.
But I have no idea after this... I would really appreciate your help.
$\text{cl}C$ means the closure of $C$.
Hint: $\inf f(\overline{C})=\inf \overline{f(\overline{C})}=\inf \overline{f(C)}=\inf f(C)$.