In Vakil's The Rising Sea: Foundation of Algebraic Geometry, August 29, 2022 version, there is an exercise discussing monomorphism(subsheaf) from the perspective of stalks, quoted as follows, on page 83, source here
2.4.M. EXERCISE. Suppose $\phi: \mathscr{F} \rightarrow \mathscr{G}$ is a morphism of sheaves of sets on a topological space $X$. Show that the following are equivalent.
(a) $\phi$ is a monomorphism in the category of sheaves.
(b) $\phi$ is injective on the level of stalks: $\phi_p: \mathscr{F}_p \rightarrow \mathscr{G}_p$ is injective for all $p \in X$.
(c) $\phi$ is injective on the level of open sets: $\phi(\mathrm{U}): \mathscr{F}(\mathrm{U}) \rightarrow \mathscr{G}(\mathrm{U})$ is injective for all open $\mathrm{U} \subset X$.
(Possible hints: for (b) implies (a), recall that morphisms are determined by stalks, Exercise 2.4.C. For (a) implies (c), use the "indicator sheaf" with one section over every open set contained in $\mathrm{U}$, and no section over any other open set. If these conditions hold, we say that $\mathscr{F}$ is a subsheaf of $\mathscr{G}$ (where the "inclusion" $\phi$ is sometimes left implicit).
(You may later wish to extend your solution to Exercise 2.4.M to show that for any morphism of presheaves, if all maps of sections are injective, then all stalk maps are injective. And furthermore, if $\phi: \mathscr{F} \rightarrow \mathscr{G}$ is a morphism from a separated presheaf to an arbitrary presheaf, then injectivity on the level of stalks implies that $\phi$ is a monomorphism in the category of presheaves. This is useful in some approaches to Exercise 2.6.C.)
Using the hint given by the author, I figured out the proof of this exercise for sheaves of sets. Moreover, since in the following two sections(section 2.6) this exercise is used to prove that sheaves of abelian group (or $\mathscr{O}_X$-modules) form an abelian category, I am trying to prove it for sheaves of abelian groups.
As the hint, the key point is to use the "indicator sheaf". In the case of sheaves of sets, I use $\mathscr{I}_U$ defined by $\mathscr{I}_U(V) = \{e\}$ if $V \subset U$ and $\mathscr{I}_U(V) = \varnothing$ otherwise. I can prove $\mathscr{I}$ is a sheaf of sets and use it to prove that (a) implies (c).
Nevertheless, in the case sheaf of abelian groups, I cannot find such a sheaf. Suppose $\phi(U): \mathscr{F}(U) \to \mathscr{G}(U)$ is not injective for some open set $U \subset X$. Hence there is some $a \in \mathscr{F}(U), a \neq 0$ such that $\phi(U)(a) = 0$. I tried the following constructions, but all failed:
- $\mathscr{I}(V) = <\operatorname{res}_{U,V} a>$, i.e. the cyclic subgroup of $\mathscr{F}(V)$ generated by $\operatorname{res}_{U,V} a$ if $V \subset U$, $\{0\}$ otherwise. I can only prove it is a presheaf of abelian groups and failed to prove it is a sheaf of abelian groups. (It seems to be not a sheaf of abelian groups.)
- $\mathscr{I}(V) = \Bbb{Z}$ if $V \subset U$, $\{0\}$ otherwise. It is a construction similar to the constant presheaf. I see it is not a sheaf.
- $\mathscr{I}(V) = \{\text{all local constant map }s:V \to \Bbb{Z}\}$ if $\varnothing \neq V \subset U$, $\{0\}$ otherwise. It is a construction similar to the constant sheaf. However, I failed to construct a morphism $\mathscr{I} \to \mathscr{F}$, which is essential in the proof.
So how to prove that (a) implies (c) in the case morphism of sheaves of abelian groups? Is it true? (Section 2.6 in Vakil's FOAG seems only using (a) and (b) are equivalent for sheaves of abelian groups)
Sorry for the context being kind of fuzzy. The detail I tried is too tedious to write all of it down (stuffs like checking axioms of being presheaves, being sheaves, being morphism).
Any help is appreciated. Thanks!