#11670: fix number fields being unique parents -- this got broken over the years
-------------------------------------+-------------------------------------
       Reporter:  was                |        Owner:  davidloeffler
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.2
      Component:  number fields      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Julian Rueth       |    Reviewers:  Simon King
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/saraedum/ticket/11670            |  70702aa690a31cc36b9febe36462c67ebd57dcee
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by saraedum):

 Replying to [comment:25 pbruin]:
 > Now it is already the case that one can specify an `embedding` parameter
 when creating a number field.  Hence (finally) the following question:
 does the concept of a `structure` in the sense of this ticket allow the
 existing `embedding` parameter to be implemented as a special case of a
 `structure`?

 Not really. One difference is that two fields with different `embedding`
 are not considered equal, but two fields with different `structure` are. I
 think this makes sense since `structure` currently tells you how a field
 has been created (e.g. as the absolute field of a relative field.)
 However, treating two number fields with different complex embedding as
 being the same would most probably lead to nasty bugs.

 There might be a more general concept that `structure` and `embedding` are
 special cases of but I would not try to abuse one of them for this (right
 now). There is probably too much code that expects these two attributes to
 have a specific format to make such a change. It could be the content of a
 followup ticket.

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