[step:Verify that the mapping cone differential squares to zero]
Fix $n \in \mathbb{Z}$ and let $(y,x) \in D_n \oplus C_{n-1}$. Since $f: C \to D$ is a chain map, the degree $n-1$ chain map identity is
\begin{align*}
d_{D,n-1} \circ f_{n-1} = f_{n-2} \circ d_{C,n-1}.
\end{align*}
Using the definition of $d_{\operatorname{Cone}(f)}$, we compute
\begin{align*}
d_{\operatorname{Cone}(f),n-1}\bigl(d_{\operatorname{Cone}(f),n}(y,x)\bigr)
&= d_{\operatorname{Cone}(f),n-1}\bigl(d_{D,n}(y) + f_{n-1}(x), -d_{C,n-1}(x)\bigr) \\
&= \bigl(d_{D,n-1}(d_{D,n}(y) + f_{n-1}(x)) + f_{n-2}(-d_{C,n-1}(x)), \\
&\qquad\qquad -d_{C,n-2}(-d_{C,n-1}(x))\bigr) \\
&= \bigl(d_{D,n-1}d_{D,n}(y) + d_{D,n-1}f_{n-1}(x) - f_{n-2}d_{C,n-1}(x), \\
&\qquad\qquad d_{C,n-2}d_{C,n-1}(x)\bigr) \\
&= (0,0).
\end{align*}
The last equality uses $d_D^2 = 0$, $d_C^2 = 0$, and $d_{D,n-1}f_{n-1} = f_{n-2}d_{C,n-1}$. Hence $\operatorname{Cone}(f)$ is a chain complex.
[/step]