A subgroup $H$ of the group $G$ is normal group in $G$ if and only if $\displaystyle ghg^{-1}\in H$ for all $\displaystyle g\in G$ and $\displaystyle h\in H$. How to use MMA to know the group $H$ is a normal group of group $G$? Such as:
G = SymmetricGroup[6];
H = AlternatingGroup[6];
g = GroupElements[SymmetricGroup[6]]; h = GroupElements[AlternatingGroup[6]]; conj[x_] := PermutationProduct[#, x, InversePermutation[#]] & /@ g
Brute fprcing:Union[Flatten[conj /@ h]] == Sort[h]
yieldsTrue
$\endgroup$RandomSample[Sort[GroupElements[AlternatingGroup[6]]]]===GroupElements[AlternatingGroup[6]]
will returnFalse
. You need a parameterLess
like my answer in following. And I use thePermutationReplace
to get the conjugate is more concise than yours. :) $\endgroup$