diagram chasing in homological algebra
salamander lemma $\Rightarrow$
four lemma $\Rightarrow$ five lemma
snake lemma $\Rightarrow$ connecting homomorphism
and
nonabelian homological algebra
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, 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.
(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).
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
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:
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}) + 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 + N_2$ the sum of two submodules (i.e., join in the lattice of submodules under inclusion).
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$:
These morphisms are to be called the intramural maps of $A$.
This is immediate, but here is a way to make it fully explicit:
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.
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$”.
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
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:
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})$.
(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.
For a horizontal $\partial^{hor} : A \to B$ we draw the induced extramural map as
For a vertical $\partial^{vert} : A \to B$ we draw the induced extramural map as
This notation makes it manifest that in every double complex $X_{\bullet, \bullet}$ the extramural maps form long diagonal zigzags between donors and receptors
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:
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.
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
the salamander-shaped diagrams of mural maps
These give the salamander lemma, prop. 1 below, its name.
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:
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}$.
(Salamander lemma)
If a diagram
is part of a double complex in an abelian category, then there is a 6-term long exact sequence running horizontally in
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
is part of a double complex, then there is a 6-term long exact sequence running horizontally in
This is (Bergman, lemma 1.7).
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:
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.
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$.
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}$.
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$.
The following two statements are direct consequences (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 the standard diagram chasing lemmas in homological algebra follow in a natural way from combining these intramural isomorphisms with long zigzags of these extramural isomorphisms. This is discussed below in The basic diagram chasing lemmas.
(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
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
is an isomorphism.
This appears as (Bergman, cor. 2.1).
It is straightforward to check this directly on elements:
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:
Under the given assumptions the exact sequence of prop. 1 involves the exact sequence
This being exact says that the map in the middle has vanishing kernel and cokernel and is hence an isomorphism.
(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:
This appears as (Bergman, cor. 2.2).
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
ends with
which implies the first isomorphism. Analogously, the salamander exact sequence associated with
begins as
which gives the second isomorphism.
We derive the basic diagram chasing lemmas from the salamander lemma, or in fact just from repeated application of the intramural/extramural isomorphisms.
We derive the sharp 3x3 lemma from the salamander lemma.
If in a diagram of the form
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).
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
is ${}^\Box A \simeq A^{hor}$, and the one of
according to cor. 2 item 2 is ${}^\Box A' \simeq {A'}^{vert} = 0$. Together this gives the desired exactness from the assumption that ${A'}^{vert} \simeq 0$ (since all the columns are exact by assumption):
To apply an analogous argument for ${B'}^{hor}$, we combine this kind of identification with the zigzag of intramural maps along the diagonal
which are isos by cor 1. These appear now in the middle of the following chain of isomorphisms
where the first and the last are intramural isos obtained from cor. 2.
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.
If in a diagram of the form
all columns and the second and third row are exact, then also the first row is exact.
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.
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 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.
If in a diagram of the form
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
This appears as (Bergman, lemma 2.6).
The proof proceeds in direct generalization of the proofs of the 3x3 lemma above: the isomorphism for each $k$ is given by the composite of two extramural isomorphism that identify the given homology group with a donor or receptor group, respectively, with a long zigzag of extramural isomorphisms.
We prove the strong four lemma from the salamander lemma.
Consider a commuting diagram in $\mathcal{A}$ of the form
where
the rows are exact sequences,
$\tau$ is an epimorphism,
$\nu$ is a monomorphism.
Then
$\xi(ker(f)) = ker(g)$
$im(f) = \eta^{-1}(im(g))$
and so in particular
if $f$ is a monomorphism then so is $g$;
if $g$ is an epimorphism then so is $f$.
By assumption on $\tau$ and $\nu$ we can complete the diagram to a double complex of the form
such that
all columns are exact;
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
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
and then the long sequence of zigzags of extramural ismoporphisms identifies this with the $0_\Box \simeq 0$ in the top right corner.
The four lemma, in turn, directly implies what is known as the five lemma.
We discuss a proof of the snake lemma from the salamander lemma.
If in a commuting diagram of the form
both rows are exact, then there is a long exact sequence
starting with the kernels of the three vertical maps and ending with their cokernels (with the middle morphism $\delta$ called the “connecting homomorphism”).
Consider the completion of the given diagram to a double complex:
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,
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
From the snake lemma one obtains in turn the connecting homomorphism, see there for details.
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