I trying to solve the following question
Assume that $f : S → \mathbb{R}$ is a uniformly continuous function defined on a subset $S$ of a metric space $M$.
1. Prove that $f$ extends to a uniformly continuous function $f : \overline{S} → \mathbb{R}$.
2. Prove that $\overline{f}$ is the unique continuous extension of $f$ to a function defined on $\overline{S}$.
3. Prove the same things when $\mathbb{R}$ is replaced with a complete metric space $N$.
For the first question, I show that for some sequence $x_n \in S$ that converges to $\hat{x} \in \overline{S},$ $\overline{f}(x_n)$ converges to $\overline{f}(\hat{x})$ since uniformly continuous functions take Cauchy sequences to Cauchy sequences and since $\mathbb{R}$ is complete. However, I feel like while this shows that $\overline{f}(x_n)$ converges, it does not fully establish that $\overline{f}(x_n)$ converges to $\overline{f}(\hat{x})$.
Is this proof sufficient to show that $f$ extends to a uniformly continuous function $f : \overline{S} → \mathbb{R}$?
For number 3, the same proof applies since I used the completeness of $\mathbb{R}$ as the basis for my proof.
However, I don't understand how I would show that $\overline{f}$ is the unique extension of $f$. Is it sufficient to say that since all sequences in $S$ must converge to their unique limits in $\overline{S}$, $\overline{f}$ must also be unique?