#10976: computing order of a certain subgroup of a permutation group is double 
dog
slow (compared to Magma)
-----------------------------+----------------------------------------------
   Reporter:  was            |          Owner:  swenson            
       Type:  enhancement    |         Status:  needs_work         
   Priority:  major          |      Milestone:  sage-5.0           
  Component:  group theory   |       Keywords:  sd32               
Work_issues:                 |       Upstream:  N/A                
   Reviewer:  William Stein  |         Author:  Christopher Swenson
     Merged:                 |   Dependencies:                     
-----------------------------+----------------------------------------------

Comment(by was):

 Wow, at least one of those doctest failures shows that there is a mistake
 in this algorithm:
 {{{
 sage: G = DihedralGroup(5).cayley_graph().automorphism_group()
 sage: sage: G.order()
 6
 sage: G._gap_().Order()
 10
 sage: len(list(G))
 10
 }}}

 I think that the author was perhaps assuming that the generators are all
 transpositions, but didn't test this:
 {{{
 sage: G.gens()
 [(1,8)(2,10)(3,4)(5,6)(7,9), (1,10)(2,3)(4,5)(6,7)(8,9)]
 sage: G.gens()[0].cycle_tuples()
 [(1, 8), (2, 10), (3, 4), (5, 6), (7, 9)]
 }}}
 But in the code in the patch we have
 {{{
 1357                a, b = g.cycle_tuples()[0]
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10976#comment:28>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to