The Snake lemma associates to a commutative diagram with exact rows an exact sequence
For , apply it degree by degree to the short exact sequence of chain complexes
The resulting connecting maps splice the kernels modulo boundaries into the Mayer--Vietoris sequence
Now let satisfy the stated simplicial pseudomanifold conditions. In an -cycle, cancellation at a common -face determines the coefficient of either incident -simplex from the other, up to the orientation sign. Connectivity through such faces therefore determines every top-simplex coefficient from one integer. If the signs are globally compatible, their oriented sum is a cycle and generates ; if they are inconsistent, that integer must be zero and .
Let be the resulting fundamental class, represented by . Since the intersection has dimension below , split uniquely
into top chains in and . Then
and the Mayer--Vietoris boundary is
It is nonzero exactly when both and contain top-dimensional simplices; if one side contains none, the fundamental cycle already lies in the other side, while if both do, connectedness forces a nonempty interface and its oriented boundary represents a nonzero class.
Finally take , , and
. The preceding boundary
is a nonzero map between copies of and sends the fundamental class to the oriented boundary torus, hence is an isomorphism. Exactness then gives
The next part of the sequence is
Since , it follows that
. The degree-zero sequence makes connected. Therefore
A complex in an abelian category is a sequence with . A sequence is exact when the image of every incoming map equals the kernel of the outgoing map.
The Five lemma says that in a morphism between exact five-term sequences, suitable epimorphism assumptions on the left and monomorphism assumptions on the right, together with isomorphisms in the four surrounding positions, force the middle map to be an isomorphism.
The Snake lemma associates to a morphism of short exact sequences the exact sequence
Apply the Snake lemma degree by degree to a short exact sequence of complexes
If , lift a cycle to . Its boundary maps to zero in , so it comes from a cycle ; define . The Snake-lemma exactness and independence checks yield
This is the algebraic Mayer–Vietoris theorem for homology objects.
An abelian category is an additive category with all kernels and cokernels in which every monomorphism is a kernel and every epimorphism is a cokernel. If is monic and , then factors through . The canonical coimage-to-image morphism is an isomorphism in an abelian category, so this factorization identifies with ; hence is the kernel of its own cokernel. Dually, every epimorphism is the cokernel of its own kernel. The assignments and therefore give inverse bijections between subobjects and quotient objects of a fixed object. Well-poweredness is consequently equivalent to well-copoweredness.
The category of complexes has chain complexes as objects and chain maps as morphisms. Write and . The equation gives both an induced map and a map . The homology object has the two canonically isomorphic descriptions
Passing to the opposite category exchanges these descriptions, proving self-duality.
Let . A chain map is exactly a map , while a chain map is exactly a map . Therefore
The Snake lemma states that a commutative diagram with exact rows yields the exact sequence of the three kernels, followed by its connecting morphism and the three cokernels. Apply it degree by degree to a short exact sequence of complexes , using the diagrams of cycles, boundaries, and degree objects. The connecting map sends a cycle of to a lift in , takes its boundary in , and identifies that boundary with a class in . The Snake lemma gives exactness and produces
the algebraic Mayer–Vietoris theorem.