Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

group multiplication seems to depend on order sometimes #13569

Closed
kcrisman opened this issue Oct 4, 2012 · 1 comment · Fixed by #35010
Closed

group multiplication seems to depend on order sometimes #13569

kcrisman opened this issue Oct 4, 2012 · 1 comment · Fixed by #35010

Comments

@kcrisman
Copy link
Member

kcrisman commented Oct 4, 2012

See this ask.sagemath.org question. This doesn't always happen, but usually happens pretty soon.

sage: G.random_element()*H.random_element()
(1,3,2)
sage: H.random_element()*G.random_element()
()
sage: H.random_element()*G.random_element()
(1,2,3)
sage: H.random_element()*G.random_element()
(1,2,3)
sage: H.random_element()*G.random_element()
(1,3,2)
sage: H.random_element()*G.random_element()
ERROR: An unexpected error occurred while tokenizing input

TypeError: unsupported operand parent(s) for '*': 'Alternating group of order 3!/2 as a permutation group' and 'Symmetric group of order 3! as a permutation group'

Component: group theory

Issue created by migration from https://trac.sagemath.org/ticket/13569

@kcrisman kcrisman added this to the sage-5.11 milestone Oct 4, 2012
@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@mezzarobba
Copy link
Member

comment:3
sage: G = SymmetricGroup(3)
sage: H = AlternatingGroup(3)
sage: for g in G:
    for h in H:
        try:
            print h, "*", g, "=", h*g
        except TypeError:
            print "???"
....:             
() * () = ()
(1,2,3) * () = (1,2,3)
(1,3,2) * () = (1,3,2)
() * (2,3) = ???
(1,2,3) * (2,3) = ???
(1,3,2) * (2,3) = ???
() * (1,2) = ???
(1,2,3) * (1,2) = ???
(1,3,2) * (1,2) = ???
() * (1,2,3) = (1,2,3)
(1,2,3) * (1,2,3) = (1,3,2)
(1,3,2) * (1,2,3) = ()
() * (1,3,2) = (1,3,2)
(1,2,3) * (1,3,2) = ()
(1,3,2) * (1,3,2) = (1,2,3)
() * (1,3) = ???
(1,2,3) * (1,3) = ???
(1,3,2) * (1,3) = ???

@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@mkoeppe mkoeppe removed this from the sage-6.4 milestone Dec 29, 2022
mezzarobba added a commit to mezzarobba/sage that referenced this issue Feb 7, 2023
mezzarobba added a commit to mezzarobba/sage that referenced this issue Feb 7, 2023
mezzarobba added a commit to mezzarobba/sage that referenced this issue Feb 8, 2023
vbraun pushed a commit that referenced this issue Feb 24, 2023
    
Closes #13569.
    
URL: #35010
Reported by: Marc Mezzarobba
Reviewer(s): Edgar Costa, Frédéric Chapoton, roed314
@mkoeppe mkoeppe added this to the sage-10.0 milestone Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants