The Stacks project, tag 08EC, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/08EC
Lifting complexes
Let \(U \subset X\) be an open subspace of a ringed space and denote \(j : U \to X\) the inclusion morphism. The functor \(D(\mathcal{O}_X) \to D(\mathcal{O}_U)\) is essentially surjective as \(Rj_*\) is a right inverse to restriction. In this section we extend this to complexes with quasi-coherent cohomology sheaves, etc.
Lemma 36.13.1 (08ED) official page ↗
Let \(X\) be a scheme and let \(j : U \to X\) be a quasi-compact open immersion. The functors \[D_\QCoh(\mathcal{O}_X) \to D_\QCoh(\mathcal{O}_U) \quad\text{and}\quad D^+_\QCoh(\mathcal{O}_X) \to D^+_\QCoh(\mathcal{O}_U)\] are essentially surjective. If \(X\) is quasi-compact, then the functors \[D^-_\QCoh(\mathcal{O}_X) \to D^-_\QCoh(\mathcal{O}_U) \quad\text{and}\quad D^b_\QCoh(\mathcal{O}_X) \to D^b_\QCoh(\mathcal{O}_U)\] are essentially surjective.
Proof. The argument preceding the lemma applies for the first case because \(Rj_*\) maps \(D_\QCoh(\mathcal{O}_U)\) into \(D_\QCoh(\mathcal{O}_X)\) by Lemma 36.4.1. It is clear that \(Rj_*\) maps \(D^+_\QCoh(\mathcal{O}_U)\) into \(D^+_\QCoh(\mathcal{O}_X)\) which implies the statement on bounded below complexes. Finally, Lemma 36.4.1 guarantees that \(Rj_*\) maps \(D^-_\QCoh(\mathcal{O}_U)\) into \(D^-_\QCoh(\mathcal{O}_X)\) if \(X\) is quasi-compact. Combining these two we obtain the last statement.
Lemma 36.13.2 (0G48) official page ↗
Let \(X\) be a Noetherian scheme and let \(j : U \to X\) be an open immersion. The functor \(D^b_{\textit{Coh}}(\mathcal{O}_X) \to D^b_{\textit{Coh}}(\mathcal{O}_U)\) is essentially surjective.
Proof. Let \(K\) be an object of \(D^b_{\textit{Coh}}(\mathcal{O}_U)\). By Proposition 36.11.2 we can represent \(K\) by a bounded complex \(\mathcal{F}^\bullet\) of coherent \(\mathcal{O}_U\)-modules. Say \(\mathcal{F}^i = 0\) for \(i \not \in [a, b]\) for some \(a \leq b\). Since \(j\) is quasi-compact and separated, the terms of the bounded complex \(j_*\mathcal{F}^\bullet\) are quasi-coherent modules on \(X\), see Schemes, Lemma 26.24.1. We inductively pick a coherent submodule \(\mathcal{G}^i \subset j_*\mathcal{F}^i\) as follows. For \(i = a\) we pick any coherent submodule \(\mathcal{G}^a \subset j_*\mathcal{F}^a\) whose restriction to \(U\) is \(\mathcal{F}^a\). This is possible by Properties, Lemma 28.23.2. For \(i > a\) we first pick any coherent submodule \(\mathcal{H}^i \subset j_*\mathcal{F}^i\) whose restriction to \(U\) is \(\mathcal{F}^i\) and then we set \(\mathcal{G}^i = \Im(\mathcal{H}^i \oplus \mathcal{G}^{i - 1} \to j_*\mathcal{F}^i)\). It is clear that \(\mathcal{G}^\bullet \subset j_*\mathcal{F}^\bullet\) is a bounded complex of coherent \(\mathcal{O}_X\)-modules whose restriction to \(U\) is \(\mathcal{F}^\bullet\) as desired.
Lemma 36.13.3 (08EE) official page ↗
Let \(X\) be an affine scheme and let \(U \subset X\) be a quasi-compact open subscheme. For any pseudo-coherent object \(E\) of \(D(\mathcal{O}_U)\) there exists a bounded above complex of finite free \(\mathcal{O}_X\)-modules whose restriction to \(U\) is isomorphic to \(E\).
Proof. By Lemma 36.10.1 we see that \(E\) is an object of \(D_\QCoh(\mathcal{O}_U)\). By Lemma 36.13.1 we may assume \(E = E'|U\) for some object \(E'\) of \(D_\QCoh(\mathcal{O}_X)\). Write \(X = \Spec(A)\). By Lemma 36.3.5 we can find a complex \(M^\bullet\) of \(A\)-modules whose associated complex of \(\mathcal{O}_X\)-modules is a representative of \(E'\).
Choose \(f_1, \ldots, f_r \in A\) such that \(U = D(f_1) \cup \ldots \cup D(f_r)\). By Lemma 36.10.2 the complexes \(M^\bullet_{f_j}\) are pseudo-coherent complexes of \(A_{f_j}\)-modules. Let \(n\) be an integer. Assume we have a map of complexes \(\alpha : F^\bullet \to M^\bullet\) where \(F^\bullet\) is bounded above, \(F^i = 0\) for \(i < n\), each \(F^i\) is a finite free \(R\)-module, such that \[H^i(\alpha_{f_j}) : H^i(F^\bullet_{f_j}) \to H^i(M^\bullet_{f_j})\] is an isomorphism for \(i > n\) and surjective for \(i = n\). Picture \[\xymatrix{ & F^n \ar[r] \ar[d]^\alpha & F^{n + 1} \ar[d]^\alpha \ar[r] & \ldots \\ M^{n-1} \ar[r] & M^n \ar[r] & M^{n + 1} \ar[r] & \ldots }\] Since each \(M^\bullet_{f_j}\) has vanishing cohomology in large degrees we can find such a map for \(n \gg 0\). By induction on \(n\) we are going to extend this to a map of complexes \(F^\bullet \to M^\bullet\) such that \(H^i(\alpha_{f_j})\) is an isomorphism for all \(i\). The lemma will follow by taking \(\widetilde{F^\bullet}\).
The induction step will be to extend the diagram above by adding \(F^{n - 1}\). Let \(C^\bullet\) be the cone on \(\alpha\) (Derived Categories, Definition 13.9.1). The long exact sequence of cohomology shows that \(H^i(C^\bullet_{f_j}) = 0\) for \(i \geq n\). By More on Algebra, Lemma 15.66.2 we see that \(C^\bullet_{f_j}\) is \((n - 1)\)-pseudo-coherent. By More on Algebra, Lemma 15.66.3 we see that \(H^{n - 1}(C^\bullet_{f_j})\) is a finite \(A_{f_j}\)-module. Choose a finite free \(A\)-module \(F^{n - 1}\) and an \(A\)-module \(\beta : F^{n - 1} \to C^{n - 1}\) such that the composition \(F^{n - 1} \to C^{n - 1} \to C^n\) is zero and such that \(F^{n - 1}_{f_j}\) surjects onto \(H^{n - 1}(C^\bullet_{f_j})\). (Some details omitted; hint: clear denominators.) Since \(C^{n - 1} = M^{n - 1} \oplus F^n\) we can write \(\beta = (\alpha^{n - 1}, -d^{n - 1})\). The vanishing of the composition \(F^{n - 1} \to C^{n - 1} \to C^n\) implies these maps fit into a morphism of complexes \[\xymatrix{ & F^{n - 1} \ar[d]^{\alpha^{n - 1}} \ar[r]_{d^{n - 1}} & F^n \ar[r] \ar[d]^\alpha & F^{n + 1} \ar[d]^\alpha \ar[r] & \ldots \\ \ldots \ar[r] & M^{n - 1} \ar[r] & M^n \ar[r] & M^{n + 1} \ar[r] & \ldots }\] Moreover, these maps define a morphism of distinguished triangles \[\xymatrix{ (F^n \to \ldots) \ar[r] \ar[d] & (F^{n-1} \to \ldots) \ar[r] \ar[d] & F^{n-1} \ar[r] \ar[d]_\beta & (F^n \to \ldots)[1] \ar[d] \\ (F^n \to \ldots) \ar[r] & M^\bullet \ar[r] & C^\bullet \ar[r] & (F^n \to \ldots)[1] }\] Hence our choice of \(\beta\) implies that the map of complexes \((F^{-1} \to \ldots) \to M^\bullet\) induces an isomorphism on cohomology localized at \(f_j\) in degrees \(\geq n\) and a surjection in degree \(n - 1\). This finishes the proof of the lemma.
The following two lemmas should probably go somewhere else.
Lemma 36.13.4 (08EF) official page ↗
Let \(X\) be a quasi-compact and quasi-separated scheme. Let \(E \in D^b_\QCoh(\mathcal{O}_X)\). There exists an integer \(n_0 > 0\) such that \(\Ext^n_{D(\mathcal{O}_X)}(\mathcal{E}, E) = 0\) for every finite locally free \(\mathcal{O}_X\)-module \(\mathcal{E}\) and every \(n \geq n_0\).
Proof. Recall that \(\Ext^n_{D(\mathcal{O}_X)}(\mathcal{E}, E) = \Hom_{D(\mathcal{O}_X)}(\mathcal{E}, E[n])\). We have Mayer-Vietoris for morphisms in the derived category, see Cohomology, Lemma 20.33.3. Thus if \(X = U \cup V\) and the result of the lemma holds for \(E|_U\), \(E|_V\), and \(E|_{U \cap V}\) for some bound \(n_0\), then the result holds for \(E\) with bound \(n_0 + 1\). Thus it suffices to prove the lemma when \(X\) is affine, see Cohomology of Schemes, Lemma 30.4.1.
Assume \(X = \Spec(A)\) is affine. Choose a complex of \(A\)-modules \(M^\bullet\) whose associated complex of quasi-coherent modules represents \(E\), see Lemma 36.3.5. Write \(\mathcal{E} = \widetilde{P}\) for some \(A\)-module \(P\). Since \(\mathcal{E}\) is finite locally free, we see that \(P\) is a finite projective \(A\)-module. We have \[\begin{align*} \Hom_{D(\mathcal{O}_X)}(\mathcal{E}, E[n]) & = \Hom_{D(A)}(P, M^\bullet[n]) \\ & = \Hom_{K(A)}(P, M^\bullet[n]) \\ & = \Hom_A(P, H^n(M^\bullet)) \end{align*}\] The first equality by Lemma 36.3.5, the second equality by Derived Categories, Lemma 13.19.8, and the final equality because \(\Hom_A(P, -)\) is an exact functor. As \(E\) and hence \(M^\bullet\) is bounded we get zero for all sufficiently large \(n\).
The following lemma can be strengthened (there is a uniformity in the vanishing over all \(L\) with nonzero cohomology sheaves only in a fixed range).
Lemma 36.13.5 (09M4) official page ↗
Let \(X\) be a quasi-compact and quasi-separated scheme. Let \(K\) be a perfect object of \(D(\mathcal{O}_X)\). Then
there exist integers \(a \leq b\) such that for any \(L \in D_\QCoh(\mathcal{O}_X)\) with \(H^i(L) = 0\) for \(i \in [a, b]\) we have \(\Hom_{D(\mathcal{O}_X)}(K, L) = 0\), and
if \(L\) is bounded, then \(\Ext^n_{D(\mathcal{O}_X)}(K, L)\) is zero for all but finitely many \(n\).
Proof. Part (2) follows from (1) as \(\Ext^n_{D(\mathcal{O}_X)}(K, L) = \Hom_{D(\mathcal{O}_X)}(K, L[n])\). We prove (1). Since \(K\) is perfect we have \[\Hom_{D(\mathcal{O}_X)}(K, L) = H^0(X, K^\vee \otimes_{\mathcal{O}_X}^\mathbf{L} L)\] where \(K^\vee\) is the “dual” perfect complex to \(K\), see Cohomology, Lemma 20.50.5. Note that \(K^\vee \otimes_{\mathcal{O}_X}^\mathbf{L} L\) is in \(D_\QCoh(X)\) by Lemmas 36.3.9 and 36.10.1 (to see that a perfect complex has quasi-coherent cohomology sheaves). Say \(K^\vee\) has tor amplitude in \([a, b]\). Then the spectral sequence \[E_1^{p, q} = H^p(K^\vee \otimes_{\mathcal{O}_X}^\mathbf{L} H^q(L)) \Rightarrow H^{p + q}(K^\vee \otimes_{\mathcal{O}_X}^\mathbf{L} L)\] shows that \(H^j(K^\vee \otimes_{\mathcal{O}_X}^\mathbf{L} L)\) is zero if \(H^q(L) = 0\) for \(q \in [j - b, j - a]\). Let \(N\) be the integer \(d\) of Cohomology of Schemes, Lemma 30.4.4. Then \(H^0(X, K^\vee \otimes_{\mathcal{O}_X}^\mathbf{L} L)\) vanishes if the cohomology sheaves \[H^{-N}(K^\vee \otimes_{\mathcal{O}_X}^\mathbf{L} L), \ H^{-N + 1}(K^\vee \otimes_{\mathcal{O}_X}^\mathbf{L} L), \ \ldots, \ H^0(K^\vee \otimes_{\mathcal{O}_X}^\mathbf{L} L)\] are zero. Namely, by the lemma cited and Lemma 36.3.4, we have \[H^0(X, K^\vee \otimes_{\mathcal{O}_X}^\mathbf{L} L) = H^0(X, \tau_{\geq -N}(K^\vee \otimes_{\mathcal{O}_X}^\mathbf{L} L))\] and by the vanishing of cohomology sheaves, this is equal to \(H^0(X, \tau_{\geq 1}(K^\vee \otimes_{\mathcal{O}_X}^\mathbf{L} L))\) which is zero by Derived Categories, Lemma 13.16.1. It follows that \(\Hom_{D(\mathcal{O}_X)}(K, L)\) is zero if \(H^i(L) = 0\) for \(i \in [-b - N, -a]\).
Lemma 36.13.6 (08EG) official page ↗
Let \(X\) be an affine scheme. Let \(U \subset X\) be a quasi-compact open. For every perfect object \(E\) of \(D(\mathcal{O}_U)\) there exists an integer \(r\) and a finite locally free sheaf \(\mathcal{F}\) on \(U\) such that \(\mathcal{F}[-r] \oplus E\) is the restriction of a perfect object of \(D(\mathcal{O}_X)\).
Proof. Say \(X = \Spec(A)\). Recall that a perfect complex is pseudo-coherent, see Cohomology, Lemma 20.49.5. By Lemma 36.13.3 we can find a bounded above complex \(\mathcal{F}^\bullet\) of finite free \(A\)-modules such that \(E\) is isomorphic to \(\mathcal{F}^\bullet|_U\) in \(D(\mathcal{O}_U)\). By Cohomology, Lemma 20.49.5 and since \(U\) is quasi-compact, we see that \(E\) has finite tor dimension, say \(E\) has tor amplitude in \([a, b]\). Pick \(r < a\) and set \[\mathcal{K} = \Ker(\mathcal{F}^{r} \to \mathcal{F}^{r + 1}) = \Im(\mathcal{F}^{r - 1} \to \mathcal{F}^r).\] Since \(E\) has tor amplitude in \([a, b]\) we see that \(\mathcal{F} = \mathcal{K}|_U\) is flat (Cohomology, Lemma 20.48.2). Hence \(\mathcal{F}\) is flat and of finite presentation, thus finite locally free (Properties, Lemma 28.21.2). It follows that \[\mathcal{F} \to \mathcal{F}^r|_U \to \mathcal{F}^{r + 1}|_U \to \ldots\] is a strictly perfect complex on \(U\) representing \(E\). On the other hand, the complex \(P = (\mathcal{F}^r \to \mathcal{F}^{r + 1} \to \ldots )\) is a perfect complex on \(X\). Using stupid truncations we obtain a distinguished triangle \[P|_U \to E \to \mathcal{F}[-r - 1] \to (P|_U)[1]\] If the map \(E \to \mathcal{F}[-r - 1]\) is zero in \(D(\mathcal{O}_U)\), then \(P|_U = \mathcal{F}[-r - 2] \oplus E\), see Derived Categories, Lemma 13.4.11. This will be true for \(r \ll 0\) for example by Lemma 36.13.5.
Lemma 36.13.7 (08EH) official page ↗
Let \(X\) be an affine scheme. Let \(U \subset X\) be a quasi-compact open. Let \(E, E'\) be objects of \(D_\QCoh(\mathcal{O}_X)\) with \(E\) perfect. For every map \(\alpha : E|_U \to E'|_U\) there exist maps \[E \xleftarrow{\beta} E_1 \xrightarrow{\gamma} E'\] of complexes on \(X\) with \(E_1\) perfect such that \(\beta : E_1 \to E\) restricts to an isomorphism on \(U\) and such that \(\alpha = \gamma|_U \circ \beta|_U^{-1}\). Moreover we can assume \(E_1 = E \otimes_{\mathcal{O}_X}^\mathbf{L} I\) for some perfect complex \(I\) on \(X\).
Proof. Write \(X = \Spec(A)\). Write \(U = D(f_1) \cup \ldots \cup D(f_r)\). Choose finite complex of finite projective \(A\)-modules \(M^\bullet\) representing \(E\) (Lemma 36.10.7). Choose a complex of \(A\)-modules \((M')^\bullet\) representing \(E'\) (Lemma 36.3.5). In this case the complex \(H^\bullet = \Hom_A(M^\bullet, (M')^\bullet)\) is a complex of \(A\)-modules whose associated complex of quasi-coherent \(\mathcal{O}_X\)-modules represents \(R\SheafHom(E, E')\), see Cohomology, Lemma 20.46.9. Then \(\alpha\) determines an element \(s\) of \(H^0(U, R\SheafHom(E, E'))\), see Cohomology, Lemma 20.42.1. There exists an \(e\) and a map \[\xi : I^\bullet(f_1^e, \ldots, f_r^e) \to \Hom_A(M^\bullet, (M')^\bullet)\] corresponding to \(s\), see Proposition 36.9.5. Letting \(E_1\) be the object corresponding to complex of quasi-coherent \(\mathcal{O}_X\)-modules associated to \[\text{Tot}(I^\bullet(f_1^e, \ldots, f_r^e) \otimes_A M^\bullet)\] we obtain \(E_1 \to E\) using the canonical map \(I^\bullet(f_1^e, \ldots, f_r^e) \to A\) and \(E_1 \to E'\) using \(\xi\) and Cohomology, Lemma 20.42.1.
Lemma 36.13.8 (08EI) official page ↗
Let \(X\) be an affine scheme. Let \(U \subset X\) be a quasi-compact open. For every perfect object \(F\) of \(D(\mathcal{O}_U)\) the object \(F \oplus F[1]\) is the restriction of a perfect object of \(D(\mathcal{O}_X)\).
Proof. By Lemma 36.13.6 we can find a perfect object \(E\) of \(D(\mathcal{O}_X)\) such that \(E|_U = \mathcal{F}[r] \oplus F\) for some finite locally free \(\mathcal{O}_U\)-module \(\mathcal{F}\). By Lemma 36.13.7 we can find a morphism of perfect complexes \(\alpha : E_1 \to E\) such that \((E_1)|_U \cong E|_U\) and such that \(\alpha|_U\) is the map \[\left( \begin{matrix} \text{id}_{\mathcal{F}[r]} & 0 \\ 0 & 0 \end{matrix} \right) : \mathcal{F}[r] \oplus F \to \mathcal{F}[r] \oplus F\] Then the cone on \(\alpha\) is a solution.
Lemma 36.13.9 (08EJ) official page ↗
Let \(X\) be a quasi-compact and quasi-separated scheme. Let \(f \in \Gamma(X, \mathcal{O}_X)\). For any morphism \(\alpha : E \to E'\) in \(D_\QCoh(\mathcal{O}_X)\) such that
\(E\) is perfect, and
\(E'\) is supported on \(T = V(f)\)
there exists an \(n \geq 0\) such that \(f^n \alpha = 0\).
Proof. We have Mayer-Vietoris for morphisms in the derived category, see Cohomology, Lemma 20.33.3. Thus if \(X = U \cup V\) and the result of the lemma holds for \(f|_U\), \(f|_V\), and \(f|_{U \cap V}\), then the result holds for \(f\). Thus it suffices to prove the lemma when \(X\) is affine, see Cohomology of Schemes, Lemma 30.4.1.
Let \(X = \Spec(A)\). Then \(f \in A\). We will use the equivalence \(D(A) = D_\QCoh(X)\) of Lemma 36.3.5 without further mention. Represent \(E\) by a finite complex of finite projective \(A\)-modules \(P^\bullet\). This is possible by Lemma 36.10.7. Let \(t\) be the largest integer such that \(P^t\) is nonzero. The distinguished triangle \[P^t[-t] \to P^\bullet \to \sigma_{\leq t - 1}P^\bullet \to P^t[-t + 1]\] shows that by induction on the length of the complex \(P^\bullet\) we can reduce to the case where \(P^\bullet\) has a single nonzero term. This and the shift functor reduces us to the case where \(P^\bullet\) consists of a single finite projective \(A\)-module \(P\) in degree \(0\). Represent \(E'\) by a complex \(M^\bullet\) of \(A\)-modules. Then \(\alpha\) corresponds to a map \(P \to H^0(M^\bullet)\). Since the module \(H^0(M^\bullet)\) is supported on \(V(f)\) by assumption (2) we see that every element of \(H^0(M^\bullet)\) is annihilated by a power of \(f\). Since \(P\) is a finite \(A\)-module the map \(f^n\alpha : P \to H^0(M^\bullet)\) is zero for some \(n\) as desired.
Lemma 36.13.10 (08EK) official page ↗
Let \(X\) be an affine scheme. Let \(T \subset X\) be a closed subset such that \(X \setminus T\) is quasi-compact. Let \(U \subset X\) be a quasi-compact open. For every perfect object \(F\) of \(D(\mathcal{O}_U)\) supported on \(T \cap U\) the object \(F \oplus F[1]\) is the restriction of a perfect object \(E\) of \(D(\mathcal{O}_X)\) supported in \(T\).
Proof. Say \(T = V(g_1, \ldots, g_s)\). After replacing \(g_j\) by a power we may assume multiplication by \(g_j\) is zero on \(F\), see Lemma 36.13.9. Choose \(E\) as in Lemma 36.13.8. Note that \(g_j : E \to E\) restricts to zero on \(U\). Choose a distinguished triangle \[E \xrightarrow{g_1} E \to C_1 \to E[1]\] By Derived Categories, Lemma 13.4.11 the object \(C_1\) restricts to \(F \oplus F[1] \oplus F[1] \oplus F[2]\) on \(U\). Moreover, \(g_1 : C_1 \to C_1\) has square zero by Derived Categories, Lemma 13.4.5. Namely, the diagram \[\xymatrix{ E \ar[r] \ar[d]_0 & C_1 \ar[d]_{g_1} \ar[r] & E[1] \ar[d]_0 \\ E \ar[r] & C_1 \ar[r] & E[1] }\] is commutative since the compositions \(E \xrightarrow{g_1} E \to C_1\) and \(C_1 \to E[1] \xrightarrow{g_1} E[1]\) are zero. Continuing, setting \(C_{i + 1}\) equal to the cone of the map \(g_i : C_i \to C_i\) we obtain a perfect complex \(C_s\) on \(X\) supported on \(T\) whose restriction to \(U\) gives \[F \oplus F[1]^{\oplus s} \oplus F[2]^{\oplus {s \choose 2}} \oplus \ldots \oplus F[s]\] Choose morphisms of perfect complexes \(\beta : C' \to C_s\) and \(\gamma : C' \to C_s\) as in Lemma 36.13.7 such that \(\beta|_U\) is an isomorphism and such that \(\gamma|_U \circ \beta|_U^{-1}\) is the morphism \[F \oplus F[1]^{\oplus s} \oplus F[2]^{\oplus {s \choose 2}} \oplus \ldots \oplus F[s] \to F \oplus F[1]^{\oplus s} \oplus F[2]^{\oplus {s \choose 2}} \oplus \ldots \oplus F[s]\] which is the identity on all summands except for \(F\) where it is zero. By Lemma 36.13.7 we also have \(C' = C_s \otimes^\mathbf{L} I\) for some perfect complex \(I\) on \(X\). Hence the nullity of \(g_j^2\text{id}_{C_s}\) implies the same thing for \(C'\). Thus \(C'\) is supported on \(T\) as well. Then \(\text{Cone}(\gamma)\) is a solution.
A special case of the following lemma can be found in [Neeman-Grothendieck].
Lemma 36.13.11 (09IM) official page ↗
Let \(X\) be a quasi-compact and quasi-separated scheme. Let \(U \subset X\) be a quasi-compact open. Let \(T \subset X\) be a closed subset with \(X \setminus T\) retro-compact in \(X\). Let \(E\) be an object of \(D_\QCoh(\mathcal{O}_X)\). Let \(\alpha : P \to E|_U\) be a map where \(P\) is a perfect object of \(D(\mathcal{O}_U)\) supported on \(T \cap U\). Then there exists a map \(\beta : R \to E\) where \(R\) is a perfect object of \(D(\mathcal{O}_X)\) supported on \(T\) such that \(P\) is a direct summand of \(R|_U\) in \(D(\mathcal{O}_U)\) compatible \(\alpha\) and \(\beta|_U\).
Proof. Since \(X\) is quasi-compact there exists an integer \(m\) such that \(X = U \cup V_1 \cup \ldots \cup V_m\) for some affine opens \(V_j\) of \(X\). Arguing by induction on \(m\) we see that we may assume \(m = 1\). In other words, we may assume that \(X = U \cup V\) with \(V\) affine. By Lemma 36.13.10 we can choose a perfect object \(Q\) in \(D(\mathcal{O}_V)\) supported on \(T \cap V\) and an isomorphism \(Q|_{U \cap V} \to (P \oplus P[1])|_{U \cap V}\). By Lemma 36.13.7 we can replace \(Q\) by \(Q \otimes^\mathbf{L} I\) (still supported on \(T \cap V\)) and assume that the map \[Q|_{U \cap V} \to (P \oplus P[1])|_{U \cap V} \longrightarrow P|_{U \cap V} \longrightarrow E|_{U \cap V}\] lifts to \(Q \to E|_V\). By Cohomology, Lemma 20.45.1 we find an morphism \(a : R \to E\) of \(D(\mathcal{O}_X)\) such that \(a|_U\) is isomorphic to \(P \oplus P[1] \to E|_U\) and \(a|_V\) isomorphic to \(Q \to E|_V\). Thus \(R\) is perfect and supported on \(T\) as desired.
Remark 36.13.12 (09IN) official page ↗
The proof of Lemma 36.13.11 shows that \[R|_U = P \oplus P^{\oplus n_1}[1] \oplus \ldots \oplus P^{\oplus n_m}[m]\] for some \(m \geq 0\) and \(n_j \geq 0\). Thus the highest degree cohomology sheaf of \(R|_U\) equals that of \(P\). By repeating the construction for the map \(P^{\oplus n_1}[1] \oplus \ldots \oplus P^{\oplus n_m}[m] \to R|_U\), taking cones, and using induction we can achieve equality of cohomology sheaves of \(R|_U\) and \(P\) above any given degree.