How can i check which Algorithm is used by GAP for its working. Like
gap> p_1:=(1, 2, 4, 5);;
gap> p_2:=(1, 2, 3);;
gap> g_1:=Group(p_1, p_2);;
gap> p_3:=(1, 2, 4, 3);;
gap> p_4:=(1, 2, 5, 4, 3);;
gap> g_2:=Group(p_3, p_4);;
gap> g_1 = g_2;
true
Which Algorithm is used by GAP for its working? Can i check in terminal the name of Algorithm used by GAP for its functioning, may be in docs specified?
Thanks you very much for you help. :)
I've answered this in finding code of a function in GAP packages - please read it and also explore links that it contains.
However, this particular case seems interesting and not obvious because of the equality operation which one should input as
\=, so I will show an example here too:Get applicable method:
Now see its location in the code:
or view it in the GAP session:
As you may see, in the most general case it will check that each generator of one group belongs to the other group and vice versa, but before reaching that there are also certain optimisation and obvious cases requiring less or no actual computation.