The Stacks project, tag 07LQ, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/07LQ
Characterizing perfect complexes
In this section we prove that the perfect complexes are exactly the compact objects of the derived category of a ring. First we show the following.
Lemma 15.80.1 (0ATI) official page ↗
Let \(R\) be a ring. The full subcategory \(D_{perf}(R) \subset D(R)\) of perfect objects is the smallest strictly full, saturated, triangulated subcategory containing \(R = R[0]\). In other words \(D_{perf}(R) = \langle R \rangle\). In particular, \(R\) is a classical generator for \(D_{perf}(R)\).
Proof. To see what the statement means, please look at Derived Categories, Definitions 13.6.1 and 13.36.3. It was shown in Lemmas 15.76.4 and 15.76.5 that \(D_{perf}(R) \subset D(R)\) is a strictly full, saturated, triangulated subcategory of \(D(R)\). Of course \(R \in D_{perf}(R)\).
Recall that \(\langle R \rangle = \bigcup \langle R \rangle_n\). To finish the proof we will show that if \(M \in D_{perf}(R)\) is represented by \[\ldots \to 0 \to M^a \to M^{a + 1} \to \ldots \to M^b \to 0 \to \ldots\] with \(M^i\) finite projective, then \(M \in \langle R \rangle_{b - a + 1}\). The proof is by induction on \(b - a\). By definition \(\langle R \rangle_1\) contains any finite projective \(R\)-module placed in any degree; this deals with the base case \(b - a = 0\) of the induction. In general, we consider the distinguished triangle \[M_b[-b] \to M^\bullet \to \sigma_{\leq b - 1}M^\bullet \to M_b[-b + 1]\] By induction the truncated complex \(\sigma_{\leq b - 1}M^\bullet\) is in \(\langle R \rangle_{b - a}\) and \(M_b[-b]\) is in \(\langle R \rangle_1\). Hence \(M^\bullet \in \langle R \rangle_{b - a + 1}\) by definition.
Let \(R\) be a ring. Recall that \(D(R)\) has direct sums which are given simply by taking direct sums of complexes, see Derived Categories, Lemma 13.33.5. We will use this in the lemmas of this section without further mention.
Lemma 15.80.2 (07LR) official page ↗
Let \(R\) be a ring. Let \(K \in D(R)\) be an object such that for every countable set of objects \(E_n \in D(R)\) the canonical map \[\bigoplus \Hom_{D(R)}(K, E_n) \longrightarrow \Hom_{D(R)}(K, \bigoplus E_n)\] is a bijection. Then, given any system \(L_n^\bullet\) of complexes over \(\mathbf{N}\) we have that \[\colim \Hom_{D(R)}(K, L^\bullet_n) \longrightarrow \Hom_{D(R)}(K, L^\bullet)\] is a bijection, where \(L^\bullet\) is the termwise colimit, i.e., \(L^m = \colim L_n^m\) for all \(m \in \mathbf{Z}\).
Proof. Consider the short exact sequence of complexes \[0 \to \bigoplus L_n^\bullet \to \bigoplus L_n^\bullet \to L^\bullet \to 0\] where the first map is given by \(1 - t_n\) in degree \(n\) where \(t_n : L_n^\bullet \to L_{n + 1}^\bullet\) is the transition map. By Derived Categories, Lemma 13.12.1 this is a distinguished triangle in \(D(R)\). Apply the homological functor \(\Hom_{D(R)}(K, -)\), see Derived Categories, Lemma 13.4.2. Thus a long exact cohomology sequence \[\xymatrix{ & \ldots \ar[r] & \Hom_{D(R)}(K, \colim L^\bullet_n[-1]) \ar[lld] \\ \Hom_{D(R)}(K, \bigoplus L^\bullet_n) \ar[r] & \Hom_{D(R)}(K, \bigoplus L^\bullet_n) \ar[r] & \Hom_{D(R)}(K, \colim L^\bullet_n) \ar[lld] \\ \Hom_{D(R)}(K, \bigoplus L^\bullet_n[1]) \ar[r] & \ldots }\] Since we have assumed that \(\Hom_{D(R)}(K, \bigoplus L^\bullet_n)\) is equal to \(\bigoplus \Hom_{D(R)}(K, L^\bullet_n)\) we see that the first map on every row of the diagram is injective (by the explicit description of this map as the sum of the maps induced by \(1 - t_n\)). Hence we conclude that \(\Hom_{D(R)}(K, \colim L^\bullet_n)\) is the cokernel of the first map of the middle row in the diagram above which is what we had to show.
The following proposition, characterizing perfect complexes as the compact objects (Derived Categories, Definition 13.37.1) of the derived category, shows up in various places. See for example [Rickard, proof of Proposition 6.3] (this treats the bounded case), [TT, Theorem 2.4.3] (the statement doesn’t match exactly), and [Bokstedt-Neeman, Proposition 6.4] (watch out for horrendous notational conventions).
Proposition 15.80.3 (07LT) official page ↗
Let \(R\) be a ring. For an object \(K\) of \(D(R)\) the following are equivalent
\(K\) is perfect, and
\(K\) is a compact object of \(D(R)\).
Proof. Assume \(K\) is perfect, i.e., \(K\) is quasi-isomorphic to a bounded complex \(P^\bullet\) of finite projective modules, see Definition 15.76.1. If \(E_i\) is represented by the complex \(E_i^\bullet\), then \(\bigoplus E_i\) is represented by the complex whose degree \(n\) term is \(\bigoplus E_i^n\). On the other hand, as \(P^n\) is projective for all \(n\) we have \(\Hom_{D(R)}(P^\bullet, K^\bullet) = \Hom_{K(R)}(P^\bullet, K^\bullet)\) for every complex of \(R\)-modules \(K^\bullet\), see Derived Categories, Lemma 13.19.8. Thus \(\Hom_{D(R)}(P^\bullet, E^\bullet)\) is the cohomology of the complex \[\prod \Hom_R(P^n, E^{n - 1}) \to \prod \Hom_R(P^n, E^n) \to \prod \Hom_R(P^n, E^{n + 1}).\] Since \(P^\bullet\) is bounded we see that we may replace the \(\prod\) signs by \(\bigoplus\) signs in the complex above. Since each \(P^n\) is a finite \(R\)-module we see that \(\Hom_R(P^n, \bigoplus_i E_i^m) = \bigoplus_i \Hom_R(P^n, E_i^m)\) for all \(n, m\). Combining these remarks we see that the map of Derived Categories, Definition 13.37.1 is a bijection.
Conversely, assume \(K\) is compact. Represent \(K\) by a complex \(K^\bullet\) and consider the map \[K^\bullet \longrightarrow \bigoplus\nolimits_{n \geq 0} \tau_{\geq n} K^\bullet\] where we have used the canonical truncations, see Homology, Section 12.15. This makes sense as in each degree the direct sum on the right is finite. By assumption this map factors through a finite direct sum. We conclude that \(K \to \tau_{\geq n} K\) is zero for at least one \(n\), i.e., \(K\) is in \(D^{-}(R)\).
Since \(K \in D^{-}(R)\) and since every \(R\)-module is a quotient of a free module, we may represent \(K\) by a bounded above complex \(K^\bullet\) of free \(R\)-modules, see Derived Categories, Lemma 13.15.4. Note that we have \[K^\bullet = \bigcup\nolimits_{n \leq 0} \sigma_{\geq n}K^\bullet\] where we have used the stupid truncations, see Homology, Section 12.15. Hence by Lemma 15.80.2 we see that \(1 : K^\bullet \to K^\bullet\) factors through \(\sigma_{\geq n}K^\bullet \to K^\bullet\) in \(D(R)\). Thus we see that \(1 : K^\bullet \to K^\bullet\) factors as \[K^\bullet \xrightarrow{\varphi} L^\bullet \xrightarrow{\psi} K^\bullet\] in \(D(R)\) for some complex \(L^\bullet\) which is bounded and whose terms are free \(R\)-modules. Say \(L^i = 0\) for \(i \not \in [a, b]\). Fix \(a, b\) from now on. Let \(c\) be the largest integer \(\leq b + 1\) such that we can find a factorization of \(1_{K^\bullet}\) as above with \(L^i\) is finite free for \(i < c\). We will show by induction that \(c = b + 1\). Namely, write \(L^c = \bigoplus_{\lambda \in \Lambda} R\). Since \(L^{c - 1}\) is finite free we can find a finite subset \(\Lambda' \subset \Lambda\) such that \(L^{c - 1} \to L^c\) factors through \(\bigoplus_{\lambda \in \Lambda'} R \subset L^c\). Consider the map of complexes \[\pi : L^\bullet \longrightarrow (\bigoplus\nolimits_{\lambda \in \Lambda \setminus \Lambda'} R)[-c]\] given by the projection onto the factors corresponding to \(\Lambda \setminus \Lambda'\) in degree \(c\). By our assumption on \(K\) we see that, after possibly replacing \(\Lambda'\) by a larger finite subset, we may assume that \(\pi \circ \varphi = 0\) in \(D(R)\). Let \((L')^\bullet \subset L^\bullet\) be the kernel of \(\pi\). Since \(\pi\) is surjective we get a short exact sequence of complexes, which gives a distinguished triangle in \(D(R)\) (see Derived Categories, Lemma 13.12.1). Since \(\Hom_{D(R)}(K, -)\) is homological (see Derived Categories, Lemma 13.4.2) and \(\pi \circ \varphi = 0\), we can find a morphism \(\varphi' : K^\bullet \to (L')^\bullet\) in \(D(R)\) whose composition with \((L')^\bullet \to L^\bullet\) gives \(\varphi\). Setting \(\psi'\) equal to the composition of \(\psi\) with \((L')^\bullet \to L^\bullet\) we obtain a new factorization. Since \((L')^\bullet\) agrees with \(L^\bullet\) except in degree \(c\) and since \((L')^c = \bigoplus_{\lambda \in \Lambda'} R\) the induction step is proved.
The conclusion of the discussion of the preceding paragraph is that \(1_K : K \to K\) factors as \[K \xrightarrow{\varphi} L \xrightarrow{\psi} K\] in \(D(R)\) where \(L\) can be represented by a finite complex of free \(R\)-modules. In particular we see that \(L\) is perfect. Note that \(e = \varphi \circ \psi \in \text{End}_{D(R)}(L)\) is an idempotent. By Derived Categories, Lemma 13.4.14 we see that \(L = \Ker(e) \oplus \Ker(1 - e)\). The map \(\varphi : K \to L\) induces an isomorphism with \(\Ker(1 - e)\) in \(D(R)\). Hence we finally conclude that \(K\) is perfect by Lemma 15.76.5.
Lemma 15.80.4 (07LU) official page ↗
Let \(R\) be a ring. Let \(I \subset R\) be an ideal. Let \(K\) be an object of \(D(R)\). Assume that
\(K \otimes_R^\mathbf{L} R/I\) is perfect in \(D(R/I)\), and
\(I\) is a nilpotent ideal.
Then \(K\) is perfect in \(D(R)\).
Proof. Choose a finite complex \(\overline{P}^\bullet\) of finite projective \(R/I\)-modules representing \(K \otimes_R^\mathbf{L} R/I\), see Definition 15.76.1. By Lemma 15.77.3 there exists a complex \(P^\bullet\) of projective \(R\)-modules representing \(K\) such that \(\overline{P}^\bullet = P^\bullet/IP^\bullet\). It follows from Nakayama’s lemma (Algebra, Lemma 10.20.1) that \(P^\bullet\) is a finite complex of finite projective \(R\)-modules.
Lemma 15.80.5 (09AS) official page ↗
Let \(R\) be a ring. Let \(I, J \subset R\) be ideals. Let \(K\) be an object of \(D(R)\). Assume that
\(K \otimes_R^\mathbf{L} R/I\) is perfect in \(D(R/I)\), and
\(K \otimes_R^\mathbf{L} R/J\) is perfect in \(D(R/J)\).
Then \(K \otimes_R^\mathbf{L} R/IJ\) is perfect in \(D(R/IJ)\).
Proof. It is clear that we may assume replace \(R\) by \(R/IJ\) and \(K\) by \(K \otimes_R^\mathbf{L} R/IJ\). Then \(R \to R/(I \cap J)\) is a surjection whose kernel has square zero. Hence by Lemma 15.80.4 it suffices to prove that \(K \otimes_R^\mathbf{L} R/(I \cap J)\) is perfect. Thus we may assume that \(I \cap J = 0\).
We prove the lemma in case \(I \cap J = 0\). First, we may represent \(K\) by a K-flat complex \(K^\bullet\) with all \(K^n\) flat, see Lemma 15.60.10. Then we see that we have a short exact sequence of complexes \[0 \to K^\bullet \to K^\bullet/IK^\bullet \oplus K^\bullet/JK^\bullet \to K^\bullet/(I + J)K^\bullet \to 0\] Note that \(K^\bullet/IK^\bullet\) represents \(K \otimes^\mathbf{L}_R R/I\) by construction of the derived tensor product. Similarly for \(K^\bullet/JK^\bullet\) and \(K^\bullet/(I + J)K^\bullet\). Note that \(K^\bullet/(I + J)K^\bullet\) is a perfect complex of \(R/(I + J)\)-modules, see Lemma 15.76.9. Hence the complexes \(K^\bullet/IK^\bullet\), and \(K^\bullet/JK^\bullet\) and \(K^\bullet/(I + J)K^\bullet\) have finitely many nonzero cohomology groups (since a perfect complex has finite Tor-amplitude, see Lemma 15.76.2). We conclude that \(K \in D^b(R)\) by the long exact cohomology sequence associated to short exact sequence of complexes displayed above. In particular we assume \(K^\bullet\) is a bounded above complex of free \(R\)-modules (see Derived Categories, Lemma 13.15.4).
We will now show that \(K\) is perfect using the criterion of Proposition 15.80.3. Thus we let \(E_j \in D(R)\) be a family of objects parametrized by a set \(J\). We choose complexes \(E_j^\bullet\) with flat terms representing \(E_j\), see for example Lemma 15.60.10. It is clear that \[0 \to E_j^\bullet \to E_j^\bullet/IE_j^\bullet \oplus E_j^\bullet/JE_j^\bullet \to E_j^\bullet/(I + J)E_j^\bullet \to 0\] is a short exact sequence of complexes. Taking direct sums we obtain a similar short exact sequence \[0 \to \bigoplus E_j^\bullet \to \bigoplus E_j^\bullet/IE_j^\bullet \oplus E_j^\bullet/JE_j^\bullet \to \bigoplus E_j^\bullet/(I + J)E_j^\bullet \to 0\] (Note that \(- \otimes_R R/I\) commutes with direct sums.) This short exact sequence determines a distinguished triangle in \(D(R)\), see Derived Categories, Lemma 13.12.1. Apply the homological functor \(\Hom_{D(R)}(K, -)\) (see Derived Categories, Lemma 13.4.2) to get a commutative diagram \[\xymatrix{ \bigoplus \Hom_{D(R)}(K^\bullet, E_j^\bullet/(I + J))[-1] \ar[r] \ar[d] & \Hom_{D(R)}(K^\bullet, \bigoplus E_j^\bullet/(I + J))[-1] \ar[d] \\ \bigoplus \Hom_{D(R)}(K^\bullet, E_j^\bullet/I \oplus E_j^\bullet/J)[-1] \ar[r] \ar[d] & \Hom_{D(R)}(K^\bullet, \bigoplus E_j^\bullet/I \oplus E_j^\bullet/J)[-1] \ar[d] \\ \bigoplus \Hom_{D(R)}(K^\bullet, E_j^\bullet) \ar[r] \ar[d] & \Hom_{D(R)}(K^\bullet, \bigoplus E_j^\bullet) \ar[d] \\ \bigoplus \Hom_{D(R)}(K^\bullet, E_j^\bullet/I \oplus E_j^\bullet/J) \ar[r] \ar[d] & \Hom_{D(R)}(K^\bullet, \bigoplus E_j^\bullet/I \oplus E_j^\bullet/J) \ar[d] \\ \bigoplus \Hom_{D(R)}(K^\bullet, E_j^\bullet/(I + J)) \ar[r] & \Hom_{D(R)}(K^\bullet, \bigoplus E_j^\bullet/(I + J)) }\] with exact columns. It is clear that, for any complex \(E^\bullet\) of \(R\)-modules we have \[\begin{align*} \Hom_{D(R)}(K^\bullet, E^\bullet/I) & = \Hom_{K(R)}(K^\bullet, E^\bullet/I) \\ & = \Hom_{K(R/I)}(K^\bullet/IK^\bullet, E^\bullet/I) \\ & = \Hom_{D(R/I)}(K^\bullet/IK^\bullet, E^\bullet/I) \end{align*}\] and similarly for when dividing by \(J\) or \(I + J\), see Derived Categories, Lemma 13.19.8. Derived Categories. Thus all the horizontal arrows, except for possibly the middle one, are isomorphisms as the complexes \(K^\bullet/IK^\bullet\), \(K^\bullet/JK^\bullet\), \(K^\bullet/(I + J)K^\bullet\) are perfect complexes of \(R/I\), \(R/J\), \(R/(I + J)\)-modules, see Proposition 15.80.3. It follows from the \(5\)-lemma (Homology, Lemma 12.5.20) that the middle map is an isomorphism and the lemma follows by Proposition 15.80.3.