#19904: Segfault in SR(QQbar)
-----------------------------+------------------------
       Reporter:  vbraun     |        Owner:
           Type:  defect     |       Status:  new
       Priority:  major      |    Milestone:  sage-7.0
      Component:  symbolics  |   Resolution:
       Keywords:             |    Merged in:
        Authors:             |    Reviewers:
Report Upstream:  N/A        |  Work issues:
         Branch:             |       Commit:
   Dependencies:             |     Stopgaps:
-----------------------------+------------------------

Comment (by vdelecroix):

 You can have better cooperation with
 {{{
 sage: K1 = NumberField(x^2+1, 'a', embedding=CC.gen())
 sage: K2 = NumberField(x^2+1, 'a', embedding=QQbar.gen())
 sage: K2.gen() + QQbar.gen()
 2*I
 }}}
 I do not think that a declared embedding to `CC` should be compatible with
 `QQbar` operations. Or all embeddings should implictely be refined to have
 values in `AA` or `QQbar`. Currently
 {{{
 sage: K1.coerce_embedding()
 Generic morphism:
   From: Number Field in a with defining polynomial x^2 + 1
   To:   Complex Lazy Field
   Defn: a -> 1*I
 sage: K2.coerce_embedding()
 Generic morphism:
   From: Number Field in a with defining polynomial x^2 + 1
   To:   Algebraic Field
   Defn: a -> 1*I
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19904#comment:2>
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