A set $M \subseteq\mathbb R$ is called open if $R \setminus M$ is closed. Show that for a set $M \subseteq \mathbb R$ holds: $$M\text{ open}\iff \forall x\in M \exists \epsilon>0 : \{y\in\mathbb R\mid|x-y|<\epsilon\}\subseteq M$$
Approach: Well the direction => would be: If M is open, then IR \ M is closed, i.e. in every convergent sequence of complement in IR\M isr also the limit in IR \ M but at this point I do not get further