So to study some important problems on sheaf theory (which we will sure to encounter when we deal with non-affine schemes,) we need to study some examples from other mathematical areas.
A first example is a presheaf which satisfies the ``locality'' of sheaf axiom, but which fails to obey ``gluing lemma''.
is a presheaf which satisfies the ``locality'' of sheaf axiom, but which fails to obey ``gluing lemma''. Indeed, Let be an open covering of and define a section on by
Then we see immediately that is a family of sections which satisfies the assumption of ``gluing lemma''. The function which should appear as the ``glued function'' is the constant function , which fails to be integrable on the whole of .
We may ``sheafificate'' the presheaf above. Instead of -functions we consider functions which are locally . Namely, for any open subset , we consider
The presheaf so defined is a sheaf, which we may call ``the sheaf of locally -functions''.
For any differentiable ( ) manifold (students which are not familiar with the manifolds may take as an open subset of for an example.), we define a presheaf on defined as follows
The restriction is defined in an obvious manner. It is an easy exercise to see that the presheaf does not satisfy the locality axiom of a sheaf.
To sheafificate this, we first need to introduce an equivalence relation on .
Then we may easily see that
holds.
Then we define
It is now an easy exercise again to verify that so defined is a sheaf. (Readers who are familiar with the theory of jets may notice that the sheaf is related to the sheaf of jets. In other words, there is a sheaf homomorphism from this sheaf to the sheaf of jets.)