Is my proof of the following correct?
- A set $A\subseteq \mathbb{R^n}$ is open iff $\mathbb{R^n}-A$ is closed.
- A set $A\subseteq \mathbb{R^n}$ is closed iff $\mathbb{R^n}-A$ is open.
Proof. Suppose that $A$ is open. We must show that for every $x\notin \mathbb{R^n}-A$ there is a nbhd $N$ with $N\cap (\mathbb{R^n}-A)=\varnothing$. Let $x\notin \mathbb{R^n}-A\implies x\in A$. As $A$ is open, there is an open nbhd $N$ of $x$ such that $x\in N \subseteq A$. This implies that $N\cap (\mathbb{R^n}-A)=\varnothing$.
Conversely, suppose that $\mathbb{R^n}-A$ is closed. Every point $x\notin \mathbb{R^n}-A$ has a nbhd $N$ with $N\cap (\mathbb{R^n}-A)=\varnothing$, thus $N$ lies entirely inside $A$ (i.e., $x\in N \subseteq A$). So $A$ is open.
The second statement follows from the first by substituting $\mathbb{R^n}-A$ for $A$