A basic description of a function is this: $$f: \text{dom}(f) \subseteq \mathbb{R}^n \to \text{ran}(f) \subseteq \mathbb{R}^m$$
Clearly, this function has FOUR things going on:
Domain: $\text{dom}(f)$, all inputs that gives valid output. For example, the real function $f(x) = \log(x)$ is defined on the domain $x > 0$. It is undefined elsewhere.
$\mathbb{R}^n$: the set for which domain belongs to.
Range: $\text{ran}(f) = f(\text{dom}(f))$
Codomain: the set which which contains the range.
Why is it that only "domain, range, codomain" are named, but not $\mathbb{R}^n$?
All my life I've seen $\mathbb{R}^n$ either being completely confused with the domain or sometimes is called the "ambient space", but this has strong physics undertone.
Why is there a loss of symmetry in the naming convention of these objects?