Can anyone help me prove the following statement:
For a topological space $X$ and a subspace $Y$, prove that $x \in X$ belongs to the closure of $Y$ $\Rightarrow$ there is a directed set $A$ and a convergent net $f:A \rightarrow Y$ such that $x=\lim_{a \in A}f(a)$.
Many thanks.
Assume $A$ is a subset of a space $S$.
If $n$ is a net into $A$ that converges to $x$,
then $ x \in \overline{A}$. Proof is direct.
If $x \in \overline{A}$, then construct
a net $n$ into $A$ that converges to $x$.
For all open neighborhoods $U \ni x,$ exists $a_U$ in A.
Order $N,$ the open neighborhoods of $x,$ by reverse inclusion.
If $U,V \in N$, then $U \cap V \subseteq U,V$ directs $N$.
Show $n:N \rightarrow A$, $U \mapsto a_U$ is a net into $A$ converging to $x$.