I am having trouble proving the following statement:
"Let $(X,d)$ be a metric space and $A$ a dense subset such that every cauchy sequence in $A$ converges to a point in $X$. Prove that $X$ is complete".
Let us take a cauchy sequence $\{x_i\}$ containing points from both $A$ and $X\setminus A$.
If this cauchy sequence has a limit point, then it has to exist within $X$. Proof: Let us assume the limit $l$ exists outside $X$. Then every open set $B(l,r)$, $\forall r\in \Bbb{R}$ contains points from $\{x_i\}$, and because every open set containing any points from $X\setminus A$ contains points from $A$, every such $B(l.r)$ also contains points from $A$. Hence, $l$ should have been included in $\overline{A}=X$.
However, I can't prove that such a limit point exists in the first place. Any help would be greatly appreciated.
Thanks!