Proof. We will justify all the
axioms.
(Axiom 1.) Suppose
and
are abelian groups. We need to show that
has the structure of an abelian group. Suppose
and
are elements of
, and define their sum
by the rule
for any

. This
operation inherits the
commutativity and
associativity of the
addition in

. Moreover, the
function 
is a
homomorphism. To see this, suppose

and

are in

. Then
The
identity in

is the constant zero function

, since for any

,
Thus

is an abelian group.
Now we show that composition of morphisms distributes over addition in
. Suppose we are given a diagram
of abelian groups. We claim that

and

. Since the
proofs are similar, we prove only the first identity. Let

. Then
Thus

satisfies Axiom 1.
(Axiom 2.) The trivial group 0 is a zero object in
. It is initial because there exists a unique morphism
for any abelian group
, and it is terminal because there exists a unique morphism
for any abelian group
. In both cases the morphism is the constant zero function.
(Axiom 3.) The Cartesian product of two abelian groups is a categorical direct product. Since the Cartesian product of two abelian groups is again abelian, it follows that
has finite products.
(Axiom 4.) Now we show that
has kernels and cokernels. Let
be a morphism. Define a subset
by
, and let
be inclusion. The set
is the group-theoretic kernel of
, hence a normal subgroup of
. Since
is abelian, so is
. The inclusion
is a morphism in
. Moreover, by construction we have that
.
So suppose that
is a morphism in
such that
. We need to show that the diagram
has a unique filler

. Let

. Since

, it follows that

. So define

. Since the inclusion

is
injective, any alternative choice for

fails to make the diagram commute. So

has kernels.
Now we construct a cokernel for
. Define a subset
by
Then

is a
subgroup of the abelian subgroup

, so we may form the
quotient group 
. Thus

is the group-theoretic cokernel of

. Define a
group homomorphism

by

. Since

is a quotient of an abelian group, it is abelian, so

is a morphism in

. Moreover, by construction we have that

.
So suppose that
is a morphism in
such that
. We need to show that the diagram
has a unique filler. Let

. Suppose

is another representative in

for

, that is, that

. Then

, that is, there is some

such that

. By assumption,

, so

. So there is a
well-defined function

defined by

. Moreover, for any

and

in

,
so

is a morphism in

. But any filler for the diagram must be defined in exactly the way we have defined it in
order for the diagram to commute. Hence

has cokernels.
(Axiom 5.) Suppose
is a monomorphism, and let
be a cokernel of
. We must show that
is a kernel of
. Since
is a cokernel of
, we know that
. Now we must show that if
is any morphism in
such that
, then the diagram
has a unique filler

. So suppose

. Since

, it follows by the construction of the cokernel given above that there is some

such that

. Since

is monomorphism,

is injective, so this

is unique. We may therefore define

by the formula

. Hence

is a kernel for the cokernel of

.
(Axiom 6.) Suppose
is an epimorphism, and let
be a kernel of
. We must show that
is a cokernel of
. Since
is a kernel of
, we know that
. Now we must show that if
is any morphism in
such that
, then the diagram
has a unique filler

.
To prove the existence of
, first recall that epimorphisms in
are surjections. Let
. Suppose
. Then
is in
. By assumption,
, so this implies that
. So we may define a morphism
in
by the formula
, where
is any element of
. Moreover,
by construction.
To prove the uniqueness of
, suppose that
is an alternative filler for the diagram. Since
, it follows that
. Since
is an epimorphism, this implies that
. Hence we have shown that
is a cokernel for
. 