[GAP Forum] Failed to use the elements of the abstract group to create a group directly.

Hongyi Zhao hongyi.zhao at gmail.com
Fri Apr 29 01:40:28 BST 2022


Hi GAP team,

See the following testings:

gap> g:=SmallGroup(8,1);
<pc group of size 8 with 3 generators>

gap> Elements(g);
[ <identity> of ..., f1, f2, f3, f1*f2, f1*f3, f2*f3, f1*f2*f3 ]

gap> ele:=Elements(g);
[ <identity> of ..., f1, f2, f3, f1*f2, f1*f3, f2*f3, f1*f2*f3 ]
gap> Group(ele);
<pc group with 8 generators>

gap> Group([ <identity> of ..., f1, f2, f3, f1*f2, f1*f3, f2*f3, f1*f2*f3 ]);
Syntax error: expression expected
Group([ <identity> of ..., f1, f2, f3, f1*f2, f1*f3, f2*f3, f1*f2*f3 ]);
        ^

As you can see, GAP doesn't let me use the elements of the abstract
group to create a group directly. Any tips for this problem?

Regards
-- 
Assoc. Prof. Hongsheng Zhao <hongyi.zhao at gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province



More information about the Forum mailing list