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

F(U)F(V)(VU),\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 siF(Ui)s_i\in\mathcal F(U_i) glue to a unique section sF(U)s\in\mathcal F(U).

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.