Put and write for the invariant submodule. The five-term exact sequence in group cohomology associated with the Lyndon–Hochschild–Serre spectral sequence is
The inflation map in group cohomology composes a cocycle on with the quotient homomorphism . The restriction map in group cohomology restricts a cocycle from to . The quotient action on the middle term is, for and a one-cocycle ,
This is independent of the lift and of the representative at the level of cohomology. Finally, the transgression in group cohomology extends a -invariant class on to a one-cochain on ; its coboundary is -basic and descends to the two-cocycle on representing . Changing the extension changes that cocycle by a group coboundary.
For the application, choose free generators of and normal generators of . Since a finite nonabelian simple group is a perfect group, its abelianization is zero. The five-term sequence for with trivial coefficients contains
The first term is zero because is finite, and the last term is zero because a free group has cohomological dimension one. It remains to prove that restriction is surjective.
The invariant submodule of homomorphisms is exactly
The images of the relators generate , so such a homomorphism is determined by the integer vector . Let be the relator exponent-sum matrix. This square integer matrix presents , which is zero, so is a unimodular matrix. There is therefore an integer vector satisfying . Define by assigning to the th entry of . The definition of gives for every . Since the relator images generate , the restriction of to equals . Restriction is surjective, exactness now gives
For a finite group presentation, the relator exponent-sum matrix records in row the total exponent of each generator in relator . It presents the abelianization of the group. For a balanced presentation of a perfect group, it is a unimodular matrix.