Let $K$ be a non-empty closed convex subset of a real Hilbert space $X$. Let $F:K \to \mathbb{R}$ be a continuous and convex linear functional s.t. if $K$ is unbounded, then $\lVert x_n \rVert\to \infty$ implies $F(x_n)\to \infty$.
Prove there is a $x_0 \in K$ s.t. $F(x_0)\leq F(x)$ for all $x\in K$
I have no intuitive if $K$ is bounded. Can anyone give me some hints?
Maybe construct a sequence $x_n$ in $K$ s.t. $F(x_n)\to \inf\{F(x):x\in K\}$?