Skip to content

Commit 41e777d

Browse files
fix AmbientTreeiDisplay
1 parent 73743b5 commit 41e777d

2 files changed

Lines changed: 20 additions & 5 deletions

File tree

lib/CongruenceGroups/congGroups.gd

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
abc:=233;
21

32
#############################################################################
43
##
@@ -27,6 +26,14 @@ DeclareOperation("CongruenceSubgroupGamma1", [IsMatrixGroup,IsRingElement]);
2726
## important classes of congruence subgroups
2827
DeclareCategory( "IsHAPCongruenceSubgroup", IsMatrixGroup );
2928

29+
#############################################################################
30+
##
31+
## IsHAPConjugatedCongruenceSubgroup( <G> )
32+
##
33+
## We create a category of congruence subgroups conjugated by a matrix
34+
DeclareOperation("IsHAPConjugatedCongruenceSubgroup", [IsHAPCongruenceSubgroup]);
35+
36+
3037
#############################################################################
3138
##
3239
## AmbientGroupOfCongruenceSubgroup( <G> )
@@ -136,10 +143,17 @@ DeclareAttribute( "CosetRepFunction", IsHAPCongruenceSubgroup );
136143
##
137144
## AmbientTree( <G> )
138145
##
139-
## returns a tree representing the left cosets of G in the ambient group GG
146+
## returns a tree representing the left 'cosets' of G in the ambient group GG
140147
## whose construction depends on the given generating set for GG.
141148
DeclareAttribute( "AmbientTree", IsHAPCongruenceSubgroup );
142149

150+
############################################################################
151+
##
152+
## AmbientTreeDisplay( <G> )
153+
##
154+
## displays the tree associated to the congruence subgroup G
155+
DeclareGlobalFunction("AmbientTreeDisplay");
156+
143157
############################################################################
144158
##
145159
##

lib/CongruenceGroups/congGroups.gi

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ InstallMethod( CongruenceSubgroupGamma0, "for integer matrix group and positive
2828
LevelOfCongruenceSubgroup, n,
2929
IsHAPPrincipalCongruenceSubgroup, false,
3030
IsHAPCongruenceSubgroupGamma0, true,
31-
IsHAPCongruenceSubgroupGamma1, false
31+
IsHAPCongruenceSubgroupGamma1, false,
32+
IsHAPConjugatedCongruenceSubgroup, false
3233
);
3334
if GG=SL(2,Integers) then
3435
S:=[[0,-1],[1,0]];; T:=[[1,1],[0,1]]; U:=S*T;
@@ -133,7 +134,8 @@ InstallMethod( PrincipalCongruenceSubgroup,
133134
LevelOfCongruenceSubgroup, n,
134135
IsHAPPrincipalCongruenceSubgroup, true,
135136
IsHAPCongruenceSubgroupGamma0, false,
136-
IsHAPCongruenceSubgroupGamma1, false
137+
IsHAPCongruenceSubgroupGamma1, false,
138+
IsHAPConjugatedCongruenceSubgroup, false
137139
);
138140
if GG=SL(2,Integers) then
139141
S:=[[0,-1],[1,0]];; T:=[[1,1],[0,1]]; U:=S*T;
@@ -445,7 +447,6 @@ InstallMethod( IsSubset,
445447
RemoveDictionary(leaves,v);
446448
od;
447449
#####################################################
448-
#fi;
449450

450451
nodesinv:=List(nodes,g->g^-1);
451452

0 commit comments

Comments
 (0)