Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

be more restrictive in the default method of SmallGeneratingSet, in order to avoid error messages #5795

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ThomasBreuer
Copy link
Contributor

The proposed change resolves #5542/#5790 in the sense that one does no longer get error messages when a call of SmallGeneratingSet delegates to its generic method SMALLGENERATINGSETGENERIC.

The idea is to try element comparisons (via \= or \<) and membership tests only if the filters CanEasilyCompareElements, CanEasilySortElements, CanEasilyTestMembership indicate that these operations will be cheap.

This change may yield worse results of SmallGeneratingSet in situations where the abovementioned filters are not set but where the old function was successful.
For an example where this happens, see the comment by @Stefan-Kohl in the discussion of #5790.
(But note that for that group, in fact SmallGeneratingSet does not call the generic method, and the result of SmallGeneratingSet is not as good as that of the old generic method.)

If this proposal is acceptable, I will add some tests and improve also the documentation of SmallGeneratingSet.

@ThomasBreuer ThomasBreuer added kind: bug: unexpected error Issues describing bugs in which computation unexpectedly encounters an error, and PRs fixing them topic: library release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug: unexpected error Issues describing bugs in which computation unexpectedly encounters an error, and PRs fixing them release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes topic: library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SmallGeneratingSet throws error on matrix group
1 participant