Throughout, BdX, BdY and BdX×Y denote open balls in the respective metric spaces, and we write s<t for real numbers s,t to mean that s≤t and s=t.
Step 0: balls of the product metric are products of balls. Let (x,y)∈X×Y and let r be a real number with 0<r. For (x′,y′)∈X×Y, claim 3 of The Product Metric is a Metric says that dX×Y((x,y),(x′,y′))<r holds if and only if dX(x,x′)<r and dY(y,y′)<r. Hence
BdX×Y((x,y),r)=BdX(x,r)×BdY(y,r).
Step 1: metric openness implies membership in the product topology. Let W be open in (X×Y,dX×Y) and let (x,y)∈W. By the definition of an open subset of a metric space there is a real number r>0 with BdX×Y((x,y),r)⊆W. Put U=BdX(x,r) and V=BdY(y,r). By Open Ball in a Metric Space is Open we have U∈TX and V∈TY, and by Step 0
(x,y)∈U×V=BdX×Y((x,y),r)⊆W,
where (x,y)∈U×V because dX(x,x)=0<r and dY(y,y)=0<r by condition 2 in the definition of a metric. As (x,y)∈W was arbitrary, W belongs to the product topology.
Step 2: membership in the product topology implies metric openness. Let W belong to the product topology and let (x,y)∈W. Choose U∈TX and V∈TY with (x,y)∈U×V⊆W. Since x∈U and U is open in (X,dX), there is a real number r1>0 with BdX(x,r1)⊆U; likewise there is r2>0 with BdY(y,r2)⊆V. By claim 9 of Elementary Order Arithmetic in an Ordered Field there is a real number r with r≤r1, r≤r2, and r equal to r1 or to r2; in either case 0<r.
Let (x′,y′)∈BdX×Y((x,y),r). By Step 0 we have dX(x,x′)<r and dY(y,y′)<r, so claim 2 of Elementary Order Arithmetic in an Ordered Field gives dX(x,x′)<r1 and dY(y,y′)<r2, that is x′∈BdX(x,r1)⊆U and y′∈BdY(y,r2)⊆V. Hence
BdX×Y((x,y),r)⊆U×V⊆W.
As (x,y)∈W was arbitrary, W is open in (X×Y,dX×Y).
Steps 1 and 2 give the stated equivalence, and therefore the equality of the two collections of subsets of X×Y.