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, 2:49 pm, Robert Bradshaw
wrote:
> On Mar 16, 2009, at 2:46 PM, John H Palmieri wrote:
>
> There's a whole thread on this topic...
Which didn't really help me to decide one way or the other...
> In any case, as the "Parent" has not been specified, I wouldn't want
> it to prevent the
On Mar 16, 2009, at 2:46 PM, John H Palmieri wrote:
> On Mar 16, 2:40 pm, John H Palmieri wrote:
>> On Mar 16, 2:26 pm, Robert Bradshaw
>> wrote:
>>
>>> On Mar 16, 2009, at 2:25 PM, epple wrote:
>>
Actually I am getting the same result for other permutations, like:
>>
sage: h=Permutat
On Mar 16, 2:40 pm, John H Palmieri wrote:
> On Mar 16, 2:26 pm, Robert Bradshaw
> 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=PermutationGroupE
On Mar 16, 2:26 pm, Robert Bradshaw
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: k^2==h,h==k^2
> > (Fal
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 bein
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
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