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

subgroup and sub #667

Closed
FriedrichRober opened this issue Sep 8, 2021 · 6 comments · Fixed by thofma/Hecke.jl#396
Closed

subgroup and sub #667

FriedrichRober opened this issue Sep 8, 2021 · 6 comments · Fixed by thofma/Hecke.jl#396

Comments

@FriedrichRober
Copy link
Contributor

It's a bit confusing that there are two commands sub and subgroup.

@fieker
Copy link
Contributor

fieker commented Sep 8, 2021 via email

@thofma
Copy link
Collaborator

thofma commented Sep 8, 2021

subgroup is only used in Hecke for one specific type of group. We should just rename it.

@FriedrichRober
Copy link
Contributor Author

FriedrichRober commented Sep 8, 2021

The problem I had was that subgroup does not work for all groups. For example:

julia> G = symmetric_group(5)
Sym( [ 1 .. 5 ] )

julia> x = perm(G, [2,3,1,5,4])
(1,2,3)(4,5)

julia> H, iota = subgroup(G, [x])
ERROR: MethodError: no method matching subgroup(::PermGroup, ::Vector{PermGroupElem})
Stacktrace:
 [1] top-level scope
   @ REPL[8]:1

julia> H, iota = sub(G, [x])
(Group([ (1,2,3)(4,5) ]), Group homomorphism from 
Group([ (1,2,3)(4,5) ])
to
Sym( [ 1 .. 5 ] ))

@thofma
Copy link
Collaborator

thofma commented Sep 8, 2021

Will be fixed by thofma/Hecke.jl#396.

@thofma
Copy link
Collaborator

thofma commented Sep 11, 2021

Let's keep it open until the changes made it to Oscar.

@fingolfin
Copy link
Member

There was an Oscar release in the meantime and I think this is really resolved now

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.

4 participants