TITLE: Borel functions on $\omega_1$
QUESTION [6 upvotes]: Endow $\omega_1$ with order topology. It is easy to show that each continuous function $f\colon \omega_1\to \mathbb{R}$ is eventually constant. Is the same true for Borel functions?

REPLY [8 votes]: It isn't true for Borel functions. To see this, observe that the set of successor ordinals (plus zero) is an open set in the order topology of $\omega_1$, and its complement is the set of limit ordinals, so these are both Borel sets in that topology. Thus, the characteristic function of the limit ordinals, with value $1$ on the limit ordinals and $0$ on successors and zero, is a Borel function, but it is not eventually constant.

REPLY [7 votes]: Assuming that by "Borel function" you mean (as is customary) a function such that the inverse image of each Borel set is Borel, the answer is no.  Consider the characteristic function of the set $L$ of countable limit ordinals.  The inverse image of any subset of $\mathbb R$ is $L$ (which is closed), the complement of $L$ (which is open), all of $\omega_1$, or empty.