-
Notifications
You must be signed in to change notification settings - Fork 165
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
problem with PreImagesRepresentative
#4809
Comments
See also #4088 |
Also perhaps vaguely relevant, at least on a long-term scaler: #574 |
due to a GAP bug (see gap-system/gap/issues/4809), we have to check for membership in the image not in the codomain
I understand where the request comes from, but simply enforcing a membership test is going to slow a lot of calculations down. Can we
The same issuemight hold in some cases for |
@hulpke Thanks. I understand your step 1 as follows: Copy the existing methods for Concerning step 2, I think that the only places where one cannot replace Step 3 then means to add checks to all Is this what you want to propose? |
Basically yes. There is no harm if a method already does a test and returns
One could start by installing a single method for What do we do with |
It seems that this is an issue I could have a go at: fairly tedious, but not particularly tricky. |
Just as we have an error in the example above: |
@cdwensley Yes, |
PR #5073 attempts to address this issue, and has been sitting awaiting a review for some weeks while so much else has been happening (GAPDays, 4.12.1, etc.). But who would want the hassle of reviewing a PR with 77 files changed? |
Maybe this issue is something we can work on during the upcoming GAP days (I don't know if either @ThomasBreuer or @cdwensley plan to come, but we could also work on it without you, or with you connected |
Earlier in this issue @hulpke suggested that the same concerns might apply to ImagesRepresentative (and Images, ImagesElm, ImagesSet). If it was thought worthwhile, I'd be willing to start a new PR for GAP and for the various packages listed in PR#5073. Then this could also be worked on at the GAP days in March. Any comment on this @fingolfin ? |
The following happens in GAP 4.11 as well as in the current master branch.
The documentation of
PreImagesRepresentative
says:Thus I want to get
fail
for each of the inputsPreImagesRepresentative( f, x )
,PreImagesRepresentative( f, y )
.The text was updated successfully, but these errors were encountered: