Skip to content

Commit c5f0c88

Browse files
version 1.65
1 parent 057e7c7 commit c5f0c88

File tree

9 files changed

+46
-34
lines changed

9 files changed

+46
-34
lines changed

PackageInfo.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ SetPackageInfo( rec(
88

99
PackageName := "HAP",
1010
Subtitle := "Homological Algebra Programming",
11-
Version := "1.64",
12-
Date := "28/07/2024",
11+
Version := "1.65",
12+
Date := "29/07/2024",
1313
License := "GPL-2.0-or-later",
1414

1515
SourceRepository := rec(

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ Please send your bug reports to graham.ellis(at)nuigalway.ie .
3232
On a Linux machine with GAP (and optionally Polymake) installed, the HAP
3333
library can be loaded as follows:
3434

35-
* First download the file hap1.64.tar.gz to the subdirectory "pkg/" of GAP. (If
35+
* First download the file hap1.65.tar.gz to the subdirectory "pkg/" of GAP. (If
3636
you don't have access to this, then create a directory "pkg" in your home
3737
directory and download the file there.)
3838

39-
* Change to directory "pkg/" and type "gunzip hap1.64.tar.gz" followed by
40-
"tar -xvf hap1.64.tar" .
39+
* Change to directory "pkg/" and type "gunzip hap1.65.tar.gz" followed by
40+
"tar -xvf hap1.65.tar" .
4141

4242
* Start GAP. (If you have created "pkg" in your home directory then start GAP
4343
with the command "gap -l 'path/homedir;' " where path/homedir is the path to
@@ -46,12 +46,12 @@ your home directory.)
4646
* In GAP type " LoadPackage("HAP"); " .
4747

4848
* Help on HAP can be found on the HAP home page (a version of which is
49-
included in directory "pkg/Hap1.64/www" of this distribution).
49+
included in directory "pkg/Hap1.65/www" of this distribution).
5050

5151
* Performance can be significantly improved by using a compiled version of the
5252
HAP library. A compiled version can be created by the following steps.
5353

54-
1. Change to the directory "pkg/Hap1.64/" .
54+
1. Change to the directory "pkg/Hap1.65/" .
5555
2. Edit the file "compile" so that: PKGDIR is equal to the path to the
5656
directory "pkg" where your GAP packages are stored; GACDIR is equal to the
5757
path to the directory where the GAP compiler "gac" is stored.
@@ -60,4 +60,4 @@ path to the directory where the GAP compiler "gac" is stored.
6060
The next time HAP is loaded a compiled version will be loaded.
6161

6262
* Should you want to return to an uncompiled version, change to the directory
63-
"pkg/Hap1.64/" and type "./uncompile".
63+
"pkg/Hap1.65/" and type "./uncompile".

date

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
28 July 2024
1+
29 July 2024

lib/Congruence/bianchi.gi

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,10 +1133,16 @@ N:=5;
11331133
BI:=OQ!.bianchiInteger;
11341134
ABI:=AbsInt(BI);
11351135
###############################
1136-
HAPRECORD:=[ [ 1, 1 ], [ 2, 1 ], [ 3, 1 ], [ 5, 20 ], [ 6, 24 ], [ 7, 1 ], [ 10, 40 ], [ 11, 1 ], [ 13, 52 ], [ 14, 56 ], [ 15, 16 ], [ 17, 68 ], [ 19, 4 ], [ 21, 84 ], [ 22, 88 ], [ 23, 12 ], [ 26, 104 ], [ 29, 169 ], [ 30, 121 ], [ 31, 16 ], [33,132], [ 34, 0 ], [ 35, 35 ], [ 37, 0 ], [ 38, 0 ], [ 39, 39 ], [ 41, 0 ], [ 42, 0 ], [ 43, 9 ], [ 46, 0 ], [ 47, 24 ], [ 51, 51 ], [ 53, 0 ], [ 55, 56 ], [ 57, 0 ], [ 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, 0 ], [ 123, 123 ], [ 127, 64 ], [ 131, 45 ], [ 139, 55 ], [ 143, 0 ], [ 151, 80 ], [163, 53 ] ];
11371136

1138-
#HAPRECORD:=[]; #Uncomment this line to calculate
1139-
#HAPRECORD entries from scratch.
1137+
HAPRECORD:=[
1138+
[ 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, 12 ],[ 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 ],
1139+
[ 179, 155]
1140+
];;
1141+
#HAPRECORD contains some precomuted [d,r] for which Swan's
1142+
#criterion is satisfied for the given norm r.
1143+
#HAPRECORD:=[]; #Uncomment this line to calculate HAPRECORD entries from
1144+
#scratch. The value [179,155] was only partialy checked (up
1145+
#to norm r=5000).
11401146

11411147
if Length(arg)=2 then pos:=arg[2];
11421148
else
@@ -1158,9 +1164,9 @@ while bool do
11581164
N:=N+1;
11591165
#if NRMS[N]>ABI+30 then NRMS[N]:=0; break; fi; #REMEBER TO DELETE THIS
11601166
#
1161-
#if Length(arg)>1 then
1167+
if Length(arg)>1 then
11621168
Print("Adding hemispheres of squared radius ",1/NRMS[N],"\n");
1163-
#fi;
1169+
fi;
11641170

11651171
L:=UnimodularPairs(OQ,NRMS[N],true,L);
11661172
#L:=QQNeighbourhoodOfUnimodularPairs(OQ,L);
@@ -1183,15 +1189,9 @@ L:=K[1]; K:=K[2];
11831189
if pos=infinity then
11841190
A:=BianchiPolyhedron(OQ!.bianchiInteger,L);
11851191
A:=SwanBianchiCriterion(A);
1186-
if Length(A)=0 then bool:=false; return [L,K]; fi;
1187-
# if A[1]=false then Print("YES\n"); return CoverOfUnimodularPairs(OQ,N+1,true);
1188-
#else
1189-
# A:=List(A,x->HAPNorm(OQ,x[1]));
1190-
# A:=Minimum(A);
1191-
# return CoverOfUnimodularPairs(OQ,A);
1192-
#fi;
1193-
N:=N+1;
1194-
return CoverOfUnimodularPairs(OQ,N,true);
1192+
if not Length(A)=0 then
1193+
return CoverOfUnimodularPairs(OQ,N+1,true);
1194+
fi;
11951195
fi;
11961196
##################################################
11971197

tst/testall3/bianchi.1.tst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
gap> START_TEST("HAP library");
2+
gap> P:=BianchiPolyhedron(-5);
3+
3-dimensional Bianchi polyhedron over OQ( Sqrt(
4+
-5) ) involving hemispheres of minimum squared radius 1/
5+
20 and non-cuspidal vertices of minimum squared height 1/25 .
6+
7+
gap> SwanBianchiCriterion(P);
8+
[ ]
9+
gap> STOP_TEST( "tst.tst", 1000 );
10+

tutorial/tutex/bianchi.1.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
gap> D:=BianchiPolyhedron(-39);
2-
3-dimensional Bianchi polyhedron over OQ( Sqrt(-39) )
2+
3-dimensional Bianchi polyhedron over OQ( Sqrt(-39) )
3+
involving hemispheres of minimum squared radius 1/39
4+
and non-cuspidal vertices of minimum squared height 10/12493 .
35

46
gap> Display3D(D);;
57
gap> Display2D(D);;

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.64
1+
1.65

www/download/downloadContent.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ <h3>Download Instructions</h3>
1919
</p>
2020
<ul>
2121
<li>First download the file <a
22-
href="https://github.com/gap-packages/hap/releases/download/v1.64/hap-1.64.tar.gz">hap1.64.tar.gz</a>
22+
href="https://github.com/gap-packages/hap/releases/download/v1.65/hap-1.65.tar.gz">hap1.65.tar.gz</a>
2323
which contains the most recent development version of HAP to the
2424
subdirectory
2525
"pkg/" of GAP. If you don't have access to this subdirectory,
2626
then create a directory "pkg" in your home directory and download the
2727
file there. (If you'd prefer to download the most
2828
recent development version of HAP then download the file&nbsp; <a
29-
href="https://github.com/gap-packages/hap/releases/download/v1.47/hap-1.47.tar.gz">hap1.64-dev.tar.gz</a>
29+
href="https://github.com/gap-packages/hap/releases/download/v1.47/hap-1.47.tar.gz">hap1.65-dev.tar.gz</a>
3030
instead.)<br>
3131
</li>
3232
</ul>
3333
<ul>
3434
<li>Change to directory "pkg/" and type "gunzip
35-
hap1.64.tar.gz"
35+
hap1.65.tar.gz"
3636
followed
3737
by "tar
38-
-xvf hap1.64.tar" .</li>
38+
-xvf hap1.65.tar" .</li>
3939
</ul>
4040
<ul>
4141
<li>Start GAP. (If you have created "pkg" in your home
@@ -51,7 +51,7 @@ <h3>Download Instructions</h3>
5151
<li>Help on HAP can be found on the <a
5252
href="https://gap-packages.github.io/hap/" target="index">HAP
5353
home page</a> (a version of which is included in directory
54-
"pkg/Hap1.64/www" of the distribution).</li>
54+
"pkg/Hap1.65/www" of the distribution).</li>
5555
</ul>
5656
<ul>
5757
<li>A few of HAP's (optional) functions rely on Polymake
@@ -67,7 +67,7 @@ <h3>Download Instructions</h3>
6767
<li>Performance can be improved by using a compiled
6868
version of the HAP library. The following steps will produce a compiled
6969
version. <br>
70-
(1) Change to the directory "pkg/Hap1.64/" .<br>
70+
(1) Change to the directory "pkg/Hap1.65/" .<br>
7171
(2) Edit the file "compile" so that: PKGDIR is equal to the path to the<br>
7272
directory "pkg" where your GAP packages are stored; GACDIR is equal to
7373
the<br>
@@ -78,7 +78,7 @@ <h3>Download Instructions</h3>
7878
<ul>
7979
<li>Should you want to return to an uncompiled version, change
8080
to the directory<br>
81-
"pkg/Hap1.64/" and type "./uncompile".</li>
81+
"pkg/Hap1.65/" and type "./uncompile".</li>
8282
</ul>
8383
</div>
8484
</body>

www/home/content.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
algebra library for use with the
1616
GAP computer algebra system, and is still under development.
1717
The current version <a
18-
href="https://github.com/gap-packages/hap/releases/download/v1.64/hap-1.64.tar.gz">hap1.64.tar.gz</a> was released on
19-
28 July 2024.</p>
18+
href="https://github.com/gap-packages/hap/releases/download/v1.65/hap-1.65.tar.gz">hap1.65.tar.gz</a> was released on
19+
29 July 2024.</p>
2020

2121

2222
<p>

0 commit comments

Comments
 (0)