Assume $\langle X,\mathscr{O}\rangle$ is a topological space. Let $A,S\subseteq X$. Let $\langle S,\mathscr{O}\rangle$ be a subspace of $X$ with $\mathrm{Cl}_S$ being its closure operation.
There are two definitions of $A$ being dense in $S$:
- $A$ is dense in $S$ iff $A$ is dense in $\langle S,\mathscr{O}\rangle$ iff $\mathrm{Cl}_S\,(A\cap S)=S$
- $A$ is dense is $S$ iff $S\subseteq\mathrm{Cl}\,A$.
By elementary porperties of subspaces we have: $$ \mathrm{Cl}_S\,(A\cap S)=S\longleftrightarrow\mathrm{Cl}\,(A\cap S)\cap S=S\longleftrightarrow S\subseteq \mathrm{Cl}\,(A\cap S) $$ In answers to both these questions: the first and the second, the following equivalence is referred to: $$S\subseteq \mathrm{Cl}\,(A\cap S)\longleftrightarrow S\subseteq\mathrm{Cl}\,A$$ in order to establish equivalence between 1 and 2. Yet simple counterexample shows that the implication from right to left is false: take the set of reals with the standard order topology and put $S=\{1\}$ and $A=(0,1)$.
EDIT: The sets may even have a non-empty intersection: put $S=\{\frac{1}{2},1\}$ and the rest as in the example above.
My question is: what am I missing from the picture to see that 1 and 2 are indeed equivalent?