Let $X$ be a metric space, and $\mathcal{B}_X$ denote the $\sigma$-algebra generated by the open sets. I have to prove that $\mathcal{B}_X$ is the smallest collection of subsets of $X$ that contain the open sets of $X$ and is stable under countable union and countable intersection. (note the complement is missing!)
I have proved before that every closed set is a $G_{\delta}$. So, I proved that the closed sets are in the collection. But I don't know how to proceed and prove that every complement is in the $\sigma$-algebra. Any help?