I'm looking for an example of a Hilbert space $(H,\langle \cdot,\cdot\rangle)$ that satisfies the following:
In $H$ there exists an element $a$ such that $(H \backslash \{a\},\langle \cdot,\cdot\rangle)$ is a pre-Hilbert space such that the Riesz Representation theorem fails.
I've considered $L^2(\Omega)$ with $\Omega \subset \mathbb{R}$ and the Lebesgue measure but haven't gotten too far. The Riesz Representation theorem states that for $f \in H^*$ there exists a unique $x_o \in H$ such that $f(x)=\langle x, x_o \rangle$. If we were to remove $x_o$ from $H$, then $H \backslash \{x_0\}$ fails to Reiez theorem, but this may fail to be a normed vector space depending on what $x_o$ is chosen.