Let . The group action by left multiplication on gives a group homomorphism . Its kernel is the normal core of a subgroup,
The containment follows by looking at the stabilizer of the coset , and finite index follows from the finite image in .
The Higman group is
It is visibly a finitely presented group. To prove infinitude, first form
It is the amalgamated free product of and , identifying their infinite cyclic subgroups generated by . Each factor is an HNN extension of an infinite cyclic group, so its base and stable letter both have infinite order. No nonzero power of belongs to in the first factor, by the map to sending to one and to zero. In the second factor, no nonzero power of belongs to : the stable-letter map forces a hypothetical equality to have , and the base has infinite order. The normal form theorem for an amalgamated free product therefore shows that is a rank-two free group.
Similarly,
contains as a rank-two free group. Identifying these two free subgroups yields
The normal form theorem for an amalgamated free product embeds in . In particular, contains a free group of rank two and is infinite.
The finite quotients of cyclic squaring presentations argument now rules out every nontrivial finite quotient of . In a finite image, a relation forces the order of to be odd, since conjugate elements have the same order. If any generator has nontrivial image, let be the least prime number dividing the order of any of the four generator images, and choose whose order is divisible by . Its predecessor conjugates it to its square. If is the order of , iterating conjugation gives . Hence the multiplicative order of modulo divides . It is greater than one and divides , so it has a prime factor smaller than , which also divides . This contradicts the minimal choice of . Thus all four generator images are trivial. has no nontrivial finite quotient, and the normal-core argument above implies that has no proper finite-index subgroup.
For the final argument, Conjugation preserves the order of an element. Thus if one nonidentity element has finite order , every nonidentity element has that same order, and . Moreover is prime: if a prime factor properly divides , then is nonidentity but has the smaller order .
When , the element is nonidentity, so choose with . The conjugator is not the identity, since , and therefore . Induction gives , and at this yields
But Fermat's little theorem, with the odd prime , gives , contradicting that divisibility.
For , is not in the nonidentity conjugacy class, so the required conjugator cannot be chosen. Instead, a group in which every element has square one is an abelian group: also equals . In an abelian group every conjugacy class is a singleton, so one nonidentity class permits only one nonidentity element, giving a group of order two. This contradicts infinitude. Consequently the infinite group in question is a .
We construct the output presentation explicitly, using HNN extensions and an amalgamated free product. Throughout, also denotes the group given by the input finite group presentation, and . Every word introduced below is a literal computable word in the displayed generators; testing whether is never part of the construction.
First fix the auxiliary Higman group
We need two facts: is a free group of rank two, and the normal closure of is . The latter follows immediately from the relations: setting forces successively , , and , hence all three are .
Here is a normal-form verification of the first fact. The three-generator group
is an amalgamated free product of two Baumslag-Solitar groups along their infinite cyclic subgroups generated by . Their base cyclic groups embed by Britton's lemma, so this amalgamation is legitimate. Nonzero powers of in the first factor lie outside , as shown by the homomorphism recording the exponent of its stable letter . Nonzero powers of in the second factor also lie outside : the stable-letter exponent map first forces a putative equality to have , and then injectivity of the base cyclic group forces . The normal form theorem for an amalgamated free product therefore makes a rank-two free group in .
The same argument applies to , formed from the other two cyclic conjugation relations. The full is , so that rank-two free group embeds in as well. In particular has infinite order.
Now take the free product
and set
Introduce letters , and define the finite presentation
Finally impose the Higman relations and identify
Thus the algorithm outputs
The symbols in this display are abbreviations for the explicit words above, not extra generators. Renaming the finitely many new generators to avoid makes this a uniform effective construction.
The auxiliary Higman group has no nontrivial finite quotients of a group. One can use this permitted property directly, but there is a short verification. In any finite quotient, let be the order of the image of . Since conjugation sends to its square, must be odd. If some , choose the least prime number dividing any . It is odd. Conjugation by the preceding generator gives
The multiplicative order of modulo is therefore a divisor of . It is greater than one and divides by the Fermat little theorem, so it has a prime divisor smaller than . That prime also divides , contradicting the choice of . Hence every and the quotient is trivial.
Given any finitely presented group , form , and apply part (a) to the word . This word is nontrivial by the normal form theorem for a free product, so the output contains by the embedding already proved.
To check its finite quotients, let be any group homomorphism to a finite group. The image of the copy of is trivial by the preceding property. The identifications make all trivial. Thus the equations give, in the image,
Since , this forces for all generators of , including . The defining word then has trivial image, so as well. Every generator of has trivial image. Therefore
This uses the concrete construction of part (a), not an assumption that arbitrary quotients preserve an embedding of .