My question is
Do (actual) homeomorphisms preserve closures of subspaces?
There's another question
Do homeomorphisms preserve closures of subspaces?
Do homeomorphisms preserve closures of subspaces? ( I think duplicate of "closure preserves homeomorphism" )
But I think title is wrong because the ambient spaces aren't homeomorphic. In that question we have topological spaces $X$ & $Y$ which are unrelated except that they have respective subspaces $A, B$ that happen to be homeomorphic $f: A \to B$. Expectedly, the closures of $A$ and $B$ are not necessarily homeomorphic, just like $A=(0,1)$ and $X=Y=B=\mathbb R$.
This time, I want to know what happens if the homeomorphism $f$ comes from a homeomorphism between the ambient topological spaces:
Let $g: X \to Y$ be a homeomorphism. Suppose $g$'s restriction to $A$ gives a homeomorphism $f: A \to B$. Explicitly:
- Restrict domain of $g$ to $A$ to get the map $g|_A : A \to Y, (g|_A)(x) := g(x)$.
- Suppose $image(g)=g(A)=B$.
- Now restrict range of $g|_A$ to $B$ to get the map $f:A \to B, f(x) = g(x)$.
- Since $g$ is a homeomorphism, $g|_A$ and $f$ are injective.
- Suppose $f$ is a homeomorphism too. (i.e. $g|_A$ is an embedding right?)
Hence, like in the previous question, we have a homeomorphism $f: A \to B$ between the subspaces $A$ & $B$. But now I'm additionally supposing this $f$ is a homeomorphism derived from a homeomorphism $g: X \to Y$ between the respective ambient topological spaces $X$ and $Y$.
If $g$ is not a homeomorphism, I don't see why $\text{closure}_X(A) = \text{closure}_Y(B)$. But now that $g$ is, maybe now $g(\text{closure}_X(A)) = \text{closure}_Y(B)$...
...Actually, apparently not. According to this Why are the closures of $(0,1)$ and $(0,+\infty)$ not homeomorphic despite the intervals themselves being homeomorphic?
$$A=(0,1), B=(0,\infty), X = Y = \mathbb R, \ \text{then whatever f & g you like}$$
Questions:
Ok so generally, when do (actual) homeomorphisms preserve closures of subspaces, like for a subspace $C \subseteq X$, when do we have $g(\text{closure}_X(C)) = \text{closure}_Y(g(C))$, assuming $C$ & $g(C)$ are homeomorphic?
Btw, do homeomorphisms always restrict to homeomorphisms? Eg in above are $C$ & $g(C)$ homeomorphic (and hence the assumption is redundant)?
Edit to add: Ah wait based on these 2 answers:
It seems
$$g(\text{closure}_X(C)) = \text{closure}_Y(g(C))$$
is always true whether or not $C$ & $g(C)$ are homeomorphic and then
$$A=(0,1), B=(0,\infty), X = Y = \mathbb R, \ \text{then whatever f & g you like}$$
isn't a counter-example because actually no such $f,g$ exist, i.e. there isn't an automorphism $f:\mathbb R \to \mathbb R$ with $f(0,1)= (0,\infty)$