Skip to content

GAP 4.8 release notes

Alexander Konovalov edited this page Jan 29, 2018 · 1 revision

This page contains an overview of the most important changes in the GAP 4.8.x releases.

First of all, the GAP development repository is now hosted on GitHub at https://github.com/gap-system/gap, and GAP 4.8 is the first major GAP release made from this repository. The public issue tracker for the core GAP system is located at https://github.com/gap-system/gap/issues, and you may use appropriate milestones from https://github.com/gap-system/gap/milestones to see all changes that were introduced in corresponding GAP releases. An overview of the most significant ones is provided below.

GAP 4.8.6 (Planned in December 2016)

THIS SECTION IS IN PROGRESS - PLEASE USE THE SAME STYLE AS IN THE RECENT RELEASES, LISTED BELOW

Changes in the core GAP system introduced in GAP 4.8.5

New features:

Improved and extended functionality:

Fixed bugs that could lead to crashes:

Fixed bugs that could lead to incorrect results:

Fixed bugs that could lead to break loops:

Other fixed bugs:


GAP 4.8.5 (Planned in September 2016)

Changes in the core GAP system introduced in GAP 4.8.5

Improved and extended functionality:

  • [#827] The error messages produced when an unexpected fail is returned were made more clear by explicitly telling that the result should not be boolean or fail.

  • [#797] For consistency, both NrTransitiveGroups and TransitiveGroup now disallow the transitive group of degree 1.

Fixed bugs that could lead to incorrect results:

  • [#869] A bug in the code for algebraic field extensions over non-prime fields that may cause, for example, a list of all elements of the extension not being a duplicate-free. [Reported by Huta Gana]

  • [#875] So far, FileString only wrote files of sizes less than 2G and did not indicate an error in case of larger strings. Now strings of any length can be written, and in the case of a failure the corresponding system error is shown.

Fixed bugs that could lead to break loops:

  • [#877] NaturalHomomorphismByIdeal was not reducing monomials before forming a quotient ring, causing a break loop on some inputs. [Reported by Dmytro Savchuk]

  • [#867] A bug in DefaultInfoHandler caused a break loop on startup with the setting SetUserPreference( "InfoPackageLoadingLevel", 4 ). [Reported by Mathieu Dutour]

  • [#801] The Iterator for permutation groups was broken when the StabChainMutable of the group was not reduced, which can reasonably happen as the result of various algorithms.


GAP 4.8.4 (June 2016)

Changes in the core GAP system introduced in GAP 4.8.4

New features:

  • [737] The GAP distribution now includes bin/BuildPackages.sh, a script which can be started from the pkg directory via ../bin/BuildPackages.sh and will attempt to build as many packages as possible. It replaces the InstPackages.sh script which was not a part of the GAP distribution and had to be downloaded separately from the GAP website. The new script is more robust and simplifies adding new packages with binaries, as it requires no adjustments if the new package supports the standard ./configure; make build procedure.

Improved and extended functionality:

  • [678] SimpleGroup now produces more informative error message in the case when AtlasGroup could not load the requested group.

  • [610] An info message with suggestions to use InfoPackageLoading will now be displayed when LoadPackage returns fail (unless GAP is started with -b option).

  • [728] The build system will now enable C++ support in GMP only if a working C++ compiler is detected.

  • [757] More checks were added when embedding coefficient rings or rational numbers into polynomial rings in order to forbid adding polynomials in different characteristic.

Fixed bugs that could lead to crashes:

  • [685] Fixed the crash in --cover mode when reading files with more than 65,536 lines.

Fixed bugs that could lead to incorrect results:

  • [741] Fixed an error in the code for partial permutations that occurred on big-endian systems. [Reported by Bill Allombert]

  • [766] Fixed the kernel method for Remove with one argument, which failed to reduce the length of a list to the position of the last bound entry. [Reported by Peter Schauenburg]

Fixed bugs that could lead to break loops:

  • [679] Fixed the break loop while using Factorization on permutation groups by removing some old code that relied on further caching in Factorization. [Reported by Grahame Erskine]

  • [681] Fixed a problem with computation of maximal subgroups in an almost simple group. [Reported by Ramon Esteban Romero]

  • [773] Added missing methods for Intersection2 when one of the arguments is an empty list. [Reported by Wilf Wilson]

Other fixed bugs:

  • [770] Fixed several bugs in RandomPrimitivePolynomial. [Reported by Nusa Zidaric]

  • [781] Fixed several problems with Random on long lists in 64-bit GAP installations.


GAP 4.8.3 (March 2016)

Changes in the core GAP system introduced in GAP 4.8.3

New features:

  • [#647] New function TestPackage to run standard tests (if available) for a single package in the current GAP session (also callable via make testpackage PKGNAME=pkgname to run package tests in the same settings that are used for testing GAP releases).

Improved and extended functionality:

  • [#670] TestDirectory now prints a special status message to indicate the outcome of the test (this is convenient for automated testing). If necessary, this message may be suppressed by using the option suppressStatusMessage.

  • [#655] Improved output of tracing methods ((which may be invoked, for example, with TraceAllMethods) by displaying filename and line number in some more cases.

Changed functionality:

  • [#615] Fixed some inconsistencies in the usage of IsGeneratorsOfSemigroup .

Fixed bugs that could lead to incorrect results:

  • [#626] Fallback methods for conjugacy classes, that were never intended for infinite groups, now have IsFinite filter to prevent them being called for infinite groups. [Reported by Gabor Horvath]

Fixed bugs that could lead to break loops:

  • [#665] Calculating stabiliser for the alternating group caused a break loop in the case when it defers to the corresponding symmetric group.

  • [#663] It was not possible to use DotFileLatticeSubgroups for a trivial group. [Reported by Sergio Siccha]

  • [#648] A break loop while computing AutomorphismGroup for TransitiveGroup(12,269). [Reported by Ignat Soroko]

  • [#622] A break loop while computing conjugacy classes of PSL(6,4). [Reported by Martin Macaj]

Other fixed bugs:

  • [#654] Fix for using Firefox as a default help viewer with SetHelpViewer. [Reported by Tom McDonough]

GAP 4.8.2 (February 2016)

Changes in the core GAP system introduced in GAP 4.8.2

New features:

  • Added support for profiling which tracks how much time in spent on each line of GAP code. This can be used to show where code is spending a long time and also check which lines of code are even executed. See the documentation for ProfileLineByLine and CoverageLineByLine for details on generating profiles, and the Profiling package for transforming these profiles into a human-readable form.

  • [#192] Added ability to install (in the library or packages) methods for accessing lists using multiple indices and indexing into lists using indices other than positive small integers. Such methods could allow, for example, to support expressions like

m[1,2];
m[1,2,3] := x;
IsBound(m["a","b",Z(7)]);
Unbind(m[1][2,3])
  • [#90] [#391] Added support for partially variadic functions to allow function expressions like function(a,b,c,x...) ... end; which would require at least three arguments and assign the first three to a, b and c and then a list containing any remaining ones to x. The former special meaning of the argument arg is still supported and is now equivalent to function(arg...), so no changes in the existing code are required.

  • [#315] [#331] [#370] Introduced CallWithTimeout and CallWithTimeoutList to call a function with a limit on the CPU time it can consume. This functionality may not be available on all systems and you should check GAPInfo.TimeoutsSupported before using this functionality.

  • GAP now displays the filename and line numbers of statements in backtraces when entering the break loop.

Improved and extended functionality:

  • Method tracing shows the filename and line of function during tracing.

  • [#213] TraceAllMethods and UntraceAllMethods to turn on and off tracing all methods in GAP. Also, for the uniform approach UntraceImmediateMethods has been added as an equivalent of TraceImmediateMethods(false) [#360].

  • The most common cases of AddDictionary on three arguments now bypass method selection, avoiding the cost of determining homogeneity for plain lists of mutable objects.

  • [#366] Improved methods for symmetric and alternating groups in the "natural" representations and removed some duplicated code.

  • [#7] Package authors may optionally specify the source code repository, issue tracker and support email address for their package using new components in the PackageInfo.g file, which will be used to create hyperlinks from the package overview page (see PackageInfo.g from the Example package which you may use as a template).

Changed functionality:

  • As a preparation for the future developments to support multithreading, some language extensions from the HPC-GAP project were backported to the GAP library to help to unify the codebase of both GAP 4 and HPC-GAP. The only change which is not backwards compatible is that atomic, readonly and readwrite are now keywords, and thus are no longer valid identifiers. So if you have any variables or functions using that name, you will have to change it in GAP 4.8.

  • [#317] There was inconsistent use of the following properties of semigroups: IsGroupAsSemigroup, IsMonoidAsSemigroup, and IsSemilatticeAsSemigroup. IsGroupAsSemigroup was true for semigroups that mathematically defined a group, and for semigroups in the category IsGroup; IsMonoidAsSemigroup was only true for semigroups that mathematically defined monoids, but did not belong to the category IsMonoid; and IsSemilatticeAsSemigroup was simply a property of semigroups, as there is no category IsSemilattice. From Version 4.8 onwards, IsSemilatticeAsSemigroup is renamed to IsSemilattice, and IsMonoidAsSemigroup returns true for semigroups in the category IsMonoid. This way all of the properties of the type IsXAsSemigroup are consistent. It should be noted that the only methods installed for IsMonoidAsSemigroup belong to the Semigroups and Smallsemi packages.

  • [#290] ReadTest became obsolete and for backwards compatibility is replaced by Test with the option to compare the output up to whitespaces.

  • [#474] The function ErrorMayQuit, which differs from Error by not allowing execution to continue, has been renamed to ErrorNoReturn.

Fixed bugs:

  • A combination of two bugs could lead to a segfault. First off, NullMat (and various other GAP functions), when asked to produce matrix over a small field, called ConvertToMatrixRep. After this, if the user tried to change one of the entries to a value from a larger extension field, this resulted in an error. (This is now fixed). Unfortunately, the C code catching this error had a bug and allowed users to type "return" to continue while ignoring the conversion error. This was a bad idea, as the C code would be in an inconsistent state at this point, subsequently leading to a crash. This, too, has been fixed, by not allowing the user to ignore the error by entering "return".

  • [#327] [ee365a4] The Fitting-free code and code inheriting PCGS is now using IndicesEANormalSteps instead of IndicesNormalSteps, as these indices are neither guaranteed, nor required to be maximally refined when restricting to subgroups.

  • [#404] A bug that caused a break loop in the computation of the Hall subgroup for groups having a trivial Fitting subgroup.

  • [#298] Including a break or continue statement in a function body but not in a loop now gives a syntax error instead of failing at run time.

  • [#396] GroupGeneralMappingByImages now verifies that that image of a mapping is contained in its range.

  • [#418] Fixed a bug in caching the degree of transformation that could lead to a non-identity transformation accidentally changing its value to the identity transformation.

  • [#603] Fixed the problem with using Windows default browser as a help viewer using SetHelpViewer("browser");.

New and updated packages since GAP 4.7.8

At the time of the release of GAP 4.7.8 there were 119 packages redistributed with GAP. New packages that have been added to the redistribution since the release of GAP 4.7.8 are:

  • CAP (Categories, Algorithms, Programming) package by Sebastian Gutsche, Sebastian Posur and Øystein Skartsæterhagen, together with three associated packages GeneralizedMorphismsForCAP, LinearAlgebraForCAP and ModulePresentationsForCAP (all three - by Sebastian Gutsche and Sebastian Posur).
  • Digraphs by Jan De Beule, Julius Jonušas, James Mitchell, Michael Torpey and Wilf Wilson, which provides functionality to work with graphs, digraphs, and multidigraphs.
  • FinInG package by John Bamberg, Anton Betten, Philippe Cara, Jan De Beule, Michel Lavrauw and Max Neunhöffer for computation in Finite Incidence Geometry.
  • HeLP package by Andreas Bächle and Leo Margolis, which computes constraints on partial augmentations of torsion units in integral group rings using a method developed by Luthar, Passi and Hertweck. The package can be employed to verify the Zassenhaus Conjecture and the Prime Graph Question for finite groups, once their characters are known. It uses an interface to the software package 4ti2 to solve integral linear inequalities.
  • matgrp package by Alexander Hulpke, which provides an interface to the solvable radical functionality for matrix groups, building on constructive recognition.
  • NormalizInterface package by Sebastian Gutsche, Max Horn and Christof Söger, which provides a GAP interface to Normaliz, enabling direct access to the complete functionality of Normaliz, such as computations in affine monoids, vector configurations, lattice polytopes, and rational cones.
  • profiling package by Christopher Jefferson for transforming profiles produced by ProfileLineByLine and CoverageLineByLine into a human-readable form.
  • Utils package by Sebastian Gutsche, Stefan Kohl and Christopher Wensley, which provides a collection of utility functions gleaned from many packages.
  • XModAlg package by Zekeriya Arvasi and Alper Odabas, which provides a collection of functions for computing with crossed modules and Cat1-algebras and morphisms of these structures.
Clone this wiki locally