I am newbie in the GAP and in the group theory. Now I am trying to make semidirect product if GL(3,2) and GL(3,2) inversed and transposed. I use code below
H:=GeneralLinearGroup(3, 2);
GH:=GeneratorsOfGroup(H);
GT:=List(GH, g->Inverse(TransposedMat(g)));
T:=Group(GT);
A:=AutomorphismGroup(T);
elts := Elements(A);
map:=GroupHomomorphismByImages(H, A,GeneratorsOfGroup(H), [elts[2], elts[10]]);
SemidirectProduct(T,map,H);
I got error about "GroupHomomorphismByImages" failed. I have no idea what should I do. From related topics I got that I should define proper homomorphism. But I cannot imagine what is possible here.
I will be very thankful if you help me to solve this issue.
GAP tests that the map you give indeed is a homomorphism. Why should the generators of $H$ be mapped to (particularly) elements 2 and 1.
What you want is to find the elements corresponding to the chosen generators of $H$, that is the inner automorphisms induced by the inverse transposed matrices:
You could also check for the correct index numbers in this particular case (but for different groups they will be different):