I have a seemingly trivial question regarding conditional expectation. Consider $x$ and $y$ be two integrable random variables on Probability space (X, $\Sigma$, $P$) such that $$E(X|Y) =_{a.s} Y$$ and $$E(Y|X) =_{a.s} X$$ Show that $$X=_{a.s} Y$$
The thing looks like a simple proof result, but I don't know how to move on after showing that$$\int_{B} Y = \int_{B} X$$ for all $B \in \sigma(x)$ and $B \in \sigma(y)$
Now any hint on how to proceed? Thank you so much in advance
Hints: