#13788: FiniteSetMaps Map Comparison
---------------------------------+------------------------------------------
       Reporter:  startakovsky   |         Owner:  tbd     
           Type:  PLEASE CHANGE  |        Status:  new     
       Priority:  major          |     Milestone:  sage-5.6
      Component:  PLEASE CHANGE  |    Resolution:          
       Keywords:                 |   Work issues:          
Report Upstream:  N/A            |     Reviewers:          
        Authors:                 |     Merged in:          
   Dependencies:                 |      Stopgaps:          
---------------------------------+------------------------------------------
Description changed by startakovsky:

Old description:

> Given two maps f and g, why would it be the case that `f == g` returns
> `False`, when the maps are identical, and when comparing the
> `set(f.domain())` == `set (g.domain())` and the same for `codomain`, we
> get `True`?
>
> Is there a functional reason why comparing domains of functions we can't
> wrap them as sets before comparing them?  Are FiniteEnumeratedSets
> supposed to function in such a way that they may not be considered equal
> unless converting them to a set first?
>
> Please advise.

New description:

 Is there a functional reason why comparing domains of functions we can't
 wrap them as sets before comparing them?  A domain and codomain of a map
 are sets and ultimately should be compared as such when order doesn't
 matter.

 Please advise.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13788#comment:1>
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].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to