Last time: we defined additive categories, and kernels for morphisms in additive categories.
Definition: The cokernel of a morphism (if it exists) is the universal object
with the dual universal property:

Definition: an additive category C is abelian if
(A4) for any , the kernel and cokernel exist, and the natural map
:

is an isomorphism.
Remark: A4 implies that if has
and
, then
is an isomorphism.
Examples:
- Ab, or more generally k-mod, is additive, and A4 holds because
by the first isomorphism theorem
- PreSh(X;k) is abelian, as we saw last time, given
, then
is given by
, and
is a presheaf which is the kernel of
. Let
, and by similar reasoning, this is the cokernel in PreSh(X;k). Then for U open in X, reduces to the case in k-mod. Thus PreSh(X;k)

Sheaves need a little more work. If is a map of sheaves,
might not be a sheaf.
Proposition: In Sh(X;k), the cokernel of is given by
, and on stalks
.
proof: Recall that a map of sheaves is just a map of presheaves that happens to go between sheaves. Given a sheaf A, and a morphism such that
, universal property of
in PreSh(X;k) gives a map
. Then universal property of sheafification says that the map
induces a map
.

Jade Master, sitting next to me in class, pointed out that you can just invoke “left adjoints preserve colimits”.
Direct limits in k-mod are exact. So they commute with kernels and cokernels, giving and
(sheafification preserves stalks).
Lemma: Let be a map of sheaves. The following are equivalent:
is an isomorphism
- for any U open in X,
is an isomorphism
- for any point x in X,
is an isomorphism
proof: (1 <=> 2) is obvious. (3 => 2) is obvious. Suppose is an isomorphism for every point x in X. We want to show that
is an isomorphism for each U open in X. Fix U open in X. Let
. If
, then
, so
for each x, so s=0, so
is injective.
Let . For each point x in X, consider
. Let
be an open neighborhood of x, and
such that
. Then
, so there is a
such that
.
claim: . We want this so that the
glue to give
. Recall that we showed
is injective for all U open in X, and note
Thus there is an such that
and
. Then by uniqueness of sections,
, so
is surjective, completing the proof.
Theorem: Sh(X;k) is abelian.
Let be a map of sheaves.

We need to show that is an isomorphism. It suffices to check on stalks. But
and
, so it reduces to k-mod.
Just noticed the shoutout here lol. Thanks! Also I noticed a typo. In the near to final lemma you write \phi_k and I think you meant \phi_x.
LikeLike