Definition (chain complex, differential, homology, chain map)

A chain complex $C_\bullet$ is a sequence $C_0, C_1, C_2, \ldots$ of abelian groups equipped with homomorphisms $$ \begin{align*} C_0 \xleftarrow{d_1} C_1\xleftarrow{d_2} C_2 \xleftarrow{d_3} \ldots \end{align*} $$ called differentials such that $$ \begin{align*} d_{n-1} \circ d_n = 0, \end{align*} $$

Write $Z_n(C_\bullet) = \ker d_n$ for the abelian group of $n$-cycles in $C_\bullet$, and $B_n(C_\bullet) = \im d_{n+1}$ for the abelian group of $n$-boundaries in $C_\bullet$. The $n$-th homology of $C_\bullet$ is $$ \begin{align*} H_n(C_\bullet) = Z_n(C_\bullet) / B_n(C_\bullet) = (\ker d_n) / (\im d_{n+1}). \end{align*} $$

A chain map $f_\bullet: C_\bullet \to D_\bullet$ is a sequence of homomorphisms $f_n: C_n\to D_n$ such that $f_{n} \circ d_{n+1} = d_n \circ f_{n+1}$, i.e. there is a commutative diagram: