-
Notifications
You must be signed in to change notification settings - Fork 160
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 TestIdentityAction #3279
Comments
but need to use their own creator function (as point seed is list of points and thus need to apply `TestIdentityAction` differently.) This fixes gap-system#3279
but need to use their own creator function (as point seed is list of points and thus need to apply `TestIdentityAction` differently.) This fixes gap-system#3279
but need to use their own creator function (as point seed is list of points and thus need to apply `TestIdentityAction` differently.) This fixes gap-system#3279
As far as I can see the problem is with declaring As for calling |
but need to use their own creator function (as point seed is list of points and thus need to apply `TestIdentityAction` differently.) This fixes #3279
I removed "backport-to-4.10" label from this issue - one can not really backport an issue. But one can backport a pull request, and I have added appropriate labels to #3281. |
but need to use their own creator function (as point seed is list of points and thus need to apply `TestIdentityAction` differently.) This fixes gap-system#3279
but need to use their own creator function (as point seed is list of points and thus need to apply `TestIdentityAction` differently.) This fixes #3279
The following happens in the current master branch as well as in released versions
(at least 4.10.0, 4.9.1, 4.7.6).
The function
SparseActionHomomorphism
is called in a genericNiceMonomorphism
method for matrix groups, try for exampleSize( Group( GeneratorsOfGroup( GL( 2, Integers mod 6 ) ) ) )
.The arguments of the (undocumented) function
TestIdentityAction
are the list of group generators, the list of seed vectors, and the action function (here the defaultOnPoints
),and the idea behind
TestIdentityAction
is to check whether theOne
of the first generator fixes each seed vector w.r.t. the action function.In the situations where
SparseActionHomomorphism
is called in GAP library code,this does not run into an error because then the second argument is the (list of rows of) the identity element in the matrix group.
Note that in this case,
TestIdentityAction
tests in fact whether theOne
of the first generator conjugates the list of seed vectors to itself, in the sense that<pnt>^<one>
is computed as<one> * <pnt> * <one>
, which is fine only if<pnt>
is square.If one specifies the action function
OnRight
instead ofOnPoints
then the above example works.(There is even a manual example that shows this situation.)
I think that the check in
TestIdentityAction
must apply the identity element to each seed vector separately, since we cannot assume that the action function knows how to deal with a list of seed vectors.Perhaps the cleanest solution would be to replace the
TestIdentityAction
call by an appropriateAssert
call; note thatTestIdentityAction
seems to be not used in other places.The only argument against this change is that currently the list of seed vectors gets replaced by the result of
TestIdentityAction
(why?), but on the other hand it seems to be allowed to skipTestIdentityAction
via the optionNoTestAction
.The text was updated successfully, but these errors were encountered: