The Stacks project, tag 0BZ1, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/0BZ1
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 \[\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 22.34.1 (0BZ3) official page ↗
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 (22.34.0.1) 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 22.33.2 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
if \(T\) holds for \(M_i\) then \(T\) holds for \(\bigoplus M_i\),
if \(T\) holds for \(2\)-out-of-\(3\) in a distinguished triangle, then it holds for the third, and
\(T\) holds for \(A[k]\) because here we obtain a shift of the map (22.34.0.1) which we have assumed is an isomorphism.
Thus by Remark 22.22.5 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 \[\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 22.34.2 (0BZ5) official page ↗
Let \(R\) be a ring. Let \((A, \text{d})\), \((B, \text{d})\), and \((C, \text{d})\) be differential graded \(R\)-algebras. Assume that (22.34.1.1) 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 22.33.3 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 22.28.4. 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 22.34.1.
Let \(F_\bullet\) be the filtration on \(N\) as in property (P) for bimodules. By Lemma 22.28.5 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 22.33.2. 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 (22.34.1.1) in \(D(C, \text{d})\) and the proof is complete.
Lemma 22.34.3 (09S4) official page ↗
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 (22.34.1.1) is an isomorphism and the conclusion of Lemma 22.34.2 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 15.60.2.