Stacks / ∞
English · AI-integrated / 022

Differential Graded Algebra

Unofficial AI-integrated English snapshot, not the official Stacks Project and not human peer review

Unofficial AI-integrated English snapshot, not the official Stacks Project and not human peer review. It includes corrections and additions absent from the translation snapshots. Language switching preserves locations, not mathematical-version identity.

In this chapterIntroduction
Conventions
Differential graded algebras
Differential graded modules
The homotopy category
Cones
Admissible short exact sequences
Distinguished triangles
Cones and distinguished triangles
The homotopy category is triangulated
Left modules
Tensor product
Hom complexes and differential graded modules
Projective modules over algebras
Projective modules over graded algebras
Projective modules and differential graded algebras
Injective modules over algebras
Injective modules over graded algebras
Injective modules and differential graded algebras
P-resolutions
I-resolutions
The derived category
The canonical delta-functor
Linear categories
Graded categories
Differential graded categories
Obtaining triangulated categories
Bimodules
Bimodules and tensor product
Bimodules and internal hom
Derived Hom
Variant of derived Hom
Derived tensor product
Composition of derived tensor products
Variant of derived tensor product
Characterizing compact objects
Equivalences of derived categories
Resolutions of differential graded algebras

Introduction

In this chapter we talk about differential graded algebras, modules, categories, etc. A basic reference is [Keller-Deriving]. A survey paper is [Keller-survey].

Since we do not worry about length of exposition in the Stacks project we first develop the material in the setting of categories of differential graded modules. After that we redo the constructions in the setting of differential graded modules over differential graded categories.

Conventions

In this chapter we hold on to the convention that ring means commutative ring with \(1\). If \(R\) is a ring, then an \(R\)-algebra \(A\) will be an \(R\)-module \(A\) endowed with an \(R\)-bilinear map \(A \times A \to A\) (multiplication) such that multiplication is associative and has a unit. In other words, these are unital associative \(R\)-algebras such that the structure map \(R \to A\) maps into the center of \(A\).

Sign rules. In this chapter we will work with graded algebras and graded modules often equipped with differentials. The sign rules on underlying complexes will always be (compatible with) those introduced in More on Algebra, Section 0FNG. This will occasionally cause the multiplicative structure to be twisted in unexpected ways especially when considering left modules or the relationship between left and right modules.

Differential graded algebras

Just the definitions.

Definition

Let \(R\) be a commutative ring. A differential graded algebra over \(R\) is either

  1. a chain complex \(A_\bullet\) of \(R\)-modules endowed with \(R\)-bilinear maps \(A_n \times A_m \to A_{n + m}\), \((a, b) \mapsto ab\) such that \[\text{d}_{n + m}(ab) = \text{d}_n(a)b + (-1)^n a\text{d}_m(b)\] and such that \(\bigoplus A_n\) becomes an associative and unital \(R\)-algebra, or

  2. a cochain complex \(A^\bullet\) of \(R\)-modules endowed with \(R\)-bilinear maps \(A^n \times A^m \to A^{n + m}\), \((a, b) \mapsto ab\) such that \[\text{d}^{n + m}(ab) = \text{d}^n(a)b + (-1)^n a\text{d}^m(b)\] and such that \(\bigoplus A^n\) becomes an associative and unital \(R\)-algebra.

We often just write \(A = \bigoplus A_n\) or \(A = \bigoplus A^n\) and think of this as an associative unital \(R\)-algebra endowed with a \(\mathbf{Z}\)-grading and an \(R\)-linear operator \(\text{d}\) whose square is zero and which satisfies the Leibniz rule as explained above. In this case we often say “Let \((A, \text{d})\) be a differential graded algebra”.

The Leibniz rule relating differentials and multiplication on a differential graded \(R\)-algebra \(A\) exactly means that the multiplication map defines a map of cochain complexes \[\text{Tot}(A^\bullet \otimes_R A^\bullet) \to A^\bullet\] Here \(A^\bullet\) denote the underlying cochain complex of \(A\).

Definition

A homomorphism of differential graded algebras \(f : (A, \text{d}) \to (B, \text{d})\) is an algebra map \(f : A \to B\) compatible with the gradings and \(\text{d}\).

Definition

A differential graded algebra \((A, \text{d})\) is commutative if \(ab = (-1)^{nm}ba\) for \(a\) in degree \(n\) and \(b\) in degree \(m\). We say \(A\) is strictly commutative if in addition \(a^2 = 0\) for \(\deg(a)\) odd.

The following definition makes sense in general but is perhaps “correct” only when tensoring commutative differential graded algebras.

Definition

Let \(R\) be a ring. Let \((A, \text{d})\), \((B, \text{d})\) be differential graded algebras over \(R\). The tensor product differential graded algebra of \(A\) and \(B\) is the algebra \(A \otimes_R B\) with multiplication defined by \[(a \otimes b)(a' \otimes b') = (-1)^{\deg(a')\deg(b)} aa' \otimes bb'\] endowed with differential \(\text{d}\) defined by the rule \(\text{d}(a \otimes b) = \text{d}(a) \otimes b + (-1)^m a \otimes \text{d}(b)\) where \(m = \deg(a)\).

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\), \((B, \text{d})\) be differential graded algebras over \(R\). Denote \(A^\bullet\), \(B^\bullet\) the underlying cochain complexes. As cochain complexes of \(R\)-modules we have \[(A \otimes_R B)^\bullet = \text{Tot}(A^\bullet \otimes_R B^\bullet).\]

Proof

Recall that the differential of the total complex is given by \(\text{d}_1^{p, q} + (-1)^p \text{d}_2^{p, q}\) on \(A^p \otimes_R B^q\). And this is exactly the same as the rule for the differential on \(A \otimes_R B\) in Definition 065W.

Differential graded modules

Our default in this chapter is right modules; we discuss left modules in Section 0FPZ.

Definition

Let \(R\) be a ring. Let \((A, \text{d})\) be a differential graded algebra over \(R\). A (right) differential graded module \(M\) over \(A\) is a right \(A\)-module \(M\) which has a grading \(M = \bigoplus M^n\) and a differential \(\text{d}\) such that \(M^n A^m \subset M^{n + m}\), such that \(\text{d}(M^n) \subset M^{n + 1}\), and such that \[\text{d}(ma) = \text{d}(m)a + (-1)^n m\text{d}(a)\] for \(a \in A\) and \(m \in M^n\). A homomorphism of differential graded modules \(f : M \to N\) is an \(A\)-module map compatible with gradings and differentials. The category of (right) differential graded \(A\)-modules is denoted \(\text{Mod}_{(A, \text{d})}\).

Note that we can think of \(M\) as a cochain complex \(M^\bullet\) of (right) \(R\)-modules. Namely, for \(r \in R\) we have \(\text{d}(r) = 0\) and \(r\) maps to a degree \(0\) element of \(A\), hence \(\text{d}(mr) = \text{d}(m)r\).

The Leibniz rule relating differentials and multiplication on a differential graded \(R\)-module \(M\) over a differential graded \(R\)-algebra \(A\) exactly means that the multiplication map defines a map of cochain complexes \[\text{Tot}(M^\bullet \otimes_R A^\bullet) \to M^\bullet\] Here \(A^\bullet\) and \(M^\bullet\) denote the underlying cochain complexes of \(A\) and \(M\).

Lemma

Let \((A, d)\) be a differential graded algebra. The category \(\text{Mod}_{(A, \text{d})}\) is abelian and has arbitrary limits and colimits.

Proof

Kernels and cokernels commute with taking underlying \(A\)-modules. Similarly for direct sums and colimits. In other words, these operations in \(\text{Mod}_{(A, \text{d})}\) commute with the forgetful functor to the category of \(A\)-modules. This is not the case for products and limits. Namely, if \(N_i\), \(i \in I\) is a family of differential graded \(A\)-modules, then the product \(\prod N_i\) in \(\text{Mod}_{(A, \text{d})}\) is given by setting \((\prod N_i)^n = \prod N_i^n\) and \(\prod N_i = \bigoplus_n (\prod N_i)^n\). Thus we see that the product does commute with the forgetful functor to the category of graded \(A\)-modules. A category with products and equalizers has limits, see Categories, Lemma 002N.

Thus, if \((A, \text{d})\) is a differential graded algebra over \(R\), then there is an exact functor \[\text{Mod}_{(A, \text{d})} \longrightarrow \text{Comp}(R)\] of abelian categories. For a differential graded module \(M\) the cohomology groups \(H^n(M)\) are defined as the cohomology of the corresponding complex of \(R\)-modules. Therefore, a short exact sequence \(0 \to K \to L \to M \to 0\) of differential graded modules gives rise to a long exact sequence [09JK]\[\begin{equation} H^n(K) \to H^n(L) \to H^n(M) \to H^{n + 1}(K) \end{equation}\] of cohomology modules, see Homology, Lemma 0117.

Moreover, from now on we borrow all the terminology used for complexes of modules. For example, we say that a differential graded \(A\)-module \(M\) is acyclic if \(H^k(M) = 0\) for all \(k \in \mathbf{Z}\). We say that a homomorphism \(M \to N\) of differential graded \(A\)-modules is a quasi-isomorphism if it induces isomorphisms \(H^k(M) \to H^k(N)\) for all \(k \in \mathbf{Z}\). And so on and so forth.

Definition

Let \((A, \text{d})\) be a differential graded algebra. Let \(M\) be a differential graded module whose underlying complex of \(R\)-modules is \(M^\bullet\). For any \(k \in \mathbf{Z}\) we define the \(k\)-shifted module \(M[k]\) as follows

  1. the underlying complex of \(R\)-modules of \(M[k]\) is \(M^\bullet[k]\), i.e., we have \(M[k]^n = M^{n + k}\) and \(\text{d}_{M[k]} = (-1)^k\text{d}_M\) and

  2. as \(A\)-module the multiplication \[(M[k])^n \times A^m \longrightarrow (M[k])^{n + m}\] is equal to the given multiplication \(M^{n + k} \times A^m \to M^{n + k + m}\).

For a morphism \(f : M \to N\) of differential graded \(A\)-modules we let \(f[k] : M[k] \to N[k]\) be the map equal to \(f\) on underlying \(A\)-modules. This defines a functor \([k] : \text{Mod}_{(A, \text{d})} \to \text{Mod}_{(A, \text{d})}\).

Let us check that with this choice the Leibniz rule is satisfied. Let \(x \in M[k]^n = M^{n + k}\) and \(a \in A^m\) and denoting \(\cdot_{M[k]}\) the product in \(M[k]\) then we see \[\begin{align*} \text{d}_{M[k]}(x \cdot_{M[k]} a) & = (-1)^k \text{d}_M(xa) \\ & = (-1)^k \text{d}_M(x) a + (-1)^{k + n + k} x \text{d}(a) \\ & = \text{d}_{M[k]}(x) a + (-1)^n x \text{d}(a) \\ & = \text{d}_{M[k]}(x) \cdot_{M[k]} a + (-1)^n x \cdot_{M[k]} \text{d}(a) \end{align*}\] This is what we want as \(x\) has degree \(n\) as a homogeneous element of \(M[k]\). We also observe that with these choices we may think of the multiplication map as the map of complexes \[\text{Tot}(M^\bullet[k] \otimes _R A^\bullet) \to \text{Tot}(M^\bullet \otimes _R A^\bullet)[k] \to M^\bullet[k]\] where the first arrow is More on Algebra, Section 0FNG (0FNH) which in this case does not involve a sign. (In fact, we could have deduced that the Liebniz rule holds from this observation.)

The remarks in Homology, Section 0119 apply. In particular, we will identify the cohomology groups of all shifts \(M[k]\) without the intervention of signs.

At this point we have enough structure to talk about triangles, see Derived Categories, Definition 0144. In fact, our next goal is to develop enough theory to be able to state and prove that the homotopy category of differential graded modules is a triangulated category. First we define the homotopy category.

The homotopy category

Our homotopies take into account the \(A\)-module structure and the grading, but not the differential (of course).

Definition

Let \((A, \text{d})\) be a differential graded algebra. Let \(f, g : M \to N\) be homomorphisms of differential graded \(A\)-modules. A homotopy between \(f\) and \(g\) is an \(A\)-module map \(h : M \to N\) such that

  1. \(h(M^n) \subset N^{n - 1}\) for all \(n\), and

  2. \(f(x) - g(x) = \text{d}_N(h(x)) + h(\text{d}_M(x))\) for all \(x \in M\).

If a homotopy exists, then we say \(f\) and \(g\) are homotopic.

Thus \(h\) is compatible with the \(A\)-module structure and the grading but not with the differential. If \(f = g\) and \(h\) is a homotopy as in the definition, then \(h\) defines a morphism \(h : M \to N[-1]\) in \(\text{Mod}_{(A, \text{d})}\).

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(f, g : L \to M\) be homomorphisms of differential graded \(A\)-modules. Suppose given further homomorphisms \(a : K \to L\), and \(c : M \to N\). If \(h : L \to M\) is an \(A\)-module map which defines a homotopy between \(f\) and \(g\), then \(c \circ h \circ a\) defines a homotopy between \(c \circ f \circ a\) and \(c \circ g \circ a\).

Proof

Immediate from Homology, Lemma 0112.

This lemma allows us to define the homotopy category as follows.

Definition

Let \((A, \text{d})\) be a differential graded algebra. The homotopy category, denoted \(K(\text{Mod}_{(A, \text{d})})\), is the category whose objects are the objects of \(\text{Mod}_{(A, \text{d})}\) and whose morphisms are homotopy classes of homomorphisms of differential graded \(A\)-modules.

The notation \(K(\text{Mod}_{(A, \text{d})})\) is not standard but at least is consistent with the use of \(K(-)\) in other places of the Stacks project.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. The homotopy category \(K(\text{Mod}_{(A, \text{d})})\) has direct sums and products.

Proof

Omitted. Hint: Just use the direct sums and products as in Lemma 09JJ. This works because we saw that these functors commute with the forgetful functor to the category of graded \(A\)-modules and because \(\prod\) is an exact functor on the category of families of abelian groups.

Cones

We introduce cones for the category of differential graded modules.

Definition

Let \((A, \text{d})\) be a differential graded algebra. Let \(f : K \to L\) be a homomorphism of differential graded \(A\)-modules. The cone of \(f\) is the differential graded \(A\)-module \(C(f)\) given by \(C(f) = L \oplus K\) with grading \(C(f)^n = L^n \oplus K^{n + 1}\) and differential \[d_{C(f)} = \left( \begin{matrix} \text{d}_L & f \\ 0 & -\text{d}_K \end{matrix} \right)\] It comes equipped with canonical morphisms of complexes \(i : L \to C(f)\) and \(p : C(f) \to K[1]\) induced by the obvious maps \(L \to C(f)\) and \(C(f) \to K\).

The formation of the cone triangle is functorial in the following sense.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Suppose that \[\xymatrix{ K_1 \ar[r]_{f_1} \ar[d]_a & L_1 \ar[d]^b \\ K_2 \ar[r]^{f_2} & L_2 }\] is a diagram of homomorphisms of differential graded \(A\)-modules which is commutative up to homotopy. Then there exists a morphism \(c : C(f_1) \to C(f_2)\) which gives rise to a morphism of triangles \[(a, b, c) : (K_1, L_1, C(f_1), f_1, i_1, p_1) \to (K_1, L_1, C(f_1), f_2, i_2, p_2)\] in \(K(\text{Mod}_{(A, \text{d})})\).

Proof

Let \(h : K_1 \to L_2\) be a homotopy between \(f_2 \circ a\) and \(b \circ f_1\). Define \(c\) by the matrix \[c = \left( \begin{matrix} b & h \\ 0 & a \end{matrix} \right) : L_1 \oplus K_1 \to L_2 \oplus K_2\] A matrix computation show that \(c\) is a morphism of differential graded modules. It is trivial that \(c \circ i_1 = i_2 \circ b\), and it is trivial also to check that \(p_2 \circ c = a \circ p_1\).

Admissible short exact sequences

An admissible short exact sequence is the analogue of termwise split exact sequences in the setting of differential graded modules.

Definition

Let \((A, \text{d})\) be a differential graded algebra.

  1. A homomorphism \(K \to L\) of differential graded \(A\)-modules is an admissible monomorphism if there exists a graded \(A\)-module map \(L \to K\) which is left inverse to \(K \to L\).

  2. A homomorphism \(L \to M\) of differential graded \(A\)-modules is an admissible epimorphism if there exists a graded \(A\)-module map \(M \to L\) which is right inverse to \(L \to M\).

  3. A short exact sequence \(0 \to K \to L \to M \to 0\) of differential graded \(A\)-modules is an admissible short exact sequence if it is split as a sequence of graded \(A\)-modules.

Thus the splittings are compatible with all the data except for the differentials. Given an admissible short exact sequence we obtain a triangle; this is the reason that we require our splittings to be compatible with the \(A\)-module structure.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(0 \to K \to L \to M \to 0\) be an admissible short exact sequence of differential graded \(A\)-modules. Let \(s : M \to L\) and \(\pi : L \to K\) be splittings such that \(\Ker(\pi) = \Im(s)\). Then we obtain a morphism \[\delta = \pi \circ \text{d}_L \circ s : M \to K[1]\] of \(\text{Mod}_{(A, \text{d})}\) which induces the boundary maps in the long exact sequence of cohomology (09JK).

Proof

The map \(\pi \circ \text{d}_L \circ s\) is compatible with the \(A\)-module structure and the gradings by construction. It is compatible with differentials by Homology, Lemmas 011J. Let \(R\) be the ring that \(A\) is a differential graded algebra over. The equality of maps is a statement about \(R\)-modules. Hence this follows from Homology, Lemmas 011J and 011K.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \[\xymatrix{ K \ar[r]_f \ar[d]_a & L \ar[d]^b \\ M \ar[r]^g & N }\] be a diagram of homomorphisms of differential graded \(A\)-modules commuting up to homotopy.

  1. If \(f\) is an admissible monomorphism, then \(b\) is homotopic to a homomorphism which makes the diagram commute.

  2. If \(g\) is an admissible epimorphism, then \(a\) is homotopic to a morphism which makes the diagram commute.

Proof

Let \(h : K \to N\) be a homotopy between \(bf\) and \(ga\), i.e., \(bf - ga = \text{d}h + h\text{d}\). Suppose that \(\pi : L \to K\) is a graded \(A\)-module map left inverse to \(f\). Take \(b' = b - \text{d}h\pi - h\pi \text{d}\). Suppose \(s : N \to M\) is a graded \(A\)-module map right inverse to \(g\). Take \(a' = a + \text{d}sh + sh\text{d}\). Computations omitted.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(\alpha : K \to L\) be a homomorphism of differential graded \(A\)-modules. There exists a factorization \[\xymatrix{ K \ar[r]^{\tilde \alpha} \ar@/_1pc/[rr]_\alpha & \tilde L \ar[r]^\pi & L }\] in \(\text{Mod}_{(A, \text{d})}\) such that

  1. \(\tilde \alpha\) is an admissible monomorphism (see Definition 09JT),

  2. there is a morphism \(s : L \to \tilde L\) such that \(\pi \circ s = \text{id}_L\) and such that \(s \circ \pi\) is homotopic to \(\text{id}_{\tilde L}\).

Proof

The proof is identical to the proof of Derived Categories, Lemma 013N. Namely, we set \(\tilde L = L \oplus C(1_K)\) and we use elementary properties of the cone construction.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(L_1 \to L_2 \to \ldots \to L_n\) be a sequence of composable homomorphisms of differential graded \(A\)-modules. There exists a commutative diagram \[\xymatrix{ L_1 \ar[r] & L_2 \ar[r] & \ldots \ar[r] & L_n \\ M_1 \ar[r] \ar[u] & M_2 \ar[r] \ar[u] & \ldots \ar[r] & M_n \ar[u] }\] in \(\text{Mod}_{(A, \text{d})}\) such that each \(M_i \to M_{i + 1}\) is an admissible monomorphism and each \(M_i \to L_i\) is a homotopy equivalence.

Proof

The case \(n = 1\) is without content. Lemma 09JW is the case \(n = 2\). Suppose we have constructed the diagram except for \(M_n\). Apply Lemma 09JW to the composition \(M_{n - 1} \to L_{n - 1} \to L_n\). The result is a factorization \(M_{n - 1} \to M_n \to L_n\) as desired.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(0 \to K_i \to L_i \to M_i \to 0\), \(i = 1, 2, 3\) be admissible short exact sequence of differential graded \(A\)-modules. Let \(b : L_1 \to L_2\) and \(b' : L_2 \to L_3\) be homomorphisms of differential graded modules such that \[\vcenter{ \xymatrix{ K_1 \ar[d]_0 \ar[r] & L_1 \ar[r] \ar[d]_b & M_1 \ar[d]_0 \\ K_2 \ar[r] & L_2 \ar[r] & M_2 } } \quad\text{and}\quad \vcenter{ \xymatrix{ K_2 \ar[d]^0 \ar[r] & L_2 \ar[r] \ar[d]^{b'} & M_2 \ar[d]^0 \\ K_3 \ar[r] & L_3 \ar[r] & M_3 } }\] commute up to homotopy. Then \(b' \circ b\) is homotopic to \(0\).

Proof

By Lemma 09JV we can replace \(b\) and \(b'\) by homotopic maps such that the right square of the left diagram commutes and the left square of the right diagram commutes. In other words, we have \(\Im(b) \subset \Im(K_2 \to L_2)\) and \(\Ker(b') \supset \Im(K_2 \to L_2)\). Then \(b' \circ b = 0\) as a map of modules.

Distinguished triangles

The following lemma produces our distinguished triangles.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(0 \to K \to L \to M \to 0\) be an admissible short exact sequence of differential graded \(A\)-modules. The triangle [09K7]\[\begin{equation} K \to L \to M \xrightarrow{\delta} K[1] \end{equation}\] with \(\delta\) as in Lemma 09JU is, up to canonical isomorphism in \(K(\text{Mod}_{(A, \text{d})})\), independent of the choices made in Lemma 09JU.

Proof

Namely, let \((s', \pi')\) be a second choice of splittings as in Lemma 09JU. Then we claim that \(\delta\) and \(\delta'\) are homotopic. Namely, write \(s' = s + \alpha \circ h\) and \(\pi' = \pi + g \circ \beta\) for some unique homomorphisms of \(A\)-modules \(h : M \to K\) and \(g : M \to K\) of degree \(-1\). Then \(g = -h\) and \(g\) is a homotopy between \(\delta\) and \(\delta'\). The computations are done in the proof of Homology, Lemma 011L.

Definition

Let \((A, \text{d})\) be a differential graded algebra.

  1. If \(0 \to K \to L \to M \to 0\) is an admissible short exact sequence of differential graded \(A\)-modules, then the triangle associated to \(0 \to K \to L \to M \to 0\) is the triangle (09K7) of \(K(\text{Mod}_{(A, \text{d})})\).

  2. A triangle of \(K(\text{Mod}_{(A, \text{d})})\) is called a distinguished triangle if it is isomorphic to a triangle associated to an admissible short exact sequence of differential graded \(A\)-modules.

Cones and distinguished triangles

Let \((A, \text{d})\) be a differential graded algebra. Let \(f : K \to L\) be a homomorphism of differential graded \(A\)-modules. Then \((K, L, C(f), f, i, p)\) forms a triangle: \[K \to L \to C(f) \to K[1]\] in \(\text{Mod}_{(A, \text{d})}\) and hence in \(K(\text{Mod}_{(A, \text{d})})\). Cones are not distinguished triangles in general, but the difference is a sign or a rotation (your choice). Here are two precise statements.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(f : K \to L\) be a homomorphism of differential graded modules. The triangle \((L, C(f), K[1], i, p, f[1])\) is the triangle associated to the admissible short exact sequence \[0 \to L \to C(f) \to K[1] \to 0\] coming from the definition of the cone of \(f\).

Proof

Immediate from the definitions.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(\alpha : K \to L\) and \(\beta : L \to M\) define an admissible short exact sequence \[0 \to K \to L \to M \to 0\] of differential graded \(A\)-modules. Let \((K, L, M, \alpha, \beta, \delta)\) be the associated triangle. Then the triangles \[(M[-1], K, L, \delta[-1], \alpha, \beta) \quad\text{and}\quad (M[-1], K, C(\delta[-1]), \delta[-1], i, p)\] are isomorphic.

Proof

Using a choice of splittings we write \(L = K \oplus M\) and we identify \(\alpha\) and \(\beta\) with the natural inclusion and projection maps. By construction of \(\delta\) we have \[d_B = \left( \begin{matrix} d_K & \delta \\ 0 & d_M \end{matrix} \right)\] On the other hand the cone of \(\delta[-1] : M[-1] \to K\) is given as \(C(\delta[-1]) = K \oplus M\) with differential identical with the matrix above! Whence the lemma.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(f_1 : K_1 \to L_1\) and \(f_2 : K_2 \to L_2\) be homomorphisms of differential graded \(A\)-modules. Let \[(a, b, c) : (K_1, L_1, C(f_1), f_1, i_1, p_1) \longrightarrow (K_1, L_1, C(f_1), f_2, i_2, p_2)\] be any morphism of triangles of \(K(\text{Mod}_{(A, \text{d})})\). If \(a\) and \(b\) are homotopy equivalences then so is \(c\).

Proof

Let \(a^{-1} : K_2 \to K_1\) be a homomorphism of differential graded \(A\)-modules which is inverse to \(a\) in \(K(\text{Mod}_{(A, \text{d})})\). Let \(b^{-1} : L_2 \to L_1\) be a homomorphism of differential graded \(A\)-modules which is inverse to \(b\) in \(K(\text{Mod}_{(A, \text{d})})\). Let \(c' : C(f_2) \to C(f_1)\) be the morphism from Lemma 09KD applied to \(f_1 \circ a^{-1} = b^{-1} \circ f_2\). If we can show that \(c \circ c'\) and \(c' \circ c\) are isomorphisms in \(K(\text{Mod}_{(A, \text{d})})\) then we win. Hence it suffices to prove the following: Given a morphism of triangles \((1, 1, c) : (K, L, C(f), f, i, p)\) in \(K(\text{Mod}_{(A, \text{d})})\) the morphism \(c\) is an isomorphism in \(K(\text{Mod}_{(A, \text{d})})\). By assumption the two squares in the diagram \[\xymatrix{ L \ar[r] \ar[d]_1 & C(f) \ar[r] \ar[d]_c & K[1] \ar[d]_1 \\ L \ar[r] & C(f) \ar[r] & K[1] }\] commute up to homotopy. By construction of \(C(f)\) the rows form admissible short exact sequences. Thus we see that \((c - 1)^2 = 0\) in \(K(\text{Mod}_{(A, \text{d})})\) by Lemma 09JY. Hence \(c\) is an isomorphism in \(K(\text{Mod}_{(A, \text{d})})\) with inverse \(2 - c\).

The following lemma shows that the collection of triangles of the homotopy category given by cones and the distinguished triangles are the same up to isomorphisms, at least up to sign!

Lemma

Let \((A, \text{d})\) be a differential graded algebra.

  1. Given an admissible short exact sequence \(0 \to K \xrightarrow{\alpha} L \to M \to 0\) of differential graded \(A\)-modules there exists a homotopy equivalence \(C(\alpha) \to M\) such that the diagram \[\xymatrix{ K \ar[r] \ar[d] & L \ar[d] \ar[r] & C(\alpha) \ar[r]_{-p} \ar[d] & K[1] \ar[d] \\ K \ar[r]^\alpha & L \ar[r]^\beta & M \ar[r]^\delta & K[1] }\] defines an isomorphism of triangles in \(K(\text{Mod}_{(A, \text{d})})\).

  2. Given a morphism of complexes \(f : K \to L\) there exists an isomorphism of triangles \[\xymatrix{ K \ar[r] \ar[d] & \tilde L \ar[d] \ar[r] & M \ar[r]_{\delta} \ar[d] & K[1] \ar[d] \\ K \ar[r] & L \ar[r] & C(f) \ar[r]^{-p} & K[1] }\] where the upper triangle is the triangle associated to a admissible short exact sequence \(K \to \tilde L \to M\).

Proof

Proof of (1). We have \(C(\alpha) = L \oplus K\) and we simply define \(C(\alpha) \to M\) via the projection onto \(L\) followed by \(\beta\). This defines a morphism of differential graded modules because the compositions \(K^{n + 1} \to L^{n + 1} \to M^{n + 1}\) are zero. Choose splittings \(s : M \to L\) and \(\pi : L \to K\) with \(\Ker(\pi) = \Im(s)\) and set \(\delta = \pi \circ \text{d}_L \circ s\) as usual. To get a homotopy inverse we take \(M \to C(\alpha)\) given by \((s , -\delta)\). This is compatible with differentials because \(\delta^n\) can be characterized as the unique map \(M^n \to K^{n + 1}\) such that \(\text{d} \circ s^n - s^{n + 1} \circ \text{d} = \alpha \circ \delta^n\), see proof of Homology, Lemma 011J. The composition \(M \to C(f) \to M\) is the identity. The composition \(C(f) \to M \to C(f)\) is equal to the morphism \[\left( \begin{matrix} s \circ \beta & 0 \\ -\delta \circ \beta & 0 \end{matrix} \right)\] To see that this is homotopic to the identity map use the homotopy \(h : C(\alpha) \to C(\alpha)\) given by the matrix \[\left( \begin{matrix} 0 & 0 \\ \pi & 0 \end{matrix} \right) : C(\alpha) = L \oplus K \to L \oplus K = C(\alpha)\] It is trivial to verify that \[\left( \begin{matrix} 1 & 0 \\ 0 & 1 \end{matrix} \right) - \left( \begin{matrix} s \\ -\delta \end{matrix} \right) \left( \begin{matrix} \beta & 0 \end{matrix} \right) = \left( \begin{matrix} \text{d} & \alpha \\ 0 & -\text{d} \end{matrix} \right) \left( \begin{matrix} 0 & 0 \\ \pi & 0 \end{matrix} \right) + \left( \begin{matrix} 0 & 0 \\ \pi & 0 \end{matrix} \right) \left( \begin{matrix} \text{d} & \alpha \\ 0 & -\text{d} \end{matrix} \right)\] To finish the proof of (1) we have to show that the morphisms \(-p : C(\alpha) \to K[1]\) (see Definition 09KA) and \(C(\alpha) \to M \to K[1]\) agree up to homotopy. This is clear from the above. Namely, we can use the homotopy inverse \((s, -\delta) : M \to C(\alpha)\) and check instead that the two maps \(M \to K[1]\) agree. And note that \(p \circ (s, -\delta) = -\delta\) as desired.

Proof of (2). We let \(\tilde f : K \to \tilde L\), \(s : L \to \tilde L\) and \(\pi : L \to L\) be as in Lemma 09JW. By Lemmas 09KD and 09KE the triangles \((K, L, C(f), i, p)\) and \((K, \tilde L, C(\tilde f), \tilde i, \tilde p)\) are isomorphic. Note that we can compose isomorphisms of triangles. Thus we may replace \(L\) by \(\tilde L\) and \(f\) by \(\tilde f\). In other words we may assume that \(f\) is an admissible monomorphism. In this case the result follows from part (1).

The homotopy category is triangulated

We first prove that it is pre-triangulated.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. The homotopy category \(K(\text{Mod}_{(A, \text{d})})\) with its natural translation functors and distinguished triangles is a pre-triangulated category.

Proof

Proof of TR1. By definition every triangle isomorphic to a distinguished one is distinguished. Also, any triangle \((K, K, 0, 1, 0, 0)\) is distinguished since \(0 \to K \to K \to 0 \to 0\) is an admissible short exact sequence. Finally, given any homomorphism \(f : K \to L\) of differential graded \(A\)-modules the triangle \((K, L, C(f), f, i, -p)\) is distinguished by Lemma 09KF.

Proof of TR2. Let \((X, Y, Z, f, g, h)\) be a triangle. Assume \((Y, Z, X[1], g, h, -f[1])\) is distinguished. Then there exists an admissible short exact sequence \(0 \to K \to L \to M \to 0\) such that the associated triangle \((K, L, M, \alpha, \beta, \delta)\) is isomorphic to \((Y, Z, X[1], g, h, -f[1])\). Rotating back we see that \((X, Y, Z, f, g, h)\) is isomorphic to \((M[-1], K, L, -\delta[-1], \alpha, \beta)\). It follows from Lemma 09KC that the triangle \((M[-1], K, L, \delta[-1], \alpha, \beta)\) is isomorphic to \((M[-1], K, C(\delta[-1]), \delta[-1], i, p)\). Precomposing the previous isomorphism of triangles with \(-1\) on \(Y\) it follows that \((X, Y, Z, f, g, h)\) is isomorphic to \((M[-1], K, C(\delta[-1]), \delta[-1], i, -p)\). Hence it is distinguished by Lemma 09KF. On the other hand, suppose that \((X, Y, Z, f, g, h)\) is distinguished. By Lemma 09KF this means that it is isomorphic to a triangle of the form \((K, L, C(f), f, i, -p)\) for some morphism \(f\) of \(\text{Mod}_{(A, \text{d})}\). Then the rotated triangle \((Y, Z, X[1], g, h, -f[1])\) is isomorphic to \((L, C(f), K[1], i, -p, -f[1])\) which is isomorphic to the triangle \((L, C(f), K[1], i, p, f[1])\). By Lemma 09KB this triangle is distinguished. Hence \((Y, Z, X[1], g, h, -f[1])\) is distinguished as desired.

Proof of TR3. Let \((X, Y, Z, f, g, h)\) and \((X', Y', Z', f', g', h')\) be distinguished triangles of \(K(\mathcal{A})\) and let \(a : X \to X'\) and \(b : Y \to Y'\) be morphisms such that \(f' \circ a = b \circ f\). By Lemma 09KF we may assume that \((X, Y, Z, f, g, h) = (X, Y, C(f), f, i, -p)\) and \((X', Y', Z', f', g', h') = (X', Y', C(f'), f', i', -p')\). At this point we simply apply Lemma 09KD to the commutative diagram given by \(f, f', a, b\).

Before we prove TR4 in general we prove it in a special case.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Suppose that \(\alpha : K \to L\) and \(\beta : L \to M\) are admissible monomorphisms of differential graded \(A\)-modules. Then there exist distinguished triangles \((K, L, Q_1, \alpha, p_1, d_1)\), \((K, M, Q_2, \beta \circ \alpha, p_2, d_2)\) and \((L, M, Q_3, \beta, p_3, d_3)\) for which TR4 holds.

Proof

Say \(\pi_1 : L \to K\) and \(\pi_3 : M \to L\) are homomorphisms of graded \(A\)-modules which are left inverse to \(\alpha\) and \(\beta\). Then also \(K \to M\) is an admissible monomorphism with left inverse \(\pi_2 = \pi_1 \circ \pi_3\). Let us write \(Q_1\), \(Q_2\) and \(Q_3\) for the cokernels of \(K \to L\), \(K \to M\), and \(L \to M\). Then we obtain identifications (as graded \(A\)-modules) \(Q_1 = \Ker(\pi_1)\), \(Q_3 = \Ker(\pi_3)\) and \(Q_2 = \Ker(\pi_2)\). Then \(L = K \oplus Q_1\) and \(M = L \oplus Q_3\) as graded \(A\)-modules. This implies \(M = K \oplus Q_1 \oplus Q_3\). Note that \(\pi_2 = \pi_1 \circ \pi_3\) is zero on both \(Q_1\) and \(Q_3\). Hence \(Q_2 = Q_1 \oplus Q_3\). Consider the commutative diagram \[\begin{matrix} 0 & \to & K & \to & L & \to & Q_1 & \to & 0 \\ & & \downarrow & & \downarrow & & \downarrow & \\ 0 & \to & K & \to & M & \to & Q_2 & \to & 0 \\ & & \downarrow & & \downarrow & & \downarrow & \\ 0 & \to & L & \to & M & \to & Q_3 & \to & 0 \end{matrix}\] The rows of this diagram are admissible short exact sequences, and hence determine distinguished triangles by definition. Moreover downward arrows in the diagram above are compatible with the chosen splittings and hence define morphisms of triangles \[(K \to L \to Q_1 \to K[1]) \longrightarrow (K \to M \to Q_2 \to K[1])\] and \[(K \to M \to Q_2 \to K[1]) \longrightarrow (L \to M \to Q_3 \to L[1]).\] Note that the splittings \(Q_3 \to M\) of the bottom sequence in the diagram provides a splitting for the split sequence \(0 \to Q_1 \to Q_2 \to Q_3 \to 0\) upon composing with \(M \to Q_2\). It follows easily from this that the morphism \(\delta : Q_3 \to Q_1[1]\) in the corresponding distinguished triangle \[(Q_1 \to Q_2 \to Q_3 \to Q_1[1])\] is equal to the composition \(Q_3 \to L[1] \to Q_1[1]\). Hence we get a structure as in the conclusion of axiom TR4.

Here is the final result.

Proposition

Let \((A, \text{d})\) be a differential graded algebra. The homotopy category \(K(\text{Mod}_{(A, \text{d})})\) of differential graded \(A\)-modules with its natural translation functors and distinguished triangles is a triangulated category.

Proof

We know that \(K(\text{Mod}_{(A, \text{d})})\) is a pre-triangulated category. Hence it suffices to prove TR4 and to prove it we can use Derived Categories, Lemma 014C. Let \(K \to L\) and \(L \to M\) be composable morphisms of \(K(\text{Mod}_{(A, \text{d})})\). By Lemma 09JX we may assume that \(K \to L\) and \(L \to M\) are admissible monomorphisms. In this case the result follows from Lemma 09KI.

Left modules

Everything we have said sofar has an analogue in the setting of left differential graded modules, except that one has to take care with some sign rules.

Let \((A, \text{d})\) be a differential graded \(R\)-algebra. Exactly analogous to right modules, we define a left differential graded \(A\)-module \(M\) as a left \(A\)-module \(M\) which has a grading \(M = \bigoplus M^n\) and a differential \(\text{d}\), such that \(A^n M^m \subset M^{n + m}\), such that \(\text{d}(M^n) \subset M^{n + 1}\), and such that \[\text{d}(am) = \text{d}(a) m + (-1)^{\deg(a)}a \text{d}(m)\] for homogeneous elements \(a \in A\) and \(m \in M\). As before this Leibniz rule exactly signifies that the multiplication defines a map of complexes \[\text{Tot}(A^\bullet \otimes_R M^\bullet) \to M^\bullet\] Here \(A^\bullet\) and \(M^\bullet\) denote the complexes of \(R\)-modules underlying \(A\) and \(M\).

Definition

Let \(R\) be a ring. Let \((A, \text{d})\) be a differential graded algebra over \(R\). The opposite differential graded algebra is the differential graded algebra \((A^{opp}, \text{d})\) over \(R\) where \(A^{opp} = A\) as a graded \(R\)-module, \(\text{d} = \text{d}\), and multiplication is given by \[a \cdot_{opp} b = (-1)^{\deg(a)\deg(b)} b a\] for homogeneous elements \(a, b \in A\).

This makes sense because \[\begin{align*} \text{d}(a \cdot_{opp} b) & = (-1)^{\deg(a)\deg(b)} \text{d}(b a) \\ & = (-1)^{\deg(a)\deg(b)} \text{d}(b) a + (-1)^{\deg(a)\deg(b) + \deg(b)}b\text{d}(a) \\ & = (-1)^{\deg(a)}a \cdot_{opp} \text{d}(b) + \text{d}(a) \cdot_{opp} b \end{align*}\] as desired. In terms of underlying complexes of \(R\)-modules this means that the diagram \[\xymatrix{ \text{Tot}(A^\bullet \otimes_R A^\bullet) \ar[rrr]_-{\text{multiplication of }A^{opp}} \ar[d]_{\text{commutativity constraint}} & & & A^\bullet \ar[d]^{\text{id}} \\ \text{Tot}(A^\bullet \otimes_R A^\bullet) \ar[rrr]^-{\text{multiplication of }A} & & & A^\bullet }\] commutes. Here the commutativity constraint on the symmetric monoidal category of complexes of \(R\)-modules is given in More on Algebra, Section 0FNG.

Let \((A, \text{d})\) be a differential graded algebra over \(R\). Let \(M\) be a left differential graded \(A\)-module. We will denote \(M^{opp}\) the module \(M\) viewed as a right \(A^{opp}\)-module with multiplication \(\cdot_{opp}\) defined by the rule \[m \cdot_{opp} a = (-1)^{\deg(a)\deg(m)} a m\] for \(a\) and \(m\) homogeneous. This is compatible with differentials because we could have used the diagram \[\xymatrix{ \text{Tot}(M^\bullet \otimes_R A^\bullet) \ar[rrr]_-{\text{multiplication on }M^{opp}} \ar[d]_{\text{commutativity constraint}} & & & M^\bullet \ar[d]^{\text{id}} \\ \text{Tot}(A^\bullet \otimes_R M^\bullet) \ar[rrr]^-{\text{multiplication on }M} & & & M^\bullet }\] to define the multiplication \(\cdot_{opp}\) on \(M^{opp}\). To see that it is an associative multiplication we compute for homogeneous elements \(a, b \in A\) and \(m \in M\) that \[\begin{align*} m \cdot_{opp} (a \cdot_{opp} b) & = (-1)^{\deg(a)\deg(b)} m \cdot_{opp} (ba) \\ & = (-1)^{\deg(a)\deg(b) + \deg(ab)\deg(m)} bam \\ & = (-1)^{\deg(a)\deg(b) + \deg(ab)\deg(m) + \deg(b)\deg(am)} (am) \cdot_{opp} b \\ & = (-1)^{\deg(a)\deg(b) + \deg(ab)\deg(m) + \deg(b)\deg(am) + \deg(a)\deg(m)} (m \cdot_{opp} a) \cdot_{opp} b \\ & = (m \cdot_{opp} a) \cdot_{opp} b \end{align*}\] Of course, we could have been shown this using the compatibility between the associativity and commutativity constraint on the symmetric monoidal category of complexes of \(R\)-modules as well.

Lemma

Let \((A, \text{d})\) be a differential graded \(R\)-algebra. The functor \(M \mapsto M^{opp}\) from the category of left differential graded \(A\)-modules to the category of right differential graded \(A^{opp}\)-modules is an equivalence.

Proof

Omitted.

Mext, we come to shifts. Let \((A, \text{d})\) be a differential graded algebra. Let \(M\) be a left differential graded \(A\)-module whose underlying complex of \(R\)-modules is denoted \(M^\bullet\). For any \(k \in \mathbf{Z}\) we define the \(k\)-shifted module \(M[k]\) as follows

  1. the underlying complex of \(R\)-modules of \(M[k]\) is \(M^\bullet[k]\)

  2. as \(A\)-module the multiplication \[A^n \times (M[k])^m \longrightarrow (M[k])^{n + m}\] is equal to \((-1)^{nk}\) times the given multiplication \(A^n \times M^{m + k} \to M^{n + m + k}\).

Let us check that with this choice the Leibniz rule is satisfied. Let \(a \in A^n\) and \(x \in M[k]^m = M^{m + k}\) and denoting \(\cdot_{M[k]}\) the product in \(M[k]\) then we see \[\begin{align*} \text{d}_{M[k]}(a \cdot_{M[k]} x) & = (-1)^{k + nk} \text{d}_M(ax) \\ & = (-1)^{k + nk} \text{d}(a) x + (-1)^{k + nk + n} a \text{d}_M(x) \\ & = \text{d}(a) \cdot_{M[k]} x + (-1)^{nk + n} a \text{d}_{M[k]}(x) \\ & = \text{d}(a) \cdot_{M[k]} x + (-1)^n a \cdot_{M[k]} \text{d}_{M[k]}(x) \end{align*}\] This is what we want as \(a\) has degree \(n\) as a homogeneous element of \(A\). We also observe that with these choices we may think of the multiplication map as the map of complexes \[\text{Tot}(A^\bullet \otimes_R M^\bullet[k]) \to \text{Tot}(A^\bullet \otimes_R M^\bullet)[k] \to M^\bullet[k]\] where the first arrow is More on Algebra, Section 0FNG (0FNH) which in this case involves exactly the sign we chose above. (In fact, we could have deduced that the Liebniz rule holds from this observation.)

With the rule above we have canonical identifications \[(M[k])^{opp} = M^{opp}[k]\] of right differential graded \(A^{opp}\)-modules defined without the intervention of signs, in other words, the equivalence of Lemma 0FQ0 is compatible with shift functors.

Our choice above necessitates the following definition.

Definition

Let \(R\) be a ring. Let \(A\) be a \(\mathbf{Z}\)-graded \(R\)-algebra.

  1. Given a right graded \(A\)-module \(M\) we define the \(k\)th shifted \(A\)-module \(M[k]\) as the same as a right \(A\)-module but with grading \((M[k])^n = M^{n + k}\).

  2. Given a left graded \(A\)-module \(M\) we define the \(k\)th shifted \(A\)-module \(M[k]\) as the module with grading \((M[k])^n = M^{n + k}\) and multiplication \(A^n \times (M[k])^m \to (M[k])^{n + m}\) equal to \((-1)^{nk}\) times the given multiplication \(A^n \times M^{m + k} \to M^{n + m + k}\).

Let \((A, \text{d})\) be a differential graded algebra. Let \(f, g : M \to N\) be homomorphisms of left differential graded \(A\)-modules. A homotopy between \(f\) and \(g\) is a graded \(A\)-module map \(h : M \to N[-1]\) (observe the shift!) such that \[f(x) - g(x) = \text{d}_N(h(x)) + h(\text{d}_M(x))\] for all \(x \in M\). If a homotopy exists, then we say \(f\) and \(g\) are homotopic. Thus \(h\) is compatible with the \(A\)-module structure (with the shifted one on \(N\)) and the grading (with shifted grading on \(N\)) but not with the differential. If \(f = g\) and \(h\) is a homotopy, then \(h\) defines a morphism \(h : M \to N[-1]\) of left differential graded \(A\)-modules.

With the rule above we find that \(f, g : M \to N\) are homotopic if and only if the induced morphisms \(f^{opp}, g^{opp} : M^{opp} \to N^{opp}\) are homotopic as right differential graded \(A^{opp}\)-module homomorphisms (with the same homotopy).

The homotopy category, cones, admissible short exact sequences, distinguished triangles are all defined in exactly the same manner as for right differential graded modules (and everything agrees on underlying complexes of \(R\)-modules with the constructions for complexes of \(R\)-modules). In this manner we obtain the analogue of Proposition 09KJ for left modules as well, or we can deduce it by working with right modules over the opposite algebra.

Tensor product

Let \(R\) be a ring. Let \(A\) be an \(R\)-algebra (see Section 09JF). Given a right \(A\)-module \(M\) and a left \(A\)-module \(N\) there is a tensor product \[M \otimes_A N\] This tensor product is a module over \(R\). As an \(R\)-module \(M \otimes_A N\) is generated by symbols \(x \otimes y\) with \(x \in M\) and \(y \in N\) subject to the relations \[\begin{matrix} (x_1 + x_2) \otimes y - x_1 \otimes y - x_2 \otimes y, \\ x \otimes (y_1 + y_2) - x \otimes y_1 - x \otimes y_2, \\ xa \otimes y - x \otimes ay \end{matrix}\] for \(a \in A\), \(x, x_1, x_2 \in M\) and \(y, y_1, y_2 \in N\). We list some properties of the tensor product

In each variable the tensor product is right exact, in fact commutes with direct sums and arbitrary colimits.

The tensor product \(M \otimes_A N\) is the receptacle of the universal \(A\)-bilinear map \(M \times N \to M \otimes_A N\), \((x, y) \mapsto x \otimes y\). In a formula \[\text{Bilinear}_A(M \times N, Q) = \Hom_R(M \otimes_A N, Q)\] for any \(R\)-module \(Q\).

If \(A\) is a \(\mathbf{Z}\)-graded algebra and \(M\), \(N\) are graded \(A\)-modules then \(M \otimes_A N\) is a graded \(R\)-module. Then \(n\)th graded piece \((M \otimes_A N)^n\) of \(M \otimes_A N\) is equal to \[\Coker\left( \bigoplus\nolimits_{r + t + s = n} M^r \otimes_R A^t \otimes_R N^s \to \bigoplus\nolimits_{p + q = n} M^p \otimes_R N^q \right)\] where the map sends \(x \otimes a \otimes y\) to \(x \otimes ay - xa \otimes y\) for \(x \in M^r\), \(y \in N^s\), and \(a \in A^t\) with \(r + s + t = n\). In this case the map \(M \times N \to M \otimes_A N\) is \(A\)-bilinear and compatible with gradings and universal in the sense that \[\text{GradedBilinear}_A(M \times N, Q) = \Hom_{\text{graded }R\text{-modules}}(M \otimes_A N, Q)\] for any graded \(R\)-module \(Q\) with an obvious notion of graded bilinar map.

If \((A, \text{d})\) is a differential graded algebra and \(M\) and \(N\) are left and right differential graded \(A\)-modules, then \(M \otimes_A N\) is a differential graded \(R\)-module with differential \[\text{d}(x \otimes y) = \text{d}(x) \otimes y + (-1)^{\deg(x)}x \otimes \text{d}(y)\] for \(x \in M\) and \(y \in N\) homogeneous. In this case the map \(M \times N \to M \otimes_A N\) is \(A\)-bilinear, compatible with gradings, and compatible with differentials and universal in the sense that \[\text{DifferentialGradedBilinear}_A(M \times N, Q) = \Hom_{\text{Comp}(R)}(M \otimes_A N, Q)\] for any differential graded \(R\)-module \(Q\) with an obvious notion of differential graded bilinar map.

Hom complexes and differential graded modules

We urge the reader to skip this section.

Let \(R\) be a ring and let \(M^\bullet\) be a complex of \(R\)-modules. Consider the complex of \(R\)-modules \[E^\bullet = \Hom^\bullet(M^\bullet, M^\bullet)\] introduced in More on Algebra, Section 0A8H. By More on Algebra, Lemma 0A8I there is a canonical composition law \[\text{Tot}(E^\bullet \otimes_R E^\bullet) \to E^\bullet\] which is a map of complexes. Thus we see that \(E^\bullet\) with this multiplication is a differential graded \(R\)-algebra which we will denote \((E, \text{d})\). Moreover, viewing \(M^\bullet\) as \(\Hom^\bullet(R, M^\bullet)\) we see that composition defines a multiplication \[\text{Tot}(E^\bullet \otimes_R M^\bullet) \to M^\bullet\] which turns \(M^\bullet\) into a left differential graded \(E\)-module which we will denote \(M\).

Lemma

In the situation above, let \(A\) be a differential graded \(R\)-algebra. To give a left \(A\)-module structure on \(M\) is the same thing as giving a homomorphism \(A \to E\) of differential graded \(R\)-algebras.

Proof

Proof omitted. Observe that no signs intervene in this correspondence.

We continue with the discussion above and we assume given another complex \(N^\bullet\) of \(R\)-modules. Consider the complex of \(R\)-modules \(\Hom^\bullet(M^\bullet, N^\bullet)\) introduced in More on Algebra, Section 0A8H. As above we see that composition \[\text{Tot}(\Hom^\bullet(M^\bullet, N^\bullet) \otimes_R E^\bullet) \to \Hom^\bullet(M^\bullet, N^\bullet)\] defines a multiplication which turns \(\Hom^\bullet(M^\bullet, N^\bullet)\) into a right differential graded \(E\)-module. Using Lemma 0FQ3 we conclude that given a left differential graded \(A\)-module \(M\) and a complex of \(R\)-modules \(N^\bullet\) there is a canonical right differential graded \(A\)-module whose underlying complex of \(R\)-modules is \(\Hom^\bullet(M^\bullet, N^\bullet)\) and where multiplication \[\Hom^n(M^\bullet, N^\bullet) \times A^m \longrightarrow \Hom^{n + m}(M^\bullet, N^\bullet)\] sends \(f = (f_{p, q})_{p + q = n}\) with \(f_{p, q} \in \Hom(M^{-q}, N^p)\) and \(a \in A^m\) to the element \(f \cdot a = (f_{p, q} \circ a)\) where \(f_{p, q} \circ a\) is the map \[M^{-q - m} \xrightarrow{a} M^{-q} \xrightarrow{f_{p, q}} N^p, \quad x \longmapsto f_{p, q}(ax)\] without the intervention of signs. Let us use the notation \(\Hom(M, N^\bullet)\) to denote this right differential graded \(A\)-module.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) be a differential graded \(R\)-algebra. Let \(M'\) be a right differential graded \(A\)-module and let \(M\) be a left differential graded \(A\)-module. Let \(N^\bullet\) be a complex of \(R\)-modules. Then we have \[\Hom_{\text{Mod}_{(A, d)}}(M', \Hom(M, N^\bullet)) = \Hom_{\text{Comp}(R)}(M' \otimes_A M, N^\bullet)\] where \(M \otimes_A M\) is viewed as a complex of \(R\)-modules as in Section 09LL.

Proof

Let us show that both sides correspond to graded \(A\)-bilinear maps \[M' \times M \longrightarrow N^\bullet\] compatible with differentials. We have seen this is true for the right hand side in Section 09LL. Given an element \(g\) of the left hand side, the equality of More on Algebra, Lemma 0A5Y determines a map of complexes of \(R\)-modules \(g' : \text{Tot}(M' \otimes_R M) \to N^\bullet\). In other words, we obtain a graded \(R\)-bilinear map \(g'' : M' \times M \to N^\bullet\) compatible with differentials. The \(A\)-linearity of \(g\) translates immediately into \(A\)-bilinarity of \(g''\).

Let \(R\), \(M^\bullet\), \(E^\bullet\), \(E\), and \(M\) be as above. However, now suppose given a differential graded \(R\)-algebra \(A\) and a right differential graded \(A\)-module structure on \(M\). Then we can consider the map \[\text{Tot}(A^\bullet \otimes_R M^\bullet) \xrightarrow{\psi} \text{Tot}(A^\bullet \otimes_R M^\bullet) \to M^\bullet\] where the first arrow is the commutativity constraint on the differential graded category of complexes of \(R\)-modules. This corresponds to a map \[\tau : A^\bullet \longrightarrow E^\bullet\] of complexes of \(R\)-modules. Recall that \(E^n = \prod_{p + q = n} \Hom_R(M^{-q}, M^p)\) and write \(\tau(a) = (\tau_{p, q}(a))_{p + q = n}\) for \(a \in A^n\). Then we see \[\tau_{p, q}(a) : M^{-q} \longrightarrow M^p,\quad x \longmapsto (-1)^{\deg(a)\deg(x)}x a = (-1)^{-nq}xa\] This is not compatible with the product on \(A\) as the reader should expect from the discussion in Section 0FPZ. Namely, we have \[\tau(a a') = (-1)^{\deg(a)\deg(a')}\tau(a') \tau(a)\] We conclude the following lemma is true

Lemma

In the situation above, let \(A\) be a differential graded \(R\)-algebra. To give a right \(A\)-module structure on \(M\) is the same thing as giving a homomorphism \(\tau : A \to E^{opp}\) of differential graded \(R\)-algebras.

Proof

See discussion above and note that the construction of \(\tau\) from the multiplication map \(M^n \times A^m \to M^{n + m}\) uses signs.

Let \(R\), \(M^\bullet\), \(E^\bullet\), \(E\), \(A\) and \(M\) be as above and let a right differential graded \(A\)-module structure on \(M\) be given as in the lemma. In this case there is a canonical left differential graded \(A\)-module whose underlying complex of \(R\)-modules is \(\Hom^\bullet(M^\bullet, N^\bullet)\). Namely, for multiplication we can use \[\begin{align*} \text{Tot}(A^\bullet \otimes_R \Hom^\bullet(M^\bullet, N^\bullet)) & \xrightarrow{\psi} \text{Tot}(\Hom^\bullet(M^\bullet, N^\bullet) \otimes_R A^\bullet) \\ & \xrightarrow{\tau} \text{Tot}(\Hom^\bullet(M^\bullet, N^\bullet) \otimes_R \Hom^\bullet(M^\bullet, M^\bullet)) \\ & \to \text{Tot}(\Hom^\bullet(M^\bullet, N^\bullet) \end{align*}\] The first arrow uses the commutativity constraint on the category of complexes of \(R\)-modules, the second arrow is described above, and the third arrow is the composition law for the Hom complex. Each map is a map of complexes, hence the result is a map of complexes. In fact, this construction turns \(\Hom^\bullet(M^\bullet, N^\bullet)\) into a left differential graded \(A\)-module (associativity of the multiplication can be shown using the symmetric monoidal structure or by a direct calculation using the formulae below). Let us explicate the multiplication \[A^n \times \Hom^m(M^\bullet, N^\bullet) \longrightarrow \Hom^{n + m}(M^\bullet, N^\bullet)\] It sends \(a \in A^n\) and \(f = (f_{p, q})_{p + q = m}\) with \(f_{p, q} \in \Hom(M^{-q}, N^p)\) to the element \(a \cdot f\) with constituents \[(-1)^{nm}f_{p, q} \circ \tau_{-q, q + n}(a) = (-1)^{nm - n(q + n)}f_{p, q} \circ a = (-1)^{np + n} f_{p, q} \circ a\] in \(\Hom_R(M^{-q - n}, N^p)\) where \(f_{p, q} \circ a\) is the map \[M^{-q - n} \xrightarrow{a} M^{-q} \xrightarrow{f_{p, q}} N^p,\quad x \longmapsto f_{p, q}(xa)\] Here a sign of \((-1)^{np + n}\) does intervene. Let us use the notation \(\Hom(M, N^\bullet)\) to denote this left differential graded \(A\)-module.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) be a differential graded \(R\)-algebra. Let \(M\) be a right differential graded \(A\)-module and let \(M'\) be a left differential graded \(A\)-module. Let \(N^\bullet\) be a complex of \(R\)-modules. Then we have \[\Hom_{\text{left diff graded }A\text{-modules}}(M', \Hom(M, N^\bullet)) = \Hom_{\text{Comp}(R)}(M \otimes_A M', N^\bullet)\] where \(M \otimes_A M'\) is viewed as a complex of \(R\)-modules as in Section 09LL.

Proof

Let us show that both sides correspond to graded \(A\)-bilinear maps \[M \times M' \longrightarrow N^\bullet\] compatible with differentials. We have seen this is true for the right hand side in Section 09LL. Given an element \(g\) of the left hand side, the equality of More on Algebra, Lemma 0A5Y determines a map of complexes \(g' : \text{Tot}(M' \otimes_R M) \to N^\bullet\). We precompose with the commutativity constraint to get \[\text{Tot}(M \otimes_R M') \xrightarrow{\psi} \text{Tot}(M' \otimes_R M) \xrightarrow{g'} N^\bullet\] which corresponds to a graded \(R\)-bilinear map \(g'' : M \times M' \to N^\bullet\) compatible with differentials. The \(A\)-linearity of \(g\) translates immediately into \(A\)-bilinarity of \(g''\). Namely, say \(x \in M^e\) and \(x' \in (M')^{e'}\) and \(a \in A^n\). Then on the one hand we have \[\begin{align*} g''(x, ax') & = (-1)^{e(n + e')} g'(ax' \otimes x) \\ & = (-1)^{e(n + e')} g(ax')(x) \\ & = (-1)^{e(n + e')} (a \cdot g(x'))(x) \\ & = (-1)^{e(n + e') + n(n + e + e') + n} g(x')(xa) \end{align*}\] and on the other hand we have \[g''(xa, x') = (-1)^{(e + n)e'} g'(x' \otimes xa) = (-1)^{(e + n)e'} g(x')(xa)\] which is the same thing by a trivial mod \(2\) calculation of the exponents.

Remark

Let \(R\) be a ring. Let \(A\) be a differential graded \(R\)-algebra. Let \(M\) be a left differential graded \(A\)-module. Let \(N^\bullet\) be a complex of \(R\)-modules. The constructions above produce a right differential graded \(A\)-module \(\Hom(M, N^\bullet)\) and then a leftt differential graded \(A\)-module \(\Hom(\Hom(M, N^\bullet), N^\bullet)\). We claim there is an evaluation map \[ev : M \longrightarrow \Hom(\Hom(M, N^\bullet), N^\bullet)\] in the category of left differential graded \(A\)-modules. To define it, by Lemma 0FQ4 it suffices to construct an \(A\)-bilinear pairing \[\Hom(M, N^\bullet) \times M \longrightarrow N^\bullet\] compatible with grading and differentials. For this we take \[(f, x) \longmapsto f(x)\] We leave it to the reader to verify this is compatible with grading, differentials, and \(A\)-bilinear. The map \(ev\) on underlying complexes of \(R\)-modules is More on Algebra, Item (0FNM).

Remark

Let \(R\) be a ring. Let \(A\) be a differential graded \(R\)-algebra. Let \(M\) be a right differential graded \(A\)-module. Let \(N^\bullet\) be a complex of \(R\)-modules. The constructions above produce a left differential graded \(A\)-module \(\Hom(M, N^\bullet)\) and then a right differential graded \(A\)-module \(\Hom(\Hom(M, N^\bullet), N^\bullet)\). We claim there is an evaluation map \[ev : M \longrightarrow \Hom(\Hom(M, N^\bullet), N^\bullet)\] in the category of right differential graded \(A\)-modules. To define it, by Lemma 0FQ4 it suffices to construct an \(A\)-bilinear pairing \[M \times \Hom(M, N^\bullet) \longrightarrow N^\bullet\] compatible with grading and differentials. For this we take \[(x, f) \longmapsto (-1)^{\deg(x)\deg(f)}f(x)\] We leave it to the reader to verify this is compatible with grading, differentials, and \(A\)-bilinear. The map \(ev\) on underlying complexes of \(R\)-modules is More on Algebra, Item (0FNM).

Remark

Let \(R\) be a ring. Let \(A\) be a differential graded \(R\)-algebra. Let \(M^\bullet\) and \(N^\bullet\) be complexes of \(R\)-modules. Let \(k \in \mathbf{Z}\) and consider the isomorphism \[\Hom^\bullet(M^\bullet, N^\bullet)[-k] \longrightarrow \Hom^\bullet(M^\bullet[k], N^\bullet)\] of complexes of \(R\)-modules defined in More on Algebra, Item (0FNN). If \(M^\bullet\) has the structure of a left, resp. right differential graded \(A\)-module, then this is a map of right, resp. left differential graded \(A\)-modules (with the module structures as defined in this section). We omit the verification; we warn the reader that the \(A\)-module structure on the shift of a left graded \(A\)-module is defined using a sign, see Definition 0FQ1.

Projective modules over algebras

In this section we discuss projective modules over algebras analogous to Algebra, Section 05CD. This section should probably be moved somewhere else.

Let \(R\) be a ring and let \(A\) be an \(R\)-algebra, see Section 09JF for our conventions. It is clear that \(A\) is a projective right \(A\)-module since \(\Hom_A(A, M) = M\) for any right \(A\)-module \(M\) (and thus \(\Hom_A(A, -)\) is exact). Conversely, let \(P\) be a projective right \(A\)-module. Then we can choose a surjection \(\bigoplus_{i \in I} A \to P\) by choosing a set \(\{p_i\}_{i \in I}\) of generators of \(P\) over \(A\). Since \(P\) is projective there is a left inverse to the surjection, and we find that \(P\) is isomorphic to a direct summand of a free module, exactly as in the commutative case (Algebra, Lemma 05CF).

We conclude

  1. the category of \(A\)-modules has enough projectives,

  2. \(A\) is a projective \(A\)-module,

  3. every \(A\)-module is a quotient of a direct sum of copies of \(A\),

  4. every projective \(A\)-module is a direct summand of a direct sum of copies of \(A\).

Projective modules over graded algebras

In this section we discuss projective graded modules over graded algebras analogous to Algebra, Section 05CD.

Let \(R\) be a ring. Let \(A\) be a \(\mathbf{Z}\)-graded algebra over \(R\). Section 09JF for our conventions. Let \(\text{Mod}_A\) denote the category of graded right \(A\)-modules. For an integer \(k\) let \(A[k]\) denote the shift of \(A\). For a graded right \(A\)-module we have \[\Hom_{\text{Mod}_A}(A[k], M) = M^{-k}\] As the functor \(M \mapsto M^{-k}\) is exact on \(\text{Mod}_A\) we conclude that \(A[k]\) is a projective object of \(\text{Mod}_A\). Conversely, suppose that \(P\) is a projective object of \(\text{Mod}_A\). By choosing a set of homogeneous generators of \(P\) as an \(A\)-module, we can find a surjection \[\bigoplus\nolimits_{i \in I} A[k_i] \longrightarrow P\] Thus we conclude that a projective object of \(\text{Mod}_A\) is a direct summand of a direct sum of the shifts \(A[k]\).

We conclude

  1. the category of graded \(A\)-modules has enough projectives,

  2. \(A[k]\) is a projective \(A\)-module for every \(k \in \mathbf{Z}\),

  3. every graded \(A\)-module is a quotient of a direct sum of copies of the modules \(A[k]\) for varying \(k\),

  4. every projective \(A\)-module is a direct summand of a direct sum of copies of the modules \(A[k]\) for varying \(k\).

Projective modules and differential graded algebras

If \((A, \text{d})\) is a differential graded algebra and \(P\) is an object of \(\text{Mod}_{(A, \text{d})}\) then we say \(P\) is projective as a graded \(A\)-module or sometimes \(P\) is graded projective to mean that \(P\) is a projective object of the abelian category \(\text{Mod}_A\) of graded \(A\)-modules as in Section 0FQA.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(M \to P\) be a surjective homomorphism of differential graded \(A\)-modules. If \(P\) is projective as a graded \(A\)-module, then \(M \to P\) is an admissible epimorphism.

Proof

This is immediate from the definitions.

Lemma

Let \((A, d)\) be a differential graded algebra. Then we have \[\Hom_{\text{Mod}_{(A, \text{d})}}(A[k], M) = \Ker(\text{d} : M^{-k} \to M^{-k + 1})\] and \[\Hom_{K(\text{Mod}_{(A, \text{d})})}(A[k], M) = H^{-k}(M)\] for any differential graded \(A\)-module \(M\).

Proof

Immediate from the definitions.

Injective modules over algebras

In this section we discuss injective modules over algebras analogous to More on Algebra, Section 01D8. This section should probably be moved somewhere else.

Let \(R\) be a ring and let \(A\) be an \(R\)-algebra, see Section 09JF for our conventions. For a right \(A\)-module \(M\) we set \[M^\vee = \Hom_\mathbf{Z}(M, \mathbf{Q}/\mathbf{Z})\] which we think of as a left \(A\)-module by the multiplication \((a f)(x) = f(xa)\). Namely, \(((ab)f)(x) = f(xab) = (bf)(xa) = (a(bf))(x)\). Conversely, if \(M\) is a left \(A\)-module, then \(M^\vee\) is a right \(A\)-module. Since \(\mathbf{Q}/\mathbf{Z}\) is an injective abelian group (More on Algebra, Lemma 01D7), the functor \(M \mapsto M^\vee\) is exact (More on Algebra, Lemma 01DA). Moreover, the evaluation map \(M \to (M^\vee)^\vee\) is injective for all modules \(M\) (More on Algebra, Lemma 01DB).

We claim that \(A^\vee\) is an injective right \(A\)-module. Namely, given a right \(A\)-module \(N\) we have \[\Hom_A(N, A^\vee) = \Hom_A(N, \Hom_\mathbf{Z}(A, \mathbf{Q}/\mathbf{Z})) = N^\vee\] and we conclude because the functor \(N \mapsto N^\vee\) is exact. The second equality holds because \[\Hom_\mathbf{Z}(N, \Hom_\mathbf{Z}(A, \mathbf{Q}/\mathbf{Z})) = \Hom_\mathbf{Z}(N \otimes_\mathbf{Z} A, \mathbf{Q}/\mathbf{Z})\] by Algebra, Lemma 00DE. Inside this module \(A\)-linearity exactly picks out the bilinear maps \(\varphi : N \times A \to \mathbf{Q}/\mathbf{Z}\) which have the same value on \(x \otimes a\) and \(xa \otimes 1\), i.e., come from elements of \(N^\vee\).

Finally, for every right \(A\)-module \(M\) we can choose a surjection \(\bigoplus_{i \in I} A \to M^\vee\) to get an injection \(M \to (M^\vee)^\vee \to \prod_{i \in I} A^\vee\).

We conclude

  1. the category of \(A\)-modules has enough injectives,

  2. \(A^\vee\) is an injective \(A\)-module, and

  3. every \(A\)-module injects into a product of copies of \(A^\vee\).

Injective modules over graded algebras

In this section we discuss injective graded modules over graded algebras analogous to More on Algebra, Section 01D8.

Let \(R\) be a ring. Let \(A\) be a \(\mathbf{Z}\)-graded algebra over \(R\). Section 09JF for our conventions. If \(M\) is a graded \(R\)-module we set \[M^\vee = \bigoplus\nolimits_{n \in \mathbf{Z}} \Hom_\mathbf{Z}(M^{-n}, \mathbf{Q}/\mathbf{Z}) = \bigoplus\nolimits_{n \in \mathbf{Z}} (M^{-n})^\vee\] as a graded \(R\)-module (no signs in the actions of \(R\) on the homogeneous parts). If \(M\) has the structure of a left graded \(A\)-module, then we define a right graded \(A\)-module structure on \(M^\vee\) by letting \(a \in A^m\) act by \[(M^{-n})^\vee \to (M^{-n - m})^\vee, \quad f \mapsto f \circ a\] as in Section 0FQ2. If \(M\) has the structure of a right graded \(A\)-module, then we define a left graded \(A\)-module structure on \(M^\vee\) by letting \(a \in A^n\) act by \[(M^{-m})^\vee \to (M^{-m - n})^\vee, \quad f \mapsto (-1)^{nm}f \circ a\] as in Section 0FQ2 (the sign is forced on us because we want to use the same formula for the case when working with differential graded modules — if you only care about graded modules, then you can omit the sign here). On the category of (left or right) graded \(A\)-modules the functor \(M \mapsto M^\vee\) is exact (check on graded pieces). Moreover, there is an injective evaluation map \[ev : M \longrightarrow (M^\vee)^\vee, \quad ev^n = (-1)^n \text{ the evaluation map }M^n \to ((M^n)^\vee)^\vee\] of graded \(R\)-modules, see More on Algebra, Item (0FNM). This evaluation map is a left, resp. right \(A\)-module homomorphism if \(M\) is a left, resp. right \(A\)-module, see Remarks 0FQ7 and 0FQ8. Finally, given \(k \in \mathbf{Z}\) there is a canonical isomorphism \[M^\vee[-k] \longrightarrow (M[k])^\vee\] of graded \(R\)-modules which uses a sign and which, if \(M\) is a left, resp. right \(A\)-module, is an isomorphism of right, resp. left \(A\)-modules. See Remark 0FQ9.

We claim that \(A^\vee\) is an injective object of the category \(\text{Mod}_A\) of graded right \(A\)-modules. Namely, given a graded right \(A\)-module \(N\) we have \[\Hom_{\text{Mod}_A}(N, A^\vee) = \Hom_{\text{Comp}(\mathbf{Z})}(N \otimes_A A, \mathbf{Q}/\mathbf{Z})) = (N^0)^\vee\] by Lemma 0FQ4 (applied to the case where all the differentials are zero). We conclude because the functor \(N \mapsto (N^0)^\vee = (N^\vee)^0\) is exact.

Finally, for every graded right \(A\)-module \(M\) we can choose a surjection of graded left \(A\)-modules \[\bigoplus\nolimits_{i \in I} A[k_i] \to M^\vee\] where \(A[k_i]\) denotes the shift of \(A\) by \(k_i \in \mathbf{Z}\). We do this by choosing homogeneous generators for \(M^\vee\). In this way we get an injection \[M \to (M^\vee)^\vee \to \prod A[k_i]^\vee = \prod A^\vee[-k_i]\] Observe that the products in the formula above are products in the category of graded modules (in other words, take products in each degree and then take the direct sum of the pieces).

We conclude that

  1. the category of graded \(A\)-modules has enough injectives,

  2. for every \(k \in \mathbf{Z}\) the module \(A^\vee[k]\) is injective, and

  3. every \(A\)-module injects into a product in the category of graded modules of copies of shifts \(A^\vee[k]\).

Injective modules and differential graded algebras

If \((A, \text{d})\) is a differential graded algebra and \(I\) is an object of \(\text{Mod}_{(A, \text{d})}\) then we say \(I\) is injective as a graded \(A\)-module or sometimes \(I\) is graded injective to mean that \(I\) is an injective object of the abelian category \(\text{Mod}_A\) of graded \(A\)-modules.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(I \to M\) be an injective homomorphism of differential graded \(A\)-modules. If \(I\) is graded injective, then \(I \to M\) is an admissible monomorphism.

Proof

This is immediate from the definitions.

Let \((A, \text{d})\) be a differential graded algebra. If \(M\) is a left, resp. right differential graded \(A\)-module, then \[M^\vee = \Hom^\bullet(M^\bullet, \mathbf{Q}/\mathbf{Z})\] with \(A\)-module structure constructed in Section 0FQC is a right, resp. left differential graded \(A\)-module by the discussion in Section 0FQ2. By Remarks 0FQ7 and 0FQ8 there evaluation map of Section 0FQC \[M \longrightarrow (M^\vee)^\vee\] is a homomorphism of left, resp. right differential graded \(A\)-modules

Lemma

Let \((A, \text{d})\) be a differential graded algebra. If \(M\) is a left differential graded \(A\)-module and \(N\) is a right differential graded \(A\)-module, then \[\begin{align*} \Hom_{\text{Mod}_{(A, \text{d})}}(N, M^\vee) & = \Hom_{\text{Comp}(\mathbf{Z})}(N \otimes_A M, \mathbf{Q}/\mathbf{Z}) \\ & = \text{DifferentialGradedBilinear}_A(N \times M, \mathbf{Q}/\mathbf{Z}) \end{align*}\]

Proof

The first equality is Lemma 0FQ4 and the second equality was shown in Section 09LL.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Then we have \[\Hom_{\text{Mod}_{(A, \text{d})}}(M, A^\vee[k]) = \Ker(\text{d} : (M^\vee)^k \to (M^\vee)^{k + 1})\] and \[\Hom_{K(\text{Mod}_{(A, \text{d})})}(M, A^\vee[k]) = H^k(M^\vee)\] as functors in the differential graded \(A\)-module \(M\).

Proof

This is clear from the discussion above.

P-resolutions

This section is the analogue of Derived Categories, Section 06XW.

Let \((A, \text{d})\) be a differential graded algebra. Let \(P\) be a differential graded \(A\)-module. We say \(P\) has property (P) if it there exists a filtration \[0 = F_{-1}P \subset F_0P \subset F_1P \subset \ldots \subset P\] by differential graded submodules such that

  1. \(P = \bigcup F_pP\),

  2. the inclusions \(F_iP \to F_{i + 1}P\) are admissible monomorphisms,

  3. the quotients \(F_{i + 1}P/F_iP\) are isomorphic as differential graded \(A\)-modules to a direct sum of \(A[k]\).

In fact, condition (2) is a consequence of condition (3), see Lemma 09K0. Moreover, the reader can verify that as a graded \(A\)-module \(P\) will be isomorphic to a direct sum of shifts of \(A\).

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(P\) be a differential graded \(A\)-module. If \(F_\bullet\) is a filtration as in property (P), then we obtain an admissible short exact sequence \[0 \to \bigoplus\nolimits F_iP \to \bigoplus\nolimits F_iP \to P \to 0\] of differential graded \(A\)-modules.

Proof

The second map is the direct sum of the inclusion maps. The first map on the summand \(F_iP\) of the source is the sum of the identity \(F_iP \to F_iP\) and the negative of the inclusion map \(F_iP \to F_{i + 1}P\). Choose homomorphisms \(s_i : F_{i + 1}P \to F_iP\) of graded \(A\)-modules which are left inverse to the inclusion maps. Composing gives maps \(s_{j, i} : F_jP \to F_iP\) for all \(j > i\). Then a left inverse of the first arrow maps \(x \in F_jP\) to \((s_{j, 0}(x), s_{j, 1}(x), \ldots, s_{j, j - 1}(x), 0, \ldots)\) in \(\bigoplus F_iP\).

The following lemma shows that differential graded modules with property (P) are the dual notion to K-injective modules (i.e., they are K-projective in some sense). See Derived Categories, Definition 070H.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(P\) be a differential graded \(A\)-module with property (P). Then \[\Hom_{K(\text{Mod}_{(A, \text{d})})}(P, N) = 0\] for all acyclic differential graded \(A\)-modules \(N\).

Proof

We will use that \(K(\text{Mod}_{(A, \text{d})})\) is a triangulated category (Proposition 09KJ). Let \(F_\bullet\) be a filtration on \(P\) as in property (P). The short exact sequence of Lemma 09KL produces a distinguished triangle. Hence by Derived Categories, Lemma 0149 it suffices to show that \[\Hom_{K(\text{Mod}_{(A, \text{d})})}(F_iP, N) = 0\] for all acyclic differential graded \(A\)-modules \(N\) and all \(i\). Each of the differential graded modules \(F_iP\) has a finite filtration by admissible monomorphisms, whose graded pieces are direct sums of shifts \(A[k]\). Thus it suffices to prove that \[\Hom_{K(\text{Mod}_{(A, \text{d})})}(A[k], N) = 0\] for all acyclic differential graded \(A\)-modules \(N\) and all \(k\). This follows from Lemma 09K1.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(M\) be a differential graded \(A\)-module. There exists a homomorphism \(P \to M\) of differential graded \(A\)-modules with the following properties

  1. \(P \to M\) is surjective,

  2. \(\Ker(\text{d}_P) \to \Ker(\text{d}_M)\) is surjective, and

  3. \(P\) sits in an admissible short exact sequence \(0 \to P' \to P \to P'' \to 0\) where \(P'\), \(P''\) are direct sums of shifts of \(A\).

Proof

Let \(P_k\) be the free \(A\)-module with generators \(x, y\) in degrees \(k\) and \(k + 1\). Define the structure of a differential graded \(A\)-module on \(P_k\) by setting \(\text{d}(x) = y\) and \(\text{d}(y) = 0\). For every element \(m \in M^k\) there is a homomorphism \(P_k \to M\) sending \(x\) to \(m\) and \(y\) to \(\text{d}(m)\). Thus we see that there is a surjection from a direct sum of copies of \(P_k\) to \(M\). This clearly produces \(P \to M\) having properties (1) and (3). To obtain property (2) note that if \(m \in \Ker(\text{d}_M)\) has degree \(k\), then there is a map \(A[k] \to M\) mapping \(1\) to \(m\). Hence we can achieve (2) by adding a direct sum of copies of shifts of \(A\).

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(M\) be a differential graded \(A\)-module. There exists a homomorphism \(P \to M\) of differential graded \(A\)-modules such that

  1. \(P \to M\) is a quasi-isomorphism, and

  2. \(P\) has property (P).

Proof

Set \(M = M_0\). We inductively choose short exact sequences \[0 \to M_{i + 1} \to P_i \to M_i \to 0\] where the maps \(P_i \to M_i\) are chosen as in Lemma 09KN. This gives a “resolution” \[\ldots \to P_2 \xrightarrow{f_2} P_1 \xrightarrow{f_1} P_0 \to M \to 0\] Then we set \[P = \bigoplus\nolimits_{i \geq 0} P_i\] as an \(A\)-module with grading given by \(P^n = \bigoplus_{a + b = n} P_{-a}^b\) and differential (as in the construction of the total complex associated to a double complex) by \[\text{d}_P(x) = f_{-a}(x) + (-1)^a \text{d}_{P_{-a}}(x)\] for \(x \in P_{-a}^b\). With these conventions \(P\) is indeed a differential graded \(A\)-module. Recalling that each \(P_i\) has a two step filtration \(0 \to P_i' \to P_i \to P_i'' \to 0\) we set \[F_{2i}P = \bigoplus\nolimits_{i \geq j \geq 0} P_j \subset \bigoplus\nolimits_{i \geq 0} P_i = P\] and we add \(P'_{i + 1}\) to \(F_{2i}P\) to get \(F_{2i + 1}\). These are differential graded submodules and the successive quotients are direct sums of shifts of \(A\). By Lemma 09K0 we see that the inclusions \(F_iP \to F_{i + 1}P\) are admissible monomorphisms. Finally, we have to show that the map \(P \to M\) (given by the augmentation \(P_0 \to M\)) is a quasi-isomorphism. This follows from Homology, Lemma 09IZ.

I-resolutions

This section is the dual of the section on P-resolutions.

Let \((A, \text{d})\) be a differential graded algebra. Let \(I\) be a differential graded \(A\)-module. We say \(I\) has property (I) if it there exists a filtration \[I = F_0I \supset F_1I \supset F_2I \supset \ldots \supset 0\] by differential graded submodules such that

  1. \(I = \lim I/F_pI\),

  2. the maps \(I/F_{i + 1}I \to I/F_iI\) are admissible epimorphisms,

  3. the quotients \(F_iI/F_{i + 1}I\) are isomorphic as differential graded \(A\)-modules to products of the modules \(A^\vee[k]\) constructed in Section 0FQD.

In fact, condition (2) is a consequence of condition (3), see Lemma 09K2. The reader can verify that as a graded module \(I\) will be isomorphic to a product of \(A^\vee[k]\).

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(I\) be a differential graded \(A\)-module. If \(F_\bullet\) is a filtration as in property (I), then we obtain an admissible short exact sequence \[0 \to I \to \prod\nolimits I/F_iI \to \prod\nolimits I/F_iI \to 0\] of differential graded \(A\)-modules.

Proof

Omitted. Hint: This is dual to Lemma 09KL.

The following lemma shows that differential graded modules with property (I) are the analogue of K-injective modules. See Derived Categories, Definition 070H.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(I\) be a differential graded \(A\)-module with property (I). Then \[\Hom_{K(\text{Mod}_{(A, \text{d})})}(N, I) = 0\] for all acyclic differential graded \(A\)-modules \(N\).

Proof

We will use that \(K(\text{Mod}_{(A, \text{d})})\) is a triangulated category (Proposition 09KJ). Let \(F_\bullet\) be a filtration on \(I\) as in property (I). The short exact sequence of Lemma 09KR produces a distinguished triangle. Hence by Derived Categories, Lemma 0149 it suffices to show that \[\Hom_{K(\text{Mod}_{(A, \text{d})})}(N, I/F_iI) = 0\] for all acyclic differential graded \(A\)-modules \(N\) and all \(i\). Each of the differential graded modules \(I/F_iI\) has a finite filtration by admissible monomorphisms, whose graded pieces are products of \(A^\vee[k]\). Thus it suffices to prove that \[\Hom_{K(\text{Mod}_{(A, \text{d})})}(N, A^\vee[k]) = 0\] for all acyclic differential graded \(A\)-modules \(N\) and all \(k\). This follows from Lemma 09K4 and the fact that \((-)^\vee\) is an exact functor.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(M\) be a differential graded \(A\)-module. There exists a homomorphism \(M \to I\) of differential graded \(A\)-modules with the following properties

  1. \(M \to I\) is injective,

  2. \(\Coker(\text{d}_M) \to \Coker(\text{d}_I)\) is injective, and

  3. \(I\) sits in an admissible short exact sequence \(0 \to I' \to I \to I'' \to 0\) where \(I'\), \(I''\) are products of shifts of \(A^\vee\).

Proof

We will use the functors \(N \mapsto N^\vee\) (from left to right differential graded modules and from right to left differential graded modules) constructed in Section 0FQD and all of their properties. For every \(k \in \mathbf{Z}\) let \(Q_k\) be the free left \(A\)-module with generators \(x, y\) in degrees \(k\) and \(k + 1\). Define the structure of a left differential graded \(A\)-module on \(Q_k\) by setting \(\text{d}(x) = y\) and \(\text{d}(y) = 0\). Arguing exactly as in the proof of Lemma 09KN we find a surjection \[\bigoplus\nolimits_{i \in I} Q_{k_i} \longrightarrow M^\vee\] of left differential graded \(A\)-modules. Then we can consider the injection \[M \to (M^\vee)^\vee \to (\bigoplus\nolimits_{i \in I} Q_{k_i})^\vee = \prod\nolimits_{i \in I} I_{k_i}\] where \(I_k = Q_{-k}^\vee\) is the “dual” right differential graded \(A\)-module. Further, the short exact sequence \(0 \to A[-k - 1] \to Q_k \to A[-k] \to 0\) produces a short exact sequence \(0 \to A^\vee[k] \to I_k \to A^\vee[k + 1] \to 0\).

The result of the previous paragraph produces \(M \to I\) having properties (1) and (3). To obtain property (2), suppose \(\overline{m} \in \Coker(\text{d}_M)\) is a nonzero element of degree \(k\). Pick a map \(\lambda : M^k \to \mathbf{Q}/\mathbf{Z}\) which vanishes on \(\Im(M^{k - 1} \to M^k)\) but not on \(m\). By Lemma 09K4 this corresponds to a homomorphism \(M \to A^\vee[k]\) of differential graded \(A\)-modules which does not vanish on \(m\). Hence we can achieve (2) by adding a product of copies of shifts of \(A^\vee\).

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(M\) be a differential graded \(A\)-module. There exists a homomorphism \(M \to I\) of differential graded \(A\)-modules such that

  1. \(M \to I\) is a quasi-isomorphism, and

  2. \(I\) has property (I).

Proof

Set \(M = M_0\). We inductively choose short exact sequences \[0 \to M_i \to I_i \to M_{i + 1} \to 0\] where the maps \(M_i \to I_i\) are chosen as in Lemma 09KT. This gives a “resolution” \[0 \to M \to I_0 \xrightarrow{f_0} I_1 \xrightarrow{f_1} I_1 \to \ldots\] Denote \(I\) the differential graded \(A\)-module with graded parts \[I^n = \prod\nolimits_{i \geq 0} I^{n - i}_i\] and differential defined by \[\text{d}_I(x) = f_i(x) + (-1)^i \text{d}_{I_i}(x)\] for \(x \in I_i^{n - i}\). With these conventions \(I\) is indeed a differential graded \(A\)-module. Recalling that each \(I_i\) has a two step filtration \(0 \to I_i' \to I_i \to I_i'' \to 0\) we set \[F_{2i}I^n = \prod\nolimits_{j \geq i} I^{n - j}_j \subset \prod\nolimits_{i \geq 0} I^{n - i}_i = I^n\] and we add a factor \(I'_{i + 1}\) to \(F_{2i}I\) to get \(F_{2i + 1}I\). These are differential graded submodules and the successive quotients are products of shifts of \(A^\vee\). By Lemma 09K2 we see that the inclusions \(F_{i + 1}I \to F_iI\) are admissible monomorphisms. Finally, we have to show that the map \(M \to I\) (given by the augmentation \(M \to I_0\)) is a quasi-isomorphism. This follows from Homology, Lemma 09J0.

The derived category

Recall that the notions of acyclic differential graded modules and quasi-isomorphism of differential graded modules make sense (see Section 09JH).

Lemma

Let \((A, \text{d})\) be a differential graded algebra. The full subcategory \(\text{Ac}\) of \(K(\text{Mod}_{(A, \text{d})})\) consisting of acyclic modules is a strictly full saturated triangulated subcategory of \(K(\text{Mod}_{(A, \text{d})})\). The corresponding saturated multiplicative system (see Derived Categories, Lemma 05RL) of \(K(\text{Mod}_{(A, \text{d})})\) is the class \(\text{Qis}\) of quasi-isomorphisms. In particular, the kernel of the localization functor \[Q : K(\text{Mod}_{(A, \text{d})}) \to \text{Qis}^{-1}K(\text{Mod}_{(A, \text{d})})\] is \(\text{Ac}\). Moreover, the functor \(H^0\) factors through \(Q\).

Proof

We know that \(H^0\) is a homological functor by the long exact sequence of homology (09JK). The kernel of \(H^0\) is the subcategory of acyclic objects and the arrows with induce isomorphisms on all \(H^i\) are the quasi-isomorphisms. Thus this lemma is a special case of Derived Categories, Lemma 05RM.

Set theoretical remark. The construction of the localization in Derived Categories, Proposition 05R6 assumes the given triangulated category is “small”, i.e., that the underlying collection of objects forms a set. Let \(V_\alpha\) be a partial universe (as in Sets, Section 000B) containing \((A, \text{d})\) and where the cofinality of \(\alpha\) is bigger than \(\aleph_0\) (see Sets, Proposition 05N3). Then we can consider the category \(\text{Mod}_{(A, \text{d}), \alpha}\) of differential graded \(A\)-modules contained in \(V_\alpha\). A straightforward check shows that all the constructions used in the proof of Proposition 09KJ work inside of \(\text{Mod}_{(A, \text{d}), \alpha}\) (because at worst we take finite direct sums of differential graded modules). Thus we obtain a triangulated category \(\text{Qis}_\alpha^{-1}K(\text{Mod}_{(A, \text{d}), \alpha})\). We will see below that if \(\beta > \alpha\), then the transition functors \[\text{Qis}_\alpha^{-1}K(\text{Mod}_{(A, \text{d}), \alpha}) \longrightarrow \text{Qis}_\beta^{-1}K(\text{Mod}_{(A, \text{d}), \beta})\] are fully faithful as the morphism sets in the quotient categories are computed by maps in the homotopy categories from P-resolutions (the construction of a P-resolution in the proof of Lemma 09KP takes countable direct sums as well as direct sums indexed over subsets of the given module). The reader should therefore think of the category of the lemma as the union of these subcategories.

Taking into account the set theoretical remark at the end of the proof of the preceding lemma we define the derived category as follows.

Definition

Let \((A, \text{d})\) be a differential graded algebra. Let \(\text{Ac}\) and \(\text{Qis}\) be as in Lemma 09KW. The derived category of \((A, \text{d})\) is the triangulated category \[D(A, \text{d}) = K(\text{Mod}_{(A, \text{d})})/\text{Ac} = \text{Qis}^{-1}K(\text{Mod}_{(A, \text{d})}).\] We denote \(H^0 : D(A, \text{d}) \to \text{Mod}_R\) the unique functor whose composition with the quotient functor gives back the functor \(H^0\) defined above.

Here is the promised lemma computing morphism sets in the derived category.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(M\) and \(N\) be differential graded \(A\)-modules.

  1. Let \(P \to M\) be a P-resolution as in Lemma 09KP. Then \[\Hom_{D(A, \text{d})}(M, N) = \Hom_{K(\text{Mod}_{(A, \text{d})})}(P, N)\]

  2. Let \(N \to I\) be an I-resolution as in Lemma 09KU. Then \[\Hom_{D(A, \text{d})}(M, N) = \Hom_{K(\text{Mod}_{(A, \text{d})})}(M, I)\]

Proof

Let \(P \to M\) be as in (1). Since \(P \to M\) is a quasi-isomorphism we see that \[\Hom_{D(A, \text{d})}(P, N) = \Hom_{D(A, \text{d})}(M, N)\] by definition of the derived category. A morphism \(f : P \to N\) in \(D(A, \text{d})\) is equal to \(s^{-1}f'\) where \(f' : P \to N'\) is a morphism and \(s : N \to N'\) is a quasi-isomorphism. Choose a distinguished triangle \[N \to N' \to Q \to N[1]\] As \(s\) is a quasi-isomorphism, we see that \(Q\) is acyclic. Thus \(\Hom_{K(\text{Mod}_{(A, \text{d})})}(P, Q[k]) = 0\) for all \(k\) by Lemma 09KM. Since \(\Hom_{K(\text{Mod}_{(A, \text{d})})}(P, -)\) is cohomological, we conclude that we can lift \(f' : P \to N'\) uniquely to a morphism \(f : P \to N\). This finishes the proof.

The proof of (2) is dual to that of (1) using Lemma 09KS in stead of Lemma 09KM.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Then

  1. \(D(A, \text{d})\) has both direct sums and products,

  2. direct sums are obtained by taking direct sums of differential graded modules,

  3. products are obtained by taking products of differential graded modules.

Proof

We will use that \(\text{Mod}_{(A, \text{d})}\) is an abelian category with arbitrary direct sums and products, and that these give rise to direct sums and products in \(K(\text{Mod}_{(A, \text{d})})\). See Lemmas 09JJ and 09JR.

Let \(M_j\) be a family of differential graded \(A\)-modules. Consider the graded direct sum \(M = \bigoplus M_j\) which is a differential graded \(A\)-module with the obvious. For a differential graded \(A\)-module \(N\) choose a quasi-isomorphism \(N \to I\) where \(I\) is a differential graded \(A\)-module with property (I). See Lemma 09KU. Using Lemma 09KY we have \[\begin{align*} \Hom_{D(A, \text{d})}(M, N) & = \Hom_{K(A, \text{d})}(M, I) \\ & = \prod \Hom_{K(A, \text{d})}(M_j, I) \\ & = \prod \Hom_{D(A, \text{d})}(M_j, N) \end{align*}\] whence the existence of direct sums in \(D(A, \text{d})\) as given in part (2) of the lemma.

Let \(M_j\) be a family of differential graded \(A\)-modules. Consider the product \(M = \prod M_j\) of differential graded \(A\)-modules. For a differential graded \(A\)-module \(N\) choose a quasi-isomorphism \(P \to N\) where \(P\) is a differential graded \(A\)-module with property (P). See Lemma 09KP. Using Lemma 09KY we have \[\begin{align*} \Hom_{D(A, \text{d})}(N, M) & = \Hom_{K(A, \text{d})}(P, M) \\ & = \prod \Hom_{K(A, \text{d})}(P, M_j) \\ & = \prod \Hom_{D(A, \text{d})}(N, M_j) \end{align*}\] whence the existence of direct sums in \(D(A, \text{d})\) as given in part (3) of the lemma.

Remark

Let \(R\) be a ring. Let \((A, \text{d})\) be a differential graded \(R\)-algebra. Using P-resolutions we can sometimes reduce statements about general objects of \(D(A, \text{d})\) to statements about \(A[k]\). Namely, let \(T\) be a property of objects of \(D(A, \text{d})\) and assume that

  1. if \(K_i\), \(i \in I\) is a family of objects of \(D(A, \text{d})\) and \(T(K_i)\) holds for all \(i \in I\), then \(T(\bigoplus K_i)\),

  2. if \(K \to L \to M \to K[1]\) is a distinguished triangle of \(D(A, \text{d})\) and \(T\) holds for two, then \(T\) holds for the third object, and

  3. \(T(A[k])\) holds for all \(k \in \mathbf{Z}\).

Then \(T\) holds for all objects of \(D(A, \text{d})\). This is clear from Lemmas 09KL and 09KP.

The canonical delta-functor

Let \((A, \text{d})\) be a differential graded algebra. Consider the functor \(\text{Mod}_{(A, \text{d})} \to K(\text{Mod}_{(A, \text{d})})\). This functor is not a \(\delta\)-functor in general. However, it turns out that the functor \(\text{Mod}_{(A, \text{d})} \to D(A, \text{d})\) is a \(\delta\)-functor. In order to see this we have to define the morphisms \(\delta\) associated to a short exact sequence \[0 \to K \xrightarrow{a} L \xrightarrow{b} M \to 0\] in the abelian category \(\text{Mod}_{(A, \text{d})}\). Consider the cone \(C(a)\) of the morphism \(a\). We have \(C(a) = L \oplus K\) and we define \(q : C(a) \to M\) via the projection to \(L\) followed by \(b\). Hence a homomorphism of differential graded \(A\)-modules \[q : C(a) \longrightarrow M.\] It is clear that \(q \circ i = b\) where \(i\) is as in Definition 09KA. Note that, as \(a\) is injective, the kernel of \(q\) is identified with the cone of \(\text{id}_K\) which is acyclic. Hence we see that \(q\) is a quasi-isomorphism. According to Lemma 09KF the triangle \[(K, L, C(a), a, i, -p)\] is a distinguished triangle in \(K(\text{Mod}_{(A, \text{d})})\). As the localization functor \(K(\text{Mod}_{(A, \text{d})}) \to D(A, \text{d})\) is exact we see that \((K, L, C(a), a, i, -p)\) is a distinguished triangle in \(D(A, \text{d})\). Since \(q\) is a quasi-isomorphism we see that \(q\) is an isomorphism in \(D(A, \text{d})\). Hence we deduce that \[(K, L, M, a, b, -p \circ q^{-1})\] is a distinguished triangle of \(D(A, \text{d})\). This suggests the following lemma.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. The functor \(\text{Mod}_{(A, \text{d})} \to D(A, \text{d})\) defined has the natural structure of a \(\delta\)-functor, with \[\delta_{K \to L \to M} = - p \circ q^{-1}\] with \(p\) and \(q\) as explained above.

Proof

We have already seen that this choice leads to a distinguished triangle whenever given a short exact sequence of complexes. We have to show functoriality of this construction, see Derived Categories, Definition 0150. This follows from Lemma 09KD with a bit of work. Compare with Derived Categories, Lemma 0152.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(M_n\) be a system of differential graded modules. Then the derived colimit \(\text{hocolim} M_n\) in \(D(A, \text{d})\) is represented by the differential graded module \(\colim M_n\).

Proof

Set \(M = \colim M_n\). We have an exact sequence of differential graded modules \[0 \to \bigoplus M_n \to \bigoplus M_n \to M \to 0\] by Derived Categories, Lemma 093W (applied the underlying complexes of abelian groups). The direct sums are direct sums in \(D(\mathcal{A})\) by Lemma 09QI. Thus the result follows from the definition of derived colimits in Derived Categories, Definition 090Z and the fact that a short exact sequence of complexes gives a distinguished triangle (Lemma 09L0).

Linear categories

Just the definitions.

Definition

Let \(R\) be a ring. An \(R\)-linear category \(\mathcal{A}\) is a category where every morphism set is given the structure of an \(R\)-module and where for \(x, y, z \in \Ob(\mathcal{A})\) composition law \[\Hom_\mathcal{A}(y, z) \times \Hom_\mathcal{A}(x, y) \longrightarrow \Hom_\mathcal{A}(x, z)\] is \(R\)-bilinear.

Thus composition determines an \(R\)-linear map \[\Hom_\mathcal{A}(y, z) \otimes_R \Hom_\mathcal{A}(x, y) \longrightarrow \Hom_\mathcal{A}(x, z)\] of \(R\)-modules. Note that we do not assume \(R\)-linear categories to be additive.

Definition

Let \(R\) be a ring. A functor of \(R\)-linear categories, or an \(R\)-linear functor is a functor \(F : \mathcal{A} \to \mathcal{B}\) where for all objects \(x, y\) of \(\mathcal{A}\) the map \(F : \Hom_\mathcal{A}(x, y) \to \Hom_\mathcal{B}(F(x), F(y))\) is a homomorphism of \(R\)-modules.

Graded categories

Just some definitions.

Definition

Let \(R\) be a ring. A graded category \(\mathcal{A}\) over \(R\) is a category where every morphism set is given the structure of a graded \(R\)-module and where for \(x, y, z \in \Ob(\mathcal{A})\) composition is \(R\)-bilinear and induces a homomorphism \[\Hom_\mathcal{A}(y, z) \otimes_R \Hom_\mathcal{A}(x, y) \longrightarrow \Hom_\mathcal{A}(x, z)\] of graded \(R\)-modules (i.e., preserving degrees).

In this situation we denote \(\Hom_\mathcal{A}^i(x, y)\) the degree \(i\) part of the graded object \(\Hom_\mathcal{A}(x, y)\), so that \[\Hom_\mathcal{A}(x, y) = \bigoplus\nolimits_{i \in \mathbf{Z}} \Hom_\mathcal{A}^i(x, y)\] is the direct sum decomposition into graded parts.

Definition

Let \(R\) be a ring. A functor of graded categories over \(R\), or a graded functor is a functor \(F : \mathcal{A} \to \mathcal{B}\) where for all objects \(x, y\) of \(\mathcal{A}\) the map \(F : \Hom_\mathcal{A}(x, y) \to \Hom_\mathcal{A}(F(x), F(y))\) is a homomorphism of graded \(R\)-modules.

Given a graded category we are often interested in the corresponding “usual” category of maps of degree \(0\). Here is a formal definition.

Definition

Let \(R\) be a ring. Let \(\mathcal{A}\) be a graded category over \(R\). We let \(\mathcal{A}^0\) be the category with the same objects as \(\mathcal{A}\) and with \[\Hom_{\mathcal{A}^0}(x, y) = \Hom^0_\mathcal{A}(x, y)\] the degree \(0\) graded piece of the graded module of morphisms of \(\mathcal{A}\).

Definition

Let \(R\) be a ring. Let \(\mathcal{A}\) be a graded category over \(R\). A direct sum \((x, y, z, i, j, p, q)\) in \(\mathcal{A}\) (notation as in Homology, Remark 0103) is a graded direct sum if \(i, j, p, q\) are homogeneous of degree \(0\).

Example

Let \(\mathcal{B}\) be an additive category. Recall that we have defined the category \(\text{Gr}(\mathcal{B})\) of graded objects of \(\mathcal{B}\) in Homology, Definition 0125. In this example, we will construct a graded category \(\text{Gr}^{gr}(\mathcal{B})\) over \(R = \mathbf{Z}\) whose associated category \(\text{Gr}^{gr}(\mathcal{B})^0\) recovers \(\text{Gr}(\mathcal{B})\). As objects of \(\text{Gr}^{gr}(\mathcal{B})\) we take graded objects of \(\mathcal{B}\). Then, given graded objects \(A = (A^i)\) and \(B = (B^i)\) of \(\mathcal{B}\) we set \[\Hom_{\text{Gr}^{gr}(\mathcal{B})}(A, B) = \bigoplus\nolimits_{n \in \mathbf{Z}} \Hom^n(A, B)\] where the graded piece of degree \(n\) is the abelian group of homogeneous maps of degree \(n\) from \(A\) to \(B\). Explicitly we have \[\Hom^n(A, B) = \prod\nolimits_{p + q = n} \Hom_\mathcal{B}(A^{-q}, B^p)\] (observe reversal of indices and observe that we have a product here and not a direct sum). In other words, a degree \(n\) morphism \(f\) from \(A\) to \(B\) can be seen as a system \(f = (f_{p, q})\) where \(p, q \in \mathbf{Z}\), \(p + q = n\) with \(f_{p, q} : A^{-q} \to B^p\) a morphism of \(\mathcal{B}\). Given graded objects \(A\), \(B\), \(C\) of \(\mathcal{B}\) composition of morphisms in \(\text{Gr}^{gr}(\mathcal{B})\) is defined via the maps \[\Hom^m(B, C) \times \Hom^n(A, B) \longrightarrow \Hom^{n + m}(A, C)\] by simple composition \((g, f) \mapsto g \circ f\) of homogeneous maps of graded objects. In terms of components we have \[(g \circ f)_{p, r} = g_{p, q} \circ f_{-q, r}\] where \(q\) is such that \(p + q = m\) and \(-q + r = n\).

Example

Let \(A\) be a \(\mathbf{Z}\)-graded algebra over a ring \(R\). We will construct a graded category \(\text{Mod}^{gr}_A\) over \(R\) whose associated category \((\text{Mod}^{gr}_A)^0\) is the category of graded \(A\)-modules. As objects of \(\text{Mod}^{gr}_A\) we take right graded \(A\)-modules (see Section 09JZ). Given graded \(A\)-modules \(L\) and \(M\) we set \[\Hom_{\text{Mod}^{gr}_A}(L, M) = \bigoplus\nolimits_{n \in \mathbf{Z}} \Hom^n(L, M)\] where \(\Hom^n(L, M)\) is the set of right \(A\)-module maps \(L \to M\) which are homogeneous of degree \(n\), i.e., \(f(L^i) \subset M^{i + n}\) for all \(i \in \mathbf{Z}\). In terms of components, we have that \[\Hom^n(L, M) \subset \prod\nolimits_{p + q = n} \Hom_R(L^{-q}, M^p)\] (observe reversal of indices) is the subset consisting of those \(f = (f_{p, q})\) such that \[f_{p, q}(m a) = f_{p - i, q + i}(m)a\] for \(a \in A^i\) and \(m \in L^{-q - i}\). For graded \(A\)-modules \(K\), \(L\), \(M\) we define composition in \(\text{Mod}^{gr}_A\) via the maps \[\Hom^m(L, M) \times \Hom^n(K, L) \longrightarrow \Hom^{n + m}(K, M)\] by simple composition of right \(A\)-module maps: \((g, f) \mapsto g \circ f\).

Remark

Let \(R\) be a ring. Let \(\mathcal{D}\) be an \(R\)-linear category endowed with a collection of \(R\)-linear functors \([n] : \mathcal{D} \to \mathcal{D}\), \(x \mapsto x[n]\) indexed by \(n \in \mathbf{Z}\) such that \([n] \circ [m] = [n + m]\) and \([0] = \text{id}_\mathcal{D}\) (equality as functors). This allows us to construct a graded category \(\mathcal{D}^{gr}\) over \(R\) with the same objects of \(\mathcal{D}\) setting \[\Hom_{\mathcal{D}^{gr}}(x, y) = \bigoplus\nolimits_{n \in \mathbf{Z}} \Hom_\mathcal{D}(x, y[n])\] for \(x, y\) in \(\mathcal{D}\). Observe that \((\mathcal{D}^{gr})^0 = \mathcal{D}\) (see Definition 09ML). Moreover, the graded category \(\mathcal{D}^{gr}\) inherits \(R\)-linear graded functors \([n]\) satisfying \([n] \circ [m] = [n + m]\) and \([0] = \text{id}_{\mathcal{D}^{gr}}\) with the property that \[\Hom_{\mathcal{D}^{gr}}(x, y[n]) = \Hom_{\mathcal{D}^{gr}}(x, y)[n]\] as graded \(R\)-modules compatible with composition of morphisms.

Conversely, suppose given a graded category \(\mathcal{A}\) over \(R\) endowed with a collection of \(R\)-linear graded functors \([n]\) satisfying \([n] \circ [m] = [n + m]\) and \([0] = \text{id}_\mathcal{A}\) which are moreover equipped with isomorphisms \[\Hom_\mathcal{A}(x, y[n]) = \Hom_\mathcal{A}(x, y)[n]\] as graded \(R\)-modules compatible with composition of morphisms. Then the reader easily shows that \(\mathcal{A} = (\mathcal{A}^0)^{gr}\).

Here are two examples of the relationship \(\mathcal{D} \leftrightarrow \mathcal{A}\) we established above:

  1. Let \(\mathcal{B}\) be an additive category. If \(\mathcal{D} = \text{Gr}(\mathcal{B})\), then \(\mathcal{A} = \text{Gr}^{gr}(\mathcal{B})\) as in Example 09MM.

  2. If \(A\) is a graded ring and \(\mathcal{D} = \text{Mod}_A\) is the category of graded right \(A\)-modules, then \(\mathcal{A} = \text{Mod}^{gr}_A\), see Example 09MN.

Differential graded categories

Note that if \(R\) is a ring, then \(R\) is a differential graded algebra over itself (with \(R = R^0\) of course). In this case a differential graded \(R\)-module is the same thing as a complex of \(R\)-modules. In particular, given two differential graded \(R\)-modules \(M\) and \(N\) we denote \(M \otimes_R N\) the differential graded \(R\)-module corresponding to the total complex associated to the double complex obtained by the tensor product of the complexes of \(R\)-modules associated to \(M\) and \(N\).

Definition

Let \(R\) be a ring. A differential graded category \(\mathcal{A}\) over \(R\) is a category where every morphism set is given the structure of a differential graded \(R\)-module and where for \(x, y, z \in \Ob(\mathcal{A})\) composition is \(R\)-bilinear and induces a homomorphism \[\Hom_\mathcal{A}(y, z) \otimes_R \Hom_\mathcal{A}(x, y) \longrightarrow \Hom_\mathcal{A}(x, z)\] of differential graded \(R\)-modules.

The final condition of the definition signifies the following: if \(f \in \Hom_\mathcal{A}^n(x, y)\) and \(g \in \Hom_\mathcal{A}^m(y, z)\) are homogeneous of degrees \(n\) and \(m\), then \[\text{d}(g \circ f) = \text{d}(g) \circ f + (-1)^mg \circ \text{d}(f)\] in \(\Hom_\mathcal{A}^{n + m + 1}(x, z)\). This follows from the sign rule for the differential on the total complex of a double complex, see Homology, Definition 012Z.

Definition

Let \(R\) be a ring. A functor of differential graded categories over \(R\) is a functor \(F : \mathcal{A} \to \mathcal{B}\) where for all objects \(x, y\) of \(\mathcal{A}\) the map \(F : \Hom_\mathcal{A}(x, y) \to \Hom_\mathcal{A}(F(x), F(y))\) is a homomorphism of differential graded \(R\)-modules.

Given a differential graded category we are often interested in the corresponding categories of complexes and homotopy category. Here is a formal definition.

Definition

Let \(R\) be a ring. Let \(\mathcal{A}\) be a differential graded category over \(R\). Then we let

  1. the category of complexes of \(\mathcal{A}\)1 be the category \(\text{Comp}(\mathcal{A})\) whose objects are the same as the objects of \(\mathcal{A}\) and with \[\Hom_{\text{Comp}(\mathcal{A})}(x, y) = \Ker(d : \Hom^0_\mathcal{A}(x, y) \to \Hom^1_\mathcal{A}(x, y))\]

  2. the homotopy category of \(\mathcal{A}\) be the category \(K(\mathcal{A})\) whose objects are the same as the objects of \(\mathcal{A}\) and with \[\Hom_{K(\mathcal{A})}(x, y) = H^0(\Hom_\mathcal{A}(x, y))\]

Our use of the symbol \(K(\mathcal{A})\) is nonstandard, but at least is compatible with the use of \(K(-)\) in other chapters of the Stacks project.

Definition

Let \(R\) be a ring. Let \(\mathcal{A}\) be a differential graded category over \(R\). A direct sum \((x, y, z, i, j, p, q)\) in \(\mathcal{A}\) (notation as in Homology, Remark 0103) is a differential graded direct sum if \(i, j, p, q\) are homogeneous of degree \(0\) and closed, i.e., \(\text{d}(i) = 0\), etc.

Lemma

Let \(R\) be a ring. A functor \(F : \mathcal{A} \to \mathcal{B}\) of differential graded categories over \(R\) induces functors \(\text{Comp}(\mathcal{A}) \to \text{Comp}(\mathcal{B})\) and \(K(\mathcal{A}) \to K(\mathcal{B})\).

Proof

Omitted.

Example

Let \(\mathcal{B}\) be an additive category. We will construct a differential graded category \(\text{Comp}^{dg}(\mathcal{B})\) over \(R = \mathbf{Z}\) whose associated category of complexes is \(\text{Comp}(\mathcal{B})\) and whose associated homotopy category is \(K(\mathcal{B})\). As objects of \(\text{Comp}^{dg}(\mathcal{B})\) we take complexes of \(\mathcal{B}\). Given complexes \(A^\bullet\) and \(B^\bullet\) of \(\mathcal{B}\), we sometimes also denote \(A^\bullet\) and \(B^\bullet\) the corresponding graded objects of \(\mathcal{B}\) (i.e., forget about the differential). Using this abuse of notation, we set \[\Hom_{\text{Comp}^{dg}(\mathcal{B})}(A^\bullet, B^\bullet) = \Hom_{\text{Gr}^{gr}(\mathcal{B})}(A^\bullet, B^\bullet) = \bigoplus\nolimits_{n \in \mathbf{Z}} \Hom^n(A, B)\] as a graded \(\mathbf{Z}\)-module with notation and definitions as in Example 09MM. In other words, the \(n\)th graded piece is the abelian group of homogeneous morphism of degree \(n\) of graded objects \[\Hom^n(A^\bullet, B^\bullet) = \prod\nolimits_{p + q = n} \Hom_\mathcal{B}(A^{-q}, B^p)\] Observe reversal of indices and observe we have a direct product and not a direct sum. For an element \(f \in \Hom^n(A^\bullet, B^\bullet)\) of degree \(n\) we set \[\text{d}(f) = \text{d}_B \circ f - (-1)^n f \circ \text{d}_A\] The sign is exactly as in More on Algebra, Section 0FNG. To make sense of this we think of \(\text{d}_B\) and \(\text{d}_A\) as maps of graded objects of \(\mathcal{B}\) homogeneous of degree \(1\) and we use composition in the category \(\text{Gr}^{gr}(\mathcal{B})\) on the right hand side. In terms of components, if \(f = (f_{p, q})\) with \(f_{p, q} : A^{-q} \to B^p\) we have [09LA]\[\begin{equation} \text{d}(f_{p, q}) = \text{d}_B \circ f_{p, q} - (-1)^{p + q} f_{p, q} \circ \text{d}_A \end{equation}\] Note that the first term of this expression is in \(\Hom_\mathcal{B}(A^{-q}, B^{p + 1})\) and the second term is in \(\Hom_\mathcal{B}(A^{-q - 1}, B^p)\). The reader checks that

  1. \(\text{d}\) has square zero,

  2. an element \(f\) in \(\Hom^n(A^\bullet, B^\bullet)\) has \(\text{d}(f) = 0\) if and only if the morphism \(f : A^\bullet \to B^\bullet[n]\) of graded objects of \(\mathcal{B}\) is actually a map of complexes,

  3. in particular, the category of complexes of \(\text{Comp}^{dg}(\mathcal{B})\) is equal to \(\text{Comp}(\mathcal{B})\),

  4. the morphism of complexes defined by \(f\) as in (2) is homotopy equivalent to zero if and only if \(f = \text{d}(g)\) for some \(g \in \Hom^{n - 1}(A^\bullet, B^\bullet)\).

  5. in particular, we obtain a canonical isomorphism \[\Hom_{K(\mathcal{B})}(A^\bullet, B^\bullet) \longrightarrow H^0(\Hom_{\text{Comp}^{dg}(\mathcal{B})}(A^\bullet, B^\bullet))\] and the homotopy category of \(\text{Comp}^{dg}(\mathcal{B})\) is equal to \(K(\mathcal{B})\).

Given complexes \(A^\bullet\), \(B^\bullet\), \(C^\bullet\) we define composition \[\Hom^m(B^\bullet, C^\bullet) \times \Hom^n(A^\bullet, B^\bullet) \longrightarrow \Hom^{n + m}(A^\bullet, C^\bullet)\] by composition \((g, f) \mapsto g \circ f\) in the graded category \(\text{Gr}^{gr}(\mathcal{B})\), see Example 09MM. This defines a map of differential graded modules \[\Hom_{\text{Comp}^{dg}(\mathcal{B})}(B^\bullet, C^\bullet) \otimes_R \Hom_{\text{Comp}^{dg}(\mathcal{B})}(A^\bullet, B^\bullet) \longrightarrow \Hom_{\text{Comp}^{dg}(\mathcal{B})}(A^\bullet, C^\bullet)\] as required in Definition 09L5 because \[\begin{align*} \text{d}(g \circ f) & = \text{d}_C \circ g \circ f - (-1)^{n + m} g \circ f \circ \text{d}_A \\ & = \left(\text{d}_C \circ g - (-1)^m g \circ \text{d}_B\right) \circ f + (-1)^m g \circ \left(\text{d}_B \circ f - (-1)^n f \circ \text{d}_A\right) \\ & = \text{d}(g) \circ f + (-1)^m g \circ \text{d}(f) \end{align*}\] as desired.

Lemma

Let \(F : \mathcal{B} \to \mathcal{B}'\) be an additive functor between additive categories. Then \(F\) induces a functor of differential graded categories \[F : \text{Comp}^{dg}(\mathcal{B}) \to \text{Comp}^{dg}(\mathcal{B}')\] of Example 09L9 inducing the usual functors on the category of complexes and the homotopy categories.

Proof

Omitted.

Example

Let \((A, \text{d})\) be a differential graded algebra over a ring \(R\). We will construct a differential graded category \(\text{Mod}^{dg}_{(A, \text{d})}\) over \(R\) whose category of complexes is \(\text{Mod}_{(A, \text{d})}\) and whose homotopy category is \(K(\text{Mod}_{(A, \text{d})})\). As objects of \(\text{Mod}^{dg}_{(A, \text{d})}\) we take the differential graded \(A\)-modules. Given differential graded \(A\)-modules \(L\) and \(M\) we set \[\Hom_{\text{Mod}^{dg}_{(A, \text{d})}}(L, M) = \Hom_{\text{Mod}^{gr}_A}(L, M) = \bigoplus \Hom^n(L, M)\] as a graded \(R\)-module where the right hand side is defined as in Example 09MN. In other words, the \(n\)th graded piece \(\Hom^n(L, M)\) is the \(R\)-module of right \(A\)-module maps homogeneous of degree \(n\). For an element \(f \in \Hom^n(L, M)\) we set \[\text{d}(f) = \text{d}_M \circ f - (-1)^n f \circ \text{d}_L\] To make sense of this we think of \(\text{d}_M\) and \(\text{d}_L\) as graded \(R\)-module maps and we use composition of graded \(R\)-module maps. It is clear that \(\text{d}(f)\) is homogeneous of degree \(n + 1\) as a graded \(R\)-module map, and it is \(A\)-linear because \[\begin{align*} \text{d}(f)(xa) & = \text{d}_M(f(x) a) - (-1)^n f (\text{d}_L(xa)) \\ & = \text{d}_M(f(x)) a + (-1)^{\deg(x) + n} f(x) \text{d}(a) - (-1)^n f(\text{d}_L(x)) a - (-1)^{n + \deg(x)} f(x) \text{d}(a) \\ & = \text{d}(f)(x) a \end{align*}\] as desired (observe that this calculation would not work without the sign in the definition of our differential on \(\Hom\)). Similar formulae to those of Example 09L9 hold for the differential of \(f\) in terms of components. The reader checks (in the same way as in Example 09L9) that

  1. \(\text{d}\) has square zero,

  2. an element \(f\) in \(\Hom^n(L, M)\) has \(\text{d}(f) = 0\) if and only if \(f : L \to M[n]\) is a homomorphism of differential graded \(A\)-modules,

  3. in particular, the category of complexes of \(\text{Mod}^{dg}_{(A, \text{d})}\) is \(\text{Mod}_{(A, \text{d})}\),

  4. the homomorphism defined by \(f\) as in (2) is homotopy equivalent to zero if and only if \(f = \text{d}(g)\) for some \(g \in \Hom^{n - 1}(L, M)\).

  5. in particular, we obtain a canonical isomorphism \[\Hom_{K(\text{Mod}_{(A, \text{d})})}(L, M) \longrightarrow H^0(\Hom_{\text{Mod}^{dg}_{(A, \text{d})}}(L, M))\] and the homotopy category of \(\text{Mod}^{dg}_{(A, \text{d})}\) is \(K(\text{Mod}_{(A, \text{d})})\).

Given differential graded \(A\)-modules \(K\), \(L\), \(M\) we define composition \[\Hom^m(L, M) \times \Hom^n(K, L) \longrightarrow \Hom^{n + m}(K, M)\] by composition of homogeneous right \(A\)-module maps \((g, f) \mapsto g \circ f\). This defines a map of differential graded modules \[\Hom_{\text{Mod}^{dg}_{(A, \text{d})}}(L, M) \otimes_R \Hom_{\text{Mod}^{dg}_{(A, \text{d})}}(K, L) \longrightarrow \Hom_{\text{Mod}^{dg}_{(A, \text{d})}}(K, M)\] as required in Definition 09L5 because \[\begin{align*} \text{d}(g \circ f) & = \text{d}_M \circ g \circ f - (-1)^{n + m} g \circ f \circ \text{d}_K \\ & = \left(\text{d}_M \circ g - (-1)^m g \circ \text{d}_L\right) \circ f + (-1)^m g \circ \left(\text{d}_L \circ f - (-1)^n f \circ \text{d}_K\right) \\ & = \text{d}(g) \circ f + (-1)^m g \circ \text{d}(f) \end{align*}\] as desired.

Lemma

Let \(\varphi : (A, \text{d}) \to (E, \text{d})\) be a homomorphism of differential graded algebras. Then \(\varphi\) induces a functor of differential graded categories \[F : \text{Mod}^{dg}_{(E, \text{d})} \longrightarrow \text{Mod}^{dg}_{(A, \text{d})}\] of Example 09LC inducing obvious restriction functors on the categories of differential graded modules and homotopy categories.

Proof

Omitted.

Lemma

Let \(R\) be a ring. Let \(\mathcal{A}\) be a differential graded category over \(R\). Let \(x\) be an object of \(\mathcal{A}\). Let \[(E, \text{d}) = \Hom_\mathcal{A}(x, x)\] be the differential graded \(R\)-algebra of endomorphisms of \(x\). We obtain a functor \[\mathcal{A} \longrightarrow \text{Mod}^{dg}_{(E, \text{d})},\quad y \longmapsto \Hom_\mathcal{A}(x, y)\] of differential graded categories by letting \(E\) act on \(\Hom_\mathcal{A}(x, y)\) via composition in \(\mathcal{A}\). This functor induces functors \[\text{Comp}(\mathcal{A}) \to \text{Mod}_{(A, \text{d})} \quad\text{and}\quad K(\mathcal{A}) \to K(\text{Mod}_{(A, \text{d})})\] by an application of Lemma 09L8.

Proof

This lemma proves itself.

Obtaining triangulated categories

In this section we discuss the most general setup to which the arguments proving Derived Categories, Proposition 014S and Proposition 09KJ apply.

Let \(R\) be a ring. Let \(\mathcal{A}\) be a differential graded category over \(R\). To make our argument work, we impose some axioms on \(\mathcal{A}\):

  1. \(\mathcal{A}\) has a zero object and differential graded direct sums of two objects (as in Definition 09P4).

  2. there are functors \([n] : \mathcal{A} \longrightarrow \mathcal{A}\) of differential graded categories such that \([0] = \text{id}_\mathcal{A}\) and \([n + m] = [n] \circ [m]\) and given isomorphisms \[\Hom_\mathcal{A}(x, y[n]) = \Hom_\mathcal{A}(x, y)[n]\] of differential graded \(R\)-modules compatible with composition.

Given our differential graded category \(\mathcal{A}\) we say

  1. a sequence \(x \to y \to z\) of morphisms of \(\text{Comp}(\mathcal{A})\) is an admissible short exact sequence if there exists an isomorphism \(y \cong x \oplus z\) in the underlying graded category such that \(x \to z\) and \(y \to z\) are (co)projections.

  2. a morphism \(x\to y\) of \(\text{Comp}(\mathcal{A})\) is an admissible monomorphism if it extends to an admissible short exact sequence \(x\to y\to z\).

  3. a morphism \(y\to z\) of \(\text{Comp}(\mathcal{A})\) is an admissible epimorphism if it extends to an admissible short exact sequence \(x\to y\to z\).

The next lemma tells us an admissible short exact sequence gives a triangle, provided we have axioms (A) and (B).

Lemma

Let \(\mathcal{A}\) be a differential graded category satisfying axioms (A) and (B). Given an admissible short exact sequence \(x \to y \to z\) we obtain (see proof) a triangle \[x \to y \to z \to x[1]\] in \(\text{Comp}(\mathcal{A})\) with the property that any two compositions in \(z[-1] \to x \to y \to z \to x[1]\) are zero in \(K(\mathcal{A})\).

Proof

Choose a diagram \[\xymatrix{ x \ar[rr]_1 \ar[rd]_a & & x \\ & y \ar[ru]_\pi \ar[rd]^b & \\ z \ar[rr]^1 \ar[ru]^s & & z }\] giving the isomorphism of graded objects \(y \cong x \oplus z\) as in the definition of an admissible short exact sequence. Here are some equations that hold in this situation

  1. \(1 = \pi a\) and hence \(\text{d}(\pi) a = 0\),

  2. \(1 = b s\) and hence \(b \text{d}(s) = 0\),

  3. \(1 = a \pi + s b\) and hence \(a \text{d}(\pi) + \text{d}(s) b = 0\),

  4. \(\pi s = 0\) and hence \(\text{d}(\pi)s + \pi \text{d}(s) = 0\),

  5. \(\text{d}(s) = a \pi \text{d}(s)\) because \(\text{d}(s) = (a \pi + s b)\text{d}(s)\) and \(b\text{d}(s) = 0\),

  6. \(\text{d}(\pi) = \text{d}(\pi) s b\) because \(\text{d}(\pi) = \text{d}(\pi)(a \pi + s b)\) and \(\text{d}(\pi)a = 0\),

  7. \(\text{d}(\pi \text{d}(s)) = 0\) because if we postcompose it with the monomorphism \(a\) we get \(\text{d}(a\pi \text{d}(s)) = \text{d}(\text{d}(s)) = 0\), and

  8. \(\text{d}(\text{d}(\pi)s) = 0\) as by (4) it is the negative of \(\text{d}(\pi\text{d}(s))\) which is \(0\) by (7).

We’ve used repeatedly that \(\text{d}(a) = 0\), \(\text{d}(b) = 0\), and that \(\text{d}(1) = 0\). By (7) we see that \[\delta = \pi \text{d}(s) = - \text{d}(\pi) s : z \to x[1]\] is a morphism in \(\text{Comp}(\mathcal{A})\). By (5) we see that the composition \(a \delta = a \pi \text{d}(s) = \text{d}(s)\) is homotopic to zero. By (6) we see that the composition \(\delta b = - \text{d}(\pi)sb = \text{d}(-\pi)\) is homotopic to zero.

Besides axioms (A) and (B) we need an axiom concerning the existence of cones. We formalize everything as follows.

Situation

Here \(R\) is a ring and \(\mathcal{A}\) is a differential graded category over \(R\) having axioms (A), (B), and

  1. given an arrow \(f : x \to y\) of degree \(0\) with \(\text{d}(f) = 0\) there exists an admissible short exact sequence \(y \to c(f) \to x[1]\) in \(\text{Comp}(\mathcal{A})\) such that the map \(x[1] \to y[1]\) of Lemma 09P6 is equal to \(f[1]\).

We will call \(c(f)\) a cone of the morphism \(f\). If (A), (B), and (C) hold, then cones are functorial in a weak sense.

Lemma

In Situation 09QJ suppose that \[\xymatrix{ x_1 \ar[r]_{f_1} \ar[d]_a & y_1 \ar[d]^b \\ x_2 \ar[r]^{f_2} & y_2 }\] is a diagram of \(\text{Comp}(\mathcal{A})\) commutative up to homotopy. Then there exists a morphism \(c : c(f_1) \to c(f_2)\) which gives rise to a morphism of triangles \[(a, b, c) : (x_1, y_1, c(f_1)) \to (x_1, y_1, c(f_1))\] in \(K(\mathcal{A})\).

Proof

The assumption means there exists a morphism \(h : x_1 \to y_2\) of degree \(-1\) such that \(\text{d}(h) = b f_1 - f_2 a\). Choose isomorphisms \(c(f_i) = y_i \oplus x_i[1]\) of graded objects compatible with the morphisms \(y_i \to c(f_i) \to x_i[1]\). Let’s denote \(a_i : y_i \to c(f_i)\), \(b_i : c(f_i) \to x_i[1]\), \(s_i : x_i[1] \to c(f_i)\), and \(\pi_i : c(f_i) \to y_i\) the given morphisms. Recall that \(x_i[1] \to y_i[1]\) is given by \(\pi_i \text{d}(s_i)\). By axiom (C) this means that \[f_i = \pi_i \text{d}(s_i) = - \text{d}(\pi_i) s_i\] (we identify \(\Hom(x_i, y_i)\) with \(\Hom(x_i[1], y_i[1])\) using the shift functor \([1]\)). Set \(c = a_2 b \pi_1 + s_2 a b_1 + a_2hb\). Then, using the equalities found in the proof of Lemma 09P6 we obtain \[\begin{align*} \text{d}(c) & = a_2 b \text{d}(\pi_1) + \text{d}(s_2) a b_1 + a_2 \text{d}(h) b_1 \\ & = - a_2 b f_1 b_1 + a_2 f_2 a b_1 + a_2 (b f_1 - f_2 a) b_1 \\ & = 0 \end{align*}\] (where we have used in particular that \(\text{d}(\pi_1) = \text{d}(\pi_1) s_1 b_1 = f_1 b_1\) and \(\text{d}(s_2) = a_2 \pi_2 \text{d}(s_2) = a_2 f_2\)). Thus \(c\) is a degree \(0\) morphism \(c : c(f_1) \to c(f_2)\) of \(\mathcal{A}\) compatible with the given morphisms \(y_i \to c(f_i) \to x_i[1]\).

In Situation 09QJ we say that a triangle \((x, y, z, f, g, h)\) in \(K(\mathcal{A})\) is a distinguished triangle if there exists an admissible short exact sequence \(x' \to y' \to z'\) such that \((x, y, z, f, g, h)\) is isomorphic as a triangle in \(K(\mathcal{A})\) to the triangle \((x', y', z', x' \to y', y' \to z', \delta)\) constructed in Lemma 09P6. We will show below that \[\boxed{ K(\mathcal{A})\text{ is a triangulated category} }\] This result, although not as general as one might think, applies to a number of natural generalizations of the cases covered so far in the Stacks project. Here are some examples:

  1. Let \((X, \mathcal{O}_X)\) be a ringed space. Let \((A, d)\) be a sheaf of differential graded \(\mathcal{O}_X\)-algebras. Let \(\mathcal{A}\) be the differential graded category of differential graded \(A\)-modules. Then \(K(\mathcal{A})\) is a triangulated category.

  2. Let \((\mathcal{C}, \mathcal{O})\) be a ringed site. Let \((A, d)\) be a sheaf of differential graded \(\mathcal{O}\)-algebras. Let \(\mathcal{A}\) be the differential graded category of differential graded \(A\)-modules. Then \(K(\mathcal{A})\) is a triangulated category. See Differential Graded Sheaves, Proposition 0FS7.

  3. Two examples with a different flavor may be found in Examples, Section 09R6.

The following simple lemma is a key to the construction.

Lemma

In Situation 09QJ given any object \(x\) of \(\mathcal{A}\), and the cone \(C(1_x)\) of the identity morphism \(1_x : x \to x\), the identity morphism on \(C(1_x)\) is homotopic to zero.

Proof

Consider the admissible short exact sequence given by axiom (C). \[\xymatrix{ x \ar@<0.5ex>[r]^a & C(1_x) \ar@<0.5ex>[l]^{\pi} \ar@<0.5ex>[r]^b & x[1]\ar@<0.5ex>[l]^s }\] Then by Lemma 09P6, identifying hom-sets under shifting, we have \(1_x=\pi d(s)=-d(\pi)s\) where \(s\) is regarded as a morphism in \(\Hom_{\mathcal{A}}^{-1}(x,C(1_x))\). Therefore \(a=a\pi d(s)=d(s)\) using formula (5) of Lemma 09P6, and \(b=-d(\pi)sb=-d(\pi)\) by formula (6) of Lemma 09P6. Hence \[1_{C(1_x)} = a\pi + sb = d(s)\pi - sd(\pi) = d(s\pi)\] since \(s\) is of degree \(-1\).

A more general version of the above lemma will appear in Lemma 09QU. The following lemma is the analogue of Lemma 09JV.

Lemma

In Situation 09QJ given a diagram \[\xymatrix{x\ar[r]^f\ar[d]_a & y\ar[d]^b\\ z\ar[r]^g & w}\] in \(\text{Comp}(\mathcal{A})\) commuting up to homotopy. Then

  1. If \(f\) is an admissible monomorphism, then \(b\) is homotopic to a morphism \(b'\) which makes the diagram commute.

  2. If \(g\) is an admissible epimorphism, then \(a\) is homotopic to a morphism \(a'\) which makes the diagram commute.

Proof

To prove (1), observe that the hypothesis implies that there is some \(h\in\Hom_{\mathcal{A}}(x,w)\) of degree \(-1\) such that \(bf-ga=d(h)\). Since \(f\) is an admissible monomorphism, there is a morphism \(\pi : y \to x\) in the category \(\mathcal{A}\) of degree \(0\). Let \(b' = b - d(h\pi)\). Then \[\begin{align*} b'f = bf - d(h\pi)f = & bf - d(h\pi f) \quad (\text{since }d(f) = 0) \\ = & bf-d(h) \\ = & ga \end{align*}\] as desired. The proof for (2) is omitted.

The following lemma is the analogue of Lemma 09JW.

Lemma

In Situation 09QJ let \(\alpha : x \to y\) be a morphism in \(\text{Comp}(\mathcal{A})\). Then there exists a factorization in \(\text{Comp}(\mathcal{A})\): \[\xymatrix{ x \ar[r]^{\tilde{\alpha}} & \tilde{y} \ar@<0.5ex>[r]^{\pi} & y\ar@<0.5ex>[l]^s }\] such that

  1. \(\tilde{\alpha}\) is an admissible monomorphism, and \(\pi\tilde{\alpha}=\alpha\).

  2. There exists a morphism \(s:y\to\tilde{y}\) in \(\text{Comp}(\mathcal{A})\) such that \(\pi s=1_y\) and \(s\pi\) is homotopic to \(1_{\tilde{y}}\).

Proof

By axiom (A), we may let \(\tilde{y}\) be the differential graded direct sum of \(y\) and \(C(1_x)\), i.e., there exists a diagram \[\xymatrix@C=3pc{ y \ar@<0.5ex>[r]^s & y\oplus C(1_x) \ar@<0.5ex>[l]^{\pi} \ar@<0.5ex>[r]^{p} & C(1_x)\ar@<0.5ex>[l]^t }\] where all morphisms are of degree zero, and in \(\text{Comp}(\mathcal{A})\). Let \(\tilde{y} = y \oplus C(1_x)\). Then \(1_{\tilde{y}} = s\pi + tp\). Consider now the diagram \[\xymatrix{ x \ar[r]^{\tilde{\alpha}} & \tilde{y} \ar@<0.5ex>[r]^{\pi} & y\ar@<0.5ex>[l]^s }\] where \(\tilde{\alpha}\) is induced by the morphism \(x\xrightarrow{\alpha}y\) and the natural morphism \(x\to C(1_x)\) fitting in the admissible short exact sequence \[\xymatrix{ x \ar@<0.5ex>[r] & C(1_x) \ar@<0.5ex>[l] \ar@<0.5ex>[r] & x[1]\ar@<0.5ex>[l] }\] So the morphism \(C(1_x)\to x\) of degree 0 in this diagram, together with the zero morphism \(y\to x\), induces a degree-0 morphism \(\beta : \tilde{y} \to x\). Then \(\tilde{\alpha}\) is an admissible monomorphism since it fits into the admissible short exact sequence \[\xymatrix{ x\ar[r]^{\tilde{\alpha}} & \tilde{y} \ar[r] & x[1] }\] Furthermore, \(\pi\tilde{\alpha} = \alpha\) by the construction of \(\tilde{\alpha}\), and \(\pi s = 1_y\) by the first diagram. It remains to show that \(s\pi\) is homotopic to \(1_{\tilde{y}}\). Write \(1_x\) as \(d(h)\) for some degree \(-1\) map. Then, our last statement follows from \[\begin{align*} 1_{\tilde{y}} - s\pi = & tp \\ = & t(dh)p\quad\text{(by Lemma \href{dga.html#dga-lemma-id-cone-null}{09QK})} \\ = & d(thp) \end{align*}\] since \(dt = dp = 0\), and \(t\) is of degree zero.

The following lemma is the analogue of Lemma 09JX.

Lemma

In Situation 09QJ let \(x_1 \to x_2 \to \ldots \to x_n\) be a sequence of composable morphisms in \(\text{Comp}(\mathcal{A})\). Then there exists a commutative diagram in \(\text{Comp}(\mathcal{A})\): \[\xymatrix{x_1\ar[r] & x_2\ar[r] & \ldots\ar[r] & x_n\\ y_1\ar[r]\ar[u] & y_2\ar[r]\ar[u] & \ldots\ar[r] & y_n\ar[u]}\] such that each \(y_i\to y_{i+1}\) is an admissible monomorphism and each \(y_i\to x_i\) is a homotopy equivalence.

Proof

The case for \(n=1\) is trivial: one simply takes \(y_1 = x_1\) and the identity morphism on \(x_1\) is in particular a homotopy equivalence. The case \(n = 2\) is given by Lemma 09QM. Suppose we have constructed the diagram up to \(x_{n - 1}\). We apply Lemma 09QM to the composition \(y_{n - 1} \to x_{n-1} \to x_n\) to obtain \(y_n\). Then \(y_{n - 1} \to y_n\) will be an admissible monomorphism, and \(y_n \to x_n\) a homotopy equivalence.

The following lemma is the analogue of Lemma 09JY.

Lemma

In Situation 09QJ let \(x_i \to y_i \to z_i\) be morphisms in \(\mathcal{A}\) (\(i=1,2,3\)) such that \(x_2 \to y_2\to z_2\) is an admissible short exact sequence. Let \(b : y_1 \to y_2\) and \(b' : y_2\to y_3\) be morphisms in \(\text{Comp}(\mathcal{A})\) such that \[\vcenter{ \xymatrix{ x_1 \ar[d]_0 \ar[r] & y_1 \ar[r] \ar[d]_b & z_1 \ar[d]_0 \\ x_2 \ar[r] & y_2 \ar[r] & z_2 } } \quad\text{and}\quad \vcenter{ \xymatrix{ x_2 \ar[d]^0 \ar[r] & y_2 \ar[r] \ar[d]^{b'} & z_2 \ar[d]^0 \\ x_3 \ar[r] & y_3 \ar[r] & z_3 } }\] commute up to homotopy. Then \(b'\circ b\) is homotopic to \(0\).

Proof

By Lemma 09QL, we can replace \(b\) and \(b'\) by homotopic maps \(\tilde{b}\) and \(\tilde{b}'\), such that the right square of the left diagram commutes and the left square of the right diagram commutes. Say \(b = \tilde{b} + d(h)\) and \(b'=\tilde{b}'+d(h')\) for degree \(-1\) morphisms \(h\) and \(h'\) in \(\mathcal{A}\). Hence \[b'b = \tilde{b}'\tilde{b} + d(\tilde{b}'h + h'\tilde{b} + h'd(h))\] since \(d(\tilde{b})=d(\tilde{b}')=0\), i.e. \(b'b\) is homotopic to \(\tilde{b}'\tilde{b}\). We now want to show that \(\tilde{b}'\tilde{b}=0\). Because \(x_2\xrightarrow{f} y_2\xrightarrow{g} z_2\) is an admissible short exact sequence, there exist degree \(0\) morphisms \(\pi : y_2 \to x_2\) and \(s : z_2 \to y_2\) such that \(\text{id}_{y_2} = f\pi + sg\). Therefore \[\tilde{b}'\tilde{b} = \tilde{b}'(f\pi + sg)\tilde{b} = 0\] since \(g\tilde{b} = 0\) and \(\tilde{b}'f = 0\) as consequences of the two commuting squares.

The following lemma is the analogue of Lemma 09K6.

Lemma

In Situation 09QJ let \(0 \to x \to y \to z \to 0\) be an admissible short exact sequence in \(\text{Comp}(\mathcal{A})\). The triangle \[\xymatrix{x\ar[r] & y\ar[r] & z\ar[r]^{\delta} & x[1]}\] with \(\delta : z \to x[1]\) as defined in Lemma 09P6 is up to canonical isomorphism in \(K(\mathcal{A})\), independent of the choices made in Lemma 09P6.

Proof

Suppose \(\delta\) is defined by the splitting \[\xymatrix{ x \ar@<0.5ex>[r]^{a} & y \ar@<0.5ex>[r]^b\ar@<0.5ex>[l]^{\pi} & z \ar@<0.5ex>[l]^s }\] and \(\delta'\) is defined by the splitting with \(\pi',s'\) in place of \(\pi,s\). Then \[s'-s = (a\pi + sb)(s'-s) = a\pi s'\] since \(bs' = bs = 1_z\) and \(\pi s = 0\). Similarly, \[\pi' - \pi = (\pi' - \pi)(a\pi + sb) = \pi'sb\] Since \(\delta = \pi d(s)\) and \(\delta' = \pi'd(s')\) as constructed in Lemma 09P6, we may compute \[\delta' = \pi'd(s') = (\pi + \pi'sb)d(s + a\pi s') = \delta + d(\pi s')\] using \(\pi a = 1_x\), \(ba = 0\), and \(\pi'sbd(s') = \pi'sba\pi d(s') = 0\) by formula (5) in Lemma 09P6.

The following lemma is the analogue of Lemma 09KB.

Lemma

In Situation 09QJ let \(f: x \to y\) be a morphism in \(\text{Comp}(\mathcal{A})\). The triangle \((y, c(f), x[1], i, p, f[1])\) is the triangle associated to the admissible short exact sequence \[\xymatrix{y\ar[r] & c(f) \ar[r] & x[1]}\] where the cone \(c(f)\) is defined as in Lemma 09P6.

Proof

This follows from axiom (C).

The following lemma is the analogue of Lemma 09KC.

Lemma

In Situation 09QJ let \(\alpha : x \to y\) and \(\beta : y \to z\) define an admissible short exact sequence \[\xymatrix{ x \ar[r] & y\ar[r] & z }\] in \(\text{Comp}(\mathcal{A})\). Let \((x, y, z, \alpha, \beta, \delta)\) be the associated triangle in \(K(\mathcal{A})\). Then, the triangles \[(z[-1], x, y, \delta[-1], \alpha, \beta) \quad\text{and}\quad (z[-1], x, c(\delta[-1]), \delta[-1], i, p)\] are isomorphic.

Proof

We have a diagram of the form \[\xymatrix{ z[-1]\ar[r]^{\delta[-1]}\ar[d]^1 & x\ar@<0.5ex>[r]^{\alpha}\ar[d]^1 & y\ar@<0.5ex>[r]^{\beta}\ar@{.>}[d]\ar@<0.5ex>[l]^{\tilde{\alpha}} & z\ar[d]^1\ar@<0.5ex>[l]^{\tilde\beta} \\ z[-1] \ar[r]^{\delta[-1]} & x\ar@<0.5ex>[r]^i & c(\delta[-1]) \ar@<0.5ex>[r]^p\ar@<0.5ex>[l]^{\tilde i} & z\ar@<0.5ex>[l]^{\tilde p} }\] with splittings to \(\alpha, \beta, i\), and \(p\) given by \(\tilde{\alpha}, \tilde{\beta}, \tilde{i},\) and \(\tilde{p}\) respectively. Define a morphism \(y \to c(\delta[-1])\) by \(i\tilde{\alpha} + \tilde{p}\beta\) and a morphism \(c(\delta[-1]) \to y\) by \(\alpha \tilde{i} + \tilde{\beta} p\). Let us first check that these define morphisms in \(\text{Comp}(\mathcal{A})\). We remark that by identities from Lemma 09P6, we have the relation \(\delta[-1] = \tilde{\alpha}d(\tilde{\beta}) = -d(\tilde{\alpha})\tilde{\beta}\) and the relation \(\delta[-1] = \tilde{i}d(\tilde{p})\). Then \[\begin{align*} d(\tilde{\alpha}) & = d(\tilde{\alpha})\tilde{\beta}\beta \\ & = -\delta[-1]\beta \end{align*}\] where we have used equation (6) of Lemma 09P6 for the first equality and the preceding remark for the second. Similarly, we obtain \(d(\tilde{p}) = i\delta[-1]\). Hence \[\begin{align*} d(i\tilde{\alpha} + \tilde{p}\beta) & = d(i)\tilde{\alpha} + id(\tilde{\alpha}) + d(\tilde{p})\beta + \tilde{p}d(\beta) \\ & = id(\tilde{\alpha}) + d(\tilde{p})\beta \\ & = -i\delta[-1]\beta + i\delta[-1]\beta \\ & = 0 \end{align*}\] so \(i\tilde{\alpha} + \tilde{p}\beta\) is indeed a morphism of \(\text{Comp}(\mathcal{A})\). By a similar calculation, \(\alpha \tilde{i} + \tilde{\beta} p\) is also a morphism of \(\text{Comp}(\mathcal{A})\). It is immediate that these morphisms fit in the commutative diagram. We compute: \[\begin{align*} (i\tilde{\alpha} + \tilde{p}\beta)(\alpha \tilde{i} + \tilde{\beta} p) & = i\tilde{\alpha}\alpha\tilde{i} + i\tilde{\alpha}\tilde{\beta}p + \tilde{p}\beta\alpha\tilde{i} + \tilde{p}\beta\tilde{\beta}p \\ & = i\tilde{i} + \tilde{p}p \\ & = 1_{c(\delta[-1])} \end{align*}\] where we have freely used the identities of Lemma 09P6. Similarly, we compute \((\alpha \tilde{i} + \tilde{\beta} p)(i\tilde{\alpha} + \tilde{p}\beta) = 1_y\), so we conclude \(y \cong c(\delta[-1])\). Hence, the two triangles in question are isomorphic.

The following lemma is the analogue of Lemma 09KE.

Lemma

In Situation 09QJ let \(f_1 : x_1 \to y_1\) and \(f_2 : x_2 \to y_2\) be morphisms in \(\text{Comp}(\mathcal{A})\). Let \[(a,b,c): (x_1,y_1,c(f_1), f_1, i_1, p_1) \to (x_2,y_2, c(f_2), f_2, i_1, p_1)\] be any morphism of triangles in \(K(\mathcal{A})\). If \(a\) and \(b\) are homotopy equivalences, then so is \(c\).

Proof

Since \(a\) and \(b\) are homotopy equivalences, they are invertible in \(K(\mathcal{A})\) so let \(a^{-1}\) and \(b^{-1}\) denote their inverses in \(K(\mathcal{A})\), giving us a commutative diagram \[\xymatrix{ x_2\ar[d]^{a^{-1}}\ar[r]^{f_2} & y_2\ar[d]^{b^{-1}}\ar[r]^{i_2} & c(f_2)\ar[d]^{c'} \\ x_1\ar[r]^{f_1} & y_1 \ar[r]^{i_1} & c(f_1) }\] where the map \(c'\) is defined via Lemma 09P7 applied to the left commutative box of the above diagram. Since the diagram commutes in \(K(\mathcal{A})\), it suffices by Lemma 09QP to prove the following: given a morphism of triangle \((1,1,c): (x,y,c(f),f,i,p)\to (x,y,c(f),f,i,p)\) in \(K(\mathcal{A})\), the map \(c\) is an isomorphism in \(K(\mathcal{A})\). We have the commutative diagrams in \(K(\mathcal{A})\): \[\vcenter{ \xymatrix{ y\ar[d]^{1}\ar[r] & c(f)\ar[d]^{c}\ar[r] & x[1]\ar[d]^{1} \\ y\ar[r] & c(f) \ar[r] & x[1] } } \quad\Rightarrow\quad \vcenter{ \xymatrix{ y\ar[d]^{0}\ar[r] & c(f)\ar[d]^{c-1}\ar[r] & x[1]\ar[d]^{0} \\ y\ar[r] & c(f) \ar[r] & x[1] } }\] Since the rows are admissible short exact sequences, we obtain the identity \((c-1)^2 = 0\) by Lemma 09QP, from which we conclude that \(2-c\) is inverse to \(c\) in \(K(\mathcal{A})\) so that \(c\) is an isomorphism.

The following lemma is the analogue of Lemma 09KF.

Lemma

In Situation 09QJ.

  1. Given an admissible short exact sequence \(x\xrightarrow{\alpha} y\xrightarrow{\beta} z\). Then there exists a homotopy equivalence \(e:C(\alpha)\to z\) such that the diagram [09QV]\[\begin{equation} \vcenter{ \xymatrix{ x\ar[r]^{\alpha}\ar[d] & y\ar[r]^{b}\ar[d] & C(\alpha)\ar[r]^{-c}\ar@{.>}[d]^{e} & x[1]\ar[d] \\ x\ar[r]^{\alpha} & y\ar[r]^{\beta} & z\ar[r]^{\delta} & x[1] } } \end{equation}\] defines an isomorphism of triangles in \(K(\mathcal{A})\). Here \(y\xrightarrow{b}C(\alpha)\xrightarrow{c}x[1]\) is the admissible short exact sequence given as in axiom (C).

  2. Given a morphism \(\alpha : x \to y\) in \(\text{Comp}(\mathcal{A})\), let \(x \xrightarrow{\tilde{\alpha}} \tilde{y} \to y\) be the factorization given as in Lemma 09QM, where the admissible monomorphism \(x \xrightarrow{\tilde{\alpha}} y\) extends to the admissible short exact sequence \[\xymatrix{ x \ar[r]^{\tilde{\alpha}} & \tilde{y} \ar[r] & z }\] Then there exists an isomorphism of triangles \[\xymatrix{ x \ar[r]^{\tilde{\alpha}} \ar[d] & \tilde{y} \ar[r] \ar[d] & z \ar[r]^{\delta} \ar@{.>}[d]^{e} & x[1] \ar[d] \\ x \ar[r]^{\alpha} & y \ar[r] & C(\alpha) \ar[r]^{-c} & x[1] }\] where the upper triangle is the triangle associated to the sequence \(x \xrightarrow{\tilde{\alpha}} \tilde{y} \to z\).

Proof

For (1), we consider the more complete diagram, without the sign change on \(c\): \[\xymatrix{ x\ar@<0.5ex>[r]^{\alpha} \ar[d] & y\ar@<0.5ex>[l]^{\pi} \ar@<0.5ex>[r]^{b}\ar[d] & C(\alpha)\ar@<0.5ex>[l]^{p} \ar@<0.5ex>[r]^{c}\ar@{.>}@<0.5ex>[d]^{e} & x[1]\ar@<0.5ex>[l]^{\sigma} \ar[d]\ar@<0.5ex>[r]^{\alpha} & y[1]\ar@<0.5ex>[l]^{\pi} \\ x\ar@<0.5ex>[r]^{\alpha} & y\ar@<0.5ex>[r]^{\beta} \ar@<0.5ex>[l]^{\pi} & z\ar[r]^{\delta}\ar@<0.5ex>[l]^{s} \ar@{.>}@<0.5ex>[u]^{f} & x[1] }\] where the admissible short exact sequence \(x\xrightarrow{\alpha} y\xrightarrow{\beta} z\) is given the splitting \(\pi\), \(s\), and the admissible short exact sequence \(y\xrightarrow{b}C(\alpha)\xrightarrow{c}x[1]\) is given the splitting \(p\), \(\sigma\). Note that (identifying hom-sets under shifting) \[\alpha = pd(\sigma) = -d(p)\sigma,\quad \delta = \pi d(s) = -d(\pi)s\] by the construction in Lemma 09P6.

We define \(e=\beta p\) and \(f=bs-\sigma\delta\). We first check that they are morphisms in \(\text{Comp}(\mathcal{A})\). To show that \(d(e)=\beta d(p)\) vanishes, it suffices to show that \(\beta d(p)b\) and \(\beta d(p)\sigma\) both vanish, whereas \[\beta d(p)b = \beta d(pb) = \beta d(1_y) = 0,\quad \beta d(p)\sigma = -\beta\alpha = 0\] Similarly, to check that \(d(f)=bd(s)-d(\sigma)\delta\) vanishes, it suffices to check the post-compositions by \(p\) and \(c\) both vanish, whereas \[\begin{align*} pbd(s) - pd(\sigma)\delta = & d(s)-\alpha\delta = d(s)-\alpha\pi d(s) = 0 \\ cbd(s)-cd(\sigma)\delta = & -cd(\sigma)\delta = -d(c\sigma)\delta = 0 \end{align*}\] The commutativity of left two squares of the diagram 09QV follows directly from definition. Before we prove the commutativity of the right square (up to homotopy), we first check that \(e\) is a homotopy equivalence. Clearly, \[ef=\beta p (bs-\sigma\delta)=\beta s=1_z\] To check that \(fe\) is homotopic to \(1_{C(\alpha)}\), we first observe \[b\alpha = bpd(\alpha) = d(\sigma),\quad \alpha c = -d(p)\sigma c = -d(p),\quad d(\pi)p = d(\pi)s\beta p = -\delta\beta p\] Using these identities, we compute \[\begin{align*} 1_{C(\alpha)} = & bp + \sigma c \quad (\text{from }y \xrightarrow{b} C(\alpha) \xrightarrow{c} x[1]) \\ = & b(\alpha\pi + s\beta)p + \sigma(\pi\alpha)c \quad (\text{from }x \xrightarrow{\alpha} y \xrightarrow{\beta} z) \\ = & d(\sigma)\pi p + bs\beta p - \sigma\pi d(p) \quad (\text{by the first two identities above}) \\ = & d(\sigma)\pi p + bs\beta p - \sigma\delta\beta p + \sigma\delta\beta p - \sigma\pi d(p) \\ = & (bs - \sigma\delta)\beta p + d(\sigma)\pi p - \sigma d(\pi)p - \sigma\pi d(p)\quad (\text{by the third identity above}) \\ = & fe + d(\sigma \pi p) \end{align*}\] since \(\sigma \in \Hom^{-1}(x, C(\alpha))\) (cf. proof of Lemma 09QK). Hence \(e\) and \(f\) are homotopy inverses. Finally, to check that the right square of diagram 09QV commutes up to homotopy, it suffices to check that \(-cf=\delta\). This follows from \[-cf = -c(bs-\sigma\delta) = c\sigma\delta = \delta\] since \(cb=0\).

For (2), consider the factorization \(x\xrightarrow{\tilde{\alpha}}\tilde{y}\to y\) given as in Lemma 09QM, so the second morphism is a homotopy equivalence. By Lemmas 09P7 and 09QT, there exists an isomorphism of triangles between \[x \xrightarrow{\alpha} y \to C(\alpha) \to x[1] \quad\text{and}\quad x \xrightarrow{\tilde{\alpha}} \tilde{y} \to C(\tilde{\alpha}) \to x[1]\] Since we can compose isomorphisms of triangles, by replacing \(\alpha\) by \(\tilde{\alpha}\), \(y\) by \(\tilde{y}\), and \(C(\alpha)\) by \(C(\tilde{\alpha})\), we may assume \(\alpha\) is an admissible monomorphism. In this case, the result follows from (1).

The following lemma is the analogue of Lemma 09KH.

Lemma

In Situation 09QJ the homotopy category \(K(\mathcal{A})\) with its natural translation functors and distinguished triangles is a pre-triangulated category.

Proof

We will verify each of TR1, TR2, and TR3.

Proof of TR1. By definition every triangle isomorphic to a distinguished one is distinguished. Since \[\xymatrix{x\ar[r]^{1_x} & x\ar[r] & 0}\] is an admissible short exact sequence, \((x, x, 0, 1_x, 0, 0)\) is a distinguished triangle. Moreover, given a morphism \(\alpha : x \to y\) in \(\text{Comp}(\mathcal{A})\), the triangle given by \((x, y, c(\alpha), \alpha, i, -p)\) is distinguished by Lemma 09QU.

Proof of TR2. Let \((x,y,z,\alpha,\beta,\gamma)\) be a triangle and suppose \((y,z,x[1],\beta,\gamma,-\alpha[1])\) is distinguished. Then there exists an admissible short exact sequence \(0 \to x' \to y' \to z' \to 0\) such that the associated triangle \((x',y',z',\alpha',\beta',\gamma')\) is isomorphic to \((y,z,x[1],\beta,\gamma,-\alpha[1])\). After rotating, we conclude that \((x,y,z,\alpha,\beta,\gamma)\) is isomorphic to \((z'[-1],x',y', \gamma'[-1], \alpha',\beta')\). By Lemma 09QS, we deduce that \((z'[-1],x',y', \gamma'[-1], \alpha',\beta')\) is isomorphic to \((z'[-1],x',c(\gamma'[-1]), \gamma'[-1], i, p)\). Composing the two isomorphisms with sign changes as indicated in the following diagram: \[\xymatrix@C=3pc{ x\ar[r]^{\alpha}\ar[d] & y\ar[r]^{\beta}\ar[d] & z\ar[r]^{\gamma}\ar[d] & x[1]\ar[d] \\ z'[-1]\ar[r]^{-\gamma'[-1]}\ar[d]_{-1_{z'[-1]}} & x \ar[r]^{\alpha'}\ar@{=}[d] & y' \ar[r]^{\beta'} \ar[d] & z'\ar[d]^{-1_{z'}} \\ z'[-1]\ar[r]^{\gamma'[-1]} & x \ar[r]^{\alpha'} & c(\gamma'[-1]) \ar[r]^{-p} & z' }\] We conclude that \((x,y,z,\alpha,\beta,\gamma)\) is distinguished by Lemma 09QU (2). Conversely, suppose that \((x,y,z,\alpha,\beta,\gamma)\) is distinguished, so that by Lemma 09QU (1), it is isomorphic to a triangle of the form \((x',y', c(\alpha'), \alpha', i, -p)\) for some morphism \(\alpha': x' \to y'\) in \(\text{Comp}(\mathcal{A})\). The rotated triangle \((y,z,x[1],\beta,\gamma, -\alpha[1])\) is isomorphic to the triangle \((y',c(\alpha'), x'[1], i, -p, -\alpha[1])\) which is isomorphic to \((y',c(\alpha'), x'[1], i, p, \alpha[1])\). By Lemma 09QR, this triangle is distinguished, from which it follows that \((y,z,x[1], \beta,\gamma, -\alpha[1])\) is distinguished.

Proof of TR3: Suppose \((x,y,z, \alpha,\beta,\gamma)\) and \((x',y',z',\alpha',\beta',\gamma')\) are distinguished triangles of \(\text{Comp}(\mathcal{A})\) and let \(f: x \to x'\) and \(g: y \to y'\) be morphisms such that \(\alpha' \circ f = g \circ \alpha\). By Lemma 09QU, we may assume that \((x,y,z,\alpha,\beta,\gamma)= (x,y,c(\alpha),\alpha, i, -p)\) and \((x',y',z', \alpha',\beta',\gamma')= (x',y',c(\alpha'), \alpha',i',-p')\). Now apply Lemma 09P7 and we are done.

The following lemma is the analogue of Lemma 09KI.

Lemma

In Situation 09QJ given admissible monomorphisms \(x \xrightarrow{\alpha} y\), \(y \xrightarrow{\beta} z\) in \(\mathcal{A}\), there exist distinguished triangles \((x,y,q_1,\alpha,p_1,\delta_1)\), \((x,z,q_2,\beta\alpha,p_2,\delta_2)\) and \((y,z,q_3,\beta,p_3,\delta_3)\) for which TR4 holds.

Proof

Given admissible monomorphisms \(x\xrightarrow{\alpha} y\) and \(y\xrightarrow{\beta}z\), we can find distinguished triangles, via their extensions to admissible short exact sequences, \[\xymatrix{ x\ar@<0.5ex>[r]^{\alpha} & y\ar@<0.5ex>[l]^{\pi_1} \ar@<0.5ex>[r]^{p_1} & q_1 \ar[r]^{\delta_1} \ar@<0.5ex>[l]^{s_1} & x[1] }\] \[\xymatrix{ x\ar@<0.5ex>[r]^{\beta\alpha} & z\ar@<0.5ex>[l]^{\pi_1\pi_3} \ar@<0.5ex>[r]^{p_2} & q_2 \ar[r]^{\delta_2} \ar@<0.5ex>[l]^{s_2} & x[1] }\] \[\xymatrix{ y\ar@<0.5ex>[r]^{\beta} & z\ar@<0.5ex>[l]^{\pi_3} \ar@<0.5ex>[r]^{p_3} & q_3 \ar[r]^{\delta_3} \ar@<0.5ex>[l]^{s_3} & x[1] }\] In these diagrams, the maps \(\delta_i\) are defined as \(\delta_i = \pi_i d(s_i)\) analogous to the maps defined in Lemma 09P6. They fit in the following solid commutative diagram \[\xymatrix@C=5pc@R=3pc{ x\ar@<0.5ex>[r]^{\alpha} \ar@<0.5ex>[dr]^{\beta\alpha} & y\ar@<0.5ex>[d]^{\beta} \ar@<0.5ex>[l]^{\pi_1} \ar@<0.5ex>[r]^{p_1} & q_1 \ar[r]^{\delta_1} \ar@<0.5ex>[l]^{s_1} \ar@{.>}[dd]^{p_2\beta s_1} & x[1] \\ & z \ar@<0.5ex>[u]^{\pi_3}\ar@<0.5ex>[d]^{p_3} \ar@<0.5ex>[dr]^{p_2} \ar@<0.5ex>[ul]^{\pi_1\pi_3} & & \\ & q_3\ar@<0.5ex>[u]^{s_3} \ar[d]^{\delta_3} & q_2 \ar@{.>}[l]^{p_3s_2} \ar@<0.5ex>[ul]^{s_2} \ar[dr]^{\delta_2} \\ & y[1] & & x[1]}\] where we have defined the dashed arrows as indicated. Clearly, their composition \(p_3s_2p_2\beta s_1 = 0\) since \(s_2p_2 = 0\). We claim that they both are morphisms of \(\text{Comp}(\mathcal{A})\). We can check this using equations in Lemma 09P6: \[d(p_2\beta s_1) = p_2\beta d(s_1) = p_2\beta\alpha\pi_1 d(s_1) = 0\] since \(p_2\beta\alpha = 0\), and \[d(p_3s_2) = p_3d(s_2) = p_3\beta\alpha\pi_1\pi_3 d(s_2) = 0\] since \(p_3\beta = 0\). To check that \(q_1\to q_2\to q_3\) is an admissible short exact sequence, it remains to show that in the underlying graded category, \(q_2 = q_1\oplus q_3\) with the above two morphisms as coprojection and projection. To do this, observe that in the underlying graded category \(\mathcal{C}\), there hold \[y = x\oplus q_1,\quad z = y\oplus q_3 = x\oplus q_1\oplus q_3\] where \(\pi_1\pi_3\) gives the projection morphism onto the first factor: \(x\oplus q_1\oplus q_3\to z\). By axiom (A) on \(\mathcal{A}\), \(\mathcal{C}\) is an additive category, hence we may apply Homology, Lemma 09QG and conclude that \[\Ker(\pi_1\pi_3) = q_1\oplus q_3\] in \(\mathcal{C}\). Another application of Homology, Lemma 09QG to \(z = x\oplus q_2\) gives \(\Ker(\pi_1\pi_3) = q_2\). Hence \(q_2\cong q_1\oplus q_3\) in \(\mathcal{C}\). It is clear that the dashed morphisms defined above give coprojection and projection.

Finally, we have to check that the morphism \(\delta : q_3 \to q_1[1]\) induced by the admissible short exact sequence \(q_1\to q_2\to q_3\) agrees with \(p_1\delta_3\). By the construction in Lemma 09P6, the morphism \(\delta\) is given by \[\begin{align*} p_1\pi_3s_2d(p_2s_3) = & p_1\pi_3s_2p_2d(s_3) \\ = & p_1\pi_3(1-\beta\alpha\pi_1\pi_3)d(s_3) \\ = & p_1\pi_3d(s_3)\quad (\text{since }\pi_3\beta = 0) \\ = & p_1\delta_3 \end{align*}\] as desired. The proof is complete.

Putting everything together we finally obtain the analogue of Proposition 09KJ.

Proposition

In Situation 09QJ the homotopy category \(K(\mathcal{A})\) with its natural translation functors and distinguished triangles is a triangulated category.

Proof

By Lemma 09QW we know that \(K(\mathcal{A})\) is pre-triangulated. Combining Lemmas 09QN and 09QX with Derived Categories, Lemma 014C, we conclude that \(K(\mathcal{A})\) is a triangulated category.

Lemma

Let \(R\) be a ring. Let \(F : \mathcal{A} \to \mathcal{B}\) be a functor between differential graded categories over \(R\) satisfying axioms (A), (B), and (C) such that \(F(x[1]) = F(x)[1]\). Then \(F\) induces an exact functor \(K(\mathcal{A}) \to K(\mathcal{B})\) of triangulated categories.

Proof

Namely, if \(x \to y \to z\) is an admissible short exact sequence in \(\text{Comp}(\mathcal{A})\), then \(F(x) \to F(y) \to F(z)\) is an admissible short exact sequence in \(\text{Comp}(\mathcal{B})\). Moreover, the “boundary” morphism \(\delta = \pi\text{d}(s) : z \to x[1]\) constructed in Lemma 09P6 produces the morphism \(F(\delta) : F(z) \to F(x[1]) = F(x)[1]\) which is equal to the boundary map \(F(\pi) \text{d}(F(s))\) for the admissible short exact sequence \(F(x) \to F(y) \to F(z)\).

Bimodules

We continue the discussion started in Section 09LL.

Definition

Bimodules. Let \(R\) be a ring.

  1. Let \(A\) and \(B\) be \(R\)-algebras. An \((A, B)\)-bimodule is an \(R\)-module \(M\) equippend with \(R\)-bilinear maps \[A \times M \to M, (a, x) \mapsto ax \quad\text{and}\quad M \times B \to M, (x, b) \mapsto xb\] such that the following hold

    1. \(a'(ax) = (a'a)x\) and \((xb)b' = x(bb')\),

    2. \(a(xb) = (ax)b\), and

    3. \(1 x = x = x 1\).

  2. Let \(A\) and \(B\) be \(\mathbf{Z}\)-graded \(R\)-algebras. A graded \((A, B)\)-bimodule is an \((A, B)\)-bimodule \(M\) which has a grading \(M = \bigoplus M^n\) such that \(A^n M^m \subset M^{n + m}\) and \(M^n B^m \subset M^{n + m}\).

  3. Let \(A\) and \(B\) be differential graded \(R\)-algebras. A differential graded \((A, B)\)-bimodule is a graded \((A, B)\)-bimodule which comes equipped with a differential \(\text{d} : M \to M\) homogeneous of degree \(1\) such that \(\text{d}(ax) = \text{d}(a)x + (-1)^{\deg(a)}a\text{d}(x)\) and \(\text{d}(xb) = \text{d}(x)b + (-1)^{\deg(x)}x\text{d}(b)\) for homogeneous elements \(a \in A\), \(x \in M\), \(b \in B\).

Observe that a differential graded \((A, B)\)-bimodule \(M\) is the same thing as a right differential graded \(B\)-module which is also a left differential graded \(A\)-module such that the grading and differentials agree and such that the \(A\)-module structure commutes with the \(B\)-module structure. Here is a precise statement.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded algebras over \(R\). Let \(M\) be a right differential graded \(B\)-module. There is a \(1\)-to-\(1\) correspondence between \((A, B)\)-bimodule structures on \(M\) compatible with the given differential graded \(B\)-module structure and homomorphisms \[A \longrightarrow \Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(M, M)\] of differential graded \(R\)-algebras.

Proof

Let \(\mu : A \times M \to M\) define a left differential graded \(A\)-module structure on the underlying complex of \(R\)-modules \(M^\bullet\) of \(M\). By Lemma 0FQ3 the structure \(\mu\) corresponds to a map \(\gamma : A \to \Hom^\bullet(M^\bullet, M^\bullet)\) of differential graded \(R\)-algebras. The assertion of the lemma is simply that \(\mu\) commutes with the \(B\)-action, if and only if \(\gamma\) ends up inside \[\Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(M, M) \subset \Hom^\bullet(M^\bullet, M^\bullet)\] We omit the detailed calculation.

Let \(M\) be a differential graded \((A, B)\)-bimodule. Recall from Section 0FPZ that the left differential graded \(A\)-module structure corresponds to a right differential graded \(A^{opp}\)-module structure. Since the \(A\) and \(B\) module structures commute this gives \(M\) the structure of a differential graded \(A^{opp} \otimes_R B\)-module: \[x \cdot (a \otimes b) = (-1)^{\deg(a)\deg(x)} axb\] Conversely, if we have a differential graded \(A^{opp} \otimes_R B\)-module \(M\), then we can use the formula above to get a differential graded \((A, B)\)-bimodule.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded algebras over \(R\). The construction above defines an equivalence of categories \[\begin{matrix} \text{differential graded}\\ (A, B)\text{-bimodules} \end{matrix} \longleftrightarrow \begin{matrix} \text{right differential graded }\\ A^{opp} \otimes_R B\text{-modules} \end{matrix}\]

Proof

Immediate from discussion the above.

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded \(R\)-algebras. Let \(P\) be a differential graded \((A, B)\)-bimodule. We say \(P\) has property (P) if it there exists a filtration \[0 = F_{-1}P \subset F_0P \subset F_1P \subset \ldots \subset P\] by differential graded \((A, B)\)-bimodules such that

  1. \(P = \bigcup F_pP\),

  2. the inclusions \(F_iP \to F_{i + 1}P\) are split as graded \((A, B)\)-bimodule maps,

  3. the quotients \(F_{i + 1}P/F_iP\) are isomorphic as differential graded \((A, B)\)-bimodules to a direct sum of \((A \otimes_R B)[k]\).

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded \(R\)-algebras. Let \(M\) be a differential graded \((A, B)\)-bimodule. There exists a homomorphism \(P \to M\) of differential graded \((A, B)\)-bimodules which is a quasi-isomorphism such that \(P\) has property (P) as defined above.

Proof

Immediate from Lemmas 0FQJ and 09KP.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded \(R\)-algebras. Let \(P\) be a differential graded \((A, B)\)-bimodule having property (P) with corresponding filtration \(F_\bullet\), then we obtain a short exact sequence \[0 \to \bigoplus\nolimits F_iP \to \bigoplus\nolimits F_iP \to P \to 0\] of differential graded \((A, B)\)-bimodules which is split as a sequence of graded \((A, B)\)-bimodules.

Proof

Immediate from Lemmas 0FQJ and 09KL.

Bimodules and tensor product

Let \(R\) be a ring. Let \(A\) and \(B\) be \(R\)-algebras. Let \(M\) be a right \(A\)-module. Let \(N\) be a \((A, B)\)-bimodule. Then \(M \otimes_A N\) is a right \(B\)-module.

If in the situation of the previous paragraph \(A\) and \(B\) are \(\mathbf{Z}\)-graded algebras, \(M\) is a graded \(A\)-module, and \(N\) is a graded \((A, B)\)-bimodule, then \(M \otimes_A N\) is a right graded \(B\)-module. The construction is functorial in \(M\) and defines a functor \[- \otimes_A N : \text{Mod}^{gr}_A \longrightarrow \text{Mod}^{gr}_B\] of graded categories as in Example 09MN. Namely, if \(M\) and \(M'\) are graded \(A\)-modules and \(f : M \to M'\) is an \(A\)-module homomorphism homogeneous of degree \(n\), then \(f \otimes \text{id}_N : M \otimes_A N \to M' \otimes_A N\) is a \(B\)-module homomorphism homogeneous of degree \(n\).

If in the situation of the previous paragraph \((A, \text{d})\) and \((B, \text{d})\) are differential graded algebras, \(M\) is a differential graded \(A\)-module, and \(N\) is a differential graded \((A, B)\)-bimodule, then \(M \otimes_A N\) is a right differential graded \(B\)-module.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded algebras over \(R\). Let \(N\) be a differential graded \((A, B)\)-bimodule. Then \(M \mapsto M \otimes_A N\) defines a functor \[- \otimes_A N : \text{Mod}^{dg}_{(A, \text{d})} \longrightarrow \text{Mod}^{dg}_{(B, \text{d})}\] of differential graded categories. This functor induces functors \[\text{Mod}_{(A, \text{d})} \to \text{Mod}_{(B, \text{d})} \quad\text{and}\quad K(\text{Mod}_{(A, \text{d})}) \to K(\text{Mod}_{(B, \text{d})})\] by an application of Lemma 09L8.

Proof

Above we have seen how the construction defines a functor of underlying graded categories. Thus it suffices to show that the construction is compatible with differentials. Let \(M\) and \(M'\) be differential graded \(A\)-modules and let \(f : M \to M'\) be an \(A\)-module homomorphism which is homogeneous of degree \(n\). Then we have \[\text{d}(f) = \text{d}_{M'} \circ f - (-1)^n f \circ \text{d}_M\] On the other hand, we have \[\text{d}(f \otimes \text{id}_N) = \text{d}_{M' \otimes_A N} \circ (f \otimes \text{id}_N) - (-1)^n (f \otimes \text{id}_N) \circ \text{d}_{M \otimes_A N}\] Applying this to an element \(x \otimes y\) with \(x \in M\) and \(y \in N\) homogeneous we get \[\begin{align*} \text{d}(f \otimes \text{id}_N)(x \otimes y) = & \text{d}_{M'}(f(x)) \otimes y + (-1)^{n + \deg(x)}f(x) \otimes \text{d}_N(y) \\ & - (-1)^n f(\text{d}_M(x)) \otimes y - (-1)^{n + \deg(x)}f(x) \otimes \text{d}_N(y) \\ = & \text{d}(f) (x \otimes y) \end{align*}\] Thus we see that \(\text{d}(f) \otimes \text{id}_N = \text{d}(f \otimes \text{id}_N)\) and the proof is complete.

Remark

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded algebras over \(R\). Let \(N\) be a differential graded \((A, B)\)-bimodule. Let \(M\) be a right differential graded \(A\)-module. Then for every \(k \in \mathbf{Z}\) there is an isomorphism \[(M \otimes_A N)[k] \longrightarrow M[k] \otimes_A N\] of right differential graded \(B\)-modules defined without the intervention of signs, see More on Algebra, Section 0FNG.

If we have a ring \(R\) and \(R\)-algebras \(A\), \(B\), and \(C\), a right \(A\)-module \(M\), an \((A, B)\)-bimodule \(N\), and a \((B, C)\)-bimodule \(N'\), then \(N \otimes_B N'\) is a \((A, C)\)-bimodule and we have \[(M \otimes_A N) \otimes_B N' = M \otimes_A (N \otimes_B N')\] This equality continuous to hold in the graded and in the differential graded case. See More on Algebra, Section 0FNG for sign rules.

Bimodules and internal hom

Let \(R\) be a ring. If \(A\) is an \(R\)-algebra (see our conventions in Section 09JF) and \(M\), \(M'\) are right \(A\)-modules, then we define \[\Hom_A(M, M') = \{f : M \to M' \mid f \text{ is }A\text{-linear}\}\] as usual.

Let \(R\)-be a ring. Let \(A\) and \(B\) be \(R\)-algebras. Let \(N\) be an \((A, B)\)-bimodule. Let \(N'\) be a right \(B\)-module. In this situation we will think of \[\Hom_B(N, N')\] as a right \(A\)-module using precomposition.

Let \(R\)-be a ring. Let \(A\) and \(B\) be \(\mathbf{Z}\)-graded \(R\)-algebras. Let \(N\) be a graded \((A, B)\)-bimodule. Let \(N'\) be a right graded \(B\)-module. In this situation we will think of the graded \(R\)-module \[\Hom_{\text{Mod}^{gr}_B}(N, N')\] defined in Example 09MN as a right graded \(A\)-module using precomposition. The construction is functorial in \(N'\) and defines a functor \[\Hom_{\text{Mod}^{gr}_B}(N, -) : \text{Mod}^{gr}_B \longrightarrow \text{Mod}^{gr}_A\] of graded categories as in Example 09MN. Namely, if \(N_1\) and \(N_2\) are graded \(B\)-modules and \(f : N_1 \to N_2\) is a \(B\)-module homomorphism homogeneous of degree \(n\), then the induced map \(\Hom_{\text{Mod}^{gr}_B}(N, N_1) \to \Hom_{\text{Mod}^{gr}_B}(N, N_2)\) is an \(A\)-module homomorphism homogeneous of degree \(n\).

Let \(R\) be a ring. Let \(A\) and \(B\) be differential \(\mathbf{Z}\)-graded \(R\)-algebras. Let \(N\) be a differential graded \((A, B)\)-bimodule. Let \(N'\) be a right differential graded \(B\)-module. In this situation we will think of the differential graded \(R\)-module \[\Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N, N')\] defined in Example 09LC as a right differential graded \(A\)-module using precomposition as in the graded case. This is compatible with differentials because multiplication is the composition \[\Hom_{\text{Mod}^{dg}_B}(N, N') \otimes_R A \to \Hom_{\text{Mod}^{dg}_B}(N, N') \otimes_R \Hom_{\text{Mod}^{dg}_B}(N, N) \to \Hom_{\text{Mod}^{dg}_B}(N, N')\] The first arrow uses the map of Lemma 0FQI and the second arrow is the composition in the differential graded category \(\text{Mod}^{dg}_{(B, \text{d})}\).

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded algebras over \(R\). Let \(N\) be a differential graded \((A, B)\)-bimodule. The construction above defines a functor \[\Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N, -) : \text{Mod}^{dg}_{(B, \text{d})} \longrightarrow \text{Mod}^{dg}_{(A, \text{d})}\] of differential graded categories. This functor induces functors \[\text{Mod}_{(B, \text{d})} \to \text{Mod}_{(A, \text{d})} \quad\text{and}\quad K(\text{Mod}_{(B, \text{d})}) \to K(\text{Mod}_{(A, \text{d})})\] by an application of Lemma 09L8.

Proof

Above we have seen how the construction defines a functor of underlying graded categories. Thus it suffices to show that the construction is compatible with differentials. Let \(N_1\) and \(N_2\) be differential graded \(B\)-modules. Write \[H_{12} = \Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N_1, N_2),\quad H_1 = \Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N, N_1),\quad H_2 = \Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N, N_2)\] Consider the composition \[c : H_{12} \otimes_R H_1 \longrightarrow H_2\] in the differential graded category \(\text{Mod}^{dg}_{(B, \text{d})}\). Let \(f : N_1 \to N_2\) be a \(B\)-module homomorphism which is homogeneous of degree \(n\), in other words, \(f \in H_{12}^n\). The functor in the lemma sends \(f\) to \(c_f : H_1 \to H_2\), \(g \mapsto c(f, g)\). Similarly for \(\text{d}(f)\). On the other hand, the differential on \[\Hom_{\text{Mod}^{dg}_{(A, \text{d})}}(H_1, H_2)\] sends \(c_f\) to \(\text{d}_{H_2} \circ c_f - (-1)^n c_f \circ \text{d}_{H_1}\). As \(c\) is a morphism of complexes of \(R\)-modules we have \(\text{d} c(f, g) = c(\text{d}f, g) + (-1)^n c(f, \text{d}g)\). Hence we see that \[\begin{align*} (\text{d}c_f)(g) & = \text{d}c(f,g) - (-1)^n c(f, \text{d}g) \\ & = c(\text{d}f, g) + (-1)^n c(f, \text{d}g) - (-1)^n c(f, \text{d}g) \\ & = c(\text{d}f, g) = c_{\text{d}f}(g) \end{align*}\] and the proof is complete.

Remark

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded algebras over \(R\). Let \(N\) be a differential graded \((A, B)\)-bimodule. Let \(N'\) be a right differential graded \(B\)-module. Then for every \(k \in \mathbf{Z}\) there is an isomorphism \[\Hom_{\text{Mod}^{gr}_B}(N, N')[k] \longrightarrow \Hom_{\text{Mod}^{gr}_B}(N, N'[k])\] of right differential graded \(A\)-modules defined without the intervention of signs, see More on Algebra, Section 0FNG.

Lemma

Let \(R\) be a ring. Let \(A\) and \(B\) be \(R\)-algebras. Let \(M\) be a right \(A\)-module, \(N\) an \((A, B)\)-bimodule, and \(N'\) a right \(B\)-module. Then we have a canonical isomorphism \[\Hom_B(M \otimes_A N, N') = \Hom_A(M, \Hom_B(N, N'))\] of \(R\)-modules. If \(A\), \(B\), \(M\), \(N\), \(N'\) are compatibly graded, then we have a canonical isomorphism \[\Hom_{\text{Mod}_B^{gr}}(M \otimes_A N, N') = \Hom_{\text{Mod}_A^{gr}}(M, \Hom_{\text{Mod}_B^{gr}}(N, N'))\] of graded \(R\)-modules If \(A\), \(B\), \(M\), \(N\), \(N'\) are compatibly differential graded, then we have a canonical isomorphism \[\Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(M \otimes_A N, N') = \Hom_{\text{Mod}^{dg}_{(A, \text{d})}}(M, \Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N, N'))\] of complexes of \(R\)-modules.

Proof

Omitted. Hint: in the ungraded case interpret both sides as \(A\)-bilinear maps \(\psi : M \times N \to N'\) which are \(B\)-linear on the right. In the (differential) graded case, use the isomorphism of More on Algebra, Lemma 0A5Y and check it is compatible with the module structures. Alternatively, use the isomorphism of Lemma 0FQ4 and show that it is compatible with the \(B\)-module structures.

Derived Hom

This section is analogous to More on Algebra, Section 0A5W.

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded algebras over \(R\). Let \(N\) be a differential graded \((A, B)\)-bimodule. Consider the functor [09LG]\[\begin{equation} \Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N, -) : \text{Mod}_{(B, \text{d})} \longrightarrow \text{Mod}_{(A, \text{d})} \end{equation}\] of Section 0FQP.

Lemma

The functor (09LG) defines an exact functor \(K(\text{Mod}_{(B, \text{d})}) \to K(\text{Mod}_{(A, \text{d})})\) of triangulated categories.

Proof

Via Lemma 0FQQ and Remark 0FQR this follows from the general principle of Lemma 0FQF.

Recall that we have an exact functor of triangulated categories \[\Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N, -) : K(\text{Mod}_{(B, \text{d})}) \to K(\text{Mod}_{(A, \text{d})})\] see Lemma 09LH. Consider the diagram \[\xymatrix{ K(\text{Mod}_{(B, \text{d})}) \ar[d] \ar[rr]_{\text{see above}} \ar[rrd]_F & & K(\text{Mod}_{(A, \text{d})}) \ar[d] \\ D(B, \text{d}) \ar@{..>}[rr] & & D(A, \text{d}) }\] We would like to construct a dotted arrow as the right derived functor of the composition \(F\). (Warning: in most interesting cases the diagram will not commute.) Namely, in the general setting of Derived Categories, Section 05S7 we want to compute the right derived functor of \(F\) with respect to the multiplicative system of quasi-isomorphisms in \(K(\text{Mod}_{(A, \text{d})})\).

Lemma

In the situation above, the right derived functor of \(F\) exists. We denote it \(R\Hom(N, -) : D(B, \text{d}) \to D(A, \text{d})\).

Proof

We will use Derived Categories, Lemma 06XN to prove this. As our collection \(\mathcal{I}\) of objects we will use the objects with property (I). Property (1) was shown in Lemma 09KU. Property (2) holds because if \(s : I \to I'\) is a quasi-isomorphism of modules with property (I), then \(s\) is a homotopy equivalence by Lemma 09KY.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded \(R\)-algebras. Let \(f : N \to N'\) be a homomorphism of differential graded \((A, B)\)-bimodules. Then \(f\) induces a morphism of functors \[- \circ f : R\Hom(N', -) \longrightarrow R\Hom(N, -)\] If \(f\) is a quasi-isomorphism, then \(f \circ -\) is an isomorphism of functors.

Proof

Write \(\mathcal{B} = \text{Mod}^{dg}_{(B, \text{d})}\) the differential graded category of differential graded \(B\)-modules, see Example 09LC. Let \(I\) be a differential graded \(B\)-module with property (I). Then \(f \circ - : \Hom_\mathcal{B}(N', I) \to \Hom_\mathcal{B}(N, I)\) is a map of differential graded \(A\)-modules. Moreover, this is functorial with respect to \(I\). Since the functors \(R\Hom(N', -)\) and \(R\Hom(N, -)\) are computed by applying \(\Hom_\mathcal{B}\) into objects with property (I) (Lemma 09LI) we obtain a transformation of functors as indicated.

Assume that \(f\) is a quasi-isomorphism. Let \(F_\bullet\) be the given filtration on \(I\). Since \(I = \lim I/F_pI\) we see that \(\Hom_\mathcal{B}(N', I) = \lim \Hom_\mathcal{B}(N', I/F_pI)\) and \(\Hom_\mathcal{B}(N, I) = \lim \Hom_\mathcal{B}(N, I/F_pI)\). Since the transition maps in the system \(I/F_pI\) are split as graded modules, we see that the transition maps in the systems \(\Hom_\mathcal{B}(N', I/F_pI)\) and \(\Hom_\mathcal{B}(N, I/F_pI)\) are surjective. Hence \(\Hom_\mathcal{B}(N', I)\), resp. \(\Hom_\mathcal{B}(N, I)\) viewed as a complex of abelian groups computes \(R\lim\) of the system of complexes \(\Hom_\mathcal{B}(N', I/F_pI)\), resp. \(\Hom_\mathcal{B}(N, I/F_pI)\). See More on Algebra, Lemma 07KW. Thus it suffices to prove each \[\Hom_\mathcal{B}(N', I/F_pI) \to \Hom_\mathcal{B}(N, I/F_pI)\] is a quasi-isomorphism. Since the surjections \(I/F_{p + 1}I \to I/F_pI\) are split as maps of graded \(B\)-modules we see that \[0 \to \Hom_\mathcal{B}(N', F_pI/F_{p + 1}I) \to \Hom_\mathcal{B}(N', I/F_{p + 1}I) \to \Hom_\mathcal{B}(N', I/F_pI) \to 0\] is a short exact sequence of differential graded \(A\)-modules. There is a similar sequence for \(N\) and \(f\) induces a map of short exact sequences. Hence by induction on \(p\) (starting with \(p = 0\) when \(I/F_0I = 0\)) we conclude that it suffices to show that the map \(\Hom_\mathcal{B}(N', F_pI/F_{p + 1}I) \to \Hom_\mathcal{B}(N, F_pI/F_{p + 1}I)\) is a quasi-isomorphism. Since \(F_pI/F_{p + 1}I\) is a product of shifts of \(A^\vee\) it suffice to prove \(\Hom_\mathcal{B}(N', B^\vee[k]) \to \Hom_\mathcal{B}(N, B^\vee[k])\) is a quasi-isomorphism. By Lemma 09K4 it suffices to show \((N')^\vee \to N^\vee\) is a quasi-isomorphism. This is true because \(f\) is a quasi-isomorphism and \((\ )^\vee\) is an exact functor.

Lemma

Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded algebras over a ring \(R\). Let \(N\) be a differential graded \((A, B)\)-bimodule. Then for every \(n \in \mathbf{Z}\) there are isomorphisms \[H^n(R\Hom(N, M)) = \Ext^n_{D(B, \text{d})}(N, M)\] of \(R\)-modules functorial in \(M\). It is also functorial in \(N\) with respect to the operation described in Lemma 0BYV.

Proof

In the proof of Lemma 09LI we have seen \[R\Hom(N, M) = \Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N, I)\] as a differential graded \(A\)-module where \(M \to I\) is a quasi-isomorphism of \(M\) into a differential graded \(B\)-module with property (I). Hence this complex has the correct cohomology modules by Lemma 09KY. We omit a discussion of the functorial nature of these identifications.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded \(R\)-algebras. Let \(N\) be a differential graded \((A, B)\)-bimodule. If \(\Hom_{D(B, \text{d})}(N, N') = \Hom_{K(\text{Mod}_{(B, \text{d})})}(N, N')\) for all \(N' \in K(B, \text{d})\), for example if \(N\) has property (P) as a differential graded \(B\)-module, then \[R\Hom(N, M) = \Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N, M)\] functorially in \(M\) in \(D(B, \text{d})\).

Proof

By construction (Lemma 09LI) to find \(R\Hom(N, M)\) we choose a quasi-isomorphism \(M \to I\) where \(I\) is a differential graded \(B\)-module with property (I) and we set \(R\Hom(N, M) = \Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N, I)\). By assumption the map \[\Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N, M) \longrightarrow \Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N, I)\] induced by \(M \to I\) is a quasi-isomorphism, see discussion in Example 09LC. This proves the lemma. If \(N\) has property (P) as a \(B\)-module, then we see that the assumption is satisfied by Lemma 09KY.

Variant of derived Hom

Let \(\mathcal{A}\) be an abelian category. Consider the differential graded category \(\text{Comp}^{dg}(\mathcal{A})\) of complexes of \(\mathcal{A}\), see Example 09L9. Let \(K^\bullet\) be a complex of \(\mathcal{A}\). Set \[(E, \text{d}) = \Hom_{\text{Comp}^{dg}(\mathcal{A})}(K^\bullet, K^\bullet)\] and consider the functor of differential graded categories \[\text{Comp}^{dg}(\mathcal{A}) \longrightarrow \text{Mod}^{dg}_{(E, \text{d})}, \quad X^\bullet \longmapsto \Hom_{\text{Comp}^{dg}(\mathcal{A})}(K^\bullet, X^\bullet)\] of Lemma 09LE.

Lemma

In the situation above. If the right derived functor \(R\Hom(K^\bullet, -)\) of \(\Hom(K^\bullet, -) : K(\mathcal{A}) \to D(\textit{Ab})\) is everywhere defined on \(D(\mathcal{A})\), then we obtain a canonical exact functor \[R\Hom(K^\bullet, -) : D(\mathcal{A}) \longrightarrow D(E, \text{d})\] of triangulated categories which reduces to the usual one on taking associated complexes of abelian groups.

Proof

Note that we have an associated functor \(K(\mathcal{A}) \to K(\text{Mod}_{(E, \text{d})})\) by Lemma 09LE. We claim this functor is an exact functor of triangulated categories. Namely, let \(f : A^\bullet \to B^\bullet\) be a map of complexes of \(\mathcal{A}\). Then a computation shows that \[\Hom_{\text{Comp}^{dg}(\mathcal{A})}(K^\bullet, C(f)^\bullet) = C\left( \Hom_{\text{Comp}^{dg}(\mathcal{A})}(K^\bullet, A^\bullet) \to \Hom_{\text{Comp}^{dg}(\mathcal{A})}(K^\bullet, B^\bullet) \right)\] where the right hand side is the cone in \(\text{Mod}_{(E, \text{d})}\) defined earlier in this chapter. This shows that our functor is compatible with cones, hence with distinguished triangles. Let \(X^\bullet\) be an object of \(K(\mathcal{A})\). Consider the category of quasi-isomorphisms \(s : X^\bullet \to Y^\bullet\). We are given that the functor \((s : X^\bullet \to Y^\bullet) \mapsto \Hom_\mathcal{A}(K^\bullet, Y^\bullet)\) is essentially constant when viewed in \(D(\textit{Ab})\). But since the forgetful functor \(D(E, \text{d}) \to D(\textit{Ab})\) is compatible with taking cohomology, the same thing is true in \(D(E, \text{d})\). This proves the lemma.

Warning: Although the lemma holds as stated and may be useful as stated, the differential algebra \(E\) isn’t the “correct” one unless \(H^n(E) = \Ext^n_{D(\mathcal{A})}(K^\bullet, K^\bullet)\) for all \(n \in \mathbf{Z}\).

Derived tensor product

This section is analogous to More on Algebra, Section 06Y5.

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded algebras over \(R\). Let \(N\) be a differential graded \((A, B)\)-bimodule. Consider the functor [09LQ]\[\begin{equation} \text{Mod}_{(A, \text{d})} \longrightarrow \text{Mod}_{(B, \text{d})},\quad M \longmapsto M \otimes_A N \end{equation}\] defined in Section 0FQM.

Lemma

The functor (09LQ) defines an exact functor of triangulated categories \(K(\text{Mod}_{(A, \text{d})}) \to K(\text{Mod}_{(B, \text{d})})\).

Proof

Via Lemma 09LM and Remark 0FQN this follows from the general principle of Lemma 0FQF.

At this point we can consider the diagram \[\xymatrix{ K(\text{Mod}_{(A, \text{d})}) \ar[d] \ar[rr]_{- \otimes_A N} \ar[rrd]_F & & K(\text{Mod}_{(B, \text{d})}) \ar[d] \\ D(A, \text{d}) \ar@{..>}[rr] & & D(B, \text{d}) }\] The dotted arrow that we will construct below will be the left derived functor of the composition \(F\). (Warning: the diagram will not commute.) Namely, in the general setting of Derived Categories, Section 05S7 we want to compute the left derived functor of \(F\) with respect to the multiplicative system of quasi-isomorphisms in \(K(\text{Mod}_{(A, \text{d})})\).

Lemma

In the situation above, the left derived functor of \(F\) exists. We denote it \(- \otimes_A^\mathbf{L} N : D(A, \text{d}) \to D(B, \text{d})\).

Proof

We will use Derived Categories, Lemma 06XN to prove this. As our collection \(\mathcal{P}\) of objects we will use the objects with property (P). Property (1) was shown in Lemma 09KP. Property (2) holds because if \(s : P \to P'\) is a quasi-isomorphism of modules with property (P), then \(s\) is a homotopy equivalence by Lemma 09KY.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded \(R\)-algebras. Let \(f : N \to N'\) be a homomorphism of differential graded \((A, B)\)-bimodules. Then \(f\) induces a morphism of functors \[1\otimes f : - \otimes_A^\mathbf{L} N \longrightarrow - \otimes_A^\mathbf{L} N'\] If \(f\) is a quasi-isomorphism, then \(1 \otimes f\) is an isomorphism of functors.

Proof

Let \(M\) be a differential graded \(A\)-module with property (P). Then \(1 \otimes f : M \otimes_A N \to M \otimes_A N'\) is a map of differential graded \(B\)-modules. Moreover, this is functorial with respect to \(M\). Since the functors \(- \otimes_A^\mathbf{L} N\) and \(- \otimes_A^\mathbf{L} N'\) are computed by tensoring on objects with property (P) (Lemma 09LS) we obtain a transformation of functors as indicated.

Assume that \(f\) is a quasi-isomorphism. Let \(F_\bullet\) be the given filtration on \(M\). Observe that \(M \otimes_A N = \colim F_i(M) \otimes_A N\) and \(M \otimes_A N' = \colim F_i(M) \otimes_A N'\). Hence it suffices to show that \(F_n(M) \otimes_A N \to F_n(M) \otimes_A N'\) is a quasi-isomorphism (filtered colimits are exact, see Algebra, Lemma 00DB). Since the inclusions \(F_n(M) \to F_{n + 1}(M)\) are split as maps of graded \(A\)-modules we see that \[0 \to F_n(M) \otimes_A N \to F_{n + 1}(M) \otimes_A N \to F_{n + 1}(M)/F_n(M) \otimes_A N \to 0\] is a short exact sequence of differential graded \(B\)-modules. There is a similar sequence for \(N'\) and \(f\) induces a map of short exact sequences. Hence by induction on \(n\) (starting with \(n = -1\) when \(F_{-1}(M) = 0\)) we conclude that it suffices to show that the map \(F_{n + 1}(M)/F_n(M) \otimes_A N \to F_{n + 1}(M)/F_n(M) \otimes_A N'\) is a quasi-isomorphism. This is true because \(F_{n + 1}(M)/F_n(M)\) is a direct sum of shifts of \(A\) and the result is true for \(A[k]\) as \(f : N \to N'\) is a quasi-isomorphism.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded \(R\)-algebras. Let \(N\) be a differential graded \((A, B)\)-bimodule which has property (P) as a left differential graded \(A\)-module. Then \(M \otimes_A^\mathbf{L} N\) is computed by \(M \otimes_A N\) for all differential graded \(A\)-modules \(M\).

Proof

Let \(f : M \to M'\) be a homomorphism of differential graded \(A\)-modules which is a quasi-isomorphism. We claim that \(f \otimes \text{id} : M \otimes_A N \to M' \otimes_A N\) is a quasi-isomorphism. If this is true, then by the construction of the derived tensor product in the proof of Lemma 09LS we obtain the desired result. The construction of the map \(f \otimes \text{id}\) only depends on the left differential graded \(A\)-module structure on \(N\). Moreover, we have \(M \otimes_A N = N \otimes_{A^{opp}} M = N \otimes_{A^{opp}}^\mathbf{L} M\) because \(N\) has property (P) as a differential graded \(A^{opp}\)-module. Hence the claim follows from Lemma 09S3.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded \(R\)-algebras. Let \(N\) be a differential graded \((A, B)\)-bimodule. Then the functor \[- \otimes_A^\mathbf{L} N : D(A, \text{d}) \longrightarrow D(B, \text{d})\] of Lemma 09LS is a left adjoint to the functor \[R\Hom(N, -) : D(B, \text{d}) \longrightarrow D(A, \text{d})\] of Lemma 09LI.

Proof

This follows from Derived Categories, Lemma 0FND and the fact that \(- \otimes_A N\) and \(\Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N, -)\) are adjoint by Lemma 09LN.

Example

Let \(R\) be a ring. Let \((A, \text{d}) \to (B, \text{d})\) be a homomorphism of differential graded \(R\)-algebras. Then we can view \(B\) as a differential graded \((A, B)\)-bimodule and we get a functor \[- \otimes_A B : D(A, \text{d}) \longrightarrow D(B, \text{d})\] By Lemma 09LT the left adjoint of this is the functor \(R\Hom(B, -)\). For a differential graded \(B\)-module let us denote \(N_A\) the differential graded \(A\)-module obtained from \(N\) by restriction via \(A \to B\). Then we clearly have a canonical isomorphism \[\Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(B, N) \longrightarrow N_A,\quad f \longmapsto f(1)\] functorial in the \(B\)-module \(N\). Thus we see that \(R\Hom(B, -)\) is the restriction functor and we obtain \[\Hom_{D(A, \text{d})}(M, N_A) = \Hom_{D(B, \text{d})}(M \otimes^\mathbf{L}_A B, N)\] bifunctorially in \(M\) and \(N\) exactly as in the case of commutative rings. Finally, observe that restriction is a tensor functor as well, since \(N_A = N \otimes_B {}_BB_A = N \otimes_B^\mathbf{L} {}_BB_A\) where \({}_BB_A\) is \(B\) viewed as a differential graded \((B, A)\)-bimodule.

Example

Let \(R\) be a ring. Let \((A, \text{d})\), \((A', \text{d})\), and \((B, \text{d})\) be differential graded \(R\)-algebras, and let \[(A, \text{d}) \longrightarrow (B, \text{d}) \quad\text{and}\quad (A', \text{d}) \longrightarrow (B, \text{d})\] be homomorphisms. Let \(P\) be an object of \(D(A, \text{d})\), let \(Q\) be an object of \(D(A', \text{d})\), and suppose we are given an isomorphism \[\alpha : P \otimes_A^\mathbf{L} B \xrightarrow{\ \sim\ } Q \otimes_{A'}^\mathbf{L} B\] in \(D(B, \text{d})\). For every \(N\) in \(D(B, \text{d})\) and every \(i \in \mathbf{Z}\) this gives an isomorphism \[\Hom_{D(A, \text{d})}(P, N_A[i]) \xrightarrow{\ \sim\ } \Hom_{D(A', \text{d})}(Q, N_{A'}[i]).\] Indeed, apply Lemma 09LT to each algebra map, using evaluation at \(1\) to identify the two resulting right adjoints with restriction of scalars. The source and target are then identified with \[\Hom_{D(B, \text{d})}(P \otimes_A^\mathbf{L} B, N[i]) \quad\text{and}\quad \Hom_{D(B, \text{d})}(Q \otimes_{A'}^\mathbf{L} B, N[i]),\] respectively, and the desired map is composition with \(\alpha^{-1}\). It is functorial in \(N\) and compatible with shifts.

Lemma

With notation and assumptions as in Lemma 09LT. Assume

  1. \(N\) defines a compact object of \(D(B, \text{d})\), and

  2. the map \(H^k(A) \to \Hom_{D(B, \text{d})}(N, N[k])\) is an isomorphism for all \(k \in \mathbf{Z}\).

Then the functor \(-\otimes_A^\mathbf{L} N\) is fully faithful.

Proof

Our functor has a left adjoint given by \(R\Hom(N, -)\) by Lemma 09LT. By Categories, Lemma 07RB it suffices to show that for a differential graded \(A\)-module \(M\) the map \[M \longrightarrow R\Hom(N, M \otimes_A^\mathbf{L} N)\] is an isomorphism in \(D(A, \text{d})\). For this it suffices to show that \[H^n(M) \longrightarrow \text{Ext}^n_{D(B, \text{d})}(N, M \otimes_A^\mathbf{L} N)\] is an isomorphism, see Lemma 0CS5. Since \(N\) is a compact object the right hand side commutes with direct sums. Thus by Remark 0FQE it suffices to prove this map is an isomorphism for \(M = A[k]\). Since \((A[k] \otimes_A^\mathbf{L} N) = N[k]\) by Remark 0FQN, assumption (2) on \(N\) is that the result holds for these.

Lemma

Let \(R \to R'\) be a ring map. Let \((A, \text{d})\) be a differential graded \(R\)-algebra. Let \((A', \text{d})\) be the base change, i.e., \(A' = A \otimes_R R'\). If \(A\) is K-flat as a complex of \(R\)-modules, then

  1. \(- \otimes_A^\mathbf{L} A' : D(A, \text{d}) \to D(A', \text{d})\) is equal to the right derived functor of \[K(A, \text{d}) \longrightarrow K(A', \text{d}),\quad M \longmapsto M \otimes_R R'\]

  2. the diagram \[\xymatrix{ D(A, \text{d}) \ar[r]_{- \otimes_A^\mathbf{L} A'} \ar[d]_{restriction} & D(A', \text{d}) \ar[d]^{restriction} \\ D(R) \ar[r]^{- \otimes_R^\mathbf{L} R'} & D(R') }\] commutes, and

  3. if \(M\) is K-flat as a complex of \(R\)-modules, then the differential graded \(A'\)-module \(M \otimes_R R'\) represents \(M \otimes_A^\mathbf{L} A'\).

Proof

For any differential graded \(A\)-module \(M\) there is a canonical map \[c_M : M \otimes_R R' \longrightarrow M \otimes_A A'\] Let \(P\) be a differential graded \(A\)-module with property (P). We claim that \(c_P\) is an isomorphism and that \(P\) is K-flat as a complex of \(R\)-modules. This will prove all the results stated in the lemma by formal arguments using the definition of derived tensor product in Lemma 09LS and More on Algebra, Section 06XY.

Let \(F_\bullet\) be the filtration on \(P\) showing that \(P\) has property (P). Note that \(c_A\) is an isomorphism and \(A\) is K-flat as a complex of \(R\)-modules by assumption. Hence the same is true for direct sums of shifts of \(A\) (you can use More on Algebra, Lemma 06Y3 to deal with direct sums if you like). Hence this holds for the complexes \(F_{p + 1}P/F_pP\). Since the short exact sequences \[0 \to F_pP \to F_{p + 1}P \to F_{p + 1}P/F_pP \to 0\] are split exact as sequences of graded modules, we can argue by induction that \(c_{F_pP}\) is an isomorphism for all \(p\) and that \(F_pP\) is K-flat as a complex of \(R\)-modules (use More on Algebra, Lemma 06Y2). Finally, using that \(P = \colim F_pP\) we conclude that \(c_P\) is an isomorphism and that \(P\) is K-flat as a complex of \(R\)-modules (use More on Algebra, Lemma 06Y3).

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded \(R\)-algebras. Let \(T\) be a differential graded \((A, B)\)-bimodule. Assume

  1. \(T\) defines a compact object of \(D(B, \text{d})\), and

  2. \(S = \Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(T, B)\) represents \(R\Hom(T, B)\) in \(D(A, \text{d})\).

Then \(S\) has a structure of a differential graded \((B, A)\)-bimodule and there is an isomorphism \[N \otimes_B^\mathbf{L} S \longrightarrow R\Hom(T, N)\] functorial in \(N\) in \(D(B, \text{d})\).

Proof

Write \(\mathcal{B} = \text{Mod}^{dg}_{(B, \text{d})}\). The right \(A\)-module structure on \(S\) comes from the map \(A \to \Hom_\mathcal{B}(T, T)\) and the composition \(\Hom_\mathcal{B}(T, B) \otimes \Hom_\mathcal{B}(T, T) \to \Hom_\mathcal{B}(T, B)\) defined in Example 09LC. Using this multiplication a second time there is a map \[c_N : N \otimes_B S = \Hom_\mathcal{B}(B, N) \otimes_B \Hom_\mathcal{B}(T, B) \longrightarrow \Hom_\mathcal{B}(T, N)\] functorial in \(N\). Given \(N\) we can choose quasi-isomorphisms \(P \to N \to I\) where \(P\), resp. \(I\) is a differential graded \(B\)-module with property (P), resp. (I). Then using \(c_N\) we obtain a map \(P \otimes_B S \to \Hom_\mathcal{B}(T, I)\) between the objects representing \(S \otimes_B^\mathbf{L} N\) and \(R\Hom(T, N)\). Clearly this defines a transformation of functors \(c\) as in the lemma.

To prove that \(c\) is an isomorphism of functors, we may assume \(N\) is a differential graded \(B\)-module which has property (P). Since \(T\) defines a compact object in \(D(B, \text{d})\) and since both sides of the arrow define exact functors of triangulated categories, we reduce using Lemma 09KL to the case where \(N\) has a finite filtration whose graded pieces are direct sums of \(B[k]\). Using again that both sides of the arrow are exact functors of triangulated categories and compactness of \(T\) we reduce to the case \(N = B[k]\). Assumption (2) is exactly the assumption that \(c\) is an isomorphism in this case.

Composition of derived tensor products

We encourage the reader to skip this section.

Let \(R\) be a ring. Let \((A, \text{d})\), \((B, \text{d})\), and \((C, \text{d})\) be differential graded \(R\)-algebras. Let \(N\) be a differential graded \((A, B)\)-bimodule. Let \(N'\) be a differential graded \((B, C)\)-module. We denote \(N_B\) the bimodule \(N\) viewed as a differential graded \(B\)-module (forgetting about the \(A\)-structure). There is a canonical map [0BZ2]\[\begin{equation} N_B \otimes_B^\mathbf{L} N' \longrightarrow (N \otimes_B N')_C \end{equation}\] in \(D(C, \text{d})\). Here \((N \otimes_B N')_C\) denotes the \((A, C)\)-bimodule \(N \otimes_B N'\) viewed as a differential graded \(C\)-module. Namely, this map comes from the fact that the derived tensor product always maps to the plain tensor product (as it is a left derived functor).

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\), \((B, \text{d})\), and \((C, \text{d})\) be differential graded \(R\)-algebras. Let \(N\) be a differential graded \((A, B)\)-bimodule. Let \(N'\) be a differential graded \((B, C)\)-module. Assume (0BZ2) is an isomorphism. Then the composition \[\xymatrix{ D(A, \text{d}) \ar[rr]^{- \otimes_A^\mathbf{L} N} & & D(B, \text{d}) \ar[rr]^{- \otimes_B^\mathbf{L} N'} & & D(C, \text{d}) }\] is isomorphic to \(- \otimes_A^\mathbf{L} N''\) with \(N'' = N \otimes_B N'\) viewed as \((A, C)\)-bimodule.

Proof

Let us define a transformation of functors \[(- \otimes_A^\mathbf{L} N) \otimes_B^\mathbf{L} N' \longrightarrow - \otimes_A^\mathbf{L} N''\] To do this, let \(M\) be a differential graded \(A\)-module with property (P). According to the construction of the functor \(- \otimes_A^\mathbf{L} N''\) of the proof of Lemma 09LS the plain tensor product \(M \otimes_A N''\) represents \(M \otimes_A^\mathbf{L} N''\) in \(D(C, \text{d})\). Then we write \[M \otimes_A N'' = M \otimes_A (N \otimes_B N') = (M \otimes_A N) \otimes_B N'\] The module \(M \otimes_A N\) represents \(M \otimes_A^\mathbf{L} N\) in \(D(B, \text{d})\). Choose a quasi-isomorphism \(Q \to M \otimes_A N\) where \(Q\) is a differential graded \(B\)-module with property (P). Then \(Q \otimes_B N'\) represents \((M \otimes_A^\mathbf{L} N) \otimes_B^\mathbf{L} N'\) in \(D(C, \text{d})\). Thus we can define our map via \[(M \otimes_A^\mathbf{L} N) \otimes_B^\mathbf{L} N' = Q \otimes_B N' \to M \otimes_A N \otimes_B N' = M \otimes_A^\mathbf{L} N''\] The construction of this map is functorial in \(M\) and compatible with distinguished triangles and direct sums; we omit the details. Consider the property \(T\) of objects \(M\) of \(D(A, \text{d})\) expressing that this map is an isomorphism. Then

  1. if \(T\) holds for \(M_i\) then \(T\) holds for \(\bigoplus M_i\),

  2. if \(T\) holds for \(2\)-out-of-\(3\) in a distinguished triangle, then it holds for the third, and

  3. \(T\) holds for \(A[k]\) because here we obtain a shift of the map (0BZ2) which we have assumed is an isomorphism.

Thus by Remark 0FQE property \(T\) always holds and the proof is complete.

Let \(R\) be a ring. Let \((A, \text{d})\), \((B, \text{d})\), and \((C, \text{d})\) be differential graded \(R\)-algebras. We temporarily denote \((A \otimes_R B)_B\) the differential graded algebra \(A \otimes_R B\) viewed as a (right) differential graded \(B\)-module, and \({}_B(B \otimes_R C)_C\) the differential graded algebra \(B \otimes_R C\) viewed as a differential graded \((B, C)\)-bimodule. Then there is a canonical map [0BZ4]\[\begin{equation} (A \otimes_R B)_B \otimes_B^\mathbf{L} {}_B(B \otimes_R C)_C \longrightarrow (A \otimes_R B \otimes_R C)_C \end{equation}\] in \(D(C, \text{d})\) where \((A \otimes_R B \otimes_R C)_C\) denotes the differential graded \(R\)-algebra \(A \otimes_R B \otimes_R C\) viewed as a (right) differential graded \(C\)-module. Namely, this map comes from the identification \[(A \otimes_R B)_B \otimes_B {}_B(B \otimes_R C)_C = (A \otimes_R B \otimes_R C)_C\] and the fact that the derived tensor product always maps to the plain tensor product (as it is a left derived functor).

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\), \((B, \text{d})\), and \((C, \text{d})\) be differential graded \(R\)-algebras. Assume that (0BZ4) is an isomorphism. Let \(N\) be a differential graded \((A, B)\)-bimodule. Let \(N'\) be a differential graded \((B, C)\)-bimodule. Then the composition \[\xymatrix{ D(A, \text{d}) \ar[rr]^{- \otimes_A^\mathbf{L} N} & & D(B, \text{d}) \ar[rr]^{- \otimes_B^\mathbf{L} N'} & & D(C, \text{d}) }\] is isomorphic to \(- \otimes_A^\mathbf{L} N''\) for a differential graded \((A, C)\)-bimodule \(N''\) described in the proof.

Proof

By Lemma 09S3 we may replace \(N\) and \(N'\) by quasi-isomorphic bimodules. Thus we may assume \(N\), resp. \(N'\) has property (P) as differential graded \((A, B)\)-bimodule, resp. \((B, C)\)-bimodule, see Lemma 0FQK. We claim the lemma holds with the \((A, C)\)-bimodule \(N'' = N \otimes_B N'\). To prove this, it suffices to show that \[N_B \otimes_B^\mathbf{L} N' \longrightarrow (N \otimes_B N')_C\] is an isomorphism in \(D(C, \text{d})\), see Lemma 0BZ3.

Let \(F_\bullet\) be the filtration on \(N\) as in property (P) for bimodules. By Lemma 0FQL there is a short exact sequence \[0 \to \bigoplus\nolimits F_iN \to \bigoplus\nolimits F_iN \to N \to 0\] of differential graded \((A, B)\)-bimodules which is split as a sequence of graded \((A, B)\)-bimodules. A fortiori this is an admissible short exact sequence of differential graded \(B\)-modules and this produces a distinguished triangle \[\bigoplus\nolimits F_iN_B \to \bigoplus\nolimits F_iN_B \to N_B \to \bigoplus\nolimits F_iN_B[1]\] in \(D(B, \text{d})\). Using that \(- \otimes_B^\mathbf{L} N'\) is an exact functor of triangulated categories and commutes with direct sums and using that \(- \otimes_B N'\) transforms admissible exact sequences into admissible exact sequences and commutes with direct sums we reduce to proving that \[(F_pN)_B \otimes_B^\mathbf{L} N' \longrightarrow (F_pN)_B \otimes_B N'\] is a quasi-isomorphism for all \(p\). Repeating the argument with the short exact sequences of \((A, B)\)-bimodules \[0 \to F_pN \to F_{p + 1}N \to F_{p + 1}N/F_pN \to 0\] which are split as graded \((A, B)\)-bimodules we reduce to showing the same statement for \(F_{p + 1}N/F_pN\). Since these modules are direct sums of shifts of \((A \otimes_R B)_B\) we reduce to showing that \[(A \otimes_R B)_B \otimes_B^\mathbf{L} N' \longrightarrow (A \otimes_R B)_B \otimes_B N'\] is a quasi-isomorphism.

Choose a filtration \(F_\bullet\) on \(N'\) as in property (P) for bimodules. Choose a quasi-isomorphism \(P \to (A \otimes_R B)_B\) of differential graded \(B\)-modules where \(P\) has property (P). We have to show that \(P \otimes_B N' \to (A \otimes_R B)_B \otimes_B N'\) is a quasi-isomorphism because \(P \otimes_B N'\) represents \((A \otimes_R B)_B \otimes_B^\mathbf{L} N'\) in \(D(C, \text{d})\) by the construction in Lemma 09LS. As \(N' = \colim F_pN'\) we find that it suffices to show that \(P \otimes_B F_pN' \to (A \otimes_R B)_B \otimes_B F_pN'\) is a quasi-isomorphism. Using the short exact sequences \(0 \to F_pN' \to F_{p + 1}N' \to F_{p + 1}N'/F_pN' \to 0\) which are split as graded \((B, C)\)-bimodules we reduce to showing \(P \otimes_B F_{p + 1}N'/F_pN' \to (A \otimes_R B)_B \otimes_B F_{p + 1}N'/F_pN'\) is a quasi-isomorphism for all \(p\). Then finally using that \(F_{p + 1}N'/F_pN'\) is a direct sum of shifts of \({}_B(B \otimes_R C)_C\) we conclude that it suffices to show that \[P \otimes_B {}_B(B \otimes_R C)_C \to (A \otimes_R B)_B \otimes_B {}_B(B \otimes_R C)_C\] is a quasi-isomorphism. Since \(P \to (A \otimes_R B)_B\) is a resolution by a module satisfying property (P) this map of differential graded \(C\)-modules represents the morphism (0BZ4) in \(D(C, \text{d})\) and the proof is complete.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\), \((B, \text{d})\), and \((C, \text{d})\) be differential graded \(R\)-algebras. If \(C\) is K-flat as a complex of \(R\)-modules, then (0BZ4) is an isomorphism and the conclusion of Lemma 0BZ5 is valid.

Proof

Choose a quasi-isomorphism \(P \to (A \otimes_R B)_B\) of differential graded \(B\)-modules, where \(P\) has property (P). Then we have to show that \[P \otimes_B (B \otimes_R C) \longrightarrow (A \otimes_R B) \otimes_B (B \otimes_R C)\] is a quasi-isomorphism. Equivalently we are looking at \[P \otimes_R C \longrightarrow A \otimes_R B \otimes_R C\] This is a quasi-isomorphism if \(C\) is K-flat as a complex of \(R\)-modules by More on Algebra, Lemma 06Y0.

Variant of derived tensor product

Let \((\mathcal{C}, \mathcal{O})\) be a ringed site. Then we have the functors \[\text{Comp}(\mathcal{O}) \to K(\mathcal{O}) \to D(\mathcal{O})\] and as we’ve seen above we have differential graded enhancement \(\text{Comp}^{dg}(\mathcal{O})\). Namely, this is the differential graded category of Example 09L9 associated to the abelian category \(\textit{Mod}(\mathcal{O})\). Let \(K^\bullet\) be a complex of \(\mathcal{O}\)-modules in other words, an object of \(\text{Comp}^{dg}(\mathcal{O})\). Set \[(E, \text{d}) = \Hom_{\text{Comp}^{dg}(\mathcal{O})}(K^\bullet, K^\bullet)\] This is a differential graded \(\mathbf{Z}\)-algebra. We claim there is an analogue of the derived base change in this situation.

Lemma

In the situation above there is a functor \[- \otimes_E K^\bullet : \text{Mod}^{dg}_{(E, \text{d})} \longrightarrow \text{Comp}^{dg}(\mathcal{O})\] of differential graded categories. This functor sends \(E\) to \(K^\bullet\) and commutes with direct sums.

Proof

Let \(M\) be a differential graded \(E\)-module. For every object \(U\) of \(\mathcal{C}\) the complex \(K^\bullet(U)\) is a left differential graded \(E\)-module as well as a right \(\mathcal{O}(U)\)-module. The actions commute, so we have a bimodule. Thus, by the constructions in Sections 09LL and 0FQG we can form the tensor product \[M \otimes_E K^\bullet(U)\] which is a differential graded \(\mathcal{O}(U)\)-module, i.e., a complex of \(\mathcal{O}(U)\)-modules. This construction is functorial with respect to \(U\), hence we can sheafify to get a complex of \(\mathcal{O}\)-modules which we denote \[M \otimes_E K^\bullet\] Moreover, for each \(U\) the construction determines a functor \(\text{Mod}^{dg}_{(E, \text{d})} \to \text{Comp}^{dg}(\mathcal{O}(U))\) of differential graded categories by Lemma 09LM. It is therefore clear that we obtain a functor as stated in the lemma.

Lemma

The functor of Lemma 09LV defines an exact functor of triangulated categories \(K(\text{Mod}_{(E, \text{d})}) \to K(\mathcal{O})\).

Proof

The functor induces a functor between homotopy categories by Lemma 09L8. We have to show that \(- \otimes_E K^\bullet\) transforms distinguished triangles into distinguished triangles. Suppose that \(0 \to K \to L \to M \to 0\) is an admissible short exact sequence of differential graded \(E\)-modules. Let \(s : M \to L\) be a graded \(E\)-module homomorphism which is left inverse to \(L \to M\). Then \(s\) defines a map \(M \otimes_E K^\bullet \to L \otimes_E K^\bullet\) of graded \(\mathcal{O}\)-modules (i.e., respecting \(\mathcal{O}\)-module structure and grading, but not differentials) which is left inverse to \(L \otimes_E K^\bullet \to M \otimes_E K^\bullet\). Thus we see that \[0 \to K \otimes_E K^\bullet \to L \otimes_E K^\bullet \to M \otimes_E K^\bullet \to 0\] is a termwise split short exact sequences of complexes, i.e., a defines a distinguished triangle in \(K(\mathcal{O})\).

Lemma

The functor \(K(\text{Mod}_{(E, \text{d})}) \to K(\mathcal{O})\) of Lemma 09LW has a left derived version defined on all of \(D(E, \text{d})\). We denote it \(- \otimes_E^\mathbf{L} K^\bullet : D(E, \text{d}) \to D(\mathcal{O})\).

Proof

We will use Derived Categories, Lemma 06XN to prove this. As our collection \(\mathcal{P}\) of objects we will use the objects with property (P). Property (1) was shown in Lemma 09KP. Property (2) holds because if \(s : P \to P'\) is a quasi-isomorphism of modules with property (P), then \(s\) is a homotopy equivalence by Lemma 09KY.

Lemma

Let \(R\) be a ring. Let \(\mathcal{C}\) be a site. Let \(\mathcal{O}\) be a sheaf of commutative \(R\)-algebras. Let \(K^\bullet\) be a complex of \(\mathcal{O}\)-modules. The functor of Lemma 09LX has the following property: For every \(M\), \(N\) in \(D(E, \text{d})\) there is a canonical map \[R\Hom(M, N) \longrightarrow R\Hom_\mathcal{O}(M \otimes_E^\mathbf{L} K^\bullet, N \otimes_E^\mathbf{L} K^\bullet)\] in \(D(R)\) which on cohomology modules gives the maps \[\Ext^n_{D(E, \text{d})}(M, N) \to \Ext^n_{D(\mathcal{O})} (M \otimes_E^\mathbf{L} K^\bullet, N \otimes_E^\mathbf{L} K^\bullet)\] induced by the functor \(- \otimes_E^\mathbf{L} K^\bullet\).

Proof

The right hand side of the arrow is the global derived hom introduced in Cohomology on Sites, Section 0B6E which has the correct cohomology modules. For the left hand side we think of \(M\) as a \((R, A)\)-bimodule and we have the derived \(\Hom\) introduced in Section 09LF which also has the correct cohomology modules. To prove the lemma we may assume \(M\) and \(N\) are differential graded \(E\)-modules with property (P); this does not change the left hand side of the arrow by Lemma 0BYV. By Lemma 0BYW this means that the left hand side of the arrow becomes \(\Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(M, N)\). In Lemmas 09LV, 09LW, and 09LX we have constructed a functor \[- \otimes_E K^\bullet : \text{Mod}^{dg}_{(E, \text{d})} \longrightarrow \text{Comp}^{dg}(\mathcal{O})\] of differential graded categories and we have shown that \(- \otimes_E^\mathbf{L} K^\bullet\) is computed by evaluating this functor on differential graded \(E\)-modules with property (P). Hence we obtain a map of complexes of \(R\)-modules \[\Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(M, N) \longrightarrow \Hom_{\text{Comp}^{dg}(\mathcal{O})} (M \otimes_E K^\bullet, N \otimes_E K^\bullet)\] For any complexes of \(\mathcal{O}\)-modules \(\mathcal{F}^\bullet\), \(\mathcal{G}^\bullet\) there is a canonical map \[\Hom_{\text{Comp}^{dg}(\mathcal{O})} (\mathcal{F}^\bullet, \mathcal{G}^\bullet) = \Gamma(\mathcal{C}, \SheafHom^\bullet(\mathcal{F}^\bullet, \mathcal{G}^\bullet)) \longrightarrow R\Hom_\mathcal{O}(\mathcal{F}^\bullet, \mathcal{G}^\bullet).\] Combining these maps we obtain the desired map of the lemma.

Lemma

Let \((\mathcal{C}, \mathcal{O})\) be a ringed site. Let \(K^\bullet\) be a complex of \(\mathcal{O}\)-modules. Then the functor \[- \otimes_E^\mathbf{L} K^\bullet : D(E, \text{d}) \longrightarrow D(\mathcal{O})\] of Lemma 09LX is a left adjoint of the functor \[R\Hom(K^\bullet, -) : D(\mathcal{O}) \longrightarrow D(E, \text{d})\] of Lemma 09LK.

Proof

The statement means that we have \[\Hom_{D(E, \text{d})}(M, R\Hom(K^\bullet, L^\bullet)) = \Hom_{D(\mathcal{O})}(M \otimes^\mathbf{L}_E K^\bullet, L^\bullet)\] bifunctorially in \(M\) and \(L^\bullet\). To see this we may replace \(M\) by a differential graded \(E\)-module \(P\) with property (P). We also may replace \(L^\bullet\) by a K-injective complex of \(\mathcal{O}\)-modules \(I^\bullet\). The computation of the derived functors given in the lemmas referenced in the statement combined with Lemma 09KY translates the above into \[\Hom_{K(\text{Mod}_{(E, \text{d})})} (P, \Hom_\mathcal{B}(K^\bullet, I^\bullet)) = \Hom_{K(\mathcal{O})}(P \otimes_E K^\bullet, I^\bullet)\] where \(\mathcal{B} = \text{Comp}^{dg}(\mathcal{O})\). There is an evaluation map from right to left functorial in \(P\) and \(I^\bullet\) (details omitted). Choose a filtration \(F_\bullet\) on \(P\) as in the definition of property (P). By Lemma 09KL and the fact that both sides of the equation are homological functors in \(P\) on \(K(\text{Mod}_{(E, \text{d})})\) we reduce to the case where \(P\) is replaced by the differential graded \(E\)-module \(\bigoplus F_iP\). Since both sides turn direct sums in the variable \(P\) into direct products we reduce to the case where \(P\) is one of the differential graded \(E\)-modules \(F_iP\). Since each \(F_iP\) has a finite filtration (given by admissible monomorphisms) whose graded pieces are graded projective \(E\)-modules we reduce to the case where \(P\) is a graded projective \(E\)-module. In this case we clearly have \[\Hom_{\text{Mod}^{dg}_{(E, \text{d})}} (P, \Hom_\mathcal{B}(K^\bullet, I^\bullet)) = \Hom_{\text{Comp}^{dg}(\mathcal{O})}(P \otimes_E K^\bullet, I^\bullet)\] as graded \(\mathbf{Z}\)-modules (because this statement reduces to the case \(P = E[k]\) where it is obvious). As the isomorphism is compatible with differentials we conclude.

Lemma

Let \((\mathcal{C}, \mathcal{O})\) be a ringed site. Let \(K^\bullet\) be a complex of \(\mathcal{O}\)-modules. Assume

  1. \(K^\bullet\) represents a compact object of \(D(\mathcal{O})\), and

  2. \(E = \Hom_{\text{Comp}^{dg}(\mathcal{O})}(K^\bullet, K^\bullet)\) computes the ext groups of \(K^\bullet\) in \(D(\mathcal{O})\).

Then the functor \[- \otimes_E^\mathbf{L} K^\bullet : D(E, \text{d}) \longrightarrow D(\mathcal{O})\] of Lemma 09LX is fully faithful.

Proof

Because our functor has a left adjoint given by \(R\Hom(K^\bullet, -)\) by Lemma 09LY it suffices to show for a differential graded \(E\)-module \(M\) that the map \[H^0(M) \longrightarrow \Hom_{D(\mathcal{O})}(K^\bullet, M \otimes_E^\mathbf{L} K^\bullet)\] is an isomorphism. We may assume that \(M = P\) is a differential graded \(E\)-module which has property (P). Since \(K^\bullet\) defines a compact object, we reduce using Lemma 09KL to the case where \(P\) has a finite filtration whose graded pieces are direct sums of \(E[k]\). Again using compactness we reduce to the case \(P = E[k]\). The assumption on \(K^\bullet\) is that the result holds for these.

Characterizing compact objects

Compact objects of additive categories are defined in Derived Categories, Definition 07LS. In this section we characterize compact objects of the derived category of a differential graded algebra.

Remark

Let \((A, \text{d})\) be a differential graded algebra. Is there a characterization of those differential graded \(A\)-modules \(P\) for which we have \[\Hom_{K(A, \text{d})}(P, M) = \Hom_{D(A, \text{d})}(P, M)\] for all differential graded \(A\)-modules \(M\)? Let \(\mathcal{D} \subset K(A, \text{d})\) be the full subcategory whose objects are the objects \(P\) satisfying the above. Then \(\mathcal{D}\) is a strictly full saturated triangulated subcategory of \(K(A, \text{d})\). If \(P\) is projective as a graded \(A\)-module, then to see where \(P\) is an object of \(\mathcal{D}\) it is enough to check that \(\Hom_{K(A, \text{d})}(P, M) = 0\) whenever \(M\) is acyclic. However, in general it is not enough to assume that \(P\) is projective as a graded \(A\)-module. Example: take \(A = R = k[\epsilon]\) where \(k\) is a field and \(k[\epsilon] = k[x]/(x^2)\) is the ring of dual numbers. Let \(P\) be the object with \(P^n = R\) for all \(n \in \mathbf{Z}\) and differential given by multiplication by \(\epsilon\). Then \(\text{id}_P \in \Hom_{K(A, \text{d})}(P, P)\) is a nonzero element but \(P\) is acyclic.

Remark

Let \((A, \text{d})\) be a differential graded algebra. Let us say a differential graded \(A\)-module \(M\) is finite if \(M\) is generated, as a right \(A\)-module, by finitely many elements. If \(P\) is a differential graded \(A\)-module which is finite graded projective, then we can ask: Does \(P\) give a compact object of \(D(A, \text{d})\)? Presumably, this is not true in general, but we do not know a counter example. However, if \(P\) is also an object of the category \(\mathcal{D}\) of Remark 09R0, then this is the case (this follows from the fact that direct sums in \(D(A, \text{d})\) are given by direct sums of modules; details omitted).

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Let \(E\) be a compact object of \(D(A, \text{d})\). Let \(P\) be a differential graded \(A\)-module which has a finite filtration \[0 = F_{-1}P \subset F_0P \subset F_1P \subset \ldots \subset F_nP = P\] by differential graded submodules such that \[F_{i + 1}P/F_iP \cong \bigoplus\nolimits_{j \in J_i} A[k_{i, j}]\] as differential graded \(A\)-modules for some sets \(J_i\) and integers \(k_{i, j}\). Let \(E \to P\) be a morphism of \(D(A, \text{d})\). Then there exists a differential graded submodule \(P' \subset P\) such that \(F_{i + 1}P \cap P'/(F_iP \cap P')\) is equal to \(\bigoplus_{j \in J'_i} A[k_{i, j}]\) for some finite subsets \(J'_i \subset J_i\) and such that \(E \to P\) factors through \(P'\).

Proof

We will prove by induction on \(-1 \leq m \leq n\) that there exists a differential graded submodule \(P' \subset P\) such that

  1. \(F_mP \subset P'\),

  2. for \(i \geq m\) the quotient \(F_{i + 1}P \cap P'/(F_iP \cap P')\) is isomorphic to \(\bigoplus_{j \in J'_i} A[k_{i, j}]\) for some finite subsets \(J'_i \subset J_i\), and

  3. \(E \to P\) factors through \(P'\).

The base case is \(m = n\) where we can take \(P' = P\).

Induction step. Assume \(P'\) works for \(m\). For \(i \geq m\) and \(j \in J'_i\) let \(x_{i, j} \in F_{i + 1}P \cap P'\) be a homogeneous element of degree \(k_{i, j}\) whose image in \(F_{i + 1}P \cap P'/(F_iP \cap P')\) is the generator in the summand corresponding to \(j \in J_i\). The \(x_{i, j}\) generate \(P'/F_mP\) as an \(A\)-module. Write \[\text{d}(x_{i, j}) = \sum x_{i', j'} a_{i, j}^{i', j'} + y_{i, j}\] with \(y_{i, j} \in F_mP\) and \(a_{i, j}^{i', j'} \in A\). There exists a finite subset \(J'_{m - 1} \subset J_{m - 1}\) such that each \(y_{i, j}\) maps to an element of the submodule \(\bigoplus_{j \in J'_{m - 1}} A[k_{m - 1, j}]\) of \(F_mP/F_{m - 1}P\). Let \(P'' \subset F_mP\) be the inverse image of \(\bigoplus_{j \in J'_{m - 1}} A[k_{m - 1, j}]\) under the map \(F_mP \to F_mP/F_{m - 1}P\). Then we see that the \(A\)-submodule \[P'' + \sum x_{i, j}A\] is a differential graded submodule of the type we are looking for. Moreover \[P'/(P'' + \sum x_{i, j}A) = \bigoplus\nolimits_{j \in J_{m - 1} \setminus J'_{m - 1}} A[k_{m - 1, j}]\] Since \(E\) is compact, the composition of the given map \(E \to P'\) with the quotient map, factors through a finite direct subsum of the module displayed above. Hence after enlarging \(J'_{m - 1}\) we may assume \(E \to P'\) factors through \(P'' + \sum x_{i, j}A\) as desired.

It is not true that every compact object of \(D(A, \text{d})\) comes from a finite graded projective differential graded \(A\)-module, see Examples, Section 09R4.

Proposition

Let \((A, \text{d})\) be a differential graded algebra. Let \(E\) be an object of \(D(A, \text{d})\). Then the following are equivalent

  1. \(E\) is a compact object,

  2. \(E\) is a direct summand of an object of \(D(A, \text{d})\) which is represented by a differential graded module \(P\) which has a finite filtration \(F_\bullet\) by differential graded submodules such that \(F_iP/F_{i - 1}P\) are finite direct sums of shifts of \(A\).

Proof

Assume \(E\) is compact. By Lemma 09KP we may assume that \(E\) is represented by a differential graded \(A\)-module \(P\) with property (P). Consider the distinguished triangle \[\bigoplus F_iP \to \bigoplus F_iP \to P \xrightarrow{\delta} \bigoplus F_iP[1]\] coming from the admissible short exact sequence of Lemma 09KL. Since \(E\) is compact we have \(\delta = \sum_{i = 1, \ldots, n} \delta_i\) for some \(\delta_i : P \to F_iP[1]\). Since the composition of \(\delta\) with the map \(\bigoplus F_iP[1] \to \bigoplus F_iP[1]\) is zero (Derived Categories, Lemma 0146) it follows that \(\delta = 0\) (follows as \(\bigoplus F_iP \to \bigoplus F_iP\) maps the summand \(F_iP\) via the difference of \(\text{id}\) and the inclusion map into \(F_{i - 1}P\)). Thus we see that the identity on \(E\) factors through \(\bigoplus F_iP\) in \(D(A, \text{d})\) (by Derived Categories, Lemma 05QT). Next, we use that \(P\) is compact again to see that the map \(E \to \bigoplus F_iP\) factors through \(\bigoplus_{i = 1, \ldots, n} F_iP\) for some \(n\). In other words, the identity on \(E\) factors through \(\bigoplus_{i = 1, \ldots, n} F_iP\). By Lemma 09R2 we see that the identity of \(E\) factors as \(E \to P \to E\) where \(P\) is as in part (2) of the statement of the lemma. In other words, we have proven that (1) implies (2).

Assume (2). By Derived Categories, Lemma 09QH it suffices to show that \(P\) gives a compact object. Observe that \(P\) has property (P), hence we have \[\Hom_{D(A, \text{d})}(P, M) = \Hom_{K(A, \text{d})}(P, M)\] for any differential graded module \(M\) by Lemma 09KY. As direct sums in \(D(A, \text{d})\) are given by direct sums of graded modules (Lemma 09QI) we reduce to showing that \(\Hom_{K(A, \text{d})}(P, M)\) commutes with direct sums. Using that \(K(A, \text{d})\) is a triangulated category, that \(\Hom\) is a cohomological functor in the first variable, and the filtration on \(P\), we reduce to the case that \(P\) is a finite direct sum of shifts of \(A\). Thus we reduce to the case \(P = A[k]\) which is clear.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. For every compact object \(E\) of \(D(A, \text{d})\) there exist integers \(a \leq b\) such that \(\Hom_{D(A, \text{d})}(E, M) = 0\) if \(H^i(M) = 0\) for \(i \in [a, b]\).

Proof

Observe that the collection of objects of \(D(A, \text{d})\) for which such a pair of integers exists is a saturated, strictly full triangulated subcategory of \(D(A, \text{d})\). Thus by Proposition 09R3 it suffices to prove this when \(E\) is represented by a differential graded module \(P\) which has a finite filtration \(F_\bullet\) by differential graded submodules such that \(F_iP/F_{i - 1}P\) are finite direct sums of shifts of \(A\). Using the compatibility with triangles, we see that it suffices to prove it for \(P = A\). In this case \(\Hom_{D(A, \text{d})}(A, M) = H^0(M)\) and the result holds with \(a = b = 0\).

If \((A, \text{d})\) is just an algebra placed in degree \(0\) with zero differential or more generally lives in only a finite number of degrees, then we do obtain the more precise description of compact objects.

Lemma

Let \((A, \text{d})\) be a differential graded algebra. Assume that \(A^n = 0\) for \(|n| \gg 0\). Let \(E\) be an object of \(D(A, \text{d})\). The following are equivalent

  1. \(E\) is a compact object, and

  2. \(E\) can be represented by a differential graded \(A\)-module \(P\) which is finite projective as a graded \(A\)-module and satisfies \(\Hom_{K(A, \text{d})}(P, M) = \Hom_{D(A, \text{d})}(P, M)\) for every differential graded \(A\)-module \(M\).

Proof

Let \(\mathcal{D} \subset K(A, \text{d})\) be the triangulated subcategory discussed in Remark 09R0. Let \(P\) be an object of \(\mathcal{D}\) which is finite projective as a graded \(A\)-module. Then \(P\) represents a compact object of \(D(A, \text{d})\) by Remark 09R1.

To prove the converse, let \(E\) be a compact object of \(D(A, \text{d})\). Fix \(a \leq b\) as in Lemma 09RA. After decreasing \(a\) and increasing \(b\) if necessary, we may also assume that \(H^i(E) = 0\) for \(i \not \in [a, b]\) (this follows from Proposition 09R3 and our assumption on \(A\)). Moreover, fix an integer \(c > 0\) such that \(A^n = 0\) if \(|n| \geq c\).

By Proposition 09R3 we see that \(E\) is a direct summand, in \(D(A, \text{d})\), of a differential graded \(A\)-module \(P\) which has a finite filtration \(F_\bullet\) by differential graded submodules such that \(F_iP/F_{i - 1}P\) are finite direct sums of shifts of \(A\). In particular, \(P\) has property (P) and we have \(\Hom_{D(A, \text{d})}(P, M) = \Hom_{K(A, \text{d})}(P, M)\) for any differential graded module \(M\) by Lemma 09KY. In other words, \(P\) is an object of the triangulated subcategory \(\mathcal{D} \subset K(A, \text{d})\) discussed in Remark 09R0. Note that \(P\) is finite free as a graded \(A\)-module.

Choose \(n > 0\) such that \(b + 4c - n < a\). Represent the projector onto \(E\) by an endomorphism \(\varphi : P \to P\) of differential graded \(A\)-modules. Consider the distinguished triangle \[P \xrightarrow{1 - \varphi} P \to C \to P[1]\] in \(K(A, \text{d})\) where \(C\) is the cone of the first arrow. Then \(C\) is an object of \(\mathcal{D}\), we have \(C \cong E \oplus E[1]\) in \(D(A, \text{d})\), and \(C\) is a finite graded free \(A\)-module. Next, consider a distinguished triangle \[C[1] \to C \to C' \to C[2]\] in \(K(A, \text{d})\) where \(C'\) is the cone on a morphism \(C[1] \to C\) representing the composition \[C[1] \cong E[1] \oplus E[2] \to E[1] \to E \oplus E[1] \cong C\] in \(D(A, \text{d})\). Then we see that \(C'\) represents \(E \oplus E[2]\). Continuing in this manner we see that we can find a differential graded \(A\)-module \(P\) which is an object of \(\mathcal{D}\), is a finite free as a graded \(A\)-module, and represents \(E \oplus E[n]\).

Choose a basis \(x_i\), \(i \in I\) of homogeneous elements for \(P\) as an \(A\)-module. Let \(d_i = \deg(x_i)\). Let \(P_1\) be the \(A\)-submodule of \(P\) generated by \(x_i\) and \(\text{d}(x_i)\) for \(d_i \leq a - c - 1\). Let \(P_2\) be the \(A\)-submodule of \(P\) generated by \(x_i\) and \(\text{d}(x_i)\) for \(d_i \geq b - n + c\). We observe

  1. \(P_1\) and \(P_2\) are differential graded submodules of \(P\),

  2. \(P_1^t = 0\) for \(t \geq a\),

  3. \(P_1^t = P^t\) for \(t \leq a - 2c\),

  4. \(P_2^t = 0\) for \(t \leq b - n\),

  5. \(P_2^t = P^t\) for \(t \geq b - n + 2c\).

As \(b - n + 2c \geq a - 2c\) by our choice of \(n\) we obtain a short exact sequence of differential graded \(A\)-modules \[0 \to P_1 \cap P_2 \to P_1 \oplus P_2 \xrightarrow{\pi} P \to 0\] Since \(P\) is projective as a graded \(A\)-module this is an admissible short exact sequence (Lemma 09K0). Hence we obtain a boundary map \(\delta : P \to (P_1 \cap P_2)[1]\) in \(K(A, \text{d})\), see Lemma 09JU. Since \(P = E \oplus E[n]\) and since \(P_1 \cap P_2\) lives in degrees \((b - n, a)\) we find that \(\Hom_{D(A, \text{d})}(E \oplus E[n], (P_1 \cap P_2)[1])\) is zero. Therefore \(\delta = 0\) as a morphism in \(K(A, \text{d})\) as \(P\) is an object of \(\mathcal{D}\). By Derived Categories, Lemma 05QT we can find a map \(s : P \to P_1 \oplus P_2\) such that \(\pi \circ s = \text{id}_P + \text{d}h + h\text{d}\) for some \(h : P \to P\) of degree \(-1\). Since \(P_1 \oplus P_2 \to P\) is surjective and since \(P\) is projective as a graded \(A\)-module we can choose a homogeneous lift \(\tilde h : P \to P_1 \oplus P_2\) of \(h\). Then we change \(s\) into \(s + \text{d} \tilde h + \tilde h \text{d}\) to get \(\pi \circ s = \text{id}_P\). This means we obtain a direct sum decomposition \(P = s^{-1}(P_1) \oplus s^{-1}(P_2)\). Since \(s^{-1}(P_2)\) is equal to \(P\) in degrees \(\geq b - n + 2c\) we see that \(s^{-1}(P_2) \to P \to E\) is a quasi-isomorphism, i.e., an isomorphism in \(D(A, \text{d})\). This finishes the proof.

Equivalences of derived categories

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded \(R\)-algebras. A natural question that arises in nature is what it means that \(D(A, \text{d})\) is equivalent to \(D(B, \text{d})\) as an \(R\)-linear triangulated category. This is a rather subtle question and it will turn out it isn’t always the correct question to ask. Nonetheless, in this section we collection some conditions that guarantee this is the case.

We strongly urge the reader to take a look at the groundbreaking paper [Rickard] on this topic.

Lemma

Let \(R\) be a ring. Let \((A, \text{d}) \to (B, \text{d})\) be a homomorphism of differential graded algebras over \(R\), which induces an isomorphism on cohomology algebras. Then \[- \otimes_A^\mathbf{L} B : D(A, \text{d}) \to D(B, \text{d})\] gives an \(R\)-linear equivalence of triangulated categories with quasi-inverse the restriction functor \(N \mapsto N_A\).

Proof

By Lemma 09R9 the functor \(M \longmapsto M \otimes_A^\mathbf{L} B\) is fully faithful. By Lemma 09LT the functor \(N \longmapsto R\Hom(B, N) = N_A\) is a right adjoint, see Example 0BYX. It is clear that the kernel of \(R\Hom(B, -)\) is zero. Hence the result follows from Derived Categories, Lemma 09J1.

When we analyze the proof above we see that we obtain the following generalization for free.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded algebras over \(R\). Let \(N\) be a differential graded \((A, B)\)-bimodule. Assume that

  1. \(N\) defines a compact object of \(D(B, \text{d})\),

  2. if \(N' \in D(B, \text{d})\) and \(\Hom_{D(B, \text{d})}(N, N'[n]) = 0\) for \(n \in \mathbf{Z}\), then \(N' = 0\), and

  3. the map \(H^k(A) \to \Hom_{D(B, \text{d})}(N, N[k])\) is an isomorphism for all \(k \in \mathbf{Z}\).

Then \[- \otimes_A^\mathbf{L} N : D(A, \text{d}) \to D(B, \text{d})\] gives an \(R\)-linear equivalence of triangulated categories.

Proof

By Lemma 09R9 the functor \(M \longmapsto M \otimes_A^\mathbf{L} N\) is fully faithful. By Lemma 09LT the functor \(N' \longmapsto R\Hom(N, N')\) is a right adjoint. By assumption (3) the kernel of \(R\Hom(N, -)\) is zero. Hence the result follows from Derived Categories, Lemma 09J1.

Remark

In Lemma 09S7 we can replace condition (2) by the condition that \(N\) is a classical generator for \(D_{compact}(B, d)\), see Derived Categories, Proposition 09SR. Moreover, if we knew that \(R\Hom(N, B)\) is a compact object of \(D(A, \text{d})\), then it suffices to check that \(N\) is a weak generator for \(D_{compact}(B, \text{d})\). We omit the proof; we will add it here if we ever need it in the Stacks project.

Sometimes the \(B\)-module \(P\) in the lemma below is called an “\((A, B)\)-tilting complex”.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded \(R\)-algebras. Assume that \(A = H^0(A)\). The following are equivalent

  1. \(D(A, \text{d})\) and \(D(B, \text{d})\) are equivalent as \(R\)-linear triangulated categories, and

  2. there exists an object \(P\) of \(D(B, \text{d})\) such that

    1. \(P\) is a compact object of \(D(B, \text{d})\),

    2. if \(N \in D(B, \text{d})\) with \(\Hom_{D(B, \text{d})}(P, N[i]) = 0\) for \(i \in \mathbf{Z}\), then \(N = 0\),

    3. \(\Hom_{D(B, \text{d})}(P, P[i]) = 0\) for \(i \not = 0\) and equal to \(A\) for \(i = 0\).

The equivalence \(D(A, \text{d}) \to D(B, \text{d})\) constructed in (2) sends \(A\) to \(P\).

Proof

Let \(F : D(A, \text{d}) \to D(B, \text{d})\) be an equivalence. Then \(F\) maps compact objects to compact objects. Hence \(P = F(A)\) is compact, i.e., (2)(a) holds. Conditions (2)(b) and (2)(c) are immediate from the fact that \(F\) is an equivalence.

Let \(P\) be an object as in (2). Represent \(P\) by a differential graded module with property (P). Set \[(E, \text{d}) = \Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(P, P)\] Then \(H^0(E) = A\) and \(H^k(E) = 0\) for \(k \not = 0\) by Lemma 09KY and assumption (2)(c). Viewing \(P\) as a \((E, B)\)-bimodule and using Lemma 09S7 and assumption (2)(b) we obtain an equivalence \[D(E, \text{d}) \to D(B, \text{d})\] sending \(E\) to \(P\). Let \(E' \subset E\) be the differential graded \(R\)-subalgebra with \[(E')^i = \left\{ \begin{matrix} E^i & \text{if }i < 0 \\ \Ker(E^0 \to E^1) & \text{if }i = 0 \\ 0 & \text{if }i > 0 \end{matrix} \right.\] Then there are quasi-isomorphisms of differential graded algebras \((A, \text{d}) \leftarrow (E', \text{d}) \rightarrow (E, \text{d})\). Thus we obtain equivalences \[D(A, \text{d}) \leftarrow D(E', \text{d}) \rightarrow D(E, \text{d}) \rightarrow D(B, \text{d})\] by Lemma 09S6.

Remark

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded \(R\)-algebras. Suppose given an \(R\)-linear equivalence \[F : D(A, \text{d}) \longrightarrow D(B, \text{d})\] of triangulated categories. Set \(N = F(A)\). Then \(N\) is a differential graded \(B\)-module. Since \(F\) is an equivalence and \(A\) is a compact object of \(D(A, \text{d})\), we conclude that \(N\) is a compact object of \(D(B, \text{d})\). Since \(A\) generates \(D(A, \text{d})\) and \(F\) is an equivalence, we see that \(N\) generates \(D(B, \text{d})\). Finally, \(H^k(A) = \Hom_{D(A, \text{d})}(A, A[k])\) and as \(F\) an equivalence we see that \(F\) induces an isomorphism \(H^k(A) = \Hom_{D(B, \text{d})}(N, N[k])\) for all \(k\). In order to conclude that there is an equivalence \(D(A, \text{d}) \longrightarrow D(B, \text{d})\) which arises from the construction in Lemma 09S7 all we need is a left \(A\)-module structure on \(N\) compatible with derivation and commuting with the given right \(B\)-module structure. In fact, it suffices to do this after replacing \(N\) by a quasi-isomorphic differential graded \(B\)-module. The module structure can be constructed in certain cases. For example, if we assume that \(F\) can be lifted to a differential graded functor \[F^{dg} : \text{Mod}^{dg}_{(A, \text{d})} \longrightarrow \text{Mod}^{dg}_{(B, \text{d})}\] (for notation see Example 09LC) between the associated differential graded categories, then this holds. Another case is discussed in the proposition below.

Proposition

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded \(R\)-algebras. Let \(F : D(A, \text{d}) \to D(B, \text{d})\) be an \(R\)-linear equivalence of triangulated categories. Assume that

  1. \(A = H^0(A)\), and

  2. \(B\) is K-flat as a complex of \(R\)-modules.

Then there exists an \((A, B)\)-bimodule \(N\) as in Lemma 09S7.

Proof

As in Remark 09S9 above, we set \(N = F(A)\) in \(D(B, \text{d})\). We may assume that \(N\) is a differential graded \(B\)-module with property (P). Set \[(E, \text{d}) = \Hom_{\text{Mod}^{dg}_{(B, \text{d})}}(N, N)\] Then \(H^0(E) = A\) and \(H^k(E) = 0\) for \(k \not = 0\) by Lemma 09KY. Moreover, by the discussion in Remark 09S9 and by Lemma 09S7 we see that \(N\) as a \((E, B)\)-bimodule induces an equivalence \(- \otimes_E^\mathbf{L} N : D(E, \text{d}) \to D(B, \text{d})\). Let \(E' \subset E\) be the differential graded \(R\)-subalgebra with \[(E')^i = \left\{ \begin{matrix} E^i & \text{if }i < 0 \\ \Ker(E^0 \to E^1) & \text{if }i = 0 \\ 0 & \text{if }i > 0 \end{matrix} \right.\] Then there are quasi-isomorphisms of differential graded algebras \((A, \text{d}) \leftarrow (E', \text{d}) \rightarrow (E, \text{d})\). Thus we obtain equivalences \[D(A, \text{d}) \leftarrow D(E', \text{d}) \rightarrow D(E, \text{d}) \rightarrow D(B, \text{d})\] by Lemma 09S6. Note that the quasi-inverse \(D(A, \text{d}) \to D(E', \text{d})\) of the left vertical arrow is given by \(M \mapsto M \otimes_A^\mathbf{L} A\) where \(A\) is viewed as a \((A, E')\)-bimodule, see Example 0BYX. On the other hand the functor \(D(E', \text{d}) \to D(B, \text{d})\) is given by \(M \mapsto M \otimes_{E'}^\mathbf{L} N\) where \(N\) is as above. We conclude by Lemma 09S4.

Remark

Let \(A, B, F, N\) be as in Proposition 09SA. It is not clear that \(F\) and the functor \(G(-) = - \otimes_A^\mathbf{L} N\) are isomorphic. By construction there is an isomorphism \(N = G(A) \to F(A)\) in \(D(B, \text{d})\). It is straightforward to extend this to a functorial isomorphism \(G(M) \to F(M)\) for \(M\) is a differential graded \(A\)-module which is graded projective (e.g., a sum of shifts of \(A\)). Then one can conclude that \(G(M) \cong F(M)\) when \(M\) is a cone of a map between such modules. We don’t know whether more is true in general.

Lemma

Let \(R\) be a ring. Let \(A\) and \(B\) be \(R\)-algebras. The following are equivalent

  1. there is an \(R\)-linear equivalence \(D(A) \to D(B)\) of triangulated categories,

  2. there exists an object \(P\) of \(D(B)\) such that

    1. \(P\) can be represented by a finite complex of finite projective \(B\)-modules,

    2. if \(K \in D(B)\) with \(\Ext^i_B(P, K) = 0\) for \(i \in \mathbf{Z}\), then \(K = 0\), and

    3. \(\Ext^i_B(P, P) = 0\) for \(i \not = 0\) and equal to \(A\) for \(i= 0\).

Moreover, if \(B\) is flat as an \(R\)-module, then this is also equivalent to

  1. there exists an \((A, B)\)-bimodule \(N\) such that \(- \otimes_A^\mathbf{L} N : D(A) \to D(B)\) is an equivalence.

Proof

The equivalence of (1) and (2) is a special case of Lemma 09S8 combined with the result of Lemma 09RB characterizing compact objects of \(D(B)\) (small detail omitted). The equivalence with (3) if \(B\) is \(R\)-flat follows from Proposition 09SA.

Remark

Let \(R\) be a ring. Let \(A\) and \(B\) be \(R\)-algebras. If \(D(A)\) and \(D(B)\) are equivalent as \(R\)-linear triangulated categories, then the centers of \(A\) and \(B\) are isomorphic as \(R\)-algebras. In particular, if \(A\) and \(B\) are commutative, then \(A \cong B\). The rather tricky proof can be found in [Rickard, Proposition 9.2] or [KZ, Proposition 6.3.2]. Another approach might be to use Hochschild cohomology (see remark below).

Remark

Let \(R\) be a ring. Let \((A, \text{d})\) and \((B, \text{d})\) be differential graded \(R\)-algebras which are derived equivalent, i.e., such that there exists an \(R\)-linear equivalence \(D(A, \text{d}) \to D(B, \text{d})\) of triangulated categories. We would like to show that certain invariants of \((A, \text{d})\) and \((B, \text{d})\) coincide. In many situations one has more control of the situation. For example, it may happen that there is an equivalence of the form \[- \otimes_A \Omega : D(A, \text{d}) \longrightarrow D(B, \text{d})\] for some differential graded \((A, B)\)-bimodule \(\Omega\) (this happens in the situation of Proposition 09SA and is often true if the equivalence comes from a geometric construction). If also the quasi-inverse of our functor is given as \[- \otimes_B^\mathbf{L} \Omega' : D(B, \text{d}) \longrightarrow D(A, \text{d})\] for a differential graded \((B, A)\)-bimodule \(\Omega'\) (and as before such a module \(\Omega'\) often exists in practice). In this case we can consider the functor \[D(A^{opp} \otimes_R A, \text{d}) \longrightarrow D(B^{opp} \otimes_R B, \text{d}),\quad M \longmapsto \Omega' \otimes^\mathbf{L}_A M \otimes_A^\mathbf{L} \Omega\] on derived categories of bimodules (use Lemma 0FQJ to turn bimodules into right modules). Observe that this functor sends the \((A, A)\)-bimodule \(A\) to the \((B, B)\)-bimodule \(B\). Under suitable conditions (e.g., flatness of \(A\), \(B\), \(\Omega\) over \(R\), etc) this functor will be an equivalence as well. If this is the case, then it follows that we have isomorphisms of Hochschild cohomology groups \[HH^i(A, \text{d}) = \Hom_{D(A^{opp} \otimes_R A, \text{d})}(A, A[i]) \longrightarrow \Hom_{D(B^{opp} \otimes_R B, \text{d})}(B, B[i]) = HH^i(B, \text{d}).\] For example, if \(A = H^0(A)\), then \(HH^0(A, \text{d})\) is equal to the center of \(A\), and this gives a conceptual proof of the result mentioned in Remark 09SD. If we ever need this remark we will provide a precise statement with a detailed proof here.

Resolutions of differential graded algebras

Let \(R\) be a ring. Under our assumptions the free \(R\)-algebra \(R\langle S \rangle\) on a set \(S\) is the algebra with \(R\)-basis the expressions \[s_1 s_2 \ldots s_n\] where \(n \geq 0\) and \(s_1, \ldots, s_n \in S\) is a sequence of elements of \(S\). Multiplication is given by concatenation \[(s_1 s_2 \ldots s_n) \cdot (s'_1 s'_2 \ldots s'_m) = s_1 \ldots s_n s'_1 \ldots s'_m\] This algebra is characterized by the property that the map \[\Mor_{R\text{-alg}}(R\langle S \rangle, A) \to \text{Map}(S, A),\quad \varphi \longmapsto (s \mapsto \varphi(s))\] is a bijection for every \(R\)-algebra \(A\).

In the category of graded \(R\)-algebras our set \(S\) should come with a grading, which we think of as a map \(\deg : S \to \mathbf{Z}\). Then \(R\langle S\rangle\) has a grading such that the monomials have degree \[\deg(s_1 s_2 \ldots s_n) = \deg(s_1) + \ldots + \deg(s_n)\] In this setting we have \[\Mor_{\text{graded }R\text{-alg}}(R\langle S \rangle, A) \to \text{Map}_{\text{graded sets}}(S, A),\quad \varphi \longmapsto (s \mapsto \varphi(s))\] is a bijection for every graded \(R\)-algebra \(A\).

If \(A\) is a graded \(R\)-algebra and \(S\) is a graded set, then we can similarly form \(A\langle S \rangle\). Elements of \(A\langle S \rangle\) are sums of elements of the form \[a_0 s_1 a_1 s_2 \ldots a_{n - 1} s_n a_n\] with \(a_i \in A\) modulo the relations that these expressions are \(R\)-multilinear in \((a_0, \ldots, a_n)\). Thus for every sequence \(s_1, \ldots, s_n\) of elements of \(S\) there is an inclusion \[A \otimes_R \ldots \otimes_R A \subset A\langle S \rangle\] and the algebra is the direct sum of these. With this definition the reader shows that the map \[\Mor_{\text{graded }R\text{-alg}}(A\langle S \rangle, B) \to \Mor_{\text{graded }R\text{-alg}}(A, B) \times \text{Map}_{\text{graded sets}}(S, B),\] sending \(\varphi\) to \((\varphi|_A, (s \mapsto \varphi(s)))\) is a bijection for every graded \(R\)-algebra \(A\). We observe that if \(A\) was a free graded \(R\)-algebra, then so is \(A\langle S \rangle\).

Suppose that \(A\) is a differential graded \(R\)-algebra and that \(S\) is a graded set. Suppose moreover for every \(s \in S\) we are given a homogeneous element \(f_s \in A\) with \(\deg(f_s) = \deg(s) + 1\) and \(\text{d}f_s = 0\). Then there exists a unique structure of differential graded algebra on \(A\langle S \rangle\) with \(\text{d}(s) = f_s\). For example, given \(a, b, c \in A\) and \(s, t \in S\) we would define \[\begin{align*} \text{d}(asbtc) & = \text{d}(a)sbtc + (-1)^{\deg(a)}a f_s b t c + (-1)^{\deg(a) + \deg(s)} as\text{d}(b)tc \\ & + (-1)^{\deg(a) + \deg(s) + \deg(b)} asb f_t c + (-1)^{\deg(a) + \deg(s) + \deg(b) + \deg(t)} asbt\text{d}(c) \end{align*}\] We omit the details.

Lemma

Let \(R\) be a ring. Let \((B, \text{d})\) be a differential graded \(R\)-algebra. There exists a quasi-isomorphism \((A, \text{d}) \to (B, \text{d})\) of differential graded \(R\)-algebras with the following properties

  1. \(A\) is K-flat as a complex of \(R\)-modules,

  2. \(A\) is a free graded \(R\)-algebra.

Proof

First we claim we can find \((A_0, \text{d}) \to (B, \text{d})\) having (1) and (2) inducing a surjection on cohomology. Namely, take a graded set \(S\) and for each \(s \in S\) a homogeneous element \(b_s \in \Ker(d : B \to B)\) of degree \(\deg(s)\) such that the classes \(\overline{b}_s\) in \(H^*(B)\) generate \(H^*(B)\) as an \(R\)-module. Then we can set \(A_0 = R\langle S \rangle\) with zero differential and \(A_0 \to B\) given by mapping \(s\) to \(b_s\).

Given \(A_0 \to B\) inducing a surjection on cohomology we construct a sequence \[A_0 \to A_1 \to A_2 \to \ldots B\] by induction. Given \(A_n \to B\) we set \(S_n\) be a graded set and for each \(s \in S_n\) we let \(a_s \in \Ker(\text{d} : A_n \to A_n)\) be a homogeneous element of degree \(\deg(s) + 1\) mapping to a class \(\overline{a}_s\) in \(H^*(A_n)\) which maps to zero in \(H^*(B)\). We choose \(S_n\) large enough so that the elements \(\overline{a}_s\) generate \(\Ker(H^*(A_n) \to H^*(B))\) as an \(R\)-module. Then we set \[A_{n + 1} = A_n\langle S_n \rangle\] with differential given by \(\text{d}(s) = a_s\) see discussion above. Then each \((A_n, \text{d})\) satisfies (1) and (2), we omit the details. The map \(H^*(A_n) \to H^*(B)\) is surjective as this was true for \(n = 0\).

It is clear that \(A = \colim A_n\) is a free graded \(R\)-algebra. It is K-flat by More on Algebra, Lemma 06Y3. The map \(H^*(A) \to H^*(B)\) is an isomorphism as it is surjective and injective: every element of \(H^*(A)\) comes from an element of \(H^*(A_n)\) for some \(n\) and if it dies in \(H^*(B)\), then it dies in \(H^*(A_{n + 1})\) hence in \(H^*(A)\).

As an application we prove the “correct” version of Lemma 0BZ5.

Lemma

Let \(R\) be a ring. Let \((A, \text{d})\), \((B, \text{d})\), and \((C, \text{d})\) be differential graded \(R\)-algebras. Assume \(A \otimes_R C\) represents \(A \otimes^\mathbf{L}_R C\) in \(D(R)\). Let \(N\) be a differential graded \((A, B)\)-bimodule. Let \(N'\) be a differential graded \((B, C)\)-bimodule. Then the composition \[\xymatrix{ D(A, \text{d}) \ar[rr]^{- \otimes_A^\mathbf{L} N} & & D(B, \text{d}) \ar[rr]^{- \otimes_B^\mathbf{L} N'} & & D(C, \text{d}) }\] is isomorphic to \(- \otimes_A^\mathbf{L} N''\) for some differential graded \((A, C)\)-bimodule \(N''\).

Proof

Using Lemma 0BZ7 we choose a quasi-isomorphism \((B', \text{d}) \to (B, \text{d})\) with \(B'\) K-flat as a complex of \(R\)-modules. By Lemma 09S6 the functor \(-\otimes^\mathbf{L}_{B'} B : D(B', \text{d}) \to D(B, \text{d})\) is an equivalence with quasi-inverse given by restriction. Note that restriction is canonically isomorphic to the functor \(- \otimes^\mathbf{L}_B B : D(B, \text{d}) \to D(B', \text{d})\) where \(B\) is viewed as a \((B, B')\)-bimodule. Thus it suffices to prove the lemma for the compositions \[D(A) \to D(B) \to D(B'),\quad D(B') \to D(B) \to D(C),\quad D(A) \to D(B') \to D(C).\] The first one is Lemma 09S4 because \(B'\) is K-flat as a complex of \(R\)-modules. The second one is true because \(B \otimes_B^\mathbf{L} N' = N' = B \otimes_B N'\) and hence Lemma 0BZ3 applies. Thus we reduce to the case where \(B\) is K-flat as a complex of \(R\)-modules.

Assume \(B\) is K-flat as a complex of \(R\)-modules. It suffices to show that (0BZ4) is an isomorphism, see Lemma 0BZ5. Choose a quasi-isomorphism \(L \to A\) where \(L\) is a differential graded \(R\)-module which has property (P). Then it is clear that \(P = L \otimes_R B\) has property (P) as a differential graded \(B\)-module. Hence we have to show that \(P \to A \otimes_R B\) induces a quasi-isomorphism \[P \otimes_B (B \otimes_R C) \longrightarrow (A \otimes_R B) \otimes_B (B \otimes_R C)\] We can rewrite this as \[P \otimes_R B \otimes_R C \longrightarrow A \otimes_R B \otimes_R C\] Since \(B\) is K-flat as a complex of \(R\)-modules, it follows from More on Algebra, Lemma 06Y0 that it is enough to show that \[P \otimes_R C \to A \otimes_R C\] is a quasi-isomorphism, which is exactly our assumption.

The following lemma does not really belong in this section, but there does not seem to be a good natural spot for it.

Lemma

Let \((A, \text{d})\) be a differential graded algebra with \(H^i(A)\) countable for each \(i\). Let \(M\) be an object of \(D(A, \text{d})\). Then the following are equivalent

  1. \(M = \text{hocolim} E_n\) with \(E_n\) compact in \(D(A, \text{d})\), and

  2. \(H^i(M)\) is countable for each \(i\).

Proof

Assume (1) holds. Then we have \(H^i(M) = \colim H^i(E_n)\) by Derived Categories, Lemma 0CRK. Thus it suffices to prove that \(H^i(E_n)\) is countable for each \(n\). By Proposition 09R3 we see that \(E_n\) is isomorphic in \(D(A, \text{d})\) to a direct summand of a differential graded module \(P\) which has a finite filtration \(F_\bullet\) by differential graded submodules such that \(F_jP/F_{j - 1}P\) are finite direct sums of shifts of \(A\). By assumption the groups \(H^i(F_jP/F_{j - 1}P)\) are countable. Arguing by induction on the length of the filtration and using the long exact cohomology sequence we conclude that (2) is true. The interesting implication is the other one.

We claim there is a countable differential graded subalgebra \(A' \subset A\) such that the inclusion map \(A' \to A\) defines an isomorphism on cohomology. To construct \(A'\) we choose countable differential graded subalgebras \[A_1 \subset A_2 \subset A_3 \subset \ldots\] such that (a) \(H^i(A_1) \to H^i(A)\) is surjective, and (b) for \(n > 1\) the kernel of the map \(H^i(A_{n - 1}) \to H^i(A_n)\) is the same as the kernel of the map \(H^i(A_{n - 1}) \to H^i(A)\). To construct \(A_1\) take any countable collection of cochains \(S \subset A\) generating the cohomology of \(A\) (as a ring or as a graded abelian group) and let \(A_1\) be the differential graded subalgebra of \(A\) generated by \(S\). To construct \(A_n\) given \(A_{n - 1}\) for each cochain \(a \in A_{n - 1}^i\) which maps to zero in \(H^i(A)\) choose \(s_a \in A^{i - 1}\) with \(\text{d}(s_a) = a\) and let \(A_n\) be the differential graded subalgebra of \(A\) generated by \(A_{n - 1}\) and the elements \(s_a\). Finally, take \(A' = \bigcup A_n\).

By Lemma 09S6 the restriction map \(D(A, \text{d}) \to D(A', \text{d})\), \(M \mapsto M_{A'}\) is an equivalence. Since the cohomology groups of \(M\) and \(M_{A'}\) are the same, we see that it suffices to prove the implication (2) \(\Rightarrow\) (1) for \((A', \text{d})\).

Assume \(A\) is countable. By the exact same type of argument as given above we see that for \(M\) in \(D(A, \text{d})\) the following are equivalent: \(H^i(M)\) is countable for each \(i\) and \(M\) can be represented by a countable differential graded module. Hence in order to prove the implication (2) \(\Rightarrow\) (1) we reduce to the situation described in the next paragraph.

Assume \(A\) is countable and that \(M\) is a countable differential graded module over \(A\). We claim there exists a homomorphism \(P \to M\) of differential graded \(A\)-modules such that

  1. \(P \to M\) is a quasi-isomorphism,

  2. \(P\) has property (P), and

  3. \(P\) is countable.

Looking at the proof of the construction of P-resolutions in Lemma 09KP we see that it suffices to show that we can prove Lemma 09KN in the setting of countable differential graded modules. This is immediate from the proof.

Assume that \(A\) is countable and that \(M\) is a countable differential graded module with property (P). Choose a filtration \[0 = F_{-1}P \subset F_0P \subset F_1P \subset \ldots \subset P\] by differential graded submodules such that we have

  1. \(P = \bigcup F_pP\),

  2. \(F_iP \to F_{i + 1}P\) is an admissible monomorphism,

  3. isomorphisms of differential graded modules \(F_iP/F_{i - 1}P \to \bigoplus_{j \in J_i} A[k_j]\) for some sets \(J_i\) and integers \(k_j\).

Of course \(J_i\) is countable for each \(i\). For each \(i\) and \(j \in J_i\) choose \(x_{i, j} \in F_iP\) of degree \(k_j\) whose image in \(F_iP/F_{i - 1}P\) generates the summand corresponding to \(j\).

Claim: Given \(n\) and finite subsets \(S_i \subset J_i\), \(i = 1, \ldots, n\) there exist finite subsets \(S_i \subset T_i \subset J_i\), \(i = 1, \ldots, n\) such that \(P' = \bigoplus_{i \leq n} \bigoplus_{j \in T_i} Ax_{i, j}\) is a differential graded submodule of \(P\). This was shown in the proof of Lemma 09R2 but it is also easily shown directly: the elements \(x_{i, j}\) freely generate \(P\) as a right \(A\)-module. The structure of \(P\) shows that \[\text{d}(x_{i, j}) = \sum\nolimits_{i' < i} x_{i', j'}a_{i', j'}\] where of course the sum is finite. Thus given \(S_0, \ldots, S_n\) we can first choose \(S_0 \subset S'_0, \ldots, S_{n - 1} \subset S'_{n - 1}\) with \(\text{d}(x_{n, j}) \in \bigoplus_{i' < n, j' \in S'_{i'}} x_{i', j'}A\) for all \(j \in S_n\). Then by induction on \(n\) we can choose \(S'_0 \subset T_0, \ldots, S'_{n - 1} \subset T_{n - 1}\) to make sure that \(\bigoplus_{i' < n, j' \in T_{i'}} x_{i', j'}A\) is a differential graded \(A\)-submodule. Setting \(T_n = S_n\) we find that \(P' = \bigoplus_{i \leq n, j \in T_i} x_{i, j}A\) is as desired.

From the claim it is clear that \(P = \bigcup P'_n\) is a countable rising union of \(P'_n\) as above. By construction each \(P'_n\) is a differential graded module with property (P) such that the filtration is finite and the successive quotients are finite direct sums of shifts of \(A\). Hence \(P'_n\) defines a compact object of \(D(A, \text{d})\), see for example Proposition 09R3. Since \(P = \text{hocolim} P'_n\) in \(D(A, \text{d})\) by Lemma 0CRL the proof of the implication (2) \(\Rightarrow\) (1) is complete.


  1. This may be nonstandard terminology.↩︎