Let be an additive category. A chain complex in is a sequence of morphisms
such that for all .
A chain complex is often notated simply as and the morphisms in the complex are sometimes generically all denoted , so long as no confusion will arise. In that scenario, we can write simply .
Definition of morphism of chain complexes
Let and be two chain complexes in an additive category . A morphism of chain complexes (or chain map) is a collection of morphisms such that all diagrams as below commute:
Chain maps are often denoted (or even simply , if there is no risk of confusion). Chain complexes with chain maps between them form a category, called the category of chain complexes in , denoted (or simply ). In fact, it's not just an arbitrary category ...
The category of chain complexes is abelian
If is an abelian category, then so is .
At some point this note will be updated with a proof of this result. For future reference, the kernel of a chain map is the complex of degree-wise kernels, which we may as well denote . Similarly, the cokernel of a chain map is the complex of degree-wise cokernels.
With this in mind, it's reasonable to consider chain complexes in . These are the classical double chain complexes in , usually simply called double complexes. These will be critical to the various diagram lemmas one encounters when studying chain complexes.
Common terminology
Due to the historical roots of the concept, there are a variety of unusual terms frequently used when dealing with chain complexes.
The morphisms are often called differentials or boundary maps.
The elements of (assuming is a concrete category) are called -chains.
The elements of are called -cycles.
The elements of are called -boundaries.
Warning
For an abstract abelian category, one can argue that these names are inappropriate, in so much as they are evocative of certain geometric features that have no context or interpretation in an abstract abelian category. As such, I tend to avoid their use.
Notice that because of the condition there are inclusions
The quotient
can be thought of as a measure how how far away the chain complex is from being exact at . It is called the degree- chain homology of and is often denoted .
Chain morphisms respect boundaries, cycles, and homology
Suppose is a chain map. Then for every index the map restricts to morphisms
and
In particular, it induces a morphism on chain homology
These are not deep facts. For example, suppose . Then by the commutativity of the square with at the top-left corner we have
hence . This implies that and so restricts to a morphism . This is the morphism labeled , above. The same type of argument shows that restricts to a morphism , which is the morphism , above.
Finally, consider the composition of the morphisms below, where the second map is the canonical projection onto the quotient:
By the same logic used to prove restricts to a morphism , the subobject of is contained in , which is in turn contained in the kernel of . By the universal property of the quotient we therefore have a unique factorization
This is how we obtain the morphism $H_n(f)$ in the above fact.
Easier than it looks
Despite all of the names of the various objects and maps, every map above is essentially either , or projection onto a quotient. For example, the homology morphism maps each coset to the coset . The above diagrams are just a formal way of verifying this map is a well defined morphism. (They also outline a strategy to produce such morphisms even in categories in which the objects are not sets.)
Cochain complexes
Definition of cochain complex
A cochain complex in an additive category is a chain complex in . In other words, it is a sequence of morphisms
such that for all .
In terms of abstract category theory there is no reason to distinguish between chain complexes and cochain complexes, since the difference is entirely in the notation. Historically, however, the two developed separately and so were distinguished with different notation.