1) We say that $f:\mathbb R^n\to \mathbb R$ is measurable if $$\{x\in\mathbb R^n\mid f(x)<\alpha \},\tag{D}$$ is measurable for all $\alpha $. What is the motivation for such definition ?
We can define for example continuity as : $f^{-1}(O)$ is open in $\mathbb R^n$ for all open set in $\mathbb R$. A possible definition for measurability could be for example $f^{-1}(O)$ is measurable for all open of $\mathbb R$, no ? So what is the motivation for the definition (D) ?
2) In more abstract measurable spaces, $f:(X,\mathcal F)\to (Y, \mathcal G)$ we say that $f$ is measurable if $$f^{-1}(U)\in \mathcal F\tag{D'}$$ for al $U\in \mathcal G$. Is there a correlation with the definition (D) ? For example, if $Y$ is a space with an order $\mathcal R$, would it be equivalent to $$\{x\in X\mid f(x)\mathcal R\alpha \}\in \mathcal F,$$ for all $\alpha \in Y$ ? Because I unfortunately don't really see the relation between (D) and (D').