[sage-support] Re: Trouble with PermutationGroupElement

2009-03-17 Thread Rob Beezer
It's even worse: sage: G=SymmetricGroup(8) sage: H=SymmetricGroup(2) sage: a=H('(1,2)') sage: b=G('(1,2)(3,4)') sage: a==b True I don't think any interpretation would suggest this behavior as correct. The problem is that the current compare only runs through checking equality of the images for

[sage-support] Re: Trouble with PermutationGroupElement

2009-03-16 Thread Robert Bradshaw
On Mar 16, 2009, at 1:27 PM, epple wrote: I am slightly confused about Permutation groups. The following, I think, is part of the problem. Version: 3.4 (Sage on the web) Code: sage: h=PermutationGroupElement('()') sage: k=PermutationGroupElement('(1,2)') sage: k^2==h,h==k^2 (False, True)

[sage-support] Re: Trouble with PermutationGroupElement

2009-03-16 Thread epple
Actually I am getting the same result for other permutations, like: sage: h=PermutationGroupElement('(1,3,2)') sage: k=PermutationGroupElement('(1,2,3),(4,5)') sage: k^2==h,h==k^2 (False, True) --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Re: Trouble with PermutationGroupElement

2009-03-16 Thread Robert Bradshaw
On Mar 16, 2009, at 2:25 PM, epple wrote: Actually I am getting the same result for other permutations, like: sage: h=PermutationGroupElement('(1,3,2)') sage: k=PermutationGroupElement('(1,2,3),(4,5)') sage: k^2==h,h==k^2 (False, True) Hmm... looks like permutation groups aren't being

[sage-support] Re: Trouble with PermutationGroupElement

2009-03-16 Thread John H Palmieri
On Mar 16, 2:26 pm, Robert Bradshaw rober...@math.washington.edu wrote: On Mar 16, 2009, at 2:25 PM, epple wrote: Actually I am getting the same result for other permutations, like: sage: h=PermutationGroupElement('(1,3,2)') sage: k=PermutationGroupElement('(1,2,3),(4,5)') sage:

[sage-support] Re: Trouble with PermutationGroupElement

2009-03-16 Thread John H Palmieri
On Mar 16, 2:40 pm, John H Palmieri jhpalmier...@gmail.com wrote: On Mar 16, 2:26 pm, Robert Bradshaw rober...@math.washington.edu wrote: On Mar 16, 2009, at 2:25 PM, epple wrote: Actually I am getting the same result for other permutations, like: sage: