Consider $L^2(-1,1)$ and the sets $A, B$ defined as
$A:=\{f \in L^2(-1,1): f \mathrm{\ is\ continuous}, f(0)=0\}$, $B:=\{f \in L^2(-1,1): f \mathrm{\ is\ continuous}, f(0)=1\}$
Question: Does there exist an $\phi \in L^2(-1,1)'$ [that is the toplogical dual space of $L^2(-1,1)]$ such that $\phi(a)<\phi(b)\ \forall a \in A,\ b \in B$?
I want to use the following result:
$X...t.v.s., A, B \subseteq X$ disjoint, non empty, convex. $A$ open
$\Rightarrow \exists f \in X', \gamma \in \mathbb R: Re \ f(a) < \gamma \leq Re\ f(b)\ \forall a \in A, b \in B$
Now in our setting, $A, B$ are disjoint, non empty. Both are convex.
How can it be shown that $A$ is open?
$A$ is not open:
It is impossible to separate $A$ and $B$ with a continuous linear form. You can notice that $A,B$ are dense in $L^2(-1,1)$. Therefore if $\phi$ would separate $A$ and $B$, taking $a \in A$, we would have $\phi(f) \ge \phi(a)$ for all $f \in L^2(-1,1)$. That would imply that $\phi = 0$, a contradiction.