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

QQbar fast path doesn't trigger #27233

Closed
BrentBaccala opened this issue Feb 7, 2019 · 1 comment
Closed

QQbar fast path doesn't trigger #27233

BrentBaccala opened this issue Feb 7, 2019 · 1 comment

Comments

@BrentBaccala
Copy link

The following calculation runs "forever":

sage: g = QQbar(-27/4)^(1/7)
sage: (nf, elems, mor) = number_field_elements_from_algebraics([sqrt(2), sqrt(-1), g])
sage: nf3.<n> = NumberField(nf.polynomial(), embedding=mor(nf.0))
sage: QQbar(-1/108*n^12) == -g

A fast path in qqbar.py's cmp_elements_with_same_minpoly should trigger but doesn't.

Component: algebra

Keywords: algebraic field

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

@BrentBaccala BrentBaccala added this to the sage-8.7 milestone Feb 7, 2019
@BrentBaccala
Copy link
Author

comment:1

This is a duplicate of #26593

@BrentBaccala BrentBaccala removed this from the sage-8.7 milestone Feb 7, 2019
@jdemeyer jdemeyer closed this as completed Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants