In mathematics, the **gluing axiom** is introduced to define what a sheaf on a topological space must satisfy, given that it is a presheaf, which is by definition a contravariant functor

to a category which initially one takes to be the category of sets. Here is the partial order of open sets of ordered by inclusion maps; and considered as a category in the standard way, with a unique morphism

if is a subset of , and none otherwise.

As phrased in the sheaf article, there is a certain axiom that must satisfy, for any open cover of an open set of . For example, given open sets and with union and intersection , the required condition is that

- is the subset of With equal image in

In less formal language, a section of over is equally well given by a pair of sections : on and respectively, which 'agree' in the sense that and have a common image in under the respective restriction maps

and

- .

The first major hurdle in sheaf theory is to see that this *gluing* or *patching* axiom is a correct abstraction from the usual idea in geometric situations. For example, a vector field is a section of a tangent bundle on a smooth manifold; this says that a vector field on the union of two open sets is (no more and no less than) vector fields on the two sets that agree where they overlap.

Given this basic understanding, there are further issues in the theory, and some will be addressed here. A different direction is that of the Grothendieck topology, and yet another is the logical status of 'local existence' (see Kripke–Joyal semantics).

## Removing restrictions on *C*

To rephrase this definition in a way that will work in any category that has sufficient structure, we note that we can write the objects and morphisms involved in the definition above in a diagram which we will call (G), for "gluing":

Here the first map is the product of the restriction maps

and each pair of arrows represents the two restrictions

and

- .

It is worthwhile to note that these maps exhaust all of the possible restriction maps among , the , and the .

The condition for to be a sheaf is exactly that is the limit of the diagram. This suggests the correct form of the gluing axiom:

- A presheaf is a sheaf if for any open set and any collection of open sets whose union is , is the limit of the diagram (G) above.

One way of understanding the gluing axiom is to notice that "un-applying" to (G) yields the following diagram:

Here is the colimit of this diagram. The gluing axiom says that turns colimits of such diagrams into limits.

## Sheaves on a basis of open sets

In some categories, it is possible to construct a sheaf by specifying only some of its sections. Specifically, let be a topological space with basis . We can define a category *O*′(*X*) to be the full subcategory of whose objects are the . A **B-sheaf** on with values in is a contravariant functor

which satisfies the gluing axiom for sets in . That is, on a selection of open sets of , specifies all of the sections of a sheaf, and on the other open sets, it is undetermined.

B-sheaves are equivalent to sheaves (that is, the category of sheaves is equivalent to the category of B-sheaves).^{[1]} Clearly a sheaf on can be restricted to a B-sheaf. In the other direction, given a B-sheaf we must determine the sections of on the other objects of . To do this, note that for each open set , we can find a collection whose union is . Categorically speaking, this choice makes the colimit of the full subcategory of whose objects are . Since is contravariant, we define to be the limit of the with respect to the restriction maps. (Here we must assume that this limit exists in .) If is a basic open set, then is a terminal object of the above subcategory of , and hence . Therefore, extends to a presheaf on . It can be verified that is a sheaf, essentially because every element of every open cover of is a union of basis elements (by the definition of a basis), and every pairwise intersection of elements in an open cover of is a union of basis elements (again by the definition of a basis).

## The logic of *C*

The first needs of sheaf theory were for sheaves of abelian groups; so taking the category as the category of abelian groups was only natural. In applications to geometry, for example complex manifolds and algebraic geometry, the idea of a *sheaf of local rings* is central. This, however, is not quite the same thing; one speaks instead of a locally ringed space, because it is not true, except in trite cases, that such a sheaf is a functor into a category of local rings. It is the *stalks* of the sheaf that are local rings, not the collections of *sections* (which are rings, but in general are not close to being *local*). We can think of a locally ringed space as a parametrised family of local rings, depending on in .

A more careful discussion dispels any mystery here. One can speak freely of a sheaf of abelian groups, or rings, because those are algebraic structures (defined, if one insists, by an explicit signature). Any category having finite products supports the idea of a group object, which some prefer just to call a group *in* . In the case of this kind of purely algebraic structure, we can talk *either* of a sheaf having values in the category of abelian groups, or an *abelian group in the category of sheaves of sets*; it really doesn't matter.

In the local ring case, it does matter. At a foundational level we must use the second style of definition, to describe what a local ring means in a category. This is a logical matter: axioms for a local ring require use of existential quantification, in the form that for any in the ring, one of and is invertible. This allows one to specify what a 'local ring in a category' should be, in the case that the category supports enough structure.

## Sheafification

To turn a given presheaf into a sheaf , there is a standard device called * sheafification* or

*. The rough intuition of what one should do, at least for a presheaf of sets, is to introduce an equivalence relation, which makes equivalent data given by different covers on the overlaps by refining the covers. One approach is therefore to go to the stalks and recover the sheaf space of the*

**sheaving***best possible*sheaf produced from .

This use of language strongly suggests that we are dealing here with adjoint functors. Therefore, it makes sense to observe that the sheaves on form a full subcategory of the presheaves on . Implicit in that is the statement that a morphism of sheaves is nothing more than a natural transformation of the sheaves, considered as functors. Therefore, we get an abstract characterisation of sheafification as left adjoint to the inclusion. In some applications, naturally, one does need a description.

In more abstract language, the sheaves on form a reflective subcategory of the presheaves (Mac Lane–Moerdijk *Sheaves in Geometry and Logic* p. 86). In topos theory, for a Lawvere–Tierney topology and its sheaves, there is an analogous result (ibid. p. 227).

## Other gluing axioms

The gluing axiom of sheaf theory is rather general. One can note that the Mayer–Vietoris axiom of homotopy theory, for example, is a special case.

## See also

## Notes

**^**Vakil, Math 216: Foundations of algebraic geometry, 2.7.