Question: Let $(f_n)_{n \geq 1}$, $f$, and $g$ be Borel measurable functions from $\mathbb{R} \to \mathbb{R}$. Suppose $g$ is continuous almost everywhere and $f_n \to f$ almost everywhere, does $g \circ f_n \to g \circ f$ almost everywhere?
I saw a similar question in Cohn's measure theory book, but Cohn's question assumes $g$ is continuous at $f(x)$ for almost all $x$, but the version I found here only assumes $g$ is continuous almost everywhere. May I ask how to solve it?
Thanks in advance!