Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Support for finitely presented groups in Wolfram Mathematica
Contributed by: Naman T.
FinitelyPresentedGroups provides symbolic finitely presented groups in the Wolfram Language. A group is defined by generators and relators, and permutation groups, including the named groups such as symmetric and Mathieu groups, can be converted to presentations. The paclet includes a compiled Todd-Coxeter coset enumeration for computing coset tables of subgroups and the order of a finite group. Group words can be created, multiplied, inverted, reduced and compared.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["Taggar/FinitelyPresentedGroups"]
To load the code after installation, evaluate this code:
Needs["Taggar`FinitelyPresentedGroups`"]
Define DihedralGroup[3] as a finitely presented group:
| In[1]:= |
| Out[1]= |
Find its properties, including GroupOrder:
| In[2]:= |
| Out[2]= |
| In[3]:= |
| Out[3]= |
Directly convert DihedralGroup[3] into a finitely presented group:
| In[4]:= |
| Out[4]= |
The free group has no relators:
| In[5]:= |
| Out[5]= |
Do algebra of words:
| In[6]:= |
| Out[6]= |
Find the internal representation in terms of generators of a word:
| In[7]:= |
| Out[7]= |
Confirm that rs is a reflection of order 2:
| In[8]:= |
| Out[8]= |
| In[9]:= |
| Out[9]= |
Calculate inverse of a word:
| In[10]:= |
| Out[10]= |
Find order of a group word:
| In[11]:= |
| Out[11]= |
Find the coset table in a group of a subgroup:
| In[12]:= |
| Out[12]= |
| In[13]:= |
| Out[13]= |
The free group is not abelian:
| In[14]:= |
| Out[14]= |
| In[15]:= |
| Out[15]= |
Presentations of existing named groups:
| In[16]:= |
| Out[16]= |
Z2 is infinite:
| In[17]:= |
| Out[17]= |
Although it can still have finite index subgroups:
| In[18]:= |
| Out[18]= |
Verifying group identities:
| In[19]:= |
| Out[19]= |
| In[20]:= |
| Out[20]= |
Because i2 is central:
| In[21]:= |
| Out[21]= |
And i is not:
| In[22]:= |
| Out[22]= |
Build permutation representation from coset tables:
| In[23]:= |
| Out[23]= |
| In[24]:= |
| Out[24]= |
| In[25]:= |
| Out[25]= |
This is equivalent to using PermutationGroup on a FinitelyPresentedGroup:
| In[26]:= |
| Out[26]= |
Use in-built functions such as GroupOrder, GroupElements, CayleyGraph, etc on a finitely presented group:
| In[27]:= |
| Out[27]= |
| In[28]:= |
| Out[28]= |
| In[29]:= |
| Out[29]= |
| In[30]:= |
| Out[30]= | ![]() |