Isomorphism of sheaves [duplicate]

Let $X$ be a scheme and $\mathscr{F}$, $\mathscr{G}$ sheaves on $X$. Suppose we know that for every $x\in X$ the stalks are isomorphic: $$ \mathscr{F}_x \cong \mathscr{G}_x $$

Can we conclude immediately from here that $\mathscr{F}\cong \mathscr{G}$, or do we first need to find a morphism of sheaves $f:\mathscr{F}\to \mathscr{G}$ such that $f_x$ induces the above isomorphisms on the stalks for every $x$ ?

Remark: Proposition 1.1 (page 63) of Hartshorne says that:

A morphism of sheaves $f : \mathscr{F} \to \mathscr{G}$ on a topological space $X$ is an isomorphism iff the induced map on stalks $f_x : \mathscr{F}_x \to \mathscr{G}_x$ is an isomorphism for every $x\in X$.

Extra question: What can we say, instead, if we have isomorphisms between every fiber of $\mathscr{F}$ and $\mathscr{G}$ ?


Solution 1:

No, in the absence of a global morphism $f:\mathscr{F}\to \mathscr{G}$ inducing the isomorphisms on stalks, we cannot conclude immediately that the two sheaves are isomorphic.

As a counterexample consider two sheaves on the Riemann sphere (the same works with any projective line). Let $\mathscr{F}$ be the structure sheaf. Algebraic or holomorphic? Let's do holomorphic here, but it doesn't matter. The stalks consist of germs of holomorphic functions, i.e. power series $f(t)=\sum_{n\ge0}a_nt^n$ with a positive radius of convergence. Here $t$ denotes a local variable, so if we are interested in a stalk at a point $z_0\in\Bbb{C}$, then we can use $t=z-z_0$, and if we are working at the point of infinity, we can use $t=1/z$.

Then let $\mathscr{G}$ be the sheaf of holomorphic differential forms. Here the stalks look like $f(t)\,dt$, where again $t$ is a local variable, and $f(t)$ is the germ of a holomorphic function.

At the level of stalks we have an isomorphism $\mathscr{F}_{z_0}\cong\mathscr{G}_{z_0}$ given by $f(t)\mapsto f(t)\,dt$. Yet the sheaves $\mathscr{F}$ and $\mathscr{G}$ are not isomorphic. The sheaf $\mathscr{F}$ has the constant functions as global sections, but the sheaf $\mathscr{G}$ has no non-zero global sections. [Edit: Forgot to explain this] For if $\omega$ were such a non-zero differential form, then $F(z)=\int_{\gamma[0\to z]}\omega$ would define a non-constant holomorphic function on the Riemann sphere. But the image of that function would be compact, hence bounded, contradicting Liouville's theorem. [/Edit]

The same holds in an algebraic category. IIRC Hartshorne explains why the sheafs $\mathscr{O}[n],n<0,$ have no global sections on the projective line. The canonical sheaf $\mathscr{O}[-2]$ being the analogue of the above sheaf $\mathscr{G}$.

Solution 2:

If this were indeed true then all line bundles on any scheme would be isomorphic! However this is not true as for example take $\Bbb{P}^1$ that has an integers worth of non-isomorphic line bundles. The point is that an isomorphism $\varphi_x$ of $\mathcal{O}_{X,x}$-modules need not glue to give an isomorphism of $\mathcal{O}_X$-modules (for example how is it even clear to go from an isomorphism of modules at every point to an isomorphism of sheaves globally?).

However if say given a priori a morphism of sheaves $\varphi : \mathcal{F} \to \mathcal{G}$ that is an isomorphism on the stalks at every point, then it is indeed true that $\varphi$ will be an isomorphism. As for your last question, it is not clear to me what you mean by the fiber of a sheaf.