Solution (source code)

= Solution

A function $f:\mathbb R\to\mathbb R$ is <Borel measurable function>[Borel measurable] when
$$
f^{-1}(B)
$$
is a <Borel set> for every Borel set $B\subseteq\mathbb R$. It is enough to require this for every open set, or for every interval of the form $(-\infty,a)$.