Is the sentence
Given an Euclidean space $X$, over which a function $f: X → \mathbb R$ is defined ...
correct, or do I write
Given an Euclidean space $X$, on which a function $f: X → \mathbb R$ is defined ...
in my publication? With
Since a function is defined on its entire domain, ...
https://en.wikipedia.org/wiki/Domain_of_a_function seems to favour the second, while I saw the first in quite a few of places at math.stackexchange.com, e.g. What is the measure of functions defined over $\overline{\mathbb{Q}}$.
EDIT: https://english.stackexchange.com/questions/117234/function-defined-on-over-the-set-a suggests that it would be "on" if $f$ is defined on arbitrary set and "over" if the function is defined over sort of (algebraic) structure (or strictly speaking over the underlying set), where the structure is somewhat "respected" by the function. So it might be be
Given an Euclidean space $X$, over which a function $f: X → \mathbb R$ is defined ...
Given a set $X$, on which a function $f: X → \mathbb R$ is defined ...
What is to make of this (as mathematicians, instead of linguists ;-))?