# nLab salamander lemma

### Context

#### Homological algebra

homological algebra

and

nonabelian homological algebra

diagram chasing

# Contents

## Idea

The salamander lemma is a fundamental lemma in homological algebra providing information on the relation between homology groups at different positions in a double complex.

By a simple consequence illustrated in remark 3 below, all the standard diagram chasing lemmas of homological algebra are direct and transparent consequences of this lemma, such as the 3x3 lemma, the four lemma, hence the five lemma, the snake lemma, and the long exact sequence in cohomology corresponding to a short exact sequence.

These lemmas are old and classical, but their traditional proofs are, while elementary, not very illuminating. The Salamander lemma serves to make the mechanism behind these lemmas more transparent and also make evident a host of further lemmas of this kind not traditionally considered, such as an nxn lemma for all $n \in \mathbb{N}$.

## The Salamander lemma

The Salamander lemma, prop. 1 below, is a statement about the exactness of a sequence naturally associated with any morphism in a double complex. In the Preliminaries we first introduce this sequence itself.

### Preliminaries

###### Remark

(general assumption/convention)

As always in homological algebra, when we consider elements of objects in the abelian category $\mathcal{A}$ it is either assumed that $\mathcal{A}$ is of the form $R$Mod for some ring $R$, or that one of the Embedding theorems has been used to embed it into such, by a faithful and exact functor, and these elements are actual elements of the sets underlying these modules. In the following many of the proofs are spelled out in terms of elements this way and we will not always repeat this assumption. This should help to amplify how utterly elementary the salamander lemma is. But explicitly element-free/general abstract proofs can of course be given with not much more effort, too, see (Wise).

###### Definition

Let $A_{\bullet \bullet}$ a double complex in some abelian category $\mathcal{A}$, hence a chain complex of chain complexes $A_{\bullet, \bullet} \in Ch_\bullet(Ch_\bullet(\mathcal{A}))$, hence a diagram of the form

$\array{ && \vdots && \vdots \\ & & \downarrow^{\mathrlap{\partial^{vert}}} && \downarrow^{\mathrlap{\partial^{vert}}} \\ \cdots &\to & A_{n,m} &\stackrel{\partial^{hor}}{\to}& A_{n-1,m} & \to & \cdots \\ & & \downarrow^{\mathrlap{\partial^{vert}}} && \downarrow^{\mathrlap{\partial^{vert}}} \\ \cdots &\to & A_{n,m-1} &\stackrel{\partial^{hor}}{\to}& A_{n-1,m-1} & \to & \cdots \\ & & \downarrow^{\mathrlap{\partial^{vert}}} && \downarrow^{\mathrlap{\partial^{vert}}} \\ && \vdots && \vdots }$

where $\partial^{hor} \circ \partial^{hor} = 0$, where $\partial^{vert} \circ \partial^{vert} = 0$ and where all squares commute, $\partial^{hor} \circ \partial^{vert} = \partial^{vert} \circ \partial^{hor}$.

Let $A \coloneqq A_{k l}$ be any object in the double complex at any position $(k,l)$. This is the source and target of horizontal, vertical and diagonal (unique composite of a horizontal and a vertical) morphisms to be denoted as follows:

$\array{ \searrow^{\mathrlap{\partial_{in}^{diag}}} & \downarrow^{\mathrlap{\partial_{in}^{vert}}} \\ \stackrel{\partial_{in}^{hor}}{\to} & A & \stackrel{\partial_{out}^{hor}}{\to} \\ & \downarrow^{\mathrlap{\partial_{out}^{vert}}} & \searrow^{\mathrlap{\partial_{out}^{diag}}} } \,.$

Define

• $A^{hor} \coloneqq ker (\partial^{hor}_{out}) / im (\partial^{hor}_{in}) \in \mathcal{A}$ – the horizontal chain homology at $X$;

• $A^{vert} \coloneqq ker (\partial^{vert}_{out}) / im (\partial^{vert}_{in}) \in \mathcal{A}$ – the vertical chain homology at $X$;

• ${}^{\Box}A \coloneqq \frac{ker (\partial^{hor}_{out}) \cap ker(\partial^{vert}_{out})}{im(\partial^{diag}_{in})} \in \mathcal{A}$ – the “receptor” at $A$;

• $A_{\Box}\coloneqq \frac{ker (\partial^{diag}_{out}) }{ im(\partial^{hor}_{in}) \oplus im(\partial^{vert}_{in})}$ – the “donor” at $A$;

where $ker(-)$ denotes the kernel of a map, $im(-)$ the image of a map and $\frac{N_1}{N_2}$ the quotient module of the module $N_1$ by a submodule $N_2 \hookrightarrow N_1$ and $N_1 \oplus N_2$ the direct sum of two modules.

###### Lemma

The identity on representatives in $A$ induces a commuting diagram of homomorphisms from the donor of $A$ to the receptor of $A$, def. 1, via the horizontal and vertical homology groups at $A$:

$\array{ && {}^\Box A \\ & \swarrow && \searrow \\ A^{vert} &&&& A^{hor} \\ & \searrow && \swarrow \\ && A_\Box \,. }$

These morphisms are to be called the intramural maps of $A$.

This is immediate, but here is a way to make it fully explicit:

###### Proof

The statement that the top two morphisms exist and are given by the identity on representatives is that if $[a] \in {}^\Box A$ is represented by $a \in A$, then $a$ also represents an element in $A^{hor}$ and $A^{vert}$. But this is the very definition of ${}^\Box A$: being a quotient module of $ker(\partial^{vert}_{out}) \cap ker(\partial^{hor}_{out})$ means that its elements are represented by elements of $A$ that are annihiliated by both $\partial^{vert}_{out}$ and $\partial^{hor}_{out}$. Moreover if $[a] \in {}^\Box A$ is 0 then $a$ also represents the 0-element in $A^{hor}$ and in $A^{vert}$, because by definition of ${}^\Box A$ it is then in the image of $\partial^{hor} \circ \partial^{vert} = \partial^{vert} \circ \partial^{hor}$. Moreover it is clear that everything respects addition of module elements and the action by the ring $R$, hence the top morphisms are well defined module homomorphisms.

Similarily the bottom two morphisms exist and are given by the identity on representatives by the very definition of $A_{\Box}$: this being a quotient of the kernel of $\partial^{vert} \partial^{hor} = \partial^{hor} \partial^{vert}$ it contains in particular the elements that are represented in $A$ by elements in the kernel of $\partial^{hor}$ and in the kernel of of $\partial^{vert}$ separately. And if $[a]$ is the 0-element in $A^{hor}$ or $A^{vert}$ then $a$ is in the image of $\partial^{hor}$ or of $\partial^{vert}$, respectively, and since these two images are quotiented out to obtain $A_{\Box}$, such $a$ also represent the 0-element there.

###### Remark

In lemma 1 “intramural” is meant to allude to the fact that these morphisms go between objects that all come from $A$ and hence remain “in the context of $A$”. The “extramural” maps to follow in lemma 2 below instead go from objects associated to some $A$ to objects associated to some $B$, so they go “out of the context of $A$”.

###### Lemma

For $\partial : A \to B$ is any morphism in the double complex (either horizontal or vertical), when applied to representatives in $A$ it induces a homomorphism

$A_\Box \to {}^\Box B$

from the donor of $A$ to the receptor of $B$, def. 1, to be called the extramural map associated with $\partial$.

Again this is immediate, but here is a way to make it explicit:

###### Proof

We discuss the case that $\partial = \partial^{hor}$ is a horizontal differential. The other case works verbatim the same way, only with the roles of $\partial^{hor}$ and $\partial^{vert}$ interchanged.

By definition 1, an $[a] \in A_{\Box}$ is represented by an $a \in A$ for which $\partial^{vert}\partial^{hor} a = 0$. The claim is that $\partial^{hor} a$ then represents an element in ${}^{\Box}B$ such that this is a module homomorphism.

• We have $\partial^{vert} (\partial^{hor} a) = 0$ by assumption on $a$ and $\partial^{hor} (\partial^{hor} a) = 0$ by the chain complex property. Hence $\partial^{hor} a$ represents an element in ${}^{\Box} B$.

• If $[a] = 0$ then there is $c$ such that $a = \partial^{hor} c$ or $d$ such that $a = \partial^{vert} d$. In the first case the chain complex property gives that $\partial^{hor}a = \partial^{hor}\partial^{hor}c = 0$ and hence $[\partial^{hor} a] = 0$ in ${}^\Box B$, in the second $\partial^{hor}a = \partial^{hor}\partial^{vert} d$ which is also 0 in ${}^\Box B$ since this is the quotient by $im(\partial^{hor} \partial^{vert})$.

###### Remark

(central idea on diagram chasing)

It is useful in computations as those shown below in Implications - The diagram chasing lemmas to draw the extramural morphisms of lemma 2 as follows.

1. For a horizontal $\partial^{hor} : A \to B$ we draw the induced extramural map as

$\array{ &&& \Box \\ A && \nearrow & & B \\ & \Box } \,.$
2. For a vertical $\partial^{vert} : A \to B$ we draw the induced extramural map as

$\array{ & A \\ && \Box \\ & \swarrow \\ \Box \\ & B }$

This notation makes it manifest that in every double complex $X_{\bullet, \bullet}$ the extramural maps form long diagonal zigzags between donors and receptors

$\array{ && &&&&&&&& \udots \\ && &&&&& X_{k+1, l} && \nearrow \\ && &&&&&& \Box \\ && &&&&& \swarrow \\ && &&&& \Box \\ && &X_{k,l+1} && \nearrow & & X_{k,l} \\ && && \Box \\ && &\swarrow \\ && \Box \\ & \nearrow & & X_{k-1, l+1} \\ \udots } \,.$

But moreover, the intramural maps relate the donors and receptors in particular at the far end of these zigzags back to the actual homology groups of interest:

$\array{ && && && &&&&&&&& & \Box \\ && && && &&&&& && & \udots && B \\ && && && &&&&& X_{k+1, l} && \nearrow & && & \searrow \\ && && && &&&&& & \Box && && & & B^{hor} \\ && & & && &&&&& \swarrow \\ && & & && &&&& \Box \\ && & & && &X_{k,l+1} && \nearrow & & X_{k,l} \\ && & & && && \Box \\ && & & && &\swarrow \\ A^{hor} && & & && \Box \\ &\searrow & & & & \nearrow & & X_{k-1, l+1} \\ && A & & \udots \\ && & \Box } \,.$

This means that in order to get “far diagonal identifications” of homology groups in a double complex, all one needs is sufficient conditions that all the intramural and extramural maps in a “long salamander” like this are all isomorphisms.

These turn out to be certain exactness conditions to be checked/imposed locally at each of the positions involved in a long salamander like this discussed in Intramural and extramural isomorphism below. All the long diagonal identifications of the standard diagram chasing lemmas follows by piecing together such long salamanders. This is discussed in the Implications below.

###### Remark

Morever, it is useful to combine the exramural notation of remark 3 with the evident diagonal notation for the intramural maps, lemma 1, which allow extramural maps to “enter at the receptor” and “exit at the donor” of a given entry in the double complex. Together these two notations yield for every piece of a double complex of the form

$\array{ C \\ \downarrow^{\mathrlap{\partial^{vert}}} \\ A &\stackrel{\partial^{hor}}{\to}& B \\ && \downarrow^{\mathrlap{\partial^{vert}}} \\ && D }$

the salamander-shaped diagrams of mural maps

$\array{ & C \\ && \Box \\ & \swarrow \\ \Box &&& & \Box \\ & A && \nearrow & & B \\ && \Box & && & \Box \\ &&&&& \swarrow \\ &&&& \Box \\ &&&&& D } \,.$

These give the salamander lemma, prop. 1 below, its name.

###### Lemma

For $\partial^{hor} : A \to B$ any horizontal morphism in the double complex, the canonically induced morphism $A^{vert} \to B^{vert}$ on vertical homology is the composite of the above intramural and extramural maps:

$A^{vert} \to A_{\Box} \to {}^\Box B \to B^{vert} \,.$
###### Proof

By the above, on representatives the first map is the identity, the second is $\partial^{hor}$ and the third again the identity. Hence the total map is given on representative by $\partial^{hor}$.

### Statement

###### Proposition

(Salamander lemma)

If a diagram

$\array{ C \\ \downarrow^{\mathrlap{\partial^{vert}}} \\ A &\stackrel{\partial^{hor}}{\to}& B \\ && \downarrow^{\mathrlap{\partial^{vert}}} \\ && D }$

is part of a double complex in an abelian category, then there is a 6-term long exact sequence running horizontally in

$\array{ && {}^\Box A \\ & \nearrow && \searrow \\ C_\Box &&\to&& A^{hor} &\to& A_{\Box} &\to& {}^{\Box} B &\to& B^{hor} &&\to&& {}^{\Box}D \\ && && && && && & \searrow && \nearrow \\ && && && && && && B_{\Box} } \,,$

where all the elementary morphisms are the unique intramural maps from lemma 1 and the extramural maps from lemma 2 – they are the morphisms of the salamander diagram of remark 4.

Dually, if a diagram

$\array{ C &\stackrel{\partial^{hor}}{\to}& A \\ && \downarrow^{\mathrlap{\partial^{vert}}} \\ && B &\stackrel{\partial^{hor}}{\to}& D }$

is part of a double complex, then there is a 6-term long exact sequence running horizontally in

$\array{ && {}^\Box A \\ & \nearrow & & \searrow \\ C_\Box &&\to&& A^{vert} &\to& A_{\Box} &\to& {}^\Box B &\to& B^{vert} &&\to&& {}^\Box D \\ && && && && && & \searrow && \nearrow \\ && && && && && && B_\Box } \,$

This is (Bergman, lemma 1.7).

###### Proof

We spell out the proof of the first case. That of the second case is verbatim the same, only with the roles of $\partial^{hor}$ and $\partial^{vert}$ interchanged.

By lemmas 1 and 2, all the maps are given on representatives either by identities or by the differentials of the double complex themselves. Using this we may check exactness at each position explicitly:

1. exactness at $C_\Box \to A^{hor} \to A_\Box$.

An element $[a] \in A^{hor}$ is in the kernel of $A^{hor} \to A_{\Box}$ if there is $c$ and $d$ such that $a = \partial^{vert}c + \partial^{hor} d$. The $c$ that satisfy this equation hence satisfy $\partial^{hor}\partial^{vert} c = 0$, hence represent elements in $C_\Box$ and so the map $\partial^{hor} : C_\Box \to A^{hor}$ hits all of the kernel of $A^{hor}\to A_\Box$. Also it clearly hits at most this kernel.

2. exactness at $A^{hor} \to A_\Box \to {}^\Box B$.

Suppose $[a] \in A_\Box$ is in the kernel of $A_\Box \to {}^\Box B$. This means that there is $c$ such that $\partial^{hor}a = \partial^{hor} \partial^{vert}c$, hence that $\partial^{hor} (a-\partial^{vert} c) = 0$. But $[a] = [a - \partial^{vert}c] \in A_{\Box}$ and so this says that $[a]$ is the image under $A^{hor} \to A_{\Box}$ of the element represented there by $a - \partial^{vert} c$. Conversely, clearly everything in that image is in the kernel of $A_\Box \to {}^\Box B$.

3. exactness at $A_\Box \to {}^\Box B \to B^{hor}$

An element $[b] \in {}^\Box B$ is in the kernel of ${}^\Box B \to B^{hor}$ if there is $a$ such that $\partial^{hor} a = b$. But since the representative $b$ of $[b] \in {}^\Box B$ has to satisfy in particular $\partial^{hor} b = 0$ it follows that $\partial^{hor} \partial^{vert}a = 0$ and hence that $a$ represents an alement in $A_{\Box}$, hence that $[b]$ is in the image of $A_{\Box} \to {}^{\Box }B$. Conversely, clearly every element in that image is in the kernel of ${}^\Box B \to B^{hor}$.

4. exactness at ${}^\Box B \to B^{hor} \to {}^\Box D$

An element $[b] \in B^{hor}$ is in the kernel of $B^{hor} \to {}^\Box D$ if there is $a$ with $\partial^{vert} b = \partial^{vert} \partial^{hor} a$, hence $\partial^{vert}(b - \partial^{hor}a) = 0$ Since in addition $\partial^{hor}(b - \partial^{hor}a) = 0$ by assumption on $b$ and the chain complex property, this says that $[b] = [b + \partial^{hor} a]$ is in the image of ${}^\Box B \to B^{hor}$. Moreover, clearly everything in this image is in the kernel of $B^{hor} \to {}^\Box D$.

### Intramural and extramural isomorphisms

The following two statements are direct concequences (special cases) of the salamander lemma, prop. 1. They give sufficient conditions for the intramural and the extramural maps, lemma 1 and lemma 2, to be isomorphisms. All of of the standard diagram chasing lemmas in homological algebra follow in a natural way from combining these intramural isomorphisms with long zigzags of thse extramural isomorphisms. This is discussed below in The basic diagram chasing lemmas.

###### Corollary

(extramural isomorphisms)

If the rows of a double complex are exact at the domain and codomain of a horizontal morphism $\partial^{hor} : A \to B$, hence if $A^{hor} = 0$ and $B^{hor} = 0$, then the extramural map of lemma 2

$A_{\Box} \to {}^\Box B$

is an isomorphism.

Similarly if for a vertical morphism $\partial : A \to B$ we have $A^{vert} \simeq 0$ and $B^{vert} \simeq 0$, the induced extramural map

$\array{ A_\Box \\ \downarrow \\ {}^\Box B }$

is an isomorphism.

This appears as (Bergman, cor. 2.1).

It is straightforward to check this directly on elements:

###### Proof

It is sufficient to show that under the given assumptions both the kernel and the cokernel of the given map are trivial. We discuss the horizontal case. The proof of the vertical case is verbatim the same, only with the roles of $\partial^{vert}$ and $\partial^{hor}$ exchanged.

Suppose an element $[a] \in A_{Box}$ is in the kernel of $\partial^{hor} : A_{\Box} \to {}^\Box B$. By definition of ${}^\Box B$ this means that there is $c$ such that $\partial^{hor} \partial^{vert} c = \partial^{hor} a$, hence such that $\partial^{hor}(a- \partial^{vert} c) = 0$. By assumption that $A^{hor} = 0$ this means that there is $d$ such that $a - \partial^{vert} c = \partial^{hor} d$. But this means that $a \in im(\partial^{hor}) \oplus im(\partial^{vert})$ and hence $[a] = 0$ in $A_\Box$.

Conversely, consider $[b] \in {}^\Box B$. This means that $\partial^{vert}b = 0$ and $\partial^{hor} b = 0$. By $B^{hor} = 0$ the second condition means that there is $a$ such that $b = \partial^{hor} a$. Moreover, this $a$ satisfies $\partial^{vert}\partial^{hor} a = \partial^{vert} b = 0$ by the first condition. Therefore $[a] \in A_{\Box}$ and $[b]$ is its image.

Alternatively, this statement is a direct consequence of the salamander lemma already proven above:

###### Proof

Under the given assumptions the exact sequence of prop. 1 involves the exact sequence

$0 \to A_{\Box} \to {}^\Box B \to 0 \,.$

This being exact says that the map in the middle has vanishing kernel and cokernel and is hence an isomorphism.

###### Corollary

(intramural isomorphisms)

In each of the situations in a double complex shown below, if the direction perpendicular to $\partial : A \to B$ or $\partial : B \to A$ is exact at $B$ as indicated in the following, then the two intramural maps from lemma 1, shown in each case on the right, are isomorphisms:

1. $\array{ && \vdots && \vdots \\ && \downarrow && \downarrow \\ 0 &\to& A &\to& &\to& \cdots \\ && \downarrow^{\mathrlap{\partial}} && \downarrow \\ 0 &\to& B &\stackrel{ker = 0}{\to}& &\to& \cdots \\ && \downarrow && \downarrow \\ && \vdots && \vdots } \;\;\;\;\;\;\;\;\;\;\;\; \Rightarrow \;\;\;\;\;\;\;\;\;\;\;\; \array{ {}^\Box A &\stackrel{\simeq}{\to}& A^{hor} \\ A^{vert} & \stackrel{\simeq}{\to}& A_{\Box} }$
2. $\array{ && 0 && 0 \\ && \downarrow && \downarrow \\ \cdots &\to& A &\stackrel{\partial}{\to}& B &\to& \cdots \\ && \downarrow && \downarrow^{\mathrlap{ker = 0}} \\ \cdots &\to& &\to& &\to& \cdots \\ && \vdots && \vdots } \;\;\;\;\;\;\;\;\;\;\;\; \Rightarrow \;\;\;\;\;\;\;\;\;\;\;\; \array{ {}^\Box A &\stackrel{\simeq}{\to}& A^{vert} \\ A^{hor} & \stackrel{\simeq}{\to}& A_{\Box} }$
3. $\array{ && \vdots && \vdots \\ && \downarrow && \downarrow \\ \cdots &\to& &\stackrel{im = B}{\to}& B &\to& 0 \\ && \downarrow && \downarrow^{\mathrlap{\partial}} \\ \cdots &\to& &\to& A &\to& 0 \\ && \downarrow && \downarrow \\ && \vdots && \vdots } \;\;\;\;\;\;\;\;\;\;\;\; \Rightarrow \;\;\;\;\;\;\;\;\;\;\;\; \array{ A^{hor} &\stackrel{\simeq}{\to}& A_{\Box} \\ {}^\Box A &\stackrel{\simeq}{\to}& A^{vert} }$
4. $\array{ && \vdots && \vdots \\ \cdots &\to& &\to& &\to& \cdots \\ && \downarrow^{\mathrlap{im = B}} && \downarrow \\ \cdots &\to& B &\stackrel{\partial}{\to}& A &\to& \cdots \\ && \downarrow && \downarrow \\ && 0 && 0 } \;\;\;\;\;\;\;\;\;\;\;\; \Rightarrow \;\;\;\;\;\;\;\;\;\;\;\; \array{ A^{vert} &\stackrel{\simeq}{\to}& A_{\Box} \\ {}^\Box A &\stackrel{\simeq}{\to}& A^{vert} }$

This appears as (Bergman, cor. 2.2).

###### Proof

We spell out the proof of the first item. The others work analogously.

Applying cor. 1 to $0 \to B$ yields ${}^\Box B \simeq 0_\Box = 0$. Therefore the exact sequence of the Salamander lemma 1 corresponding to

$\array{ 0 \\ \downarrow \\ 0 &\to& A \\ && \downarrow \\ && B }$

ends with

$\cdots \to 0 \to {}^\Box A\to A^{hor} \to 0 \,,$

which implies the first isomorphism. Analogously, the salamander exact sequence associated with

$\array{ 0 &\to& A \\ && \downarrow \\ && B &\to& 0 }$

begins as

$0 \to A^{vert} \to A_{\Box} \to 0 \to \cdots \,.$

which gives the second isomorphism.

## Implications: The basic diagram-chasing lemmas

We derive the basic diagram chasing lemmas from the salamander lemma, or in fact just from repeated application of the intramural/extramural isomorphisms.

### The $3 \times 3$ lemma

We derive the sharp 3x3 lemma from the salamander lemma.

###### Proposition

If in a diagram of the form

$\array{ && 0 && 0 && 0 \\ && \downarrow && \downarrow && \downarrow \\ 0 &\to& A' &\to& B' &\to& C' \\ && \downarrow && \downarrow && \downarrow \\ 0 &\to& A &\to& B &\to& C \\ && \downarrow && \downarrow && \downarrow \\ 0 &\to& A'' &\to& B'' &\to& C'' }$

all columns and the second and third row are exact, then also the first row is exact.

The following proof is that given in (Bergman, lemma 2.3).

###### Proof

First of all one notices that the diagram is a double complex: by column-exactness the first row includes as subobjects into the second, so the horizontal maps of the first row are restrictions of the differentials of the second and so at least the first row is a chain complex.

We need to show that ${A'}^{hor}\simeq 0$ and ${B'}^{hor} \simeq 0$.

First consider exactness at $A'$. The intramural iso, cor. 2 item 1, of

$\array{ A' \\ \downarrow^{\mathrlap{\partial}} \\ A &\stackrel{ker = 0}{\to}& B }$

is ${}^\Box A \simeq A^{hor}$, and the one of

$\array{ A' &\stackrel{\partial}{\to}& B' \\ && \downarrow^{\mathrlap{ker = 0}} \\ && B }$

according to cor. 2 item 2 is ${}^\Box A' \simeq {A'}^{vert} = 0$. Together this gives the desired exactness from the assumtion that ${A'}^{vert} \simeq 0$ (since all the columns are exact by assumption):

${A'}^{hor} \simeq A'_\Box \simeq ({A'}^{vert} \simeq 0) \,.$

To apply an analogous argument for ${B'}^{hor}$, we combine this kind of identification with the zigzag of intramural maps along the diagonal

$\array{ &&&& {B'}^{hor} \\ &&&&& \Box \\ &&&& \swarrow \\ &&& \Box \\ A^{vert} && \nearrow && B \\ & \Box } \,,$

which are isos by cor 1. These appear now in the middle of the following chain of isomorphisms

${B'}^{hor} \simeq \left({B'}_{\Box}\simeq {}^{\Box}B \simeq A_{\Box}\right) \simeq \left(A^{vert} \simeq 0\right)\,,$

where the first and the last are intramural isos obtained from cor. 2.

###### Remark

From this argument it is clear that by directly analogous reasoning we obtain “$n \times n$-lemmas” for arbitrary $n$, see prop. 4 below.

In particular we have the following sharp 3x3 lemma.

###### Proposition

If in a diagram of the form

$\array{ && 0 && 0 && 0 \\ && \downarrow && \downarrow && \downarrow \\ 0 &\to& A' &\to& B' &\to& C' &\to& 0 \\ && \downarrow && \downarrow && \downarrow \\ 0 &\to& A &\to& B &\to& C &\to& 0 \\ && \downarrow && \downarrow && \downarrow \\ 0 &\to& A'' &\to& B'' &\to& C'' \\ && \downarrow \\ && 0 }$

all columns and the second and third row are exact, then also the first row is exact.

###### Proof

Exactness in $A'$ and $B'$ is as in prop. 2. For exactness in $C'$ we now use the long zigzag of intramural isomorphisms, cor 1.

$\array{ &&&&&&&& {C'}^{hor} \\ &&&&&&&& & \Box \\ &&&&&&&& \swarrow \\ &&&&&&& \Box \\ &&&& B && \nearrow && C \\ &&&&& \Box \\ &&&& \swarrow \\ &&& \Box \\ {A''}^{hor} && \nearrow && B'' \\ & \Box } \,,$

So ${C'}^{hor} \simeq C_{\Box}$ by the intramural iso, then $\dots \simeq A''_\Box$ by this zigzag of extramural isos, and this finally $\cdots \simeq {A''}^{hor} \simeq 0$ by another intramural iso and by assumption.

### The $n \times n$ lemma

The proofs of the $3 \times 3$-lemmas above via long diagonal zigzags of extramural isomorphism clearly generalize from double complexes of size $3 \times 3$ to those of arbitrary finite size.

###### Proposition

If in a diagram of the form

$\array{ && 0 && 0 && 0 && 0 && \\ && \downarrow && \downarrow && \downarrow && \downarrow \\ 0 &\to& X_{n,n} &\to& X_{n-1,n} &\to& X_{n-2,n} &\to& X_{n-3,n} &\to& \cdots \\ && \downarrow && \downarrow && \downarrow && \downarrow \\ 0 &\to& X_{n,n-1} &\to& X_{n-1,n-1} &\to& X_{n-2,n-1} &\to& X_{n-3,n-1} &\to& \cdots \\ && \downarrow && \downarrow && \downarrow && \downarrow \\ 0 &\to& X_{n,n-2} &\to& X_{n-1,n-2} &\to& X_{n-2,n-2} &\to& X_{n-3,n-2} &\to& \cdots \\ && \downarrow && \downarrow && \downarrow && \downarrow \\ 0 &\to& X_{n,n-3} &\to& X_{n-1,n-3} &\to& X_{n-2,n-3} &\to& X_{n-3,n-3} &\to& \cdots \\ && \downarrow && \downarrow && \downarrow && \downarrow }$

all rows except possibly the first $X_{\bullet, n}$ as well as all columns except possibly the first $X_{n,\bullet}$ are exact, then the homology groups of the first row equal those of the first column in that

$\forall k : X_{k,0}^{hor} \simeq X_{0,k}^{vert} \,.$

This appears as (Bergman, lemma 2.6).

###### Proof

The proof proceeds in direct generalization of the proofs of the 3x3 lemma above: the isomorphism for each $k$ is given by the comoposite of two extramural isomorphism that identify the given homology group with a donor or receptor group, respectively, with a long zigzag of extramural isomorphisms.

### The four lemma

We prove the strong four lemma from the salamander lemma.

###### Proposition

Consider a commuting diagram in $\mathcal{A}$ of the form

$\array{ A &\to& B &\stackrel{\xi}{\to}& C &\to& D \\ \downarrow^{\mathrlap{\tau}} && \downarrow^{\mathrlap{f}} && \downarrow^{\mathrlap{g}} && \downarrow^{\mathrlap{\nu}} \\ A' &\to& B' &\stackrel{\eta}{\to}& C' &\to& D' }$

where

1. the rows are exact sequences,

2. $\tau$ is an epimorphism,

3. $\nu$ is a monomorphism.

Then

1. $\xi(ker(f)) = ker(g)$

2. $im(f) = \eta^{-1}(im(g))$

and so in particular

1. if $f$ is a monomorphism then so is $g$;

2. if $g$ is an epimorphism then so is $f$.

###### Proof

By assumption on $\tau$ and $\nu$ we can complete the diagram to a double complex of the form

$\array{ && 0 && 0 \\ && \downarrow && \downarrow \\ && ker(f) &\stackrel{\xi|_{ker(f)}}{\to}& ker(g) &\to& 0 \\ && \downarrow && \downarrow && \downarrow \\ A &\to& B &\stackrel{\xi}{\to}& C &\to& D \\ \downarrow^{\mathrlap{\tau}} && \downarrow^{\mathrlap{f}} && \downarrow^{\mathrlap{g}} && \downarrow^{\mathrlap{\nu}} \\ A' &\to& B' &\stackrel{\eta}{\to}& C' &\to& D' \\ \downarrow && \downarrow && \downarrow \\ 0 &\to& B'/im(f) &\to& C'/im(g) \\ && \downarrow && \downarrow \\ && 0 && 0 } \,.$

such that

1. all columns are exact;

2. the middle two rows are exact.

For the first statement it is now sufficient to show that $ker(g)^{hor} \simeq 0$, for that is immediately equivalent to $\xi(ker(f)) = ker(g)$.

To see this we use the intramural isomorphism, cor. 2 item 2, to deduce that

$ker(g)^{hor} \simeq ker(g)_{\Box} \,.$

Then the long zigzag of extramural isomorphisms, cor. 1, shows that this is isomorphic to the ${}^\Box 0 \simeq 0$ in the bottom left corner of the diagram.

The second statement follows dually: it is implied by $(B'/im(f))^{hor} \simeq 0$ for that directly implies that $\eta^{-1}(im(g))\simeq im(f)$.

Here the intramural ismorphism to use is

$(B'/im(f))^{hor} \simeq {}^{\Box}(B'/im(f))$

and then the long sequence of zigzags of extramural ismoporphisms identifies this with the $0_\Box \simeq 0$ in the top right corner.

###### Remark

The four lemma, in turn, directly implies what is known as the five lemma.

### The snake lemma

We discuss a proof of the snake lemma from the salamander lemma.

###### Proposition

If in a commuting diagram of the form

$\array{ && X_1 &\to& X_2 &\to& X_3 &\to& 0 \\ && \downarrow^{\mathrlap{f}} && \downarrow^{\mathrlap{g}} && \downarrow^{\mathrlap{h}} \\ 0 &\to& Y_1 &\to& Y_2 &\to& Y_3 }$

both rows are exact, then there is a long exact sequence

$ker(f) \to ker(g) \to ker(h) \stackrel{\partial}{\to} coker(f) \to coker(g) \to coker(h)$

starting with the kernels of the three vertical maps and ending with their cokernels (with the middle morphism $\delta$ called the “connecting homomorphism”).

###### Proof

Consider the completion of the given diagram to a double complex:

$\array{ && ker(f) &\to& ker(g) &\to& ker(h) &\to& 0 \\ && \downarrow && \downarrow && \downarrow && \downarrow \\ ker(l) &\to& X_1 &\stackrel{l}{\to}& X_2 &\stackrel{p}{\to}& X_3 &\to& 0 \\ \downarrow && \downarrow^{\mathrlap{f}} && \downarrow^{\mathrlap{g}} && \downarrow^{\mathrlap{h}} && \downarrow \\ 0 &\to& Y_1 &\stackrel{i}{\to}& Y_2 &\stackrel{r}{\to}& Y_3 &\to& coker(r) \\ \downarrow && \downarrow && \downarrow && \downarrow \\ 0 &\to& coker(f) &\to& coker(g) &\to& coker(h) && } \,.$

By assumption and construction, here all columns are exact and the rows are exact at the $X_i$ and at the $Y_i$.

Now horizontal exactness at $ker(g)$ follows from the intramural isomorphism $ker(g)^{hor} \simeq ker(f)_{\Box}$, cor. 2, combined with the zigzag of extramural isomorphisms, cor. 1,

$\array{ &&&&&&& ker(g) \\ &&&&&&&& \Box \\ &&&&&&& \swarrow \\ & &&&&& \Box \\ & X_1 &&&& \nearrow & & X_2 \\ && \Box \\ & \swarrow \\ \Box \\ & Y_1 }$

which give $\cdots \simeq {}^\Box Y_1$ and then by another intramural iso $\cdots \simeq Y_1^{hor}$, and finally by assumption $\cdots \simeq 0$.

The exactness as $coker(g)$ is shown analogously.

Finally, to build the connecting homomorphism $ker(h) \to coker(f)$ is the same as giving an isomorphism from $coker(ker(g) \to ker(h)) \simeq ker(h)^{hor}$ to $ker(coker(f) \to coker(g)) = coker(f)^{hor}$. This is in turn given by the intramural isomorphisms $ker(h)^{hor} \simeq ker(h)_{\Box}$ and ${}^\Box coker(f) \simeq coker(f)^{hor}$, cor. 2 connected by the zigzag of extramural isomorphisms, cor. 1

$\array{ &&&&&&&&& ker(h) \\ &&&&&&&&&& \Box \\ &&&&&&&&& \swarrow \\ &&&&& && & \Box \\ &&&&& X_2 && \nearrow && X_3 \\ &&&&&& \Box \\ &&&&& \swarrow \\ &&&& \Box \\ & Y_1 && \nearrow & & Y_2 \\ && \Box \\ & \swarrow \\ \Box \\ & coker(f) } \,.$
###### Remark

From the snake lemma one obtains in turn the connecting homomorphism, see there for details.

## References

The salamander lemma is due to

based on an earlier unpublished preprint which was circulated (pdf).

An exposition of this is in

A purely category-theoretic proof is in section 2 of

Revised on June 4, 2013 19:12:34 by can I even register here? (129.215.5.255)