I thought I had the proof of this in my head, but it doesn't sound right on paper. Can someone see if my argument could be improved.
Let $(X,\tau)$ be a topological space that is separable, then it contains a countable dense subset $\{D_n\}_{n \in \mathbb{N}}$. Then $X$ is CCC if it does not contain any uncountable collection of disjoint open sets.
My argument:
By contradiction, suppose $X$ is separable but is not CCC.
Since a countable dense subset could only intersection countably many open sets, there exists some open sets $U$ that $D_n$ fails to intersection.
Therefore, $X$ is not separable as claimed.
My problem with this statement is that: Since a countable dense subset could only intersection countably many open sets...
Is there to make the middle paragraph rigorous? The whole proof feels wrong, please assist!
You have the right basic idea, but there’s no need to argue by contradiction. Let $D$ be a countable dense subset of $X$, and suppose that $\mathscr{U}$ is a family of pairwise disjoint non-empty open sets. For each $U\in\mathscr{U}$ there is an $x_U\in D\cap U$. If $U,V\in\mathscr{U}$, and $U\ne V$, then $U\cap V=\varnothing$, so $x_U\ne x_V$. Thus, the function $\mathscr{U}\to D:U\mapsto x_U$ is injective, and it follows immediately that $|\mathscr{U}|\le|D|$, i.e., that $\mathscr{U}$ is countable.