I'm trying to prove the following theorem.
Let $f:\mathbb{R} \to \mathbb{R}$ be a function and define $$\mathcal A:=\{a\in\mathbb{R}: f\text{ is differentiable in } a \text{ and } f'(a)=0\},$$ then $\mathcal A$ is a Borel set and $f(\mathcal A)$ has measure $0$.
I managed to prove that $\mathcal A$ is a Borel set but I'm struggling to prove that $f(\mathcal A)$ has measure zero. To do so I can use the following theorem:
Let $\epsilon>0$, $\mathcal Y$ be a Lebesgue-integrable subset of $\mathbb{R}$ and $f:\mathbb{R} \to \mathbb{R}$ a function s.t. $\forall\,y\in\mathcal Y$, $f$ is differentiable in $y$ and $|f'(y)| < \epsilon$, then $\exists\,\mathcal B\subset\mathbb{R}$ Borel s.t. $f(\mathcal Y)\subset\mathcal B$ and $\lambda(\mathcal B)\leq \epsilon \lambda(\mathcal Y)$.
Now I assume I have to use this theorem for $\mathcal Y=\mathcal A$, so that $\exists\mathcal B\subset\mathbb{R}$ s.t. $f(\mathcal A)\subset\mathcal B \text{ and } \lambda(\mathcal B) \leq \lambda(\mathcal A)$, and thus $\lambda(f(\mathcal A)) \leq \lambda(\mathcal B) \leq \epsilon \lambda(\mathcal A) \ \ \forall \epsilon>0$ so that $f(\mathcal A)$ has measure $0$ if $\lambda(\mathcal A)<\infty$.
However to use the theorem mentioned above I need $\mathcal A$ to be Lebesgue-measurable, yet I don't know how to prove this. Also, I assume if $\mathcal A$ is Lebesgue-measurable $\lambda(A)<\infty$ so that my proof is correct; but even if $\mathcal A$ is Lebesgue-measurable; is that true?