I know $\mathbb{N}^{\mathbb{R}}$ is a separable function space. Could someone please help me see why $2^{\mathbb{R}}$ is separable as well?
edit: I assume $2$ and $\mathbb{N}$ have the discrete topology and $2^{\mathbb{R}}$, $\mathbb{N}^{\mathbb{R}}$ have the product topology. And I was also wondering if $2^{\mathbb{R}}$ is compact and how to prove it.