Let $\mathcal{X}$ be a vector space on some field $\mathbb{K}$.
Most often, when we want to give it a dot product it is in the form of a bilinear definite positive, symmetric application $\mathcal{X}\times\mathcal{X}\mapsto\mathbb{R}$.
But if $\mathbb{K}$ is $\mathbb{C}$, the definition changes to hermitian, sesquilinear and the positivity should be changed from $\langle x|x \rangle \geq0$ to $\langle x|x \rangle\in\mathbb{R}^+$ (which I never saw expressed like this, the comparison to $0$ was always implicitly considered valid).
Is there a more generic definition that encompass all possible $\mathbb{K}$, possibly with adding somme requirements to $\mathbb{K}$ (that seems necessary in order to define positivity)? Besides, must the output be in the same field that the one upon which is defined $\mathcal{X}$?
IMHO, the right idea is "inner product" but the definitions I can find do not answers the questions above and seem even wrong with respect to the type of symmetry.
Note: closest questions I found are:
- Problem with the Definition of Inner Product Space.
- Defining a generalised version of inner product over $*$-fields
- What properties must a field $K$ satisfy in order to define an inner product on a $K\!$-vector space?
But their answers are not complete enough (though the third one introduced the idea of using an involution):
- how does positivity generalized
- how to derive a norm, have Pythagore and Cauchy-Schwartz
- is the product $\mathcal{X}\times\mathcal{X}\mapsto\mathbb{K}$ or can we switch to $\mathbb{K'}$