Skip to content

Commit 973ded5

Browse files
imroved Hecke
1 parent 9ef97f5 commit 973ded5

25 files changed

+451
-685
lines changed

HowToUpdateHap.txt

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Change Test:=testquick.g, date and version in PackageInfo.g
2+
3+
Change ~/Hap/date
4+
5+
Change ~/Hap/version
6+
7+
Run ./updateAll.sh
8+
9+
Fix Undocumented.xml
10+
11+
Run clean in ~/Hap/doc and in ~/Hap/doc/tutorial
12+
13+
git clone https://github.com/gap-packages/hap.git
14+
15+
cp -r pkg/Hap1.30/* hap
16+
17+
rm hap/HowToUpdateHap.txt THIS SEEMS TO BE IMPORTANT
18+
19+
diff -r pkg/Hap1.30/ hap/
20+
21+
cd hap and then
22+
23+
git add .
24+
git commit -m "message"
25+
git push origin master [with username grahamknockillaree and passwd MumWon]
26+
27+
git clone --branch gh-pages https://github.com/gap-packages/hap.git
28+
29+
Rename the gh-pages directory from whatever it is called to gh-pages
30+
31+
Populate gh-pages/doc gh-pages/tutorial gh-pages/www with most recent files (xml, html files, etc.)
32+
33+
Make sure you have the latest Release Tools and then from within hap type
34+
35+
../ReleaseTools/release-gap-package --token ghp_whateverthetokenis
36+
37+
For some reason it may be necessary to perform the last command as root.
38+
39+
That's it.

lib/ArithmeticGroups/cplGTree.gi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ local t1,t2,
199199
##
200200
Homotopy:=function(n,w)
201201
local d,path,i,h,k,g,pk,r,t;
202-
203202
if not n=0 then
204203
return [];
205204
fi;

lib/ArithmeticGroups/freeZGRes.gi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,6 @@ local
916916
Homotopy:=function(k,w)
917917
local
918918
f,g,q,s,r,t,v,e,h;
919-
920919
### h([])=[]
921920
if w=[] then
922921
return [];

lib/Congruence/bianchi.gi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,11 @@ function(OQ,LL)
11451145
local K,L;
11461146

11471147
L:=QNeighbourhoodOfUnimodularPairs(OQ,LL);
1148+
if OQ!.bianchiInteger=-5 then
11481149
L:=Filtered(L,x->IsQUnimodularPair(OQ,x));
1150+
else
1151+
L:=Filtered(L,x->IsQQUnimodularPair(OQ,x));
1152+
fi;
11491153
K:=UnimodularPairsReduced_NN(OQ,L);
11501154
K:=QQNeighbourhoodOfUnimodularPairs(OQ,K[1]);
11511155
K:=UnimodularPairsReduced_NN(OQ,K);
@@ -1168,7 +1172,7 @@ ABI:=AbsInt(BI);
11681172
###############################
11691173

11701174
HAPRECORD:=[
1171-
[ 1, 1 ],[ 2, 1 ],[ 3, 1 ],[ 5, 20 ],[ 6, 24 ],[ 7, 1 ],[ 10, 40 ],[ 11, 1 ],[ 13, 52 ],[ 14, 56 ],[ 15, 15 ],[ 17, 68 ],[ 19, 4 ],[ 21, 84 ],[ 22, 88 ],[ 23, 18 ],[ 26, 104 ],[ 29, 169 ],[ 30, 121 ],[ 31, 16 ],[ 33, 132 ],[ 34, 9 ],[ 35, 35 ],[ 37, 25 ],[ 38, 4 ],[ 39, 39 ],[ 41, 25 ],[ 42, 25 ],[ 43, 9 ],[ 46, 25 ],[ 47, 24 ],[ 51, 51 ],[ 53, 25 ],[ 55, 56 ],[ 57, 49 ],[ 59, 27 ],[ 67, 16 ],[ 71, 48 ],[ 79, 40 ],[ 83, 33 ],[ 87, 87 ],[ 91, 91 ],[ 95, 95 ],[ 103, 56 ],[ 107, 36 ],[ 111, 111 ],[ 115, 115 ],[ 119, 25 ],[ 123, 123 ],[ 127, 64 ],[ 131, 45 ],[ 139, 55 ],[ 143, 9 ],[ 151, 80 ],[ 155, 155 ],[ 163, 53 ],
1175+
[ 1, 1 ],[ 2, 1 ],[ 3, 1 ],[ 5, 20 ],[ 6, 24 ],[ 7, 1 ],[ 10, 40 ],[ 11, 1 ],[ 13, 52 ],[ 14, 56 ],[ 15, 15 ],[ 17, 68 ],[ 19, 4 ],[ 21, 84 ],[ 22, 88 ],[ 23, 18 ],[ 26, 104 ],[ 29, 169 ],[ 30, 121 ],[ 31, 16 ],[ 33, 132 ],[ 34, 9 ],[ 35, 35 ],[ 37, 25 ],[ 38, 4 ],[ 39, 39 ],[ 41, 25 ],[ 42, 25 ],[ 43, 9 ],[ 46, 25 ],[ 47, 24 ],[ 51, 51 ],[ 53, 25 ],[ 55, 56 ],[ 57, 49 ],[ 59, 27 ],[ 67, 16 ],[ 71, 48 ],[ 79, 40 ],[ 83, 33 ],[ 87, 87 ],[ 91, 91 ],[ 95, 95 ],[ 103, 56 ],[ 107, 36 ],[ 111, 111 ],[ 115, 115 ],[ 119, 25 ],[ 123, 123 ],[ 127, 64 ],[ 131, 45 ],[ 139, 55 ],[ 143, 9 ],[ 151, 80 ],[ 155, 155 ],[ 163, 53 ],[167,384],
11721176
[ 179, 155]
11731177
];;
11741178
#HAPRECORD contains some precomuted [d,r] for which Swan's

lib/Congruence/bianchiComplex.gi

Lines changed: 68 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,74 @@ end;
66
#######################################################
77
#######################################################
88

9-
#RT:=0;
9+
#######################################################
10+
#######################################################
11+
HAP_QuadToCyclotomicMat:=function(A)
12+
local B,R,r,x;
13+
B:=[];
14+
15+
for r in A do
16+
R:=[];
17+
for x in r do
18+
Add(R,HAP_QuadToCyclotomic(x));
19+
od;
20+
Add(B,R);
21+
od;
22+
23+
return B;
24+
end;
25+
#######################################################
26+
#######################################################
27+
28+
#######################################################
29+
#######################################################
30+
HAP_QuadToCyclotomicGroup:=function(G)
31+
local gens;
32+
33+
gens:=GeneratorsOfGroup(G);
34+
gens:=List(gens,HAP_QuadToCyclotomicMat);
35+
36+
return Group(gens);
37+
end;
38+
#######################################################
39+
#######################################################
40+
41+
#######################################################
42+
#######################################################
43+
QuadraticToCyclotomicCoefficients:=function(RR)
44+
local R,BI,n,k,d,Q,OQ,I,G,L,pos;
45+
46+
for n in [1..Length(RR)] do
47+
for k in [1..RR!.dimension(n)] do
48+
RR!.boundary(n,k);
49+
od;
50+
od;
51+
52+
R:=Objectify(HapResolution,
53+
rec(
54+
dimension:=RR!.dimension,
55+
boundary:=RR!.boundary,
56+
homotopy:=RR!.homotopy,
57+
elts:=List(RR!.elts,HAP_QuadToCyclotomicMat),
58+
group:=fail,
59+
properties:= RR!.properties));
60+
61+
d:=One(RR!.elts[1][1][1]);;
62+
d:=d!.bianchiInteger;
63+
Q:=QuadraticNumberField(d);;
64+
OQ:=RingOfIntegers(Q);;
65+
I:=QuadraticIdeal(OQ,1);;
66+
G:=HAP_CongruenceSubgroupGamma0(I);;
67+
G!.tree:=true;
68+
R!.group:=G;
69+
70+
return R;
71+
72+
end;
73+
#######################################################
74+
#######################################################
75+
76+
1077
#######################################################
1178
#######################################################
1279
HAP_BianchiAction:=function(A,PP)
@@ -28,7 +95,6 @@ b:=A[1][2]; b:=HAP_QuadToCyclotomic(b);
2895
c:=A[2][1]; c:=HAP_QuadToCyclotomic(c);
2996
d:=A[2][2]; d:=HAP_QuadToCyclotomic(d);
3097

31-
#RT:=RT-Runtime(); #MOST OF THE TIME
3298
cc:=ComplexConjugate(c*z+d);
3399

34100
#zz:=(a*z+b)*ComplexConjugate(c*z+d) +a*ComplexConjugate(c)*t^2;
@@ -44,7 +110,6 @@ zz:=zz/D;
44110
#tt:=t/((c*z+d)*ComplexConjugate(c*z+d) +(c*t)*ComplexConjugate(c*t));
45111
tt:=t/D;
46112

47-
#RT:=RT+Runtime();
48113

49114

50115
ans:=[];

0 commit comments

Comments
 (0)