#5225: unhandled case in converting to polynomial ring
---------------------------------+------------------------------------------
 Reporter:  cwitty               |       Owner:  malb      
     Type:  defect               |      Status:  new       
 Priority:  major                |   Milestone:  sage-3.4.1
Component:  commutative algebra  |    Keywords:            
---------------------------------+------------------------------------------
 Normally, Sage tries to allow explicit conversions between arbitrary
 polynomial rings, if they share the same variable names.

 Here's a case where that doesn't work:
 {{{
 R.<a,b,c,d,e,f,x,y,z,t,s,r>=PolynomialRing(QQ,12,order='lex')
 I=R.ideal(a^2+d^2-x,a*b+d*e-y,a*c+d*f-z,b^2+e^2-t,b*c+e*f-s,c*c+f*f-r)
 j=I.groebner_basis()
 R1.<x,y,z,t,s,r>=QQ[]
 R2=FractionField(R1)
 R3.<a,b,c,d,e,f>=R1.fraction_field()[]
 R3(j[0])
 }}}

 For now, the workaround is:
 {{{
  sage_eval(str(j[0]), locals=locals())
 }}}
 but IMHO the original code should work.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5225>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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