Given three random variables $X_1,X_2,Y$ such that $X_2,Y$ are independent, how does one prove that
$$ E[g_1(X_1)g_2(X_2)|Y] = E[g_1(X_1)|Y]E[g_2(X_2)] $$
Attempt:
\begin{equation} \begin{aligned} E[g_1(X_1)g_2(X_2)|Y=y] =& \int \int_{\mathbb{R}^2} g_1(x_1)g_2(x_2)f_{X_1,X_2|Y}(x_1,x_2|y) dx_1dx_2\\ =& \int \int_{\mathbb{R}^2} g_1(x_1)g_2(x_2)\frac{f_{X_1,X_2,Y}(x_1,x_2,y)}{f_Y(y)} dx_1dx_2\\ =& \int \int_{\mathbb{R}^2} g_1(x_1)g_2(x_2)\frac{f_{X_1|X_2,Y}(x_1|x_2,y)f_{X_2,Y}(x_2,y)}{f_Y(y)} dx_1dx_2\\ =& \int \int_{\mathbb{R}^2} g_1(x_1)g_2(x_2)\frac{f_{X_1|X_2,Y}(x_1|x_2,y)f_{X_2}(x_2)f_Y(y)}{f_Y(y)} dx_1dx_2\\ \end{aligned} \end{equation}
I'm stuck here.
The claim is incorrect. The result requires conditional independence of $X_1$ and $X_2$ given $Y$.