#17142: Return type of some poset functions
---------------------------------+-----------------------------
       Reporter:  jmantysalo     |        Owner:
           Type:  defect         |       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:
---------------------------------+-----------------------------
Description changed by jmantysalo:

Old description:

> If `P` is a lattice -- not just a poset -- then also `P.dual()` returns
> lattice. But `P.product(P)` gives poset, not lattice. Also at least
> `product` forgots facade, i.e. if `P=Poset({0:[1]}, facade=False)`, then
> `P.Product(P)` has elements of type plain 'tuple'. `subposet()` seems to
> work.
>
> Functions should be checked one by one for this. This needs also some
> thinking: for example dual of meet-semilattice is join-semilattice.

New description:

 If `P` is a lattice -- not just a poset -- then also `P.dual()` returns
 lattice. But `P.product(P)` gives poset, not lattice. Also at least
 `product` forgots facade, i.e. if `P=Poset({0:[1]}, facade=False)`, then
 `P.Product(P)` has elements of type plain 'tuple'. `subposet()` seems to
 work, `relabel` does not.

 Functions should be checked one by one for this. This needs also some
 thinking: for example dual of meet-semilattice is join-semilattice.

--

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