The Problem
Good evening! I am currently struggling with the following exercise.
Suppose $X$ is a Borel subset of $\mathbf{R}$ and $f:X\rightarrow \mathbf{R}$ is a function such that $\{x\in X: f \text{ is not continuous at } x\}$ is a countable set. Prove $f$ is a Borel measurable function.
What I Know
Unfortunately I am pretty lost with this one. I was told that the following observation is an important item in my toolkit for handling this problem:
To show that $f$ is a Borel measurable function, it suffices to prove that $f^{-1}((a,\infty))=\{x\in X: f(x)>a\}$ is a Borel set for all $a\in\mathbf{R}$.
I have a sneaking suspicion that
- $X$ is a Borel set
- the set of discontinuities of $f$ is countable
are also equally important pieces of information here. But I don't know why.
My Question
I think all I need here is a little push. I have all the pieces in front of me, I think, but I don't know how they fit together. In other words, I would really appreciate a tip on how you might approach this problem in an intuitive way. This is my first time working with this material, so you can safely assume that I am unfamiliar with the more "advanced" theorems that could be used here. The more basic, the better (in my case at least)!
Thank you all in advance!