#18776: From poset to lattice: Do not copy Hasse Diagram
---------------------------------+-----------------------------
       Reporter:  jmantysalo     |        Owner:
           Type:  enhancement    |       Status:  new
       Priority:  major          |    Milestone:  sage-wishlist
      Component:  combinatorics  |   Resolution:
       Keywords:                 |    Merged in:
        Authors:                 |    Reviewers:
Report Upstream:  N/A            |  Work issues:
         Branch:                 |       Commit:
   Dependencies:                 |     Stopgaps:
---------------------------------+-----------------------------

Comment (by jmantysalo):

 Actually this happens with just posets:

 {{{
 P = Poset({0:[1]})
 R = Poset(P, facade=False)
 P._hasse_diagram is R._hasse_diagram
 }}}

 also outputs `False`. I can see no reason for this either. And still more,
 what about

 {{{
 P = Poset({0:[1]})
 Q = P.relabel(lambda i: chr(ord('a')+i))
 P._hasse_diagram is Q._hasse_diagram
 }}}

 ? Relabeling does not touch the underlying digraph of plain `int`s.

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