Skip to content

MatrixObj: conceptual problem with FieldOfMatrixGroup #6359

@ThomasBreuer

Description

@ThomasBreuer

For a group G whose elements are in IsMatrixObj, we want that all elements have the same BaseDomain value.
This is larger than or equal to FieldOfMatrixGroup( G ), according to the definition of FieldOfMatrixGroup (the smallest field that contains all entries of all matrices in G).
For example, FieldOfMatrixGroup( T ), for T = TrivialSubgroup( G ), is always a prime field, whereas the common BaseDomain of the elements in T shall be equal to that of the elements in G.

Apparently FieldOfMatrixGroup is not what one wants to know about a group of MatrixObjs, the common BaseDomain is important.
Still the code for matrix groups calls FieldOfMatrixGroup and DefaultFieldOfMatrixGroup in many places.

Currently the behaviour of GAP is inconsistent in this respect, due to an ugly hack which I had introduced in gap-packages/forms#80.
Namely, FieldOfMatrixGroup for a group of MatrixObjs returns the common BaseDomain.

In order to fix this, I propose to introduce BaseDomain for matrix groups, which is defined as the common BaseDomain of the generators in the case of groups of MatrixObjs, and as the FieldOfMatrixGroup for groups of list-of-lists matrices.
Then we can replace the relevant FieldOfMatrixGroup calls in the GAP library, i.e., those where one in fact does not want the smallest field but "the natural field implied by the generators".

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions