Snake lemma
The snake lemma is a fundamental result in homological algebra that produces a long exact sequence from a commutative diagram of two short exact sequences in an abelian category, such as the category of abelian groups or modules over a ring.[1] Specifically, given a commutative diagramwith vertical maps \alpha: A \to A', \beta: B \to B', and \gamma: C \to C', the lemma guarantees the exactness of the sequence $0 \to \ker \alpha \to \ker \beta \to \ker \gamma \xrightarrow{\delta} \coker \alpha \to \coker \beta \to \coker \gamma \to 0, where \delta is a connecting homomorphism constructed via a diagram chase that traces a "snake-like" path through the kernels and cokernels.[2] This connecting map \delta is natural and functorial, ensuring the sequence respects the categorical structure.[1] The lemma's power lies in its ability to link the homological properties of the top and bottom rows. It serves as a cornerstone for deriving longer exact sequences in contexts like sheaf cohomology, algebraic topology, and derived categories, where repeated applications (via the "snake" or "zigzag" lemma) build infinite exact sequences from finite data.[1] Variants extend to chain complexes, but the classical form assumes abelian categories to ensure the exactness of the induced sequence.[2]0 → A → B → C → 0 ↓ ↓ ↓ 0 → A'→ B'→ C'→ 00 → A → B → C → 0 ↓ ↓ ↓ 0 → A'→ B'→ C'→ 0