Let X be a metric space and let $S\subset X$
I want to show that $U \subset S$ open in S $\iff$ there exists an open set $U'$ in $X$ such that $U=U' \cap S $
Here is a little bit of my reasonning:
For $\implies$
- $U$ is open in $S$, we simply have to set $U = U'$ and $U = U'\cap S$
For $\Longleftarrow$
If there exists an open set $U'$ in $X$ such that $U=U'\cap S$ then either:
- If S is closed then $U' \neq S$ but since U is an open subset of , $U' \subset S$ is also open in S. We simply have $U = U'$
- If S is open we simply have $U' = S$ therefore $U = U'\cap S$ is open
Here is an image that might help you visualize the situation
My reasonning is not too rigorous, could someone help me improve it?
