I am looking to show that if we have a Lebesgue measurable set $E \subseteq \mathbb{R}$ with a density 1 at every element in $E$ and a density of 0 at every element of $\mathbb{R} \backslash E$. Then it must be that $E = \mathbb{R}$ or $E = \emptyset$.
I am working through Axlers book on measure theory and we have defined the density of $E$ at a number $b \in \mathbb{R}$ to be $\lim _{t \downarrow 0} \frac{|E \cap(b-t, b+t)|}{2 t}$.
From the Lebesgue Density Theorem I know that for a Lebesgue measurable set $E \subset \mathbb{R}$, the density of $E$ is 1 at almost every element of $E$ and is 0 at almost every element of $\mathbb{R} \backslash E$. So the difference to this case is that we are saying its true everywhere as opposed to almost everywhere.
So so far I have that:
- For all $b \in E$ we have $\lim _{t \downarrow 0} \frac{|E \cap(b-t, b+t)|}{2 t} = 1$
- For all $b \in \mathbb{R} \backslash E$ we have $\lim _{t \downarrow 0} \frac{|E \cap(b-t, b+t)|}{2 t}=0$
Intuitively it makes sense why only $\mathbb{R}$ and $\emptyset$ work but I am having trouble putting it into a complete proof. Any help is greatly appreciated. Thanks in advance!