#19060: Fix gauss_sum() for Dirichlet characters over cyclotomic fields
-------------------------+-------------------------------------------------
   Reporter:  pbruin     |            Owner:
       Type:  defect     |           Status:  new
   Priority:  major      |        Milestone:  sage-6.9
  Component:  number     |         Keywords:  Dirichlet character Gauss sum
  theory                 |          Authors:  Peter Bruin
  Merged in:             |  Report Upstream:  N/A
  Reviewers:             |           Branch:
Work issues:             |     Dependencies:
     Commit:             |
   Stopgaps:             |
-------------------------+-------------------------------------------------
 In !SageMath 6.9.beta2:
 {{{
 sage: K.<z> = CyclotomicField(8)
 sage: G = DirichletGroup(13, K)
 sage: chi = G([z^2])
 sage: chi.gauss_sum()
 Traceback (most recent call last):
 ...
 TypeError: Cannot coerce zeta52 into Cyclotomic Field of order 8 and
 degree 4
 }}}
 This arises because `chi` is actually defined over a smaller cyclotomic
 field.  It can be fixed by letting `gauss_sum()` minimize the base ring.

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

Reply via email to