2014-12-03 3:24 UTC+01:00, Nathann Cohen <nathann.co...@gmail.com>:
>> sage: a = CIF(RIF(0, 1), RIF(0, 1))
>> sage: a is a
>> True
>> sage: a == a
>> False
>>
>> So equality is not even reflexive.
>
> Okay. Please never define a graph with these things as vertices :-D

+1

And for better behavior, we need troolean = {True, False, Unknown}

In CIF it should be

a == b returns
  - True if they are the same interval
  - False if they are disjoint
  - Unknown otherwise

and then a != b would just be equivalent to "not (a == b)"... and
still the no "false positive".

Vincent

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to