#18942: Weird bug in roots of a polynomial in relative number field extension
------------------------------------------------+------------------------
       Reporter:  robharron                     |        Owner:
           Type:  defect                        |       Status:  new
       Priority:  major                         |    Milestone:  sage-6.8
      Component:  number fields                 |   Resolution:
       Keywords:  Relative number field, roots  |    Merged in:
        Authors:                                |    Reviewers:
Report Upstream:  N/A                           |  Work issues:
         Branch:                                |       Commit:
   Dependencies:                                |     Stopgaps:
------------------------------------------------+------------------------

Comment (by pbruin):

 It seems this is caused by the `PolynomialRing` constructor not
 distinguishing between relative number fields with different defining
 polynomials, but with the same ''absolute'' polynomials and the same
 variable names:
 {{{
 sage: F.<omega> = NumberField(x^2 + x + 1)
 sage: y = polygen(F)
 sage: K = F.extension(y^3 + 3*omega + 2, 'alpha')
 sage: L = F.extension(y^3 - 3*omega - 1, 'alpha')
 sage: K is L
 False
 sage: K.absolute_polynomial() == L.absolute_polynomial()
 True
 sage: K['x'] is L['x']
 True
 }}}
 I found this ticket via [https://groups.google.com/forum/#!topic/sage-
 nt/NM7bbCgefdo this sage-nt discussion] and suspect the above problem is
 the cause of both bugs.

--
Ticket URL: <http://trac.sagemath.org/ticket/18942#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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to