= Solution
A <metric space> is a set $X$ with a nonnegative symmetric distance $d$, zero exactly for equal points, satisfying $d(x,z)\leq d(x,y)+d(y,z)$. A <Cauchy sequence> is a sequence for which, given any $\epsilon>0$, there is $N$ such that $d(x_n,x_m)<\epsilon$ whenever $n,m\geq N$.
For a <pseudometric>, zero distance defines an <equivalence relation>. Reflexivity and symmetry are immediate; transitivity follows from $d(x,z)\leq d(x,y)+d(y,z)=0$ when both terms vanish. Define $d_Q([x],[y])=d(x,y)$. If $x\sim x'$ and $y\sim y'$, the triangle inequality gives $d(x,y)\leq d(x',y')$ and its reversed version gives equality. Thus the definition is independent of representatives. The nonnegative, symmetric and triangle properties descend, while zero distance means precisely that the two classes are equal. It is therefore a <metric quotient of a pseudometric>.
Now take two <Cauchy sequences> in the original metric space. Two applications of the triangle inequality give
$$
|d(x_n,y_n)-d(x_m,y_m)|\leq d(x_n,x_m)+d(y_n,y_m).
$$
The right-hand side is arbitrarily small when both indices are large, so $(d(x_n,y_n))$ is a real Cauchy sequence and has a finite real limit. Consequently
$$
\overline d((x_n),(y_n))=\lim_n d(x_n,y_n)
$$
is well defined. Nonnegativity, symmetry and zero self-distance follow by passing to the limit in the corresponding properties of $d$. Passing to the limit in $d(x_n,z_n)\leq d(x_n,y_n)+d(y_n,z_n)$ gives its triangle inequality. Thus $\overline d$ is a pseudometric on $C$, and the preceding quotient construction makes $C/R$ a metric space.
Map $x\in X$ to the class of its constant sequence. The distance between two such classes is $d(x,y)$, so this is an injective <isometric embedding>. It is surjective exactly when every Cauchy sequence $(x_n)$ is equivalent to a constant sequence $(x)$, that is, when $d(x_n,x)\to0$ for some $x\in X$. This is precisely <completeness>. Hence
$$
\boxed{X\longrightarrow C/R\text{ is bijective if and only if }X\text{ is complete}.}
$$
The quotient is the <Cauchy-sequence construction of a metric completion>; the conclusion requires no assumption that $X$ is compact.
Back to article page