#14019: equality is broken for Posets
---------------------------------+------------------------------------------
       Reporter:  ncohen         |         Owner:  sage-combinat
           Type:  defect         |        Status:  needs_info   
       Priority:  major          |     Milestone:  sage-5.7     
      Component:  combinatorics  |    Resolution:               
       Keywords:                 |   Work issues:               
Report Upstream:  N/A            |     Reviewers:               
        Authors:  Nathann Cohen  |     Merged in:               
   Dependencies:                 |      Stopgaps:               
---------------------------------+------------------------------------------

Comment (by vbraun):

 Generally, `==` should mean identical and not just isomorphic. Up to
 automorphism there is only one set of a given size. But surely we don't
 want all sets of fixed size to compare equal, right?

 Any two objects that satisfy `==` may be substituted for each other in
 cached method calls.

 If you want "isomorphic with possibly non-unique isomorphism" then just
 implement a `is_isomorphic()` method.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14019#comment:16>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to