I'm trying to prove below result.
Let $E$ be a locally convex t.v.s. and $f \not \equiv 0$ a linear functional on $E$. Then $\ker f$ is either closed or dense in $E$.
The space $E$ is assumed to be locally convex. However, another statement "$\ker f$ is closed iff $f$ is continuous" holds without such assumption. I would like to ask if
Above theorem holds without local convexity.
My proof contains some mistakes.
Thank you so much!
I post my proof separately as below answer. This allows me to subsequently remove this question from unanswered list.