$X$, $Y$, $Z$ are 3 random variables.
Let $g(\cdot)$ denote a conditional expectation such that $g(X,Z)=E(Y|X,Z)$
Need to show $E(Y|X, g(X,Z))$. I think $E(Y|X, g(X,Z))=E(Y|X,Z)$ and my rationale is given below:
\begin{align} E(Y|X, g(X,Z))&=E(E(Y|X,g(X,Z),Z)|X,g(X,Z)) \\ &=E(E(Y|X,Z)|X,g(X,Z)) \qquad \because X \, \text{and} \, Z \, \text{determine} \, g(X,Z) \\ &=E(g(X,Z)|X,g(X,Z)) \\ &=g(X,Z)=E(Y|X,Z) \end{align}
Any issue with my rationale? thanks,