GAP Lesson 4
Change to the directory where you store your GAP files, and then start up GAP.
Groups given by Presentations
There is more than one syntactically correct way to input a group given by a presentation. We start with various ways to input free groups.
gap> c.1 in c;
gap> c.1 in b;
Discuss all the things that went on in the last lines. How many ways can you think of to specify to the computer the first generator of the group d? What should you try to avoid? Would the computer allow you to do, for example, e:=FreeGroup("ab", "b^-1"); and why might this be a bad idea?
Having named variables in a convenient fashion, we now impose relations on a free group.
gap> Image(isod, d.1*d.2));
What is going on in the following lines?
gap> v in d;
gap> d.2 in d;
We had started to feel comfortable about GAP's conventions, and now we see more pitfalls!
gap> v in d;
The following computes the homomorphism to a permutation group which GAP has already done:
[ u, v ] -> [ (1,2,3,4), (2,4) ]
The following command is also possible at this stage.
We now study the group <r,s,t | r^2 = s^3 = t^5 = rst>. Somehow we have to enter these three relations, and it may help to shorten the generator names, as in the following.
Exercises: 1. Show that the center is in fact generated by the element rst.
2. Determine the isomorphism type of the factor group e/ce.
3. Show that e is not isomorphic to the direct product of ce and (e/ce).
In doing these exercises you will explore what commands seem to work for groups given by a presentation.
We have seen before how to get a copy of a group given by generators and relations as a permutation group, using commands such as:
We now go in the reverse direction:
1. Express (3,4,5) as a word in the generators (1,2,3,4,5), (1,2,3) of h.
2. (Requiring some investigation) Express (3,4,5) as a word in the generators (1,2,3,4,5), (1,3,2,4,5) of h.
Here is another example of the kind of thing GAP can do:
gap> P := PresentationViaCosetTable(h);
gap> FpGroupPresentation( P );
Investigate the groups
<a,b,c | a^2, b^2, c^2, (a*b)^3, (b*c)^4, (a*c)^2>
<a,b,c | a^2, b^2, c^2, (a*b)^3, (b*c)^5, (a*c)^2>
<a,b,c | a^2, b^2, c^2, (a*b)^3, (b*c)^3, (a*c)^2>