Finding Subgroups

205 views
Skip to first unread message

Douglas Gray

unread,
Dec 12, 2023, 6:51:06 AM12/12/23
to sympy
Hey, Everybody.

Let me say, first, that I am a mathematician, not a comp-sci person. I am using sympy.combinatorics.named_groups to import different groups. Has anyone out there written a code to identify all subgroups of a given group?

Douglas Gray

unread,
Dec 16, 2023, 3:18:18 AM12/16/23
to sympy
I probably should have mentioned that I have written a script for this that identifies inverses and then checks subsets using the one-step subgroup test.

Sangyub Lee

unread,
Dec 20, 2023, 12:56:18 PM12/20/23
to sympy
Unfortunately, I don't think that there is any capability like AllSubgroups in GAP in SymPy
I also tried to find solutions, but it is not very trivial at least because naive solution by definition (just to test all subsets of groups) isn't feasibily fast enough even for small textbook problems.
So we need to implement some real algorithm for this

Douglas Gray

unread,
Jan 3, 2024, 9:37:05 AM1/3/24
to sympy
I have an algorithm that runs quickly for groups of order 18 or less.
Reply all
Reply to author
Forward
0 new messages