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

Fix is_isomorphic for matrix group and permutation group #17620

Open
nathanncohen mannequin opened this issue Jan 12, 2015 · 2 comments
Open

Fix is_isomorphic for matrix group and permutation group #17620

nathanncohen mannequin opened this issue Jan 12, 2015 · 2 comments

Comments

@nathanncohen
Copy link
Mannequin

nathanncohen mannequin commented Jan 12, 2015

This does not work:

sage: g1 = groups.permutation.PGL(2,2)
sage: g2 = groups.matrix.GO(3,2)
sage: g2.is_isomorphic(g1)
...
AttributeError: 'PGL_with_category' object has no attribute 'gap'

A simple hack seems to work

sage: g1.gap = g1._gap_
sage: g2.is_isomorphic(g1)
True

Though I was not able to find where _gap_ was defined on permutation groups.

Note that g1.is_isomorphic(g2) fails for another reason

sage: g1.is_isomorphic(g2)
...
TypeError: right must be a permutation group

Related:

CC: @slel @vbraun

Component: group theory

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

@nathanncohen nathanncohen mannequin added this to the sage-6.5 milestone Jan 12, 2015
@nathanncohen

This comment has been minimized.

@slel

This comment has been minimized.

@slel slel changed the title broken is_isomorphic between matrix group and permutation group Fix is_isomorphic for matrix group and permutation group May 30, 2022
@mkoeppe mkoeppe removed this from the sage-6.5 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants