Let $X, Y$ be continuous, real valued random variables, and let $f$ be a measurable function such that $f(X)$ is again a random variable.
EDITED: How would the conditional expectation $\mathbb{E}[Y|f(X)=f(x)]=\int y d\mathbb{P}_{Y|f(X)}(f(x))$ relate to $\mathbb{E}[Y|X=x]=\int y d\mathbb{P}_{Y|X}(x)$? Which are the minimum conditions that they are equal? How can I get from the one integral representation to the other and which properties must $f$ fullfil to do so?