Let XX be a . A sheaf F\mathcal F on XX assigns an object F(U)\mathcal F(U) to every open set U⊆XU\subseteq X, together with restriction maps

F(U)⟶F(V)(V⊆U),\mathcal F(U)\longrightarrow \mathcal F(V)\qquad (V\subseteq U),

such that restrictions compose as expected. It must also satisfy two local-to-global conditions. If U=⋃iUiU=\bigcup_i U_i, then sections over UU are determined by their restrictions to the UiU_i; and compatible sections si∈F(Ui)s_i\in\mathcal F(U_i) glue to a unique section s∈F(U)s\in\mathcal F(U).

Examples

The elements of F(U)\mathcal F(U) are called sections over UU. For example, continuous real-valued functions form a sheaf: functions defined on an and agreeing on overlaps glue uniquely. A similarly records algebraic functions, while a records their germs at one point.