Skip to content

Commit 6a4d42c

Browse files
CosetRepFunction --> AmbientRepresentation, CosetPosFunction --> AmbientPosition
1 parent e8a4329 commit 6a4d42c

5 files changed

Lines changed: 39 additions & 39 deletions

File tree

lib/CongruenceGroups/congGroups.gd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,21 +129,21 @@ DeclareAttribute( "AmbientTransversal", IsHAPCongruenceSubgroup );
129129

130130
############################################################################
131131
##
132-
## CosetPosFunction( <G> )
132+
## AmbientPosition( <G> )
133133
##
134134
## returns a function cosetPos(g) that inputs an element g in the ambient
135135
## group GG and returns an integer corresponding to the position of the left
136136
## coset gG in the lists of cosets of G in GG.
137-
DeclareAttribute( "CosetPosFunction", IsHAPCongruenceSubgroup );
137+
DeclareAttribute( "AmbientPosition", IsHAPCongruenceSubgroup );
138138

139139
############################################################################
140140
##
141-
## CosetRepFunction( <G> )
141+
## AmbientRepresentation( <G> )
142142
##
143143
## returns a function cosetRep(g) that inputs an element g in the ambient
144144
## group GG and returns a canonical representative in the ambient group GG
145145
## of the left coset gG.
146-
DeclareAttribute( "CosetRepFunction", IsHAPCongruenceSubgroup );
146+
DeclareAttribute( "AmbientRepresentation", IsHAPCongruenceSubgroup );
147147

148148
############################################################################
149149
##

lib/CongruenceGroups/congGroups.gi

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ InstallMethod( CongruenceSubgroupGamma0, "for integer matrix group and positive
103103
## Remaining components to be computed in other functions.
104104
ProjectiveSpace(G);
105105
AmbientTransversal(G);
106-
CosetPosFunction(G); #A generic method will be used to construct the
107-
CosetRepFunction(G); #these two functions except for cases with a
106+
AmbientPosition(G); #A generic method will be used to construct the
107+
AmbientRepresentation(G); #these two functions except for cases with a
108108
#bespoke implementation.
109109
#cosetPos and poscan are used interchangably.
110110

@@ -180,8 +180,8 @@ InstallMethod( PrincipalCongruenceSubgroup,
180180
##
181181
## Remaining components to be computer elsewhere.
182182
AmbientTransversal(G);
183-
CosetPosFunction(G); #A generic method will be used to construct the
184-
CosetRepFunction(G); #these two functions except for cases with a
183+
AmbientPosition(G); #A generic method will be used to construct the
184+
AmbientRepresentation(G); #these two functions except for cases with a
185185
#bespoke implementation.
186186
#cosetPos and poscan are used interchangably.
187187

@@ -407,7 +407,7 @@ InstallMethod( IsSubset,
407407
if Size(StabilizerSubgroup(G))=1 then
408408
AmbientTree(G);
409409
nodes:=G!.nodes;
410-
poscan:=CosetPosFunction(G);
410+
poscan:=AmbientPosition(G);
411411

412412
else
413413
################################################################
@@ -525,7 +525,7 @@ InstallMethod( IsSubset,
525525
## Returns a tree representing the cosets of G in the ambient group GG.
526526
InstallMethod(AmbientTree,
527527
"Constructs a coset tree for a congruence subgroup in the ambient group, and uses it to obtain a generating set (faster method)",
528-
[ IsHAPCongruenceSubgroup and HasCosetPosFunction and HasCosetRepFunction ],
528+
[ IsHAPCongruenceSubgroup and HasAmbientPosition and HasAmbientRepresentation ],
529529
function(G)
530530
local GG, ambientGenerators, tree,InGmodU,Ugrp,U,v,p,g,s,n,q,vv,
531531
leaves,genTriples,generators, InLowDegreeNodesModG, csts, cnt,
@@ -538,8 +538,8 @@ InstallMethod( IsSubset,
538538
GG:=AmbientGroupOfCongruenceSubgroup(G);
539539
ambientGenerators:=GeneratorsOfGroup(GG);
540540
one:=One(GG);
541-
cosetPos:=CosetPosFunction(G);
542-
cosetRep:=CosetRepFunction(G);
541+
cosetPos:=AmbientPosition(G);
542+
cosetRep:=AmbientRepresentation(G);
543543

544544
Ugrp:=StabilizerSubgroup(G);
545545
Ugrp:=Elements(Ugrp);
@@ -616,11 +616,11 @@ InstallMethod( IsSubset,
616616

617617
##########################################################################
618618
##
619-
## CosetPosFunction( <G> )
619+
## AmbientPosition( <G> )
620620
##
621621
## Returns a function cosetPos(g) giving the position of the coset gG in
622622
## the ambient group.
623-
InstallMethod(CosetPosFunction,
623+
InstallMethod(AmbientPosition,
624624
"Returns cosetPos(g) function for the congruence subgroup G",
625625
[ IsIntegerMatrixGroup and IsHAPPrincipalCongruenceSubgroup ],
626626
function(G)
@@ -652,11 +652,11 @@ InstallMethod( IsSubset,
652652

653653
##########################################################################
654654
##
655-
## CosetRepFunction( <G> )
655+
## AmbientRepresentation( <G> )
656656
##
657657
## Returns a function cosetRep(g) giving a representative of the coset gG in
658658
## the ambient group.
659-
InstallMethod(CosetRepFunction,
659+
InstallMethod(AmbientRepresentation,
660660
"Returns cosetPos(g) function for the congruence subgroup G",
661661
[ IsIntegerMatrixGroup and IsHAPPrincipalCongruenceSubgroup ],
662662
function(G)
@@ -724,9 +724,9 @@ InstallMethod( IsSubset,
724724

725725
##########################################################################
726726
##
727-
## CosetPosFunction( <G> )
727+
## AmbientPosition( <G> )
728728
##
729-
InstallOtherMethod(CosetPosFunction,
729+
InstallOtherMethod(AmbientPosition,
730730
"for a generic congruence subgroup (slow method via ambient tree)",
731731
[ IsHAPCongruenceSubgroup ],
732732
function(G)
@@ -746,9 +746,9 @@ InstallMethod( IsSubset,
746746

747747
##########################################################################
748748
##
749-
## CosetRepFunction( <G> )
749+
## AmbientRepresentation( <G> )
750750
##
751-
InstallOtherMethod(CosetRepFunction,
751+
InstallOtherMethod(AmbientRepresentation,
752752
"for a generic congruence subgroup (slow method via ambient tree)",
753753
[ IsHAPCongruenceSubgroup ],
754754
function(G)
@@ -892,8 +892,8 @@ G!.ambientMembership:=ambientMembership;
892892
G!.AmbientGroupOfCongruenceSubgroup:= AmbientGroupOfCongruenceSubgroup(H);
893893

894894
AmbientTransversal(G);
895-
CosetPosFunction(G);
896-
CosetRepFunction(G);
895+
AmbientPosition(G);
896+
AmbientRepresentation(G);
897897

898898
return G;
899899

lib/CongruenceGroups/sl2methods.gi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ InstallMethod(ProjectiveSpace,
5555
#Now handle case of prime level.
5656
GG:=AmbientGroupOfCongruenceSubgroup(G);
5757

58-
cosetPos:=CosetPosFunction(G);
58+
cosetPos:=AmbientPosition(G);
5959
poscan:=function(g) return cosetPos(g^-1); end;
6060

6161
transversal:=List([0..n-1],i->[[1,0],[-i,1]]);
@@ -73,11 +73,11 @@ InstallMethod(ProjectiveSpace,
7373

7474
##########################################################################
7575
##
76-
## CosetPosFunction( <G> )
76+
## AmbientPosition( <G> )
7777
##
7878
## Returns a function cosetPos(g) giving the position of the coset gG in
7979
## the ambient group.
80-
InstallMethod(CosetPosFunction,
80+
InstallMethod(AmbientPosition,
8181
"Returns cosetPos(g) function for the congruence subgroup G",
8282
[ IsIntegerMatrixGroup and IsHAPCongruenceSubgroupGamma0 ],
8383
function(G)
@@ -99,11 +99,11 @@ InstallMethod(ProjectiveSpace,
9999

100100
##########################################################################
101101
##
102-
## CosetRepFunction( <G> )
102+
## AmbientPosition( <G> )
103103
##
104104
## Returns a function cosetPos(g) giving a canonical rpresentative of the
105105
## coset gG in the ambient group.
106-
InstallMethod(CosetRepFunction,
106+
InstallMethod(AmbientPosition,
107107
"Returns cosetPos(g) function for the congruence subgroup G",
108108
[ IsIntegerMatrixGroup and IsHAPCongruenceSubgroupGamma0 ],
109109
function(G)

lib/Orru/sl2methodsExtra.gi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# methods for power of primes
22

3-
InstallMethod(CosetPosFunction,
3+
InstallMethod(AmbientPosition,
44
"Returns cosetPos(g) function for the congruence subgroup G",
55
[ IsIntegerMatrixGroup and IsHAPCongruenceSubgroupGamma0 ],
66
function(G)
@@ -77,7 +77,7 @@ InstallMethod(CosetPosFunction,
7777
return cosetPos;
7878
end);
7979

80-
InstallMethod(CosetPosFunction,
80+
InstallMethod(AmbientPosition,
8181
"Returns cosetPos(g) function for the congruence subgroup G",
8282
[ IsIntegerMatrixGroup and IsHAPCongruenceSubgroupGamma0 ],
8383
function(G)
@@ -130,7 +130,7 @@ InstallMethod(CosetPosFunction,
130130
return cosetPos;
131131
end);
132132

133-
InstallMethod(CosetRepFunction,
133+
InstallMethod(AmbientRepresentation,
134134
"Returns cosetPos(g) function for the congruence subgroup G",
135135
[ IsIntegerMatrixGroup and IsHAPCongruenceSubgroupGamma0 ],
136136
function(G)
@@ -161,7 +161,7 @@ InstallMethod(CosetRepFunction,
161161
return [[a,b],[c,d]];
162162
end;
163163

164-
cosetPos := CosetPosFunction(G);
164+
cosetPos := AmbientPosition(G);
165165

166166
cosetRep:=function(g);
167167
return cosetOfInt(cosetPos(g));
@@ -194,7 +194,7 @@ InstallMethod(CosetRepFunction,
194194

195195
GG:=AmbientGroupOfCongruenceSubgroup(G);
196196

197-
cosetPos:=CosetPosFunction(G);
197+
cosetPos:=AmbientPosition(G);
198198

199199
cosetOfInt := function(i)
200200
local a, c, b, d, gg;

lib/Orru/sl3methods.gi

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ InstallMethod(ProjectiveSpace,
2020
end);
2121
##########################################################################
2222
##
23-
## CosetPosFunction( <G> )
23+
## AmbientPosition( <G> )
2424
##
2525
## Returns a function cosetPos(g) giving the position of the coset gG in
2626
## the ambient group.
27-
InstallMethod(CosetPosFunction,
27+
InstallMethod(AmbientPosition,
2828
"Returns cosetPos(g) function for the congruence subgroup G",
2929
[ IsIntegerMatrixGroup and IsHAPCongruenceSubgroupGamma0 ],
3030
function(G)
@@ -54,11 +54,11 @@ InstallMethod(CosetPosFunction,
5454
end);
5555
##########################################################################
5656
##
57-
## CosetRepFunction( <G> )
57+
## AmbientRepresentation( <G> )
5858
##
5959
## Returns a function cosetPos(g) giving a canonical rpresentative of the
6060
## coset gG in the ambient group.
61-
InstallMethod(CosetRepFunction,
61+
InstallMethod(AmbientRepresentation,
6262
"Returns cosetRep(g) function for the congruence subgroup G",
6363
[ IsIntegerMatrixGroup and IsHAPCongruenceSubgroupGamma0 ],
6464
function(G)
@@ -86,7 +86,7 @@ InstallMethod(CosetRepFunction,
8686
return MatrixInSL3_Hermite([x,y,z]);
8787
end;
8888

89-
cosetPos := CosetPosFunction(G);
89+
cosetPos := AmbientPosition(G);
9090

9191
cosetRep:=function(g);
9292
return cosetOfInt(cosetPos(g));
@@ -113,7 +113,7 @@ function(G)
113113
ProjPlane := ProjectiveSpace(G);
114114

115115
GG:=AmbientGroupOfCongruenceSubgroup(G);
116-
cosetPos:=CosetPosFunction(G);
116+
cosetPos:=AmbientPosition(G);
117117

118118
MatrixInSL3_Hermite := function(v)
119119
local Herm;
@@ -143,4 +143,4 @@ function(G)
143143
cosets:=transversal,
144144
poscan:=poscan
145145
));
146-
end);
146+
end);

0 commit comments

Comments
 (0)