I have created an external semidirect product of two groups $H$ and $K$ in GAP. Now, I want to identify $H$ as a subgroup of this semidirect product, but I am unable to identify $H$. How can I identify $H$ in this semidirect product in GAP? Please help!!! Thank you. Below is the code that I used to construct the semidirect product.
gap> H:=DihedralGroup(12);
<pc group of size 12 with 3 generators>
gap> aut:=AutomorphismGroup(H);
<group of size 12 with 3 generators>
gap> inn:=InnerAutomorphismsAutomorphismGroup(aut);
<group with 3 generators>
gap> semi:=SemidirectProduct(inn,H);
<pc group with 5 generators>
Now, I want to identify inn (InnerAutomorphism group of H) as the subgroup of this semidirect product.
The group constructed with
SemidirectProductwill have two monomorphisms from the constituents.Embedding(semi,1)is the one frominn,Embedding(semi,2)the one fromH. Thus itsImagewill be the group you want, and you can also use it to find the elements corresponding to particular inner automorphisms: