[Top] [Up] [Next] [Index]

1 Preface

Sections

  1. The GAP System
  2. Authorship and Maintenance
  3. Acknowledgements
  4. Changes from Earlier Versions
  5. Further Information about GAP

Welcome to GAP. This preface serves not only to introduce this manual, ``the GAP Tutorial'', but also as an introduction to the system as a whole, and in particular to version 4 release 3 (or GAP 4.3 for short).

GAP stands for Groups, Algorithms and Programming. The name was chosen to reflect the aim of the system, which is introduced in this tutorial manual. Since that choice, the system has become somewhat broader, and you will also find information about algorithms and programming for other algebraic structures, such as semigroups and algebras.

There are four further manuals in addition to this one: the ``Reference Manual'' containing detailed documentation of the mathematical functionality of GAP; ``Extending GAP'' containing some tutorial material on various aspects of GAP programming; ``Programming in GAP 4'' containing detailed documentation of various aspects of the system of interest mainly to programmers; and ``New Features for Developers'' containing details of some newly introduced features which we may wish to change in a future release and so do not want to include in the main reference manual. Some of the functionality of the system and a number of contributed extensions are provided as ``GAP packages'' and each of these has its own manual. This preface, however, serves as an introduction to the whole system.

Subsequent sections of this preface explain the structure of the system and the arrangements for the attribution of credit for authorship and maintenance of the system; acknowledge those who have made particular contributions to this and previous releases and outline the changes from earlier versions.

1.1 The GAP System

GAP is a free, open and extensible software package for computation in discrete abstract algebra. The terms ``free'' and ``open'' describe the conditions under which the system is distributed -- in brief, it is free of charge (except possibly for the immediate costs of delivering it to you), you are free to pass it on within certain limits, and all of the workings of the system are open for you to examine and change. Details of these conditions can be found in Copyright.

The system is ``extensible'' in that you can write your own programs in the GAP language, and use them in just the same way as the programs which form part of the system (the ``library''). Indeed, we actively support the contribution, refereeing and distribution of extensions to the system, in the form of ``GAP packages''. Further details of this can be found in chapter GAP Packages in the Reference Manual, and on our World Wide Web site.

Development of GAP began at Lehrstuhl D für Mathematik, RWTH-Aachen, under the leadership of Prof. Joachim Neubüser in 1985. Version 2.4 was released in 1988 and version 3.1 in 1992. The final full release of GAP 3, version 3.4, was made in 1994. In 1997, Prof. Neubüser retired, and overall coordination of GAP development, now very much an international effort, was transferred to St Andrews. A complete internal redesign and almost complete rewrite of the system, which was already in progress in Aachen, was completed and following five, increasingly usable, beta-test releases, version 4.1, released July 1999, was the first version of the rewritten system to be released without any restriction for general use. Version 4.2 followed in spring 2000 and, this version, GAP 4.3 is being released in May 2002.

More information on the motivation and development of GAP to date, can be found on our Web pages in a section entitled ``Release history and Prefaces''.

For those readers who have used an earlier version of GAP, an overview of the changes from GAP 4.2, and a brief summary of changes from GAP3 is given in section Changes from Earlier Versions below.

The system that you are getting now consists of a ``core system'' and a number of packages. The core system consists of four main parts.

  1. A kernel, written in C, which provides the user with
  • A much larger library of GAP functions that implement algebraic and other algorithms. Since this is written entirely in the GAP language, the GAP language is both the main implementation language and the user language of the system. Therefore the user can as easily as the original programmers investigate and vary algorithms of the library and add new ones to it, first for own use and eventually for the benefit of all GAP users.

  • A library of group theoretical data which contains various libraries of groups, including the library of small groups (containing all groups of order at most 2000, except those of order 1024) and others. Large libraries of ordinary and Brauer character tables and Tables of Marks are included as packages.

  • The documentation. This is available as on-line help, as printable files in various formats and as HTML for viewing with a Web browser.

    Also included with the core system are some test files and a few small utilities which we hope you will find useful.

    GAP packages are self-contained extensions to the core system. A package contains GAP code and its own documentation and may also contain data files or external programs to which the GAP code provides an interface. These packages may be loaded into GAP using the RequirePackage command, and both the package and its documentation are then available just as if they were parts of the core system. Some packages may be loaded automatically, when GAP is started, if they are present. Some packages, because they depend on external programs, may only be available on the operating systems where those programs are available (usually UNIX). You should note that, while the packages included with this release are the most recent versions ready for release at this time, new packages and new versions may be released at any time and can be easily installed in your copy of GAP.

    With GAP 4.3, there are two packages (the library of ordinary and Brauer character tables, and the library of tables of marks) which contain functionality developed from parts of the GAP 4.2 core system. These have been moved into packages for ease of maintenance and to allow new versions to be released independently of new releases of the core system. The library of small groups should also be regarded as a package, although it does not currently use the standard RequirePackage mechanism. Other packages (included in separate archives for download) contain functionality which has never been part of the core system.

    1.2 Authorship and Maintenance

    Previous versions of GAP have simply included the increasingly long list of all of the authors of the system with no indication as to who contributed what. In GAP 4.3 we have introduced a new concept: modules, to allow us to report the authorship of the system in more detail. A module is a part of GAP which provides identifiable functionality and has reasonably clean interfaces with the rest of the system (usually it consists of separate files). Each module has its own lists of authors and maintainers, which are not necessarily the same. A preliminary list of modules and their attributions appears in this manual. Note that we are still in the process of identifying modules within the system, so large parts of the system do not yet fall into any module. Since also we all collaborate closely in designing, developing and debugging the system, it should not be assumed that the list of modules in this manual represents all of everyone's contribution, or that it lists everyone who made any contribution at all to each module.

    All GAP packages are also considered to be modules and have their own authors and maintainers. It should however be noted that some packages provide interfaces between GAP and an external program, a copy of which is included for convenience, and that, in these cases, we do not claim that the module authors or maintainers wrote, or maintain, this external program. Similarly, some modules and packages include large data libraries that may have been computed by many people. We try to make clear in each case what credit is attributable to whom.

    We have, for some time, operated a refereeing system for contributed packages, both to ensure the quality of the software we distribute, and to provide recognition for the authors. We now consider this to be a refereeing system for modules, and we would note, in particular that, although it does not use the standard package interface, the library of small groups has been refereed and accepted on exactly the same basis as the accepted packages.

    We also include with this distribution, in a separate archive, a number of packages which have not (yet) gone through our refereeing process. Some may be accepted in the future, in other cases the authors have chosen not to submit them. More information can be found on our World Wide Web site, see section Further Information about GAP.

    1.3 Acknowledgements

    Very many people have worked on, and contributed to, GAP over the years since its inception. On our Web site you will find the prefaces to the previous releases, each of which acknowledges people who have made special contributions to that release. Even so, it is appropriate to mention here Joachim Neubüser whose vision of a free, open and extensible system for computational algebra inspired GAP in the first place, and Martin Schönert, who was the technical architect of GAP 3 and GAP 4.

    In the two years since the release of version 4.2, GAP development has become a more and more widely distributed operation, and increasingly dependent on hard voluntary work by developers not solely or mainly employed to work on GAP, nevertheless, the development process has remained constructive and friendly, even when wrangling over difficult technical decisions, or sensitive questions of attribution and credit and I must express my huge gratitude to everyone involved for this.

    The list of modules which appears in this manual now gives a partial idea of the contributions of different people, but I should like to mention some people who have made important contributions to the development process over the last two years that do not show up there: Alexander Hulpke has remained a tower of strength, with unparalleled oversight of many parts of the library, despite now having a teaching post; Thomas Breuer continues to develop many areas of the system, and to play a vital role in clarifying our underlying concepts, despite now working in industry; Frank Lübeck and Max Neunhöffer have brought much fresh insight to bear on the design of crucial parts of the system, and also done a lot of the ensuing work; Greg Gamble and Volkmar Felsch have both brought enormous persistence to correcting very many details of the documentation, improving error messages and generally polishing the system; and very many others have contributed ideas, insight and hard work to produce this release. Senior colleagues, especially Joachim Neubüser, Edmund Robertson, and Charlie Wright, continue to provide encouragement support and constructive criticism.

    1.4 Changes from Earlier Versions

    The main changes between GAP 4.2 and GAP 4.3 are:

    Potentially Incompatible Changes

  • Finitely-presented monoids have been added to the system as objects in their own right. Dividing a free monoid by a list of relations now produced a finitely-presented monoid, whereas previously it produced a finitely-presented semigroup.

  • A number of documented functions which have been renamed, or whose functionality is now unnecessary or better achieved in other ways have been declared ``obsolescent'' and will be removed in GAP 4.4. These functions have been moved to the file obsolete.g in the GAP library. Perhaps the best known of these functions are the permutation group functions with the old Operation names (such as OperationHomomorphism. These all have replacements like ActionHomomorphism with Action names.

    These changes are, in some respects, departures from our policy of maintaining upwards compatibility of documented functions between releases. In the first case, we felt that the old behaviour was sufficiently inconsistent, illogical, and impossible to document that we had no alternative but to change it. In the second case the change was necessary to introduce new functionality. The planned and phased removal of a few unnecessary functions or symonyms is needed to avoid becoming buried in ``legacy'' interfaces, but we remain committed to our policy of maintaining upwards compatibility whenever sensibly possible.

    Changes to Mathematical Functionality

    Changes to the Data Libraries

    Changes to the System

    The most important changes between GAP 4.1 and GAP 4.2 were:

    The changes between the final release of GAP 3 (version 3.4.4) and GAP 4 are wide-ranging. The general philosophy of the changes is two-fold. Firstly, many assumptions in the design of GAP 3 revealed its authors' primary interest in group theory, and indeed in finite group theory. Although much of the GAP 4 library is concerned with groups, the basic design now allows extension to other algebraic structures, as witnessed by the inclusion of substantial bodies of algorithms for computation with semigroups and Lie algebras. Secondly, as the scale of the system, and the number of people using and contributing to it has grown, some aspects of the underlying system have proved to be restricting, and these have been improved as part of comprehensive re-engineering of the system. This has included the new method selection system, which underpins the library, and a new, much more flexible, GAP package interface.

    Details of these changes can be found in chapter Migrating to GAP 4 of this manual. It is perhaps worth mentioning a few points here.

    Firstly, much remains unchanged, from the perspective of the mathematical user:

    A number of visible aspects have changed:

    Behind the scenes, much has changed:

    A very few features of GAP 3 are not yet available in GAP 4.

    1.5 Further Information about GAP

    Information about GAP is best obtained from the GAP Web pages that you find on:

    http://www.gap-system.org

    and its mirrors at:

    http://www.math.rwth-aachen.de/~GAP and

    http://www.ccs.neu.edu/mirrors/GAP

    Further mirrors may be announced from time to time. There you will find, amongst other things

    I would particularly ask you to note five things:

    It finally remains for me to wish you all pleasure and success in using GAP, and to invite your constructive comment and criticism.

    St Andrews May 2002 Steve Linton

    [Top] [Up] [Next] [Index]

    GAP 4 manual
    May 2002