I am studying the theory of probability with 'Jaynes style', i.e. not using all the theoretical substratum of measure theory and Lebesgue integral. I would like to understand if there exists in this 'limited' theoretical framework a rigorous proof (under the necessary hypotheses, even if a little more stringent) of the fact that:
$$\mathbb{E}\{g(X)\}=\int_{x=-\infty}^\infty g(x)f_X(x)\mathrm{d}x$$
where the integral is a Riemann integral, the state of knowledge about $X$ is described by the density function $f_X(x)$ and $g$ is a non-bijective function (continuous, differentiable, or what we need). From Wikipedia page https://en.wikipedia.org/wiki/Law_of_the_unconscious_statistician I understand that such a proof exists, and it apparently involves two things (which I don't even know, but which I will study):
- Sard's theorem,
- coarea formula.
I would like to ask, please, your help regarding where to study a serious proof of that formula because I am having difficulties finding it on the internet. If you perhaps have a link, a document, etc...
Thank you in advance.