Let $f: [0,1]\to \mathbb{R}$ be a lower semi-continuous function, then
$$ \liminf_{x\to a} f(x) \geq f(a), \forall a \in [0,1]$$
I have to prove that $f$ attains its minimum on $[0,1]$, that is:
$\exists x_0 \in [0,1]$ such that $f(x_0) \le f(x)$, $\forall x \in [0,1]$.
My proof:
Assume that $f$ is lower semi-continuous, but $f$ doesn't attain it's minimum on $[0,1]$,
Since $f$ is lower semicontinuous at $x_0$,
$$\forall \epsilon > 0, \exists \delta > 0 \mbox{ such that } |x - x_0| < \delta, \Rightarrow f(x) > f(x_0) - \epsilon, \forall x \in (x_0 - \delta,x_0 + \delta)$$
Now since $f$ doesn't attain it's minimum on $[0,1]$, then
$$\forall x_0 \in [0,1], \exists x \in [0,1] \mbox{ s.t } f(x_0) > f(x)$$
Let $\epsilon = f(x_0) - f(x) > 0, \exists \delta > 0$, such that $|x-x_0| < \delta$ and $f(x) > f(x_0) - \epsilon \Rightarrow f(x_0) - f(x) > \epsilon = f(x_0) - f(x)$ which is a contradiction.
I am right? Thanks.