Definition (chain homotopy)

Let $f_\bullet, g_\bullet: C_\bullet\to D_\bullet$ be chain maps.

A chain homotopy from $f_\bullet$ to $g_\bullet$ is a sequence of homomorphisms $h_n: C_n\to D_{n+1}$ such that $$ \begin{align*} g_n - f_n = d_{n+1} \circ h_n + h_{n-1}\circ d_{n}. \end{align*} $$

We write $f_\bullet \simeq g_\bullet$ if such a chain homotopy exists.

This is not a commutative diagram:

Illustration

$\simeq$ is an equivalence relation on the set of chain maps.

If $f_\bullet\simeq g_\bullet$, then $a_\bullet \circ f_\bullet \simeq a_\bullet \circ g_\bullet$ and $f_\bullet \circ b_\bullet \simeq g_\bullet \circ b_\bullet$ for chain maps $a_\bullet: D_\bullet\to A_\bullet$ and $b_\bullet: B_\bullet \to C_\bullet$.