Suppose we have a metric space $(M,D)$, and let $A\subset M$. Let $U$ be an open set such that $U\subset M$. How do I prove that $B:=U\cap A$ is open in $A$?
My attempt: If $B=\emptyset$, it is open, so we assume $B\ne\emptyset$.
Let $x\in B$, and define $S_r(x)=\{y\in B |D(x,y)