#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|  
796262d2ecb0d4aebc168e5107d5cd5ebb0d9d2d
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by tscrim):

 Replying to [comment:8 ncohen]:
 > Hmmmm... And what would you think of not having `group_generators` call
 `monoid_generators`, and have `group_generators` raise an exception if
 `gens()` is not defined ? Something like that ?
 >
 > {{{AttributeError: No generators are available for this group. Please
 implement a .group_generators() method}}}

 That's okay with me (although I've made it return a
 `NotImplementedError`).

 > By the way I do not really understand what this `.gens()` exactly is.
 The code seems to assume that `.gens()` returns group generators, but in
 this case does the monoid code assume that `.gens()` returns monoid
 generators too ?

 `gens` is suppose to return a set of generators for this type of object.
 However this causes some problems if the generating set becomes smaller in
 a subcategory: #15381

 > `gens()` should be the one calling `group_generators`, not the other way
 around `:-/`

 I agree, but this comes from old code in Sage and I don't have the time
 and desire to go through and make the necessary changes.

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