Let $(A,T)$ and $(X,T')$ two topological spaces. Suppose that $$\varphi: A\to X$$ is continuous and injective and that $$\tilde \varphi: A\to \varphi(A)$$
is a homeomorphism.
1) Is $\varphi(A)$ open in $X$ ?
2) If no, if $A\subset X$ does $\varphi(A)$ open in $X$ ?
I know that for $X=\mathbb R^n$ and $A\subset \mathbb R^n$ it's true and it's call "Brouwer invariance domain". Does it still hold in unspecific topological spaces ? If no, do you have a counter example ?
No, take $X=\mathbb{R}$ and $A$ the point $\{0\}$. Consider the canonical embedding.