Invalid (?) assumption in freeinverse.gi that an Iterator for a free group has !.word bound #532
Labels
bug
Label for issues or PR which report or fix bugs
resolved-pending-release
A label for issues that are resolved pending a release.
Currently, in the
stable-4.10
branch of GAP, thetst/standard/freeinverse.tst
file fails when all packages are loaded. This is because (due to very long-standing a bug in GAP) a method forIterator
in RCWA that applies to certain groups ends up having higher rank than the special GAP libraryIterator
method for free groups.The code in
Iterator
for a free inverse semigroup assumes thatIterator
for a free group has a component!.word
, and this presumably records something. I don't see this documented anywhere, so we probably shouldn't rely on this behaviour to exist forever. The test file currently fails because the Iterator for a free group returned by the RCWA method does not have a!.word
component.In the first instance, I will attempt to fix this by adding
SUM_FLAGS
to the GAP library method forIterator
, even though this won't be required any more when themaster
branch of GAP ends up being the version required by Semigroups.In the second instance, we should try to make this code more robust.
The text was updated successfully, but these errors were encountered: