#18511: LatticePoset: add has_sublattice()
-------------------------------------+-------------------------------------
       Reporter:  jmantysalo         |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.8
      Component:  combinatorics      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jori Mäntysalo     |    Reviewers:  Nathann Cohen, Darij
Report Upstream:  N/A                |  Grinberg
         Branch:                     |  Work issues:
  public/ticket/18511                |       Commit:
   Dependencies:                     |  0ef0050b3b959c2115dc9a433d80c62dda905f8f
                                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jmantysalo):

 Replying to [comment:27 ncohen]:

 > That's an inconsistency between graphs and posets

 Duh.

 > Well, a `Lattice` is an iterable container of vertices, isn't it? And
 you just can't have a `.has_sublattice(X)` function that does not accept a
 lattice as input `O_o`

 But it would mean that after `L1=LatticePoset({1:[2]}); L2=L2.dual()` we
 would have `L2` ''not'' a subposet of L1 but `L1.has_sublattice(L2)` would
 return `True`.

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