Closed wilfwilson closed 2 years ago
(Obviously there are an infinite number of special cases that we could add, and none of them should be a priority yet at this stage of Vole's development 🙂).
This would be a lot easier if refiners were set up like suggested in #25, where we could do something like:
if Length(constraints) = 1 then
if IsRefinerForGroup(constraints[1]) and HasUnderlyingGroup(constraints[1]) then
return UnderlyingGroup(constraints[1]);
elif IsRefinerForGroupByGens(constraints[1]) then
return Group(UnderlyingGenerators(constraints[1]));
fi;
fi;
If this is going to be implemented, it will be done as part of #58.
At some point, I think it would be a good idea to add some special cases to avoid annoying/embarrassing behaviour.
This is already quite slow:
But surely we as the package authors should be able to immediately return the group in such cases. Somehow. Similarly:
takes over a second.