#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 pbruin):

 Replying to [comment:26 saraedum]:
 > Not really. One difference is that two fields with different `embedding`
 are not considered equal, but two fields with different `structure` are.
 OK, I misunderstood the discussion on this ticket so far (I did not yet
 look at the code carefully); I somehow concluded that your implementation
 answered Simon's question from comment:13 with "yes".  So do I understand
 correctly that two number fields are explicitly allowed to be equal but
 not identical?  Is this really desirable?  From the
 
[http://sagemath.org/doc/reference/structure/sage/structure/unique_representation.html
 manual page] on unique representation:

 "Instances of a class have a unique representation behavior when instances
 evaluate equal if and only if they are identical (i.e., share the same
 memory representation), if and only if they were created using equal
 arguments. [...]  This behaviour is typically desirable for parents and
 categories."

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