#9408: relativize in number fields is broken
-----------------------------------------+----------------------------------
   Reporter:  lftabera                   |          Owner:  davidloeffler       
          
       Type:  defect                     |         Status:  positive_review     
          
   Priority:  major                      |      Milestone:  
sage-duplicate/invalid/wontfix
  Component:  number fields              |       Keywords:  relativize          
          
Work_issues:                             |       Upstream:  N/A                 
          
   Reviewer:  Luis Felipe Tabera Alonso  |         Author:                      
          
     Merged:                             |   Dependencies:  #252                
          
-----------------------------------------+----------------------------------
Changes (by jdemeyer):

  * status:  needs_review => positive_review
  * reviewer:  => Luis Felipe Tabera Alonso
  * dependencies:  => #252
  * milestone:  sage-4.7.2 => sage-duplicate/invalid/wontfix


Old description:

> Does not work due to (maybe) denominators
>
> {{{
> sage: K.<a> = NumberField(x^4-4*x^3+12*x^2-16*x+8)
> sage: L.<u,v> = K.relativize(3*a**3 - 9*a**2 + 24*a -16)
> sage:#This seems OK
> sage: L2.<u2,v2> = K.relativize((3/4)*a**3 - (9/4)*a**2 + 6*a -4)
> }}}
> PariError:  (8)
>
> Simpler example
>
> {{{
> sage: L.<a,b> = QQ[i].relativize(1) #Ok
> sage: L.<a,b> = QQ[i].relativize(1/2) #PariError
> }}}

New description:

 Does not work due to denominators:
 {{{
 sage: K.<a> = NumberField(x^4-4*x^3+12*x^2-16*x+8)
 sage: L.<u,v> = K.relativize(3*a**3 - 9*a**2 + 24*a -16)  # OK
 sage: L2.<u2,v2> = K.relativize((3/4)*a**3 - (9/4)*a**2 + 6*a -4)
 }}}

 Simpler example:
 {{{
 sage: L.<a,b> = QQ[i].relativize(1) # OK
 sage: L.<a,b> = QQ[i].relativize(1/2)
 ...
 TypeError: Unable to coerce number field defined by non-integral
 polynomial to PARI.
 }}}

 This is in some sense a duplicate of #252.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9408#comment:3>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to