Suppose I have scheme maps $X\to Z,Y\to Z$. It is not in general true that the fibre product $X\times_{Z}Y$ has the same underlying topological space (or even the same underlying set) as the fiber product of topological spaces, e.g. taking both maps to be $Spec(\mathbb{C})\to Spec(\mathbb{R})$.
However, I believe it is not hard to show (basically one computes the fibre product affine-locally) that the underlying space of $X\times_{Z}Y$ IS homeomorphic to the topological pullback if $X\to Z$ is any of the following:
- an open embedding
- a closed embedding
- induced by localization (i.e. $Spec(S^{-1}A)\to Spec(A)$.)
In particular, if one composes these things in the correct order, I believe this gives a one-line proof that the scheme-theoretic fibre over a point agrees with the topological fibre.
These also happen to be the canonical examples of monomorphisms (along with compositions of these) in the category of schemes that I know of. So my question is:
If $X\to Z$ is a monomorphism, is the underlying space of $X\times_{Z}Y$ homeomorphic to the pullback in the category of topological spaces?