Skip to content

attempting to convert relative number field elements to Singular should fail quickly #3329

@sagetrac-cwitty

Description

@sagetrac-cwitty

Consider this example:

  R.<a,b> = NumberField(x^2-3,'g').extension(x^2-7,'h')[]
  h = R.base_ring().gen()    
  S.<y> = R.fraction_field()[]
  xgcd(y^2, a*h*y+b) 

(reported by Gaëtan Bisson here: http://groups.google.com/group/sage-support/browse_thread/thread/5338608bd7508b00/cd1d6555592e472f#cd1d6555592e472f)

This fails because it tries to use Singular to take the gcd of multivariate polynomials over a relative number field, and Singular does not support relative number fields. However, the error message is quite poor; it would be better if it failed with a better error message.

Component: interfaces

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions