Let $(X, \mathcal F)$ and $(Y, \mathcal G)$ be measurable spaces and $f:X\to Y$ be a measurable function. Let $\Gamma_f:X\to X\times Y$ be the map defined as $\Gamma_f(x)=(x, f(x))$.
Question. Is the image $\Gamma_f(X)$ a measurable subset of $X\times Y$, where the latter is equipped with the product $\sigma$-algebra?
The above question has answer in the afirmative if $X=Y=\mathbf R$ and the sigma algebras $\mathcal F$ and $\mathcal G$ are the Borel $\sigma$-algebras. This is because the map $X\times Y\to \mathbf R$ defined as $(x, y)\mapsto y-f(x)$ is a mesurable function whose zero-set is exactly $\Gamma_f(X)$.
But what about arbitrary measurable spaces?