I'm reading a proposition given without proof in this note.
Proposition 12.4. Let $\mathcal{G}$ be a sub-$\sigma$-field of $\mathcal{F}, X, Y$ be two random variables such that $X$ is independent of $\mathcal{G}$ and $Y$ is $\mathcal{G}$-measurable, and let $\varphi: \mathbb{R}^2 \rightarrow \mathbb{R}$ be a Borel-measurable function 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 } \psi(y)=\mathbb{E}(\varphi(X, y)). $$
It follows from the proposition that $\mathbb{E}(\varphi(X, Y) | \mathcal{G}) = \psi(Y) = \mathbb{E}(\varphi(X, Y))$ is a constant.
Question:
Could you elaborate on how to prove this proposition?