Suppose $(X, \mathcal{O})$ is a topological space and $A, U \subset X$ and $(A, \mathcal{O} _A), (U, \mathcal{O} _U)$ are the subspace topology of $(X, \mathcal{O})$. If $U$ is open in $(X, \mathcal{O})$ and $(U, \mathcal{O} _U), (A, \mathcal{O} _A)$ are homeomorphic, then $A$ is open in $(X, \mathcal{O})$.
Is this true or false? I think it is false but I can't make a counterexample. Please help me.
Without any other assumption the sentence seems to be false. Consider the topological space consisting of a line $l$ and one point $P$ external to the line. Then $P$ is open in the total space, however any other point in the line will not.