Ask Your Question

double cosets in Sage

asked 2012-09-07 18:57:16 +0200

Sydahmad gravatar image

Suppose G is a group and H and I are two subgroup of it how can I compute the double cosets I\G/H?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-09-12 18:23:55 +0200

benjaminfjones gravatar image

The DoubleCoset function in GAP has not been wrapped yet, so this is currently "not implemented". But, you can always ask GAP to compute (double) cosets from within Sage:

sage: gap.eval('g:=Group((1,2,3,4),(1,2));;')
sage: gap.eval('u:=Subgroup(g,[(1,2,3),(1,2)]);;')
sage: gap.eval('v:=Subgroup(g,[(3,4)]);;')
sage: gap.eval('c:=DoubleCoset(u,(2,4),v);')
'DoubleCoset(Group( [ (1,2,3), (1,2) ] ),(2,4),Group( [ (3,4) ] ))'
sage: gap.eval('List(c);')
'[ (2,3,4), (1,4,2), (1,3)(2,4), (2,4), (1,4,2,3), (1,3,4,2) ]'
edit flag offensive delete link more


I guess these wouldn't be translatable to Sage... yet.

kcrisman gravatar imagekcrisman ( 2012-09-13 22:49:45 +0200 )edit

I think this could be easily wrapped, the return type is a list of tuples. It's just that no one has done it yet.

benjaminfjones gravatar imagebenjaminfjones ( 2012-09-13 22:53:44 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-09-07 18:57:16 +0200

Seen: 767 times

Last updated: Sep 12 '12