Introduction to DG Categories
Introduction to DG Categories
Contents
1. Introduction 1
2. Preliminaries 2
2.1. The definitions and examples 2
2.2. Tensor products and functor categories 3
3. The category of dg modules 5
3.1. DG modules 5
3.2. The suspension and cones 6
3.3. DG bimodules 7
4. The derived category 7
4.1. The definitions and resolutions 7
4.2. Derived functors and recollements 8
5. The dg quotient category 9
5.1. The construction of Drinfeld 9
5.2. An example 10
6. Exact dg categories 11
6.1. The suspensions and cones in general 11
6.2. The definition 12
7. The dg quotient vs Verdier quotient 13
7.1. A triangle equivalence 13
7.2. A sketched proof 14
References 16
1. Introduction
Why dg categories? There are two levels of reasons!
Level One.
Level Two.
The main references are [5, 4, 7]. This note might serve as a preparation to read
the survey [7]. The dg quotient category is introduced in [6, 4]. We work over a
commutative ring k.
2. Preliminaries
In this section, we recall basic facts on dg categories.
2.1. The definitions and examples.
Definition 2.1.1. A dg category A is a category subject to
• obj(A): usually denoted by x, y, z · · ·
• each Hom set A(x, y) is a complex, denoted by
M
A(x, y) = ( A(x, y)p , dA ).
p∈Z
p
The element f ∈ A(x, y) is homogeneous of degree p with the notation
|f | = p,
such that the composition
A(y, z) ⊗ A(x, y) −→ A(x, z)
is a chain map. In more details, for any homogeneous morphisms f : x → y and
g : y → z, we have
|g ◦ f | = |g| + |f | and dA (g ◦ f ) = dA (g) ◦ f + (−1)|g| g ◦ dA (f ).
Remark 2.1.2. (1) A nice exercise: each identity endomorphism 1x is homo-
geneous of degree zero satisfying dA (1x ) = 0.
(2) The complex A(x, y) is sometimes denoted by HomA (x, y), the Hom-complex.
In a dg category A, a homogeneous morphism f is closed provided that dA (f ) =
0; a dg isomorphism means a closed isomorphism of degree zero.
We will later omit the word “homogeneous” by the following convention.
Proof. For the fullness, just notice that a commutative square in H 0 (A) is given
by a square in Z 0 (A), which is commutative up to homotopy.
dA (u) 0
Take two morphisms in the kernel ideal: : (x, y; a) → (x′ , y ′ ; a′ )
h dA (v)
dA (u′ )
0
and : (x′ , y ′ ; a′ ) → (x′′ , y ′′ ; a′′ ). Using dA (h) = dA (v) ◦ a − a′ ◦
h′ dA (v ′ )
dA (u) and dA (h′ ) = dA (v ′ ) ◦ a′ − a′′ ◦ dA (u′ ), we have
dA (u′ ) −dA (u′ ) ◦ u
0 dA (u) 0 0
◦ = d ,
h′ dA (v ′ ) h dA (v) h̃ v ′ ◦ dA (v)
where h̃ = v ′ ◦ h − h′ ◦ u + v ′ ◦ a′ ◦ u.
3.1. DG modules.
Definition 3.1.1. A left dg A-module is a dg functor M : A → Cdg (k). The
dg category of left dg A-modules is given by A-DGMod = Hom(A, Cdg (k)). The
Hom-complex between two dg modules M and M ′ is denoted by HomA (M, M ′ ).
By definition, a right dg A-module is a left dg Aop -module. Then we have the
dg category DGMod-A of right dg A-modules.
By default, modules are left modules. Later, we will justify the following view-
point.
Example 3.1.3. For each object y, the free dg A-module A(y, −) is identified with
L
x∈obj(A) A(y, x), whose left A-action is given by the composition of morphisms.
We observe that in general, A(y, −) is not a projective object in the abelian category
Z 0 (A-DGMod).
For each A M , we have a canonical isomorphism of complexes
3.2. The suspension and cones. As we will see, the dg category A-DGMod has
rich structures: the suspension dg functor and functorial cones.
For a complex X, we denote by Σ(X) the suspended complex: Σ(X)p = X p+1
and dΣ(X) = −dX . For each element x ∈ X p+1 , the corresponding element in
Σ(X)p will be denoted by Σ(x), meaning that |Σ(x)| = |x| − 1.
WARNING: Σ(x) is just a symbol to remember the change of degrees, and is
not induced by any action on X!
For A M , we have the suspended dg module Σ(M ) defined as follows: as com-
plexes, Σ(M )(x) = Σ(M (x)) for each object x, and the new A-action is given
by
a.Σ(m) = (−1)|a| Σ(a.m)
for m ∈ M (x) and a ∈ A(x, y). For each morphism f : M → M ′ between dg
modules, we set Σ(f ) : Σ(M ) → Σ(N ) by Σ(f )x = (−1)|f | fx . Then we have the dg
endofunctor
Σ : A-DGMod −→ A-DGMod,
called the suspension dg functor.
For a closed morphism f : M → M ′ of degree zero, its mapping cone Cone(f )
is the dg A-module defined as follows: as a graded A-module, we have Cone(f ) =
M ′ ⊕ Σ(M ); the differential is given such that Cone(f )(x) = Cone(fx ). In other
words,
dM ′ f
dCone(f ) = .
0 dΣ(M)
Here, we implicitly use the identification Σ(M ) with M , and obtain f : Σ(M ) =
M → M ′ . The identification Σ(M ) → M is actually a closed isomorphism of degree
one. This will be clearer in the general consideration later.
The following diagram
(10) (0,1)
(3.2.1) M′ h / Cone(f ) / Σ(M )
j
(1,0) (01)
is a biproduct in the category of graded A-modules. The solid arrows are closed
morphisms, and the dotted arrows in general are not closed.
AN INFORMAL INTRODUCTION TO DG CATEGORIES 7
3.3. DG bimodules.
Definition 3.3.1. A dg A-B-bimodule is a dg functor X : A ⊗ B op → Cdg (k). The
complex X(u ⊗ y) is usually denoted by X(y, u) for u ∈ obj(A) and y ∈ obj(B).
Consequently, X(y, −) is a left dg A-module and X(−, u) is a right dg B-module.
Remark 3.3.2. The dg bimodule A XB might be viewed as a bunch of left dg A-
modules indexed by obj(B), and in the same time a bunch of right dg B-modules
indexed by obj(A). Strictly speaking, the notations A X and XB are not well-
defined.
Example 3.3.3. For a dg functor F : A → B, we have the dg A-B-bimodule F B1
given by: F B1 (y, u) = B(y, F (u)). Similarly, we have the dg B-A-bimodule 1 BF .
For a dg A-B-bimodule X, we have the Hom dg functor
HomA (X, −) : A-DGMod −→ B-DGMod.
The left dg B-module HomA (X, M ) is described as follows: for y ∈ obj(B), we have
Hom
L A (X, M )(y) = HomA (X(y, −), M ), so, it is identified with the formal sum
y∈obj(B) HomA (X(y, −), M ); the left B-action on HomA (X, M ) is induced by the
right B-action on X, that is, for a morphism b : y → y ′ in B, f : X(y, −) → M and
x ∈ X(y ′ , −), we have
(b.f )(x) = (−1)|b|·(|f |+|x|)f (x.b).
The tensor dg functor is given by
X ⊗B − : B-DGMod −→ A-DGMod.
L
Here, the tensor product X ⊗B N is identified with u∈obj(A) X(−, u) ⊗B N . The
complex X(−, u) ⊗B N is defined by
(⊕y∈obj(B) X(y, u) ⊗ N (y))/hx.b ⊗ n − x ⊗ [Link].
We observe a dg isomorphism
X ⊗B B(y, −) ≃ X(y, −)
of left A-modules.
Lemma 3.3.4. There is a canonical isomorphism of complexes
HomA (X ⊗B N, M ) −→ HomB (N, HomA (X, M )).
Remark 5.1.5. In view of [7, Theorem 4.11 (iii)], there is an exact sequence
j π
B −→ A −→ A/B
in Hmo, the homotopy category of small dg categories with respect to the Morita-
model structures. We mention that Hmo is equivalent to a full subcategory of
Hodgcat.
5.2. An example. We assume that k is a field. Let A be an ordinary k-algebra.
Fix a set {Pi | i ∈ Λ} of two-term complexes of finitely generated projective right
A-modules. Denote by π : A → B the universal localization.
b
The complexes {Pi | i ∈ Λ} form a full dg subcategory B of Cdg (Aop -proj).
b op
Denote by Γ the dg endomorphism algebra of AA in Cdg (A -proj)/B.
Proposition 5.2.1. There is a recollement
u t
D(Γ) i / D(A-Mod) / D(B),
j
Consequently, Γ is non-positively graded with H 0 (Γ) ≃ B. Furthermore, π is a
homological epimorphism if and only if Γ is quasi-isomorphic to B.
AN INFORMAL INTRODUCTION TO DG CATEGORIES 11
6. Exact dg categories
In this section, we justify the following fact: dg categories have functorial cones.
Indeed, an exact dg category has intrinsic suspensions and cones.
6.1. The suspensions and cones in general. The following notions are taken
from [2, Section 3].
Definition 6.1.1. For x ∈ obj(A), its suspension means an object x′ together with
a closed isomorphism ξx : x′ → x of degree one. Notation: x′ = Σ(x), as it is unique
up to a unique dg isomorphism.
Lemma 6.1.2. An object y is dg isomorphic to Σ(x) if and only if A(−, y) is dg
isomorphic to ΣA(−, x), as a right dg A-module.
Proof. A(−, y) ≃ ΣA(−, x) if and only if there is a closed isomorphism A(−, y) ≃
A(−, x) of degree one. Now, use the Yoneda embedding A ֒→ DGMod-A.
Assume that each object has a suspension. Then we have a fully faithful dg
functor
Σ : A −→ A, x 7→ Σ(x).
For a morphism a : x → y, we have Σ(a) = (−1)|a| (ξy )−1 ◦ a ◦ ξx . We call Σ the
suspension dg functor.
Let f : x → y be a morphism in Z 0 (A). Assume that ξx : Σ(x) → x is the chosen
isomorphism.
Definition 6.1.3. The cone of f is defined to be an object Cone(f ) together with
a diagram
j p
yg / Cone(f ) / Σ(x)
j
t s
such that
(C1) the diagram is a biproduct in A0 , the underlying category with morphisms
of degree zero;
(C2) d(j) = 0 = d(p);
(C3) f = t ◦ d(s) ◦ ξx−1 = −d(t) ◦ s ◦ ξx−1 .
Remark 6.1.4. (1) Assume (C1) and (C2). A nice exercise: prove that (C3)
is equivalent to any of the following identities: d(s) = j ◦ f ◦ ξx , d(t) =
−f ◦ ξx ◦ p.
(2) The cone is unique up to a unique dg isomorphism. We refer to [8, Sub-
section 2.4, the second paragraph] for a characterization of Cone(f ) using
a pair of maps with a universal property.
12 XIAOFA CHEN, XIAO-WU CHEN
6.2. The definition. The following notion, due to [6, Section 2], should be central.
Definition 6.2.1. A dg category A is exact provided that
(1) each object has a suspension, and Σ : A → A is dg dense;
(2) each closed morphism of degree zero has a cone.
Exact dg categories are also called strongly pretriangulated dg categories; see
Remark 7.1.4 and compare Definition 7.1.3.
Lemma 6.2.2. The dg category A is exact if and only if the essential image of the
Yoneda embedding A ֒→ DGMod-A is closed under Σ±1 and cones.
Proof. We use Lemmas 6.1.2 and 6.1.5.
The following fact justifies the importance of exact dg categories; see [6, Lemma 2.3].
Proposition 6.2.3. Let A be an exact dg category. Then Z 0 (A) has a canonical
Frobenius exact structure, whose stable category coincides with H 0 (A). Therefore,
H 0 (A) is canonically triangulated.
Furthermore, let F : A → B be a dg functor between two exact dg categories.
Then Z 0 (F ) : Z 0 (A) → Z 0 (B) is an exact functor preserving projective objects.
Consequently, H 0 (F ) : H 0 (A) → H 0 (B) is naturally a triangle functor.
Proof. We observe Z 0 (A) is a full subcategory of Z 0 (DGMod-A). Each conflation
in Z 0 (A) is given by a sequence x → e → y, which is a part of a biproduct in A0 .
We observe that H 0 (A) ⊆ perf (Aop ) is a triangulated subcategory.
The second statement follows immediately, since everything is intrinsic.
AN INFORMAL INTRODUCTION TO DG CATEGORIES 13
Remark 6.2.7. The “correct” statement for the universal property is as follows;
see [7, Subsection 4.5]: for any dg category B, there is a dg equivalence
∼
Hom(Apretr , B) −→ Hom(A, B), G 7→ GcanA .
The following easy fact is useful.
Lemma 6.2.8. Assume that j : B → A is a fully-faithful dg functor such that j pretr
is a dg equivalence. Then the restriction functor
res: D(A) −→ D(B)
is a triangle equivalence.
The following notions, due to [1], are very convenient for the study of the homo-
topy category Hodgcat. By definition, Hodgcat is the localization of dgcat with
respect to quasi-equivalences.
Definition 7.1.3. (1) A dg category A is pretriangulated, if the canonical em-
bedding A → Apretr is a quasi-equivalence, or equivalently, H 0 (A) is a
triangulated subcategory of H 0 (DGMod-A) via the Yoneda embedding.
(2) A dg enhancement of a triangulated category T is a pretriangulated dg
category A together with a triangle equivalence E : T → H 0 (A).
Remark 7.1.4. Let us try to clarify the confusion of terminologies in the lit-
erature. Exact dg categories are called +-pretriangulated in [1, p.105, Remark],
strongly pretriangulated in [4, p.650] and [2, p.1475], and pretriangulated in [7,
Subsection 4.5]. The common terminology in Definition 7.1.3(1) is taken from [4,
p.650] and [2, p.1475].
Remark 7.1.5. (1) Let F : A → B be a quasi-equivalence. Then A is pretri-
angulated if and only if so is B.
(2) A triangulated category has a dg enhancement if and only if it is algebraic.
The uniqueness of dg enhancements is an active topic; see [3].
In practice, the following immediate consequence will be useful.
Corollary 7.1.6. Let A be a pretriangulated dg category and B ⊆ A an pretrian-
gulated dg full subcategory. Assume that HomA (x, U ) is homotopically flat for each
x ∈ obj(A) and U ∈ obj(B). Then A/B is pretriangulated. Moreover, the canonical
functor
∼
H 0 (A)/H 0 (B) −→ H 0 (A/B)
is an isomorphism between triangulated categories.
Proof. We identify H 0 (A) with Atr , H 0 (B) with B tr . For the isomorphism, we
mention that the canonical functor acts on objects by the identity.
As the bounded derived category of a module category is the central object in
homological algebra, the following concept should be central in dg categories: it
provides a canonical dg enhancement for the bounded derived category.
b
Example 7.1.7. Let E be an exact category. Denote by Cdg (E) the dg category
b,ac
of bounded complexes in E, and by Cdg (E) the dg subcategory formed by acyclic
complexes. Then the dg quotient
b,ac
Dbdg (E) = Cdg
b
(E)/Cdg (E)
is called the bounded dg derived category of E. By Corollary 7.1.6, under suitable
conditions, the category Dbdg (E) is pretriangulated, and we have an isomorphism of
triangulated categories
∼
Db (E) −→ H 0 (Dbdg (E)).
Therefore, the dg derived category canonically enhances the derived category.
7.2. A sketched proof. We now sketch the proof. For details, we refer to [4,
Section 8].
Proof of Theorem 7.1.1. It suffices to show that Φ is fully faithful. Furthermore,
it suffices to show that the natural map
ExtiAtr /Btr (x, y) −→ Exti(A/B)tr (x, y)
is an isomorphism for i ∈ Z, and x, y ∈ obj(A).
AN INFORMAL INTRODUCTION TO DG CATEGORIES 15
WARNING: Here, H i and colim can not commute, since Qy is a not filtered
category of morphisms in Z 0 (Apretr )!
colimα∈Qy H i Hom≥1
Apretr /B (x, z) = 0.
Using the filtration, the above equality follows from the following claim
Lemma 7.2.1. Let {Cα }α∈Λ be a filtered system of objects in K(k-Mod). As-
sume that colimα∈Λ H i (Cα ) = 0 for each i ∈ Z, and that F is a homotopically flat
complex. Then colimα∈Λ H i (Cα ⊗ F ) = 0 for each i ∈ Z.
References
[1] A.I. Bondal, and M.M. Kapranov, Enhanced triangulated categories, Mat. Sb. 181 (5)
(1990), 669–683.
[2] A.I. Bondal, M. Larsen, and V.A. Lunts, Grothendieck ring of pretriangulated categories,
IMRN 29 (2004), 1461–1495.
[3] A. Canonaco, and P. Stellari, A tour about existence and uniqueness of dg enhancements
and lifts, J. Geom. Phys. 122 (2017), 28–52.
[4] V. Drinfeld, DG quotients of DG categories, J. Algebra 272 (2) (2004), 643–691.
[5] B. Keller, Derived DG categories, Ann. Sci. École Norm. Sup. (4) 27(1) (1994), 63–102.
[6] B. Keller, On the cyclic homology of exact categorues, J. Pure Appl. Algebra 136 (1) (1999),
1–56.
[7] B. Keller, On differential graded categories, International Congress of Mathematicians. Vol.
II, 151–190, Eur. Math. Soc., Zürich, 2006.
[8] B. Keller, Deformed Calabi-Yau completions, with an appendix by Michel Van den Bergh,
J. reine angew. Math. 654 (2011), 125–180.
[9] A. Kuznetsov, and V.A. Lunts, Categorical resolutions of irrational singularities, Inter.
Math. Res. Not. IMRN 13 (2015), 4536–4625.