Canonical: https://knowlpedia.com/algebra-homological/nine-lemma/

# Nine lemma (3×3 lemma)

In a commutative 3×3 diagram in an abelian category, exact columns and two exact rows force the remaining row to be exact.

Let \(\mathcal A\) be an [abelian category](https://knowlpedia.com/algebra-category-theory/abelian-category/). Consider a commutative \(3\times 3\) diagram
\[
\begin{array}{ccccccccc}
0 &\to& A' &\xrightarrow{}& A &\xrightarrow{}& A'' &\to& 0\\
&& \downarrow && \downarrow && \downarrow && \\
0 &\to& B' &\xrightarrow{}& B &\xrightarrow{}& B'' &\to& 0\\
&& \downarrow && \downarrow && \downarrow && \\
0 &\to& C' &\xrightarrow{}& C &\xrightarrow{}& C'' &\to& 0
\end{array}
\]
If the three columns and the first two rows are [exact](https://knowlpedia.com/algebra-category-theory/exact-sequence-categorical/), then the third row
\[
0\to C' \to C \to C'' \to 0
\]
is exact. Dually, exact rows together with two exact columns force the remaining column to be exact.

## Remarks

The lemma can be proved by a diagram chase using the [snake lemma](https://knowlpedia.com/algebra-homological/snake-lemma/), or by a kernel–cokernel argument in the abelian category.
