Skip to content
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

fix for ring_iso_oscar_gap #799

Merged
merged 1 commit into from
Nov 12, 2021
Merged

fix for ring_iso_oscar_gap #799

merged 1 commit into from
Nov 12, 2021

Conversation

ThomasBreuer
Copy link
Member

... for certain finite fields.
The changes are just a workaround for a GAP bug,
see gap-system/gap/issues/4694.

... for certain finite fields
The changes are just a workaround for a GAP bug,
see gap-system/gap/issues/4694.
Copy link
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

if GAP.Globals.IsAlgebraicExtension(G)
#FIXME:
# As soon as the problem from https://github.com/gap-system/gap/issues/4694
# is fixed, go back to `Basis_G = GAP.Globals.Basis(G)` also in this case.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably should do more, though, and try to actively avoid this case, e.g. by checking if the Oscar polynomial is a Conway polynomial, in which case we can just use GAP.Globals.GF(GAP.Obj(p),d) instead of GAP.Globals.GF(Fp_gap, f_gap).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but this is independent of the current workaround.
I can create a pull request for this improvement.

@fingolfin fingolfin merged commit c809b50 into oscar-system:master Nov 12, 2021
@fingolfin
Copy link
Member

@fieker this should resolved your conversion issues for matrices over fields with "large" characteristic.

@ThomasBreuer ThomasBreuer deleted the TB_fix_basis_for_finite_fields branch November 12, 2021 11:31
fingolfin pushed a commit that referenced this pull request Nov 12, 2021
As suggested by @fingolfin in a comment to #799:
On the GAP side, choose a field that is not in `GAP.Globals.IsAlgebraicExtension` if the given field is defined by a Conway polynomial.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants