Throughout, d satisfies the axioms of Metric Space: d(p,q)=0 exactly when p=q, d(p,q)=d(q,p), and d(p,q)β€d(p,qβ²)+d(qβ²,q) for all p,q,qβ²βX. The order β€ on R is in particular a total order.
Claim 1. We have d(x,x)=0 and 0β€r, so xβBΛdβ(x,r). If 0<r and yβBdβ(x,r), then d(x,y)<r, hence d(x,y)β€r and yβBΛdβ(x,r).
Claim 2. Put R=r+1. By claim 6 of Elementary Order Arithmetic in an Ordered Field we have 0<1, and 0β€r, so claim 3 of that lemma gives 0<R. Moreover rβ€R, since Rβr=1 and 0β€1 by claim 1 of Elementary Arithmetic in an Ordered Field, so claim 3 of that lemma applies. If yβBΛdβ(x,r) then d(x,y)β€rβ€R, hence d(x,y)β€R by transitivity. Thus the point x and the radius R witness that BΛdβ(x,r) is bounded in the sense of Bounded Subset of a Metric Space.
Claim 3. By Closed Subset of a Topological Space it suffices to prove that U=XβBΛdβ(x,r) belongs to Tdβ, that is, is open in (X,d). Let yβU. Then d(x,y)β€r fails, so r<d(x,y) because β€ is a total order. Put Ο=d(x,y)βr; by claim 1 of Elementary Order Arithmetic in an Ordered Field, 0<Ο, so the open ball Bdβ(y,Ο) is defined.
Let zβBdβ(y,Ο), so that d(y,z)<Ο. By claim 4 of Elementary Order Arithmetic in an Ordered Field we get βΟ<βd(y,z), and adding d(x,y) by claim 1 of that lemma,
d(x,y)βΟ<d(x,y)βd(y,z).
Here d(x,y)βΟ=r, by claims 3, 4 and 6 of Additive Cancellation and Elementary Additive Identities in a Field. The triangle inequality and the symmetry of d give d(x,y)β€d(x,z)+d(y,z), which by claim 3 of Elementary Arithmetic in an Ordered Field is equivalent to d(x,y)βd(y,z)β€d(x,z). Combining the last two displays by claim 2 of Elementary Order Arithmetic in an Ordered Field gives r<d(x,z), so d(x,z)β€r fails and zβU.
Thus Bdβ(y,Ο)βU for every yβU, so U is open and BΛdβ(x,r) is closed in (X,Tdβ).