#14146: Impossible to print elements of some relative number fields
---------------------------------+------------------------------------------
Reporter: Bouillaguet | Owner: davidloeffler
Type: defect | Status: new
Priority: major | Milestone: sage-5.8
Component: number fields | Resolution:
Keywords: pari | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Description changed by Bouillaguet:
Old description:
> These bugs have been reported by Adrien Poteaux.
>
> Incriminated snippet :
> {{{
> sage: K.<a>=QQ[sqrt(2)]
> sage: Lb.<b>=K[]
> sage: f = 3*b^2 + 1
> sage: Kb.<xi>= f.root_field()
> sage: xi # boom
> -----------------------------
> Traceback (most recent call last)
> ...
> PariError: (7)
> }}}
>
> And an interesting variation:
> {{{
> sage: Kb.<xi>=(f/3).root_field()
> sage: xi # boom
> -----------------------------
> Traceback (most recent call last)
> ...
> PariError: incorrect type (11)
> }}}
New description:
These bugs have been reported by Adrien Poteaux.
Incriminated snippet :
{{{
sage: K.<a>=QQ.extension(x^2 - 2)
sage: L.<b>=K.extension(3*x^2 + 1)
sage: b # boom
-----------------------------
Traceback (most recent call last)
...
PariError: (7)
}}}
And an interesting variation:
{{{
sage: K.<a>=QQ.extension(x^2 - 2)
sage: L.<b>=K.extension(x^2 + 1/3)
sage: b # boom
-----------------------------
Traceback (most recent call last)
...
PariError: incorrect type (11)
}}}
The problem seems to actually stem from:
{{{
sage: L.pari_rnf() # boom
}}}
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14146#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.