To prove that A is closed in Rn, by Closed Subset of a Topological Space it is enough to show that the complement RnβA is open.
Let xβRnβA. For each point aβA, the points x and a are distinct, so
dEβ(x,a)>0.
Define
Uaβ=BdEββ(a,2dEβ(x,a)β),Vaβ=BdEββ(x,2dEβ(x,a)β).
By Open Ball in a Metric Space is Open, each Uaβ and Vaβ is open in the metric space (Rn,dEβ), hence open in the Euclidean sense by Euclidean Openness Agrees with Metric Openness on Rn.
We claim that Uaββ©Vaβ=β
for every aβA. Indeed, if yβUaββ©Vaβ, then by the triangle inequality from Euclidean Distance is a Metric on Rn we would have
dEβ(x,a)β€dEβ(x,y)+dEβ(y,a)<2dEβ(x,a)β+2dEβ(x,a)β=dEβ(x,a),
which is impossible.
The family (Uaβ)aβAβ covers A, because each point aβA belongs to Uaβ. Since A is compact in Rn, Compact Subset Criterion via Open Covers in the Ambient Space gives a natural number kβN and points a1β,β¦,akββA such that
AβUa1βββͺβ―βͺUakββ.
Set
V=Va1βββ©β―β©Vakββ.
Because the Vaiββ are open in the metric space (Rn,dEβ) and metric open sets form a topology by Metric Open Sets Form a Topology, the set V is open in the metric space (Rn,dEβ). Therefore V is open in the Euclidean sense by Euclidean Openness Agrees with Metric Openness on Rn. Also xβV.
We claim that Vβ©A=β
. If yβA, then yβUaiββ for some iβ{1,β¦,k}. But VβVaiββ, so if yβV then yβUaiβββ©Vaiββ, contradicting the disjointness proved above. Thus Vβ©A=β
.
Hence every point xβRnβA has an open Euclidean neighborhood contained in RnβA. Therefore RnβA is open, so A is closed in Rn.