#16725: Implement a general monoid_generators for groups
-------------------------------------+-------------------------------------
       Reporter:  tscrim             |        Owner:  tscrim
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.3
      Component:  group theory       |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Travis Scrimshaw   |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/groups/monoid_generators-16725|  
c64a5fb9487a0d54da40acd2003b0a2930f06207
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by ncohen):

 Helloooooooooooo !!!

 > Unfortunately we don't currently have a way to break out of such not-
 implemented generic infinite loops (there's another example with descents
 in Weyl groups #15456).

 But don't you enter this infinite loop as soon as a group has no `.gens()`
 ?

 {{{
 sage: G=groups.presentation.Cyclic(10)
 sage: G=G.cartesian_product(G)
 sage: G.gens()
 AttributeError: 'CartesianProduct_with_category' object has no attribute
 'gens'
 sage: G.group_generators()
 <loop>
 }}}

 > > Also, if a group has no `group_generators` method nor
 `monoid_generators` method then `MyGroup.group_generators()` will result
 in an `AttributeError` saying that `monoid_generators` does not exist,
 which feels a bit weird `:-/`
 >
 > With this, that situation will never occur since we've defined a generic
 `group_generators` and `monoid_generators` in the `Groups` category, so
 every group gets it.

 Ahhahahah. Right, sorry.

 Nathann

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