#15331: Do not try to create embedded number field morphisms for non-embedded
number fields
-------------------------------------+-------------------------------------
       Reporter:  SimonKing          |        Owner:
           Type:  defect             |       Status:  needs_info
       Priority:  major              |    Milestone:  sage-6.2
      Component:  number fields      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Simon King         |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/SimonKing/ticket/15331           |  2123372d5c37cfbabd55fb3f1e63afaa5741ea2a
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 Hi Jean-Pierre and Marc,

 Replying to [comment:6 jpflori]:
 > Replying to [comment:3 mmezzarobba]:
 > > Hi Simon,
 > >
 > > I'm trying to review this ticket, but there are a couple of things I
 don't understand:
 > > * why can't `EmbeddedNumberFieldMorphism` try using the algebraic
 closure by itself?
 > > * even if it really can't, is the giant `except` clause on lineĀ 6194
 of `number_field.py` necessary?

 Sorry, I don't recall, and at the moment I am too much occupied with other
 things.

 > > * shouldn't
 > >   {{{
 > >   #!python
 > >               Lemb = Lemb.codomain() # number_field_morphisms.pyx:187
 > >               while Lemb.coerce_embedding() is not None:
 > >                   Lemb = Lemb.coerce_embedding().codomain()
 > >                   ambient_field = pushout(Kemb, Lemb)
 > >   }}}
 > >   read
 > >   {{{
 > >   #!python
 > >               Lemb = Lemb.codomain()
 > >               while Lemb.coerce_embedding() is not None:
 > >                   Lemb = Lemb.coerce_embedding().codomain()
 > >               ambient_field = pushout(Kemb, Lemb)
 > >   }}}

 Yes, unless I wanted to see if the pushout exists in each step (catching
 the error if it does not exist).

 > > Sorry if these are stupid questions, I'm still trying to learn how
 this all works!

 So do I (now) ;-)

 > > My attempt at simplifying the code based on these remarks is at
 `u/mmezzarobba/embedded_NF_morphisms`.
 > >
 > Any remark on this Simon?
 >
 > If you're too busy,

 Sorry, I am.

 Best regards,

 Simon

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

Reply via email to