Skip to content

Regression in the new MTC #2892

@olexandr-konovalov

Description

@olexandr-konovalov

I have discovered that Wedderga package tests became broken in the stable-4.10 and master branches (see gap-packages/wedderga#43). Using git bisect lead me to the conclusion that this was introduced in ce04724 which is a part of #2812 by @hulpke.

In GAP 4.9.3 we have:

gap> F:=FreeGroup("a","b","c");;
gap> AssignGeneratorVariables(F);
#I  Assigned the global variables [ a, b, c ]
gap> rels:=[ a^60, b^2*a^-30, c^2*a^-30, b^-1*a*b*a^-19, c^-1*a*c*a^-31, c^-1*b^-1*c*b*a^-45 ];
[ a^60, b^2*a^-30, c^2*a^-30, b^-1*a*b*a^-19, c^-1*a*c*a^-31, 
  c^-1*b^-1*c*b*a^-45 ]
gap> g:=F/rels;
<fp group on the generators [ a, b, c ]>
gap> IsomorphismSpecialPcGroup(g);
[ a, b, c ] -> [ f3^2*f4*f5*f6, f1*f2, f1 ]
gap> Size(g);
240

In stable-4.10 we have:

gap>  F:=FreeGroup("a","b","c");;
gap> AssignGeneratorVariables(F);
#I  Assigned the global variables [ a, b, c ]
gap>  rels:=[ a^60, b^2*a^-30, c^2*a^-30, b^-1*a*b*a^-19, c^-1*a*c*a^-31, c^-1*b^-1*c*b*a^-45 ];
[ a^60, b^2*a^-30, c^2*a^-30, b^-1*a*b*a^-19, c^-1*a*c*a^-31, c^-1*b^-1*c*b*a^-45 ]
gap> g:=F/rels;
<fp group on the generators [ a, b, c ]>
gap> IsomorphismSpecialPcGroup(g);
Error, the coset enumeration has defined more than 4096001 cosets
 at /Users/alexk/GITREPS/gap-stable-4.10/lib/sgpres.gi:2366 called from
NEWTC_Define( DATA, i, a ) at /Users/alexk/GITREPS/gap-stable-4.10/lib/sgpres.gi:3056 called from
NEWTC_DoCosetEnum( freegens, freerels, subgens, aug, trace 
 ) at /Users/alexk/GITREPS/gap-stable-4.10/lib/sgpres.gi:3200 called from
NEWTC_CosetEnumerator( FreeGeneratorsOfFpGroup( G ), RelatorsOfFpGroup( G ), GeneratorsOfGroup( H ), true, false 
 ) at /Users/alexk/GITREPS/gap-stable-4.10/lib/grpfp.gi:3849 called from
Size( C ) at /Users/alexk/GITREPS/gap-stable-4.10/lib/coll.gi:153 called from
<compiled statement>  called from
...  at *stdin*:10
you can 'quit;' to quit to outer loop, or
you can 'return;' to continue

The full backtrace is

brk> Where(10);
NEWTC_Define( DATA, i, a ) at /Users/alexk/GITREPS/gap-stable-4.10/lib/sgpres.gi:3056 called from
NEWTC_DoCosetEnum( freegens, freerels, subgens, aug, trace 
 ) at /Users/alexk/GITREPS/gap-stable-4.10/lib/sgpres.gi:3200 called from
NEWTC_CosetEnumerator( FreeGeneratorsOfFpGroup( G ), RelatorsOfFpGroup( G ), GeneratorsOfGroup( H ), 
 true, false ) at /Users/alexk/GITREPS/gap-stable-4.10/lib/grpfp.gi:3849 called from
Size( C ) at /Users/alexk/GITREPS/gap-stable-4.10/lib/coll.gi:153 called from
<compiled statement>  called from
IsomorphismPcGroup( G ) at /Users/alexk/GITREPS/gap-stable-4.10/lib/pcgsspec.gi:756 called from
<function "unknown">( <arguments> )
 called from read-eval loop at *errin*:1
brk> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: enhancementLabel for issues suggesting enhancements; and for pull requests implementing enhancementstopic: library

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions