Skip to content

Bug in PreImagesRepresentative for projective action #6241

@ThomasBreuer

Description

@ThomasBreuer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugIssues describing general bugs, and PRs fixing themkind: bug: wrong resultIssues describing bugs that result in mathematically or otherwise wrong results, and PRs fixing them

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions