presheaves
Presheaves are a basic structural tool in topology and geometry. Given a topological space X and a category C (commonly Sets, Ab, Rings, etc.), a presheaf F on X with values in C assigns to every open subset U ⊆ X an object F(U) and to every inclusion V ⊆ U a restriction morphism res^U_V: F(U) → F(V). These restrictions satisfy res^U_U = id and res^W_V ∘ res^U_W = res^U_V whenever V ⊆ W ⊆ U. The construction is contravariant: larger opens map to the smaller ones via restriction.
Typical examples include: the presheaf of continuous real-valued functions U ↦ C^0(U, R), with restriction given by
A presheaf F is called a sheaf if it satisfies a gluing condition: for any open cover
Associated to a presheaf is its stalk at a point x ∈ X, defined as the colimit F_x
Morphisms of presheaves are natural transformations between the corresponding contravariant functors. The category of presheaves PSh(X,
Presheaves provide a flexible framework for organizing locally defined data and are foundational in algebraic topology,