-
Notifications
You must be signed in to change notification settings - Fork 182
Bug in PreImagesRepresentative for projective action #6241
Copy link
Copy link
Closed
Labels
kind: bugIssues describing general bugs, and PRs fixing themIssues describing general bugs, and PRs fixing themkind: bug: wrong resultIssues describing bugs that result in mathematically or otherwise wrong results, and PRs fixing themIssues describing bugs that result in mathematically or otherwise wrong results, and PRs fixing them
Description
The following happens in GAP 4.15.1 and in the master branch.
gap> m:= [ [ -1, 0, 0 ], [ 0, 1, 0 ], [ 0, 0, 1 ] ] * Z(3)^0;;
gap> G:= Group( m );;
gap> D:= NormedRowVectors( GF(3)^3 );;
gap> hom:= ActionHomomorphism( G, D, OnLines );;
gap> IsInjective( hom );
true
gap> img:= m^hom;
(6,7)(8,11)(9,13)(10,12)
gap> pre:= PreImagesRepresentative( hom, img );
[ [ Z(3)^0, 0*Z(3), 0*Z(3) ], [ 0*Z(3), Z(3), 0*Z(3) ],
[ 0*Z(3), 0*Z(3), Z(3) ] ]
gap> pre in G;
false
The result matrix pre is correct up to a scalar multiple, but the group G does not contain nontrivial scalar matrices.
The special method for IsProjectiveActionHomomorphism claims that it can compute the preimage but apparently gets it wrong.
The generic method that delegates to an AsGroupGeneralMappingByImages for hom gives the correct result.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind: bugIssues describing general bugs, and PRs fixing themIssues describing general bugs, and PRs fixing themkind: bug: wrong resultIssues describing bugs that result in mathematically or otherwise wrong results, and PRs fixing themIssues describing bugs that result in mathematically or otherwise wrong results, and PRs fixing them