$A$ is dense iff there is not open subset nonempty in $X \setminus A$. Let $X$ be topological space. my try: If $A$ is dense then $X = Cl(A) $. we can assume there is an open $O$ such that $O \subseteq X \setminus A $. My question is : Can we assume that if $X = cl(A) \; \;then\; \; X = A $?? Im kind of stuck here.
For the other direction, if there is not open subset nonempty in $X \setminus A$. we must show $X = Cl(A)$. In other wrods, we want to show that every $x \in X$ is a limit point. so pick $x \in X$ Take a neighborhood $N$ of $x$. We want to show $N \cap A \neq \varnothing$ if $N \cap A = \varnothing $, then $N \subseteq X \setminus A $. So we have an open set inside $X \setminus A$ which contradicts hypothesis. so $A$ must be dense.
Is this correct?