The Stacks project, tag 0CAG, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/0CAG
Constructible sheaves of sets
Let \(X\) be a topological space. Given a set \(S\) recall that \(\underline{S}\) or \(\underline{S}_X\) denotes the constant sheaf with value \(S\), see Sheaves, Definition 6.7.4. Let \(U \subset X\) be an open of a topological space \(X\). We will denote \(j_U\) the inclusion morphism and we will denote \(j_{U!} : \Sh(U) \to \Sh(X)\) the extension by the empty set described in Sheaves, Section 6.31.
Lemma 17.19.1 (0CAH) official page ↗
Let \(X\) be a topological space. Let \(\mathcal{B}\) be a basis for the topology on \(X\). Let \(\mathcal{F}\) be a sheaf of sets on \(X\). There exists a set \(I\) and for each \(i \in I\) an element \(U_i \in \mathcal{B}\) and a finite set \(S_i\) such that there exists a surjection \(\coprod_{i \in I} j_{U_i!}\underline{S_i} \to \mathcal{F}\).
Proof. Let \(S\) be a singleton set. We will prove the result with \(S_i = S\). For every \(x \in X\) and element \(s \in \mathcal{F}_x\) we can choose a \(U(x, s) \in \mathcal{B}\) and \(s(x, s) \in \mathcal{F}(U(x, s))\) which maps to \(s\) in \(\mathcal{F}_x\). By Sheaves, Lemma 6.31.4 the section \(s(x, s)\) corresponds to a map of sheaves \(j_{U(x, s)!}\underline{S} \to \mathcal{F}\). Then \[\coprod\nolimits_{(x, s)} j_{U(x, s)!}\underline{S} \to \mathcal{F}\] is surjective on stalks and hence surjective.
Lemma 17.19.2 (0CAI) official page ↗
Let \(X\) be a topological space. Let \(\mathcal{B}\) be a basis for the topology of \(X\) and assume that each \(U \in \mathcal{B}\) is quasi-compact. Then every sheaf of sets on \(X\) is a filtered colimit of sheaves of the form \[\begin{equation} \text{Coequalizer}\left( \xymatrix{ \coprod\nolimits_{b = 1, \ldots, m} j_{V_b!}\underline{S_b} \ar@<1ex>[r] \ar@<-1ex>[r] & \coprod\nolimits_{a = 1, \ldots, n} j_{U_a!}\underline{S_a} } \right) \end{equation}\] with \(U_a\) and \(V_b\) in \(\mathcal{B}\) and \(S_a\) and \(S_b\) finite sets.
Proof. By Lemma 17.19.1 every sheaf of sets \(\mathcal{F}\) is the target of a surjection whose source \(\mathcal{F}_0\) is a coproduct of sheaves the form \(j_{U!}\underline{S}\) with \(U \in \mathcal{B}\) and \(S\) finite. Applying this to \(\mathcal{F}_0 \times_\mathcal{F} \mathcal{F}_0\) we find that \(\mathcal{F}\) is a coequalizer of a pair of maps \[\xymatrix{ \coprod\nolimits_{b \in B} j_{V_b!}\underline{S_b} \ar@<1ex>[r] \ar@<-1ex>[r] & \coprod\nolimits_{a \in A} j_{U_a!}\underline{S_a} }\] for some index sets \(A\), \(B\) and \(V_b\) and \(U_a\) in \(\mathcal{B}\) and \(S_a\) and \(S_b\) finite. For every finite subset \(B' \subset B\) there is a finite subset \(A' \subset A\) such that the coproduct over \(b \in B'\) maps into the coproduct over \(a \in A'\) via both maps. Namely, we can view the right hand side as a filtered colimit with injective transition maps. Hence taking sections over the quasi-compact opens \(V_b\), \(b \in B'\) commutes with this coproduct, see Sheaves, Lemma 6.29.1. Thus our sheaf is the colimit of the cokernels of these maps between finite coproducts.
Lemma 17.19.3 (0CAK) official page ↗
Let \(X\) be a spectral topological space. Let \(\mathcal{B}\) be the set of quasi-compact open subsets of \(X\). Let \(\mathcal{F}\) be a sheaf of sets as in Equation (17.19.2.1). Then there exists a continuous spectral map \(f : X \to Y\) to a finite sober topological space \(Y\) and a sheaf of sets \(\mathcal{G}\) on \(Y\) with finite stalks such that \(f^{-1}\mathcal{G} \cong \mathcal{F}\).
Proof. We can write \(X = \lim X_i\) as a directed limit of finite sober spaces, see Topology, Lemma 5.23.14. Of course the transition maps \(X_{i'} \to X_i\) are spectral and hence by Topology, Lemma 5.24.5 the maps \(p_i : X \to X_i\) are spectral. For some \(i\) we can find opens \(U_{a, i}\) and \(V_{b, i}\) of \(X_i\) whose inverse images are \(U_a\) and \(V_b\), see Topology, Lemma 5.24.6. The two maps \[\beta, \gamma : \coprod\nolimits_{b \in B} j_{V_b!}\underline{S_b} \longrightarrow \coprod\nolimits_{a \in A} j_{U_a!}\underline{S_a}\] whose coequalizer is \(\mathcal{F}\) correspond by adjunction to two families \[\beta_b, \gamma_b : S_b \longrightarrow \Gamma(V_b, \coprod\nolimits_{a \in A} j_{U_a!}\underline{S_a}), \quad b \in B\] of maps of sets. Observe that \(p_i^{-1}(j_{U_{a, i}!}\underline{S_a}) = j_{U_a!}\underline{S_a}\) and \((X_{i'} \to X_i)^{-1}(j_{U_{a, i}!}\underline{S_a}) = j_{U_{a, i'}!}\underline{S_a}\). It follows from Sheaves, Lemma 6.29.3 (and using that \(S_b\) and \(B\) are finite sets) that after increasing \(i\) we find maps \[\beta_{b, i}, \gamma_{b, i} : S_b \longrightarrow \Gamma(V_{b, i}, \coprod\nolimits_{a \in A} j_{U_{a, i}!}\underline{S_a}) , \quad b \in B\] which give rise to the maps \(\beta_b\) and \(\gamma_b\) after pulling back by \(p_i\). These maps correspond in turn to maps of sheaves \[\beta_i, \gamma_i : \coprod\nolimits_{b \in B} j_{V_{b, i}!}\underline{S_b} \longrightarrow \coprod\nolimits_{a \in A} j_{U_{a, i}!}\underline{S_a}\] on \(X_i\). Then we can take \(Y = X_i\) and \[\mathcal{G} = \text{Coequalizer}\left( \xymatrix{ \coprod\nolimits_{b = 1, \ldots, m} j_{V_{b, i}!}\underline{S_b} \ar@<1ex>[r] \ar@<-1ex>[r] & \coprod\nolimits_{a = 1, \ldots, n} j_{U_{a, i}!}\underline{S_a} } \right)\] We omit some details.
Lemma 17.19.4 (0CAL) official page ↗
Let \(X\) be a spectral topological space. Let \(\mathcal{B}\) be the set of quasi-compact open subsets of \(X\). Let \(\mathcal{F}\) be a sheaf of sets as in Equation (17.19.2.1). Then there exist finitely many constructible closed subsets \(Z_1, \ldots, Z_n \subset X\) and finite sets \(S_i\) such that \(\mathcal{F}\) is isomorphic to a subsheaf of \(\prod (Z_i \to X)_*\underline{S_i}\).
Proof. By Lemma 17.19.3 we reduce to the case of a finite sober topological space and a sheaf with finite stalks. In this case \(\mathcal{F} \subset \prod_{x \in X} i_{x, *}\mathcal{F}_x\) where \(i_x : \{x\} \to X\) is the embedding. We omit the proof that \(i_{x, *}\mathcal{F}_x\) is a constant sheaf on \(\overline{\{x\}}\).