I want to know if there exists an (real or complex) vector space $X$ with infinite dimension and an inner product $\langle\cdot,\cdot\rangle$ such that there is no orthogonal Hamel (algebraic) basis of $X$. I do not seek conditions on to the topological aspects of completeness nor an example Schauder Basis or a Maximal Orthogonal System in Hilbert Spaces. I am aware that this is not usually discussed in the scenario of infinite dimensional vector spaces, but this is exactly what I'm curious about.
I know how to prove that every inner product space of Hamel dimension $\aleph_0$ has an orthonormal Hamel basis using the Gram-Schimidt process but this proof does not work for the uncountable case.
I also know that a maximal orthogonal set of non-zero vectors is not always a Hamel basis, thus a simple application of Zorn's Lemma does not seem to solve the problem. Finally, I have seen many other similar questions here but none of them provide an answer for the question posed here.
Let $V$ be an infinitely dimensional separable Hilbert space, and let $\langle., .\rangle$ be its inner product. Equip it with the topology induced by the inner product. Then the inner product is a continuous function from $V\times V$ into $\mathbb K=\mathbb R$ or $\mathbb C$. We will use:
Now assume by contradiction that $V$ has an orthogonal Hamel basis (or, more generally, an uncountable orthogonal system of nonzero vectors), $B$. By 2. $B$ is separable. Let $S\subseteq B$ be a countable set such that $B\subseteq \overline S$. By 1., there exists $x\in B\setminus S$. Since $V$ is first-countable (since it is metrizable), there exists a sequence $(e_n: n\in \mathbb N)$ of elements of $S$ converging to $x$.
Since every pair of distinct elements of $B$ are orthogonal, $\langle x, e_n\rangle=0$ for every $n\in \mathbb N$. Then by continuity, $0=\langle x, \lim_{n\rightarrow \infty} e_n\rangle=\langle x, x\rangle$, thus $x\in V$, contradicting the fact that $x\neq 0$.
This argument can be adapted for any separable inner product space with uncountable Hamel dimension.