Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Test if a group is a subgroup of another
ResourceFunction["SubgroupQ"][group1,group2] tests if group1 is a subgroup of group2. |
For the symmetric group:
In[1]:= | ![]() |
Out[1]= | ![]() |
This case is not a subgroup:
In[2]:= | ![]() |
Out[2]= | ![]() |
Permutations group:
In[3]:= | ![]() |
Out[3]= | ![]() |
This case is not a subgroup:
In[4]:= | ![]() |
Out[4]= | ![]() |
A case for the dihedral group:
In[5]:= | ![]() |
Out[5]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License