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
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)
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
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
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:
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: