The definition of measurable functions is: Let $\Sigma$ be a sigma algebra of set $X$. Then $f:X \rightarrow \bar{\mathbb R}$ is measurable if $\{x:f(x)>a\} \in \Sigma$ for all $a \in \mathbb R$.
Let $f(x)=c$. For any $a \in \mathbb R$, the preimage $f^{-1}(a, +\infty)$ is equal to either the empty set or $X$.
I can't see how this works out the statement. I do know that the empty set and $X$ are always in $\Sigma$ but I don't know how it came to finding out what the preimage is equal to.
Also what does the real numbers with a bar mean?