#5618: Cyclotomic field elements are not convert to Gap correctly.
---------------------+------------------------------------------------------
 Reporter:  saliola  |       Owner:  tbd       
     Type:  defect   |      Status:  new       
 Priority:  major    |   Milestone:  sage-3.4.1
Component:  algebra  |    Keywords:            
---------------------+------------------------------------------------------
 Although this works:
 {{{
 sage: K = CyclotomicField(3)
 sage: z = K.an_element(); z
 zeta3
 sage: gap(z)
 zeta3
 }}}
 the resulting gap element doesn't have the correct properties:
 {{{
 sage: K(gap.E(3)) == z  # Good!
 True
 sage: gap(K(gap.E(3))) == gap.E(3)  # Bad!
 False
 }}}

 This causes the following problem with group characters.
 {{{
 sage: H = AlternatingGroup(4)
 sage: g = H.list()[1]
 sage: K = H.subgroup([g])
 sage: z = CyclotomicField(3).an_element(); z
 sage: c = K.character([1,z,z**2])
 ...
 RuntimeError: Gap produced error output
 Error, no 1st choice method found for `CONDUCTOR' on 1 arguments
 }}}
 Note: the above works if one takes z = gap.E(3).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5618>
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