#18002: Submonoids and subsemigroup defined by generators
-------------------------------------------------+-------------------------
       Reporter:  virmaux                        |        Owner:
           Type:  enhancement                    |       Status:  closed
       Priority:  major                          |    Milestone:  sage-6.6
      Component:  combinatorics                  |   Resolution:  fixed
       Keywords:  monoids, days64                |    Merged in:
        Authors:  Nicolas M. ThiƩry, Aladin      |    Reviewers:  Anne
  Virmaux                                        |  Schilling
Report Upstream:  N/A                            |  Work issues:
         Branch:                                 |       Commit:
  a8306e4da2265d06e6fc20ca3f16989632132fee       |     Stopgaps:
   Dependencies:  #17160                         |
-------------------------------------------------+-------------------------

Comment (by vdelecroix):

 Replying to [comment:60 nthiery]:
 > Replying to [comment:58 vdelecroix]:
 > > The example in the description is precisely an example where we want
 to override the method `.submonoid()` since everything can be computed
 using `gcd`!
 >
 > We are looking for a multiplicative monoid here, not additive. So I
 don't see from the top of my head how to do it with `gcd`.

 Indeed, `gcd` is not enough.

 > And I certainly agree that there must be some better way than brute
 force in such a specific situation. I was just looking for a simple
 example where one can easily check things by hand.

 In the case of `Z/nZ` we know the multiplicative structure! That is indeed
 a great advantage. I would decompose `Z/nZ = Prod_i (Z/(p_i)^k_i Z`. Then
 determine the order of the generators in each projection and the
 (multiplicative) subgroup they generate. And finally glue back.

 But I am pretty sure that this was not the situation you had in mind with
 Aladin when you wrote this ticket ;-)

 Vincent

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