Let $V$ be a vector space over a field $K$ and suppose we wish to define an inner product on $V$. Most books define inner products on $\mathbb R\mkern-0.5mu$- or $\mathbb C\mkern-0.5mu$-vector spaces only, so we must generalize the standard definition a bit.
In particular, we need $K$ to have an involution $*:K\to K,z\mapsto z^*$ and we need the subset $P=\bigl\{\langle x\,|\, x\rangle \,\bigm|\, x\in V\bigr\}\subseteq K$ to be ordered, so that positive-definiteness to make sense.
Consider the following tentative restrictions:
- $K$ has an involution (automorphism of characteristic $2$), $*:K\to K,z\mapsto z^*$.
- $\mathbb R\subseteq K$.
Under these restrictions, the standard definition of an inner product makes sense (replacing the complex conjugate function with the $*$ function above, and interpreting $0\leqslant a\in K$ to mean $a\in\mathbb R^+\subseteq K$, as was already the case for $\mathbb C$). My question is, can these restrictions be relaxed even further while having the inner product axioms still make sense and induce a norm?
In particular, I feel restriction $(2)$ above might be too strong. Perhaps the set $P$ defined above can be given a natural ordering so that positive-definiteness makes sense? Perhaps $\mathbb R$ is unnecessarily large? But note that $\mathbb Q$ may be too small because then square roots might not always be defined, so the standard norm $\|x\|=\sqrt{\langle x|x\rangle}$ is ill defined.
Background:
While similar questions have been asked twice on Math.SE, they have unfortunately gone unanswered, or answered under the false assumption that $K$ must be an ordered field (obviously wrong because $\mathbb C$ works just fine). The unanswered one links to a similar Mathoverflow question in which the answers also make this false assumption. Those answer also focus relaxing the definition of inner products to apply to more general fields, rather than restricting the fields such that the standard definition still applies to them; thus I feel my question as asked here is sufficiently different. I would like to see most generally what fields other than $\mathbb R$ and $\mathbb C$ can easily fit the standard definition.