#19141: Poset documentation polishing: Boolean-valued properties
-------------------------------------+-------------------------------------
       Reporter:  jmantysalo         |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.10
      Component:  combinatorics      |   Resolution:
       Keywords:  poset              |    Merged in:
        Authors:  Jori Mäntysalo     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jmantysalo/poset_documentation_polishing__boolean_valued_properties|  
39d1e185906821d6fcece65560e1081eb11e1493
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jmantysalo):

 Replying to [comment:16 kdilks]:

 > Why not just have one function called {{{is_chain()}}} that does what
 {{{is_chain_of_poset()}}} currently does? If you want to want to find out
 if you entire poset is a chain, you can run {{{is_chain(P.elements())}}} .
 Or even {{{is_isomorphic(Posets.ChainPoset(len(P.elements()))}}}. There
 aren't special aliases for determining isomorphism type with any other
 family of posets.

 I have used `is_chain` to find some interesting examples, i.e. to filter
 out uninteresting cases. Fortunately `is_chain` does not take arguments,
 and `is_chain_of_poset` has a mandatory argument. Hence the error will be
 easily seen.

 I guess there could also be `is_antichain()`, as it can too be useful as
 filter-out -function.

 (And I would not mind having something like `describe`, like in small
 group id database has for groups. It could output something like "Vertical
 decomposition of Boolean lattice 3 and Tamari lattice 4." But might not be
 that easy to make it...)

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