Let N be the natural numbers with the order ≤ and addition +. The values of d are real numbers, whose order ≤ is that of an ordered field, with multiplicative identity 1 and multiplicative inverses of the underlying field; for real numbers s,t write s<t to mean s≤t and s=t, and set 2=1+1.
Suppose, for contradiction, that x=y. By condition 2 in the definition of a metric, d(x,y)=0 would force x=y, so d(x,y)=0; condition 1 gives 0≤d(x,y), and therefore 0<d(x,y).
Put ε=d(x,y)⋅2−1. By statement 8 of Elementary Order Arithmetic in an Ordered Field the inverse 2−1 exists, 0<ε, and
ε+ε=d(x,y).
Since (xm)m∈N converges to x, the definition of convergence gives N1∈N with d(xm,x)<ε for every m∈N with N1≤m; since it converges to y, there is likewise N2∈N with d(xm,y)<ε for every m with N2≤m.
Put N=N1+N2. Statement 6 of Properties of the Order on the Natural Numbers gives N1<N1+N2 and N2<N2+N1, and addition on N is commutative by statement 4 of Arithmetic of Addition on the Natural Numbers, so N2+N1=N; statement 1 of Properties of the Order on the Natural Numbers then gives N1≤N and N2≤N. Hence
d(xN,x)<εandd(xN,y)<ε.
Condition 4 in the definition of a metric gives d(x,y)≤d(x,xN)+d(xN,y), and condition 3 gives d(x,xN)=d(xN,x), so
d(x,y)≤d(xN,x)+d(xN,y).
Applying statement 3 of Elementary Order Arithmetic in an Ordered Field to the strict inequality d(xN,x)<ε and the inequality d(xN,y)≤ε, which holds because d(xN,y)<ε, gives
d(xN,x)+d(xN,y)<ε+ε=d(x,y).
Mixed transitivity, statement 2 of Elementary Order Arithmetic in an Ordered Field, now gives d(x,y)<d(x,y), so in particular d(x,y)=d(x,y), which is false.
This contradiction shows that x=y.