$\newcommand{\diff}{\mathrm d}$
I'm trying to prove Proposition 12.4. (given without proof) in this note.
Let $\mathcal{G}$ be a sub-$\sigma$-field of $\mathcal{F}$ and $X, Y$ two random variables such that $X$ is independent of $\mathcal{G}$ and $Y$ is $\mathcal{G}$-measurable. Let $\varphi: \mathbb{R}^2 \rightarrow \mathbb{R}$ be Borel-measurable such that $\mathbb{E}[|\varphi(X, Y)|] < \infty$. Then $$ \mathbb{E}[ \varphi(X, Y) | \mathcal{G}] = \psi(Y) \quad \text { a.s.} \quad \text{where} \quad \psi(y) := \mathbb{E}[ \varphi(X, y)]. $$
In below attempt, I'm stuck at showing $$ \int_\mathbb R \left[ \int_\mathbb R \varphi (x,y) \diff \color{blue}{\mu'}(x) \right ] \mathrm d \nu'(y) = \int_\mathbb R \left[ \int_\mathbb R \varphi (x,y) \diff \color{blue}{\mu}(x) \right ] \mathrm d \nu'(y). $$
Could you elaborate on how to finish the proof?
Proof Let $\mu, \nu$ be the distributions under $\mathbb P$ of $X, Y$ respectively. We have $X, Y$ are independent and thus the distribution $\lambda$ of $(X, Y)$ is the product measure of $\mu$ and $\nu$, i.e., $\lambda = \mu \otimes \nu$. By Fubini's theorem, $\varphi(X, y)$ is integrable for $\nu$-a.e. $y\in Y$ and the map $y \mapsto \mathbb{E}[ \varphi(X, y)]$ is Borel. Clearly, $\psi(Y)$ is $\mathcal G$-measurable.
Fix $A \in \mathcal G$. Let's prove that $$ \int_A \varphi (X, Y) \diff \mathbb P = \int_A \psi(Y) \diff \mathbb P. $$
Let $\mathcal G'$ be the sub-$\sigma$-algebra of $\mathcal G$ induced by $A$ and $\mathbb P'$ the restriction of $\mathbb P$ to $\mathcal G'$. We now consider integration w.r.t. $(A, \mathcal G', \mathbb P')$. Clearly, $$ \int_A \varphi(X, Y) \diff \mathbb P = \int_A \varphi(X, Y) \diff \mathbb P' \quad \text{and} \quad \int_A \psi(Y) \diff \mathbb P = \int_A \psi(Y) \diff \mathbb P'. $$
Notice that $X,Y$ are still independent under $(A, \mathcal G', \mathbb P')$. Let $\mu', \nu'$ be the distributions under $\mathbb P'$ of $X, Y$ respectively. Then the distribution of $(X, Y)$ under $\mathbb P'$ is $\lambda' :=\mu' \otimes \nu'$. By change of variables formula and Fubini's theorem, $$ \int_A \varphi (X, Y) \diff \mathbb P' = \int_{\mathbb R^2} \varphi (x,y) \diff \lambda(x, y) = \int_\mathbb R \int_\mathbb R \varphi (x,y) \diff \mu'(x) \diff \nu'(y). $$
By change of variables formula, $$ \int_A \psi(Y) \diff \mathbb P' = \int_\mathbb R \psi(y) \diff \mathbb \nu'(y) = \int_\mathbb R \left[ \int_\Omega \varphi (X,y) \diff \mathbb P \right ] \mathrm d \nu'(y) = \int_\mathbb R \left[ \int_\mathbb R \varphi (x,y) \diff \mu(x) \right ] \mathrm d \nu'(y). $$