For real numbers s , t s,t s , t we write s < t s<t s < t to mean that s ≤ t s\le t s ≤ t and s ≠ t s\ne t s = t , and s − t s-t s − t for s + ( − t ) s+(-t) s + ( − t ) ; we use the order arithmetic of Elementary Order Arithmetic in an Ordered Field and the properties of the absolute value recorded in Properties of the Absolute Value in an Ordered Field . We also use that if a ≤ b a\le b a ≤ b and c ≤ e c\le e c ≤ e then a + c ≤ b + e a+c\le b+e a + c ≤ b + e , which follows from claims 2 and 3 of Elementary Arithmetic in an Ordered Field with the addition axioms of the underlying field .
Claim 1. Let p = ( x , y ) ∈ S p=(x,y)\in S p = ( x , y ) ∈ S and let ε \varepsilon ε be a real number with 0 < ε 0<\varepsilon 0 < ε . Put δ = ε \delta=\varepsilon δ = ε . Let q = ( x ′ , y ′ ) ∈ S q=(x',y')\in S q = ( x ′ , y ′ ) ∈ S satisfy d X × Y ( p , q ) < δ d_{X\times Y}(p,q)<\delta d X × Y ( p , q ) < δ . By claim 3 of The Product Metric is a Metric this gives d X ( x , x ′ ) < ε d_X(x,x')<\varepsilon d X ( x , x ′ ) < ε , and condition 3 in the definition of a metric gives
d X ( π X ( q ) , π X ( p ) ) = d X ( x ′ , x ) = d X ( x , x ′ ) < ε . d_X\bigl(\pi_X(q),\pi_X(p)\bigr)=d_X(x',x)=d_X(x,x')<\varepsilon . d X ( π X ( q ) , π X ( p ) ) = d X ( x ′ , x ) = d X ( x , x ′ ) < ε .
Thus π X \pi_X π X is continuous at p p p relative to S S S , and since p ∈ S p\in S p ∈ S was arbitrary it is continuous on S S S . The argument for π Y \pi_Y π Y is the same, using the inequality for d Y d_Y d Y in claim 3 of The Product Metric is a Metric .
Claim 2. Let p = ( x , y ) ∈ T p=(x,y)\in T p = ( x , y ) ∈ T and let ε \varepsilon ε be a real number with 0 < ε 0<\varepsilon 0 < ε . Set 2 = 1 + 1 2=1+1 2 = 1 + 1 and δ = ε ⋅ 2 − 1 \delta=\varepsilon\cdot 2^{-1} δ = ε ⋅ 2 − 1 , so that 0 < δ 0<\delta 0 < δ and δ + δ = ε \delta+\delta=\varepsilon δ + δ = ε by claim 8 of Elementary Order Arithmetic in an Ordered Field . Let q = ( x ′ , y ′ ) ∈ T q=(x',y')\in T q = ( x ′ , y ′ ) ∈ T satisfy d Z × Z ( p , q ) < δ d_{Z\times Z}(p,q)<\delta d Z × Z ( p , q ) < δ . By claim 3 of The Product Metric is a Metric we have d Z ( x , x ′ ) < δ d_Z(x,x')<\delta d Z ( x , x ′ ) < δ and d Z ( y , y ′ ) < δ d_Z(y,y')<\delta d Z ( y , y ′ ) < δ .
Two applications of condition 4 in the definition of a metric, together with condition 3, give
d Z ( x ′ , y ′ ) ≤ d Z ( x ′ , x ) + d Z ( x , y ′ ) ≤ d Z ( x , x ′ ) + d Z ( x , y ) + d Z ( y , y ′ ) , d_Z(x',y')\le d_Z(x',x)+d_Z(x,y')\le d_Z(x,x')+d_Z(x,y)+d_Z(y,y') , d Z ( x ′ , y ′ ) ≤ d Z ( x ′ , x ) + d Z ( x , y ′ ) ≤ d Z ( x , x ′ ) + d Z ( x , y ) + d Z ( y , y ′ ) ,
and hence, by claim 3 of Elementary Arithmetic in an Ordered Field and the addition axioms of the field,
d Z ( x ′ , y ′ ) − d Z ( x , y ) ≤ d Z ( x , x ′ ) + d Z ( y , y ′ ) . d_Z(x',y')-d_Z(x,y)\le d_Z(x,x')+d_Z(y,y') . d Z ( x ′ , y ′ ) − d Z ( x , y ) ≤ d Z ( x , x ′ ) + d Z ( y , y ′ ) .
By claim 3 of Elementary Order Arithmetic in an Ordered Field , from d Z ( x , x ′ ) < δ d_Z(x,x')<\delta d Z ( x , x ′ ) < δ and d Z ( y , y ′ ) ≤ δ d_Z(y,y')\le\delta d Z ( y , y ′ ) ≤ δ we get d Z ( x , x ′ ) + d Z ( y , y ′ ) < δ + δ = ε d_Z(x,x')+d_Z(y,y')<\delta+\delta=\varepsilon d Z ( x , x ′ ) + d Z ( y , y ′ ) < δ + δ = ε , so claim 2 of that lemma gives
d Z ( x ′ , y ′ ) − d Z ( x , y ) < ε . d_Z(x',y')-d_Z(x,y)<\varepsilon . d Z ( x ′ , y ′ ) − d Z ( x , y ) < ε .
Interchanging the roles of p p p and q q q in the same argument gives d Z ( x , y ) − d Z ( x ′ , y ′ ) < ε d_Z(x,y)-d_Z(x',y')<\varepsilon d Z ( x , y ) − d Z ( x ′ , y ′ ) < ε , that is − ε < d Z ( x ′ , y ′ ) − d Z ( x , y ) -\varepsilon<d_Z(x',y')-d_Z(x,y) − ε < d Z ( x ′ , y ′ ) − d Z ( x , y ) by claim 4 of Elementary Order Arithmetic in an Ordered Field and the field identity − ( a − b ) = b − a -(a-b)=b-a − ( a − b ) = b − a .
By claim 9 of Properties of the Absolute Value in an Ordered Field the two displayed strict bounds give
d R ( ρ ( q ) , ρ ( p ) ) = ∣ d Z ( x ′ , y ′ ) − d Z ( x , y ) ∣ < ε , d_{\mathbb{R}}\bigl(\rho(q),\rho(p)\bigr)=\bigl|d_Z(x',y')-d_Z(x,y)\bigr|<\varepsilon , d R ( ρ ( q ) , ρ ( p ) ) = d Z ( x ′ , y ′ ) − d Z ( x , y ) < ε ,
using the description of d R d_{\mathbb{R}} d R in The Absolute Value Metric on the Real Line . Thus ρ \rho ρ is continuous at p p p relative to T T T , and since p ∈ T p\in T p ∈ T was arbitrary it is continuous on T T T .