On an assignment, we have been given a the following setup: Let $ f:A\rightarrow \bar{\mathbb{R}}$ be a borel measurable function. prove that if $f$ is Borel measurable and $B$ is a Borel set, then $f^{-1}(B)$ is a Borel set.
The definition of Borel Measurability we were given is as follows: "A function $f : \mathbb{R} \to \mathbb{R}$ is said to be Borel measurable provided its domain A ⊆ R is a Borel set and for each c, the set {$x ∈ A : f (x) < c$} is a Borel set.
We were not given any description of where this set lives, I'm assuming $B \subset \mathbb{R}$ but this may be incorrect. I figure we need to show that the set {${B \subset \mathbb{R}:f^{-1}(B)}$ is a Borel set} is a sigma algebra but I am unsure how to do this. I know its a little silly because all you need to do is check that the definitions of a sigma algebra are met but showing those things is proving more difficult than i anticipated. We may also use the fact that borel measurable functions are Lebesgue measureable. Any help would be greatly appreciated!