Definition (measurable function)

Let $(E,\mathcal{A})$ and $(F,\mathcal{B})$ be two measurable spaces.

A function $f: E\to F$ is measurable if $f\inv(B) \in \mathcal{A}$ for all $B\in \mathcal{B}$.

Composition of measurable functions is measurable.