Composition of measurable functions
= Composition of measurable functions
If $f:(X,\mathcal A)\to(Y,\mathcal B)$ and $g:(Y,\mathcal B)\to(Z,\mathcal C)$ are measurable, then $g\circ f$ is measurable because
$$
(g\circ f)^{-1}(C)=f^{-1}(g^{-1}(C)).
$$