Skip to content

polynomial rings should not attempt to use Singular in characteristic >= 2^31 #33319

@yyyyx4

Description

@yyyyx4

Example:

sage: R.<x,y> = GF(2147483659^2)[]
sage: x.resultant(y)
# [...]
TypeError: Singular error:
   ? Wrong or unknown ground field specification
   ? cannot make ring
   ? error occurred in or before STDIN line 14: `ring sage8=(2147483659,z2),(x, y),dp;`
   ? expected ring-expression. type 'help ring;'

Reason: can_convert_to_singular() only checks that the characteristic is small for prime fields, but Singular equally can't handle finite extension fields of large characteristic.

On the other hand, Singular can handle arbitrarily large IntegerModRings (including prime finite fields) using the (integer,modulus) syntax.

Component: algebra

Author: Lorenz Panny

Branch/Commit: eafaba1

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/33319

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions