Let $X,Y$ be independent r.v.s on $(\Omega, \mathscr{F}, P)$ having the same distribution i.e. the measures $P\circ X^{-1}= P\circ Y^{-1} : \mathscr{B}(\mathbb{R}) \rightarrow [0,1]$ are equal. Also, $E(|X|), E(|Y|)<\infty$. Then $E[X|X+Y]=E[Y|X+Y]$.
In the proof given here,$\mu_X$, $\mu_Y$ and $\mu_{X,Y}$ denote the distribution measures. I do not understand why
$$\int 1_B(X+Y)X \, dP = \int 1_B(x+y)x\,d\mu_{XY}(x,y)$$
A more general question would be,
if $f= \hat {f} (X,Y):\Omega \rightarrow \mathbb{R}$ where $\hat{f} :\mathbb{R}^2 \rightarrow \mathbb{R}$ is Borel measurable, then does it hold that,$$\int \hat{f}(X,Y) \, dP = \int \hat{f} \, d\mu_{X,Y} $$