nq-2.5.11/000755 000766 000024 00000000000 14550113066 012506 5ustar00mhornstaff000000 000000 nq-2.5.11/PackageInfo.g000644 000766 000024 00000013017 14550113041 015020 0ustar00mhornstaff000000 000000 ############################################################################# ## ## PackageInfo.g NQ Werner Nickel ## ## Based on Frank Lübeck's template for PackageInfo.g. ## SetPackageInfo( rec( PackageName := "nq", Subtitle := "Nilpotent Quotients of Finitely Presented Groups", Version := "2.5.11", Date := "12/01/2024", # dd/mm/yyyy format License := "GPL-2.0-or-later", Persons := [ rec( LastName := "Horn", FirstNames := "Max", IsAuthor := false, IsMaintainer := true, Email := "mhorn@rptu.de", WWWHome := "https://www.quendi.de/math", PostalAddress := Concatenation( "Fachbereich Mathematik\n", "RPTU Kaiserslautern-Landau\n", "Gottlieb-Daimler-Straße 48\n", "67663 Kaiserslautern\n", "Germany" ), Place := "Kaiserslautern, Germany", Institution := "RPTU Kaiserslautern-Landau" ), rec( LastName := "Nickel", FirstNames := "Werner", IsAuthor := true, IsMaintainer := false, # MH: Werner rarely (if at all) replies to emails sent to this # old email address. To discourage users from sending bug reports # there, I have disabled it here. #Email := "nickel@mathematik.tu-darmstadt.de", WWWHome := "http://www.mathematik.tu-darmstadt.de/~nickel/", ) ], Status := "accepted", CommunicatedBy := "Joachim Neubüser (RWTH Aachen)", AcceptDate := "01/2003", PackageWWWHome := "https://gap-packages.github.io/nq/", README_URL := Concatenation(~.PackageWWWHome, "README.md"), PackageInfoURL := Concatenation(~.PackageWWWHome, "PackageInfo.g"), ArchiveURL := Concatenation("https://github.com/gap-packages/nq/", "releases/download/v", ~.Version, "/nq-", ~.Version), ArchiveFormats := ".tar.gz .tar.bz2", SourceRepository := rec( Type := "git", URL := "https://github.com/gap-packages/nq" ), IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ), AbstractHTML := Concatenation( "This package provides access to the ANU nilpotent quotient ", "program for computing nilpotent factor groups of finitely ", "presented groups." ), PackageDoc := rec( BookName := "nq", ArchiveURLSubset := [ "doc" ], HTMLStart := "doc/chap0_mj.html", PDFFile := "doc/manual.pdf", SixFile := "doc/manual.six", LongTitle := "Nilpotent Quotient Algorithm", ), Dependencies := rec( GAP := ">= 4.9", NeededOtherPackages := [ ["polycyclic", "2.11"] ], SuggestedOtherPackages := [ ], ExternalConditions := [ "needs a UNIX system with C-compiler", "needs GNU multiple precision library" ] ), AvailabilityTest := function() local path; # test for existence of the compiled binary path := DirectoriesPackagePrograms( "nq" ); if Filename( path, "nq" ) = fail then Info( InfoWarning, 1, "Package ``nq'': The executable program is not available" ); return fail; fi; return true; end, BannerString := Concatenation( "Loading nq ", ~.Version, " (Nilpotent Quotient Algorithm)\n", " by Werner Nickel\n", " maintained by Max Horn (mhorn@rptu.de)\n" ), TestFile := "tst/testall.g", Keywords := [ "nilpotent quotient algorithm", "nilpotent presentations", "finitely presented groups", "finite presentations ", "commutators", "lower central series", "identical relations", "expression trees", "nilpotent Engel groups", "right and left Engel elements", "computational" ], AutoDoc := rec( TitlePage := rec( Copyright := """ License ©right; 1992-2007 Werner Nickel

The &nq; package is free software; you can redistribute it and/or modify it under the terms of the https://www.fsf.org/licenses/gpl.html as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.""", Acknowledgements := """ The author of ANU NQ is Werner Nickel.

The development of this program was started while the author was supported by an Australian National University PhD scholarship and an Overseas Postgraduate Research Scholarship.

Further development of this program was done with support from the DFG-Schwerpunkt-Projekt Algorithmische Zahlentheorie und Algebra.

Since then, maintenance of ANU NQ has been taken over by Max Horn. All credit for creating ANU NQ still goes to Werner Nickel as sole author. However, bug reports and other inquiries should be sent to Max Horn.

The following are the original acknowledgements by Werner Nickel.

Over the years a number of people have made useful suggestions that found their way into the code: Mike Newman, Michael Vaughan-Lee, Joachim Neubüser, Charles Sims.

Thanks to Volkmar Felsch and Joachim Neubüser for their careful examination of the package prior to its release for GAP 4.

This documentation was prepared with the GAPDoc package by Frank Lübeck and Max Neunhöffer.""", ), ), )); nq-2.5.11/configure.ac000644 000766 000024 00000007111 14550113063 014771 0ustar00mhornstaff000000 000000 dnl ## dnl ## Process this file with autoconf to produce a configure script. dnl ## AC_PREREQ([2.68]) AC_INIT([ANU Nilpotent Quotient Program], [package], [https://github.com/gap-packages/nq/issues], [nq], [https://gap-packages.github.io/nq/]) AC_CONFIG_SRCDIR([src/nq.c]) AC_CONFIG_HEADERS(src/config.h:src/config.hin) AC_CONFIG_AUX_DIR([cnf]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([1.11 -Wall foreign subdir-objects no-dist]) AM_SILENT_RULES([yes]) dnl For developer builds, maintainer mode is enabled by default. But for dnl releases, the `.release` script changes this to "disabled by default". dnl This avoids troubles during packaging, in particular when the GAP team dnl repackages the source archive. Users can re-enable it by passing dnl `--enable-maintainer-mode` to configure. AM_MAINTAINER_MODE([disable]) dnl ## dnl ## C is the language dnl ## AC_LANG([C]) dnl ## dnl ## Checks for programs. dnl ## AC_PROG_AWK AC_PROG_CC AC_PROG_MAKE_SET AC_PROG_MKDIR_P AC_PROG_SED dnl ## dnl ## Locate the GAP root dir dnl ## FIND_GAP GAP="${GAP:-${GAPROOT}/bin/gap.sh}" AC_SUBST(GAP) # newer GAP versions may set GMP_PREFIX in sysinfo.gap, try to use that GMP_PREFIX=${GMP_PREFIX:-yes} dnl ## dnl ## Check for GMP dnl ## AC_ARG_WITH([gmp], [AS_HELP_STRING([--with-gmp@<:@=PREFIX@:>@], [prefix of GMP installation. e.g. /usr/local])], [],[with_gmp=${GMP_PREFIX}]) GMP_CPPFLAGS="" GMP_LDFLAGS="" GMP_LIBS="-lgmp" if test "x$with_gmp" = "xno" ; then AC_MSG_ERROR([GMP is required and cannot be disabled]) elif test "x$with_gmp" = "xyes" ; then # If a gaproot was specified, try to find GMP in there; otherwise, fall # back to whatever GMP may be found via user specified C/CPP/LDFLAGS if test "${with_gaproot+set}" = set; then echo "with_gaproot = $with_gaproot" if test -f ${with_gaproot}/extern/install/gmp/include/gmp.h && test -d ${with_gaproot}/extern/install/gmp/lib ; then echo "adjusting stuff based on gaproot" GMP_CPPFLAGS="-I${with_gaproot}/extern/install/gmp/include" GMP_LDFLAGS="-L${with_gaproot}/extern/install/gmp/lib" fi fi else if test -d ${with_gmp}/include && test -d ${with_gmp}/lib ; then GMP_CPPFLAGS="-I${with_gmp}/include" GMP_LDFLAGS="-L${with_gmp}/lib" else AC_MSG_ERROR([Could not locate libgmp.a in the specified location]) fi fi; save_CPPFLAGS="$CPPFLAGS" save_LDFLAGS="$LDFLAGS" save_LIBS="$LIBS" CPPFLAGS="$CPPFLAGS $GMP_CPPFLAGS" LDFLAGS="$LDFLAGS $GMP_LDFLAGS" LIBS="$LIBS $GMP_LIBS" AC_CHECK_HEADER( [gmp.h], [ # TODO: Disable linker check for now: It causes problems on Linux, because # libgmp.a is in the linker command line before the test C file. On the long # run, this should be re-enabled, though perhaps in a different form. AC_MSG_CHECKING([whether linking against GMP works]) AC_LINK_IFELSE( [AC_LANG_PROGRAM([[#include ]], [[__gmpz_init(0);]])], [have_gmp=yes], [] ) AC_MSG_RESULT([$have_gmp]) ], [] ) # restore FLAGS CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" if test "x$have_gmp" != xyes; then AC_MSG_ERROR([Could not locate GMP, the GNU multiprecision library]) fi AC_SUBST(GMP_CPPFLAGS) AC_SUBST(GMP_LDFLAGS) AC_SUBST(GMP_LIBS) dnl ## dnl ## Checks for typedefs, structures, and compiler characteristics. dnl ## AC_TYPE_LONG_LONG_INT dnl ## dnl ## Checks for library functions. dnl ## AC_CHECK_FUNCS([getrusage]) dnl ## dnl ## Finally, generate the Makefiles and output everything dnl ## AC_CONFIG_FILES([Makefile examples/Makefile]) AC_OUTPUT nq-2.5.11/LICENSE000644 000766 000024 00000043110 14550113041 013503 0ustar00mhornstaff000000 000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. nq-2.5.11/configure000755 000766 000024 00000557323 14550113065 014433 0ustar00mhornstaff000000 000000 #! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.71 for ANU Nilpotent Quotient Program package. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, # Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh as_nop=: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi # Reset variables that may have inherited troublesome values from # the environment. # IFS needs to be set, to space, tab, and newline, in precisely that order. # (If _AS_PATH_WALK were called with IFS unset, it would have the # side effect of setting IFS to empty, thus disabling word splitting.) # Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl IFS=" "" $as_nl" PS1='$ ' PS2='> ' PS4='+ ' # Ensure predictable behavior from utilities with locale-dependent output. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # We cannot yet rely on "unset" to work, but we need these variables # to be unset--not just set to an empty or harmless value--now, to # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct # also avoids known problems related to "unset" and subshell syntax # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH do eval test \${$as_var+y} \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done # Ensure that fds 0, 1, and 2 are open. if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="as_nop=: if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else \$as_nop case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ) then : else \$as_nop exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 blah=\$(echo \$(echo blah)) test x\"\$blah\" = xblah || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null then : as_have_required=yes else $as_nop as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null then : else $as_nop as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null then : CONFIG_SHELL=$as_shell as_have_required=yes if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null then : break 2 fi fi done;; esac as_found=false done IFS=$as_save_IFS if $as_found then : else $as_nop if { test -f "$SHELL" || test -f "$SHELL.exe"; } && as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null then : CONFIG_SHELL=$SHELL as_have_required=yes fi fi if test "x$CONFIG_SHELL" != x then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno then : printf "%s\n" "$0: This script requires a shell more modern than all" printf "%s\n" "$0: the shells that I found on your system." if test ${ZSH_VERSION+y} ; then printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." else printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and $0: https://github.com/gap-packages/nq/issues about your $0: system, including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_nop # --------- # Do nothing but, unlike ":", preserve the value of $?. as_fn_nop () { return $? } as_nop=as_fn_nop # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null then : eval 'as_fn_append () { eval $1+=\$2 }' else $as_nop as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null then : eval 'as_fn_arith () { as_val=$(( $* )) }' else $as_nop as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_nop # --------- # Do nothing but, unlike ":", preserve the value of $?. as_fn_nop () { return $? } as_nop=as_fn_nop # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } # Determine whether it's possible to make 'echo' print without a newline. # These variables are no longer used directly by Autoconf, but are AC_SUBSTed # for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac # For backward compatibility with old third-party macros, we provide # the shell variables $as_echo and $as_echo_n. New code should use # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. as_echo='printf %s\n' as_echo_n='printf %s' rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='ANU Nilpotent Quotient Program' PACKAGE_TARNAME='nq' PACKAGE_VERSION='package' PACKAGE_STRING='ANU Nilpotent Quotient Program package' PACKAGE_BUGREPORT='https://github.com/gap-packages/nq/issues' PACKAGE_URL='https://gap-packages.github.io/nq/' ac_unique_file="src/nq.c" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_STDIO_H # include #endif #ifdef HAVE_STDLIB_H # include #endif #ifdef HAVE_STRING_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_header_c_list= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS GMP_LIBS GMP_LDFLAGS GMP_CPPFLAGS GAP GAP_LDFLAGS GAP_CFLAGS GAP_CPPFLAGS GAPROOT GAPARCH SED am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V CSCOPE ETAGS CTAGS am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL am__quote' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_maintainer_mode enable_dependency_tracking with_gaproot with_gmp ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures ANU Nilpotent Quotient Program package to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/nq] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of ANU Nilpotent Quotient Program package:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gaproot= specify root of GAP installation --with-gmp[=PREFIX] prefix of GMP installation. e.g. /usr/local Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . ANU Nilpotent Quotient Program home page: . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for configure.gnu first; this name is used for a wrapper for # Metaconfig's "Configure" on case-insensitive file systems. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF ANU Nilpotent Quotient Program configure package generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest.beam if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext then : ac_retval=0 else $as_nop printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$3=yes" else $as_nop eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext } then : ac_retval=0 else $as_nop printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_try_run LINENO # ---------------------- # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that # executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then : ac_retval=0 else $as_nop printf "%s\n" "$as_me: program exited with status $ac_status" >&5 printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. */ #include #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main (void) { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : eval "$3=yes" else $as_nop eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func ac_configure_args_raw= for ac_arg do case $ac_arg in *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append ac_configure_args_raw " '$ac_arg'" done case $ac_configure_args_raw in *$as_nl*) ac_safe_unquote= ;; *) ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. ac_unsafe_a="$ac_unsafe_z#~" ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; esac cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by ANU Nilpotent Quotient Program $as_me package, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac printf "%s\n" "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Sanitize IFS. IFS=" "" $as_nl" # Save into config.log some information that might help in debugging. { echo printf "%s\n" "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo printf "%s\n" "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac printf "%s\n" "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then printf "%s\n" "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac printf "%s\n" "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then printf "%s\n" "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && printf "%s\n" "$as_me: caught signal $ac_signal" printf "%s\n" "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h printf "%s\n" "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. if test -n "$CONFIG_SITE"; then ac_site_files="$CONFIG_SITE" elif test "x$prefix" != xNONE; then ac_site_files="$prefix/share/config.site $prefix/etc/config.site" else ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi for ac_site_file in $ac_site_files do case $ac_site_file in #( */*) : ;; #( *) : ac_site_file=./$ac_site_file ;; esac if test -f "$ac_site_file" && test -r "$ac_site_file"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 printf "%s\n" "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? Do not test the value of __STDC__, because some compilers set it to 0 while being otherwise adequately conformant. */ #if !defined __STDC__ # error "Compiler does not advertise C89 conformance" #endif #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ struct buf { int x; }; struct buf * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not \xHH hex character constants. These do not provoke an error unfortunately, instead are silently treated as an "x". The following induces an error, until -std is added to get proper ANSI mode. Curiously \x00 != x always comes out true, for an array size at least. It is necessary to write \x00 == 0 to get something that is true only with -std. */ int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) '\''x'\'' int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), int, int);' # Test code for whether the C compiler supports C89 (body of main). ac_c_conftest_c89_main=' ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); ' # Test code for whether the C compiler supports C99 (global declarations) ac_c_conftest_c99_globals=' // Does the compiler advertise C99 conformance? #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L # error "Compiler does not advertise C99 conformance" #endif #include extern int puts (const char *); extern int printf (const char *, ...); extern int dprintf (int, const char *, ...); extern void *malloc (size_t); // Check varargs macros. These examples are taken from C99 6.10.3.5. // dprintf is used instead of fprintf to avoid needing to declare // FILE and stderr. #define debug(...) dprintf (2, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) static void test_varargs_macros (void) { int x = 1234; int y = 5678; debug ("Flag"); debug ("X = %d\n", x); showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } // Check long long types. #define BIG64 18446744073709551615ull #define BIG32 4294967295ul #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) #if !BIG_OK #error "your preprocessor is broken" #endif #if BIG_OK #else #error "your preprocessor is broken" #endif static long long int bignum = -9223372036854775807LL; static unsigned long long int ubignum = BIG64; struct incomplete_array { int datasize; double data[]; }; struct named_init { int number; const wchar_t *name; double average; }; typedef const char *ccp; static inline int test_restrict (ccp restrict text) { // See if C++-style comments work. // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) continue; return 0; } // Check varargs and va_copy. static bool test_varargs (const char *format, ...) { va_list args; va_start (args, format); va_list args_copy; va_copy (args_copy, args); const char *str = ""; int number = 0; float fnumber = 0; while (*format) { switch (*format++) { case '\''s'\'': // string str = va_arg (args_copy, const char *); break; case '\''d'\'': // int number = va_arg (args_copy, int); break; case '\''f'\'': // float fnumber = va_arg (args_copy, double); break; default: break; } } va_end (args_copy); va_end (args); return *str && number && fnumber; } ' # Test code for whether the C compiler supports C99 (body of main). ac_c_conftest_c99_main=' // Check bool. _Bool success = false; success |= (argc != 0); // Check restrict. if (test_restrict ("String literal") == 0) success = true; char *restrict newvar = "Another string"; // Check varargs. success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. struct incomplete_array *ia = malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; // Check named initializers. struct named_init ni = { .number = 34, .name = L"Test wide string", .average = 543.34343, }; ni.number = 58; int dynamic_array[ni.number]; dynamic_array[0] = argv[0][0]; dynamic_array[ni.number - 1] = 543; // work around unused variable warnings ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' || dynamic_array[ni.number - 1] != 543); ' # Test code for whether the C compiler supports C11 (global declarations) ac_c_conftest_c11_globals=' // Does the compiler advertise C11 conformance? #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L # error "Compiler does not advertise C11 conformance" #endif // Check _Alignas. char _Alignas (double) aligned_as_double; char _Alignas (0) no_special_alignment; extern char aligned_as_int; char _Alignas (0) _Alignas (int) aligned_as_int; // Check _Alignof. enum { int_alignment = _Alignof (int), int_array_alignment = _Alignof (int[100]), char_alignment = _Alignof (char) }; _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); // Check _Noreturn. int _Noreturn does_not_return (void) { for (;;) continue; } // Check _Static_assert. struct test_static_assert { int x; _Static_assert (sizeof (int) <= sizeof (long int), "_Static_assert does not work in struct"); long int y; }; // Check UTF-8 literals. #define u8 syntax error! char const utf8_literal[] = u8"happens to be ASCII" "another string"; // Check duplicate typedefs. typedef long *long_ptr; typedef long int *long_ptr; typedef long_ptr long_ptr; // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. struct anonymous { union { struct { int i; int j; }; struct { int k; long int l; } w; }; int m; } v1; ' # Test code for whether the C compiler supports C11 (body of main). ac_c_conftest_c11_main=' _Static_assert ((offsetof (struct anonymous, i) == offsetof (struct anonymous, w.k)), "Anonymous union alignment botch"); v1.i = 2; v1.w.k = 5; ok |= v1.i != 5; ' # Test code for whether the C compiler supports C11 (complete). ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} ${ac_c_conftest_c99_globals} ${ac_c_conftest_c11_globals} int main (int argc, char **argv) { int ok = 0; ${ac_c_conftest_c89_main} ${ac_c_conftest_c99_main} ${ac_c_conftest_c11_main} return ok; } " # Test code for whether the C compiler supports C99 (complete). ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} ${ac_c_conftest_c99_globals} int main (int argc, char **argv) { int ok = 0; ${ac_c_conftest_c89_main} ${ac_c_conftest_c99_main} return ok; } " # Test code for whether the C compiler supports C89 (complete). ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} int main (int argc, char **argv) { int ok = 0; ${ac_c_conftest_c89_main} return ok; } " as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" # Auxiliary files required by this configure script. ac_aux_files="compile missing install-sh" # Locations in which to look for auxiliary files. ac_aux_dir_candidates="${srcdir}/cnf" # Search for a directory containing all of the required auxiliary files, # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. # If we don't find one directory that contains all the files we need, # we report the set of missing files from the *first* directory in # $ac_aux_dir_candidates and give up. ac_missing_aux_files="" ac_first_candidate=: printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in $ac_aux_dir_candidates do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac as_found=: printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 ac_aux_dir_found=yes ac_install_sh= for ac_aux in $ac_aux_files do # As a special case, if "install-sh" is required, that requirement # can be satisfied by any of "install-sh", "install.sh", or "shtool", # and $ac_install_sh is set appropriately for whichever one is found. if test x"$ac_aux" = x"install-sh" then if test -f "${as_dir}install-sh"; then printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 ac_install_sh="${as_dir}install-sh -c" elif test -f "${as_dir}install.sh"; then printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 ac_install_sh="${as_dir}install.sh -c" elif test -f "${as_dir}shtool"; then printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 ac_install_sh="${as_dir}shtool install -c" else ac_aux_dir_found=no if $ac_first_candidate; then ac_missing_aux_files="${ac_missing_aux_files} install-sh" else break fi fi else if test -f "${as_dir}${ac_aux}"; then printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 else ac_aux_dir_found=no if $ac_first_candidate; then ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" else break fi fi fi done if test "$ac_aux_dir_found" = yes; then ac_aux_dir="$as_dir" break fi ac_first_candidate=false as_found=false done IFS=$as_save_IFS if $as_found then : else $as_nop as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. if test -f "${ac_aux_dir}config.guess"; then ac_config_guess="$SHELL ${ac_aux_dir}config.guess" fi if test -f "${ac_aux_dir}config.sub"; then ac_config_sub="$SHELL ${ac_aux_dir}config.sub" fi if test -f "$ac_aux_dir/configure"; then ac_configure="$SHELL ${ac_aux_dir}configure" fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_config_headers="$ac_config_headers src/config.h:src/config.hin" am__api_version='1.16' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 printf %s "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test ${ac_cv_path_install+y} then : printf %s "(cached) " >&6 else $as_nop as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac # Account for fact that we put trailing slashes in our PATH walk. case $as_dir in #(( ./ | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test ${ac_cv_path_install+y}; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 printf "%s\n" "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 printf %s "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then MISSING="\${SHELL} '$am_aux_dir/missing'" fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_STRIP+y} then : printf %s "(cached) " >&6 else $as_nop if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 printf "%s\n" "$STRIP" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_STRIP+y} then : printf %s "(cached) " >&6 else $as_nop if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 printf "%s\n" "$ac_ct_STRIP" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 printf %s "checking for a race-free mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if test ${ac_cv_path_mkdir+y} then : printf %s "(cached) " >&6 else $as_nop as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir ('*'coreutils) '* | \ 'BusyBox '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test ${ac_cv_path_mkdir+y}; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 printf "%s\n" "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_AWK+y} then : printf %s "(cached) " >&6 else $as_nop if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 printf "%s\n" "$AWK" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi test -n "$AWK" && break done { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval test \${ac_cv_prog_make_${ac_make}_set+y} then : printf %s "(cached) " >&6 else $as_nop cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } SET_MAKE= else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. if test ${enable_silent_rules+y} then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 printf %s "checking whether $am_make supports nested variables... " >&6; } if test ${am_cv_make_support_nested_variables+y} then : printf %s "(cached) " >&6 else $as_nop if printf "%s\n" 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='nq' VERSION='package' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' # Variables for tags utilities; see am/tags.am if test -z "$CTAGS"; then CTAGS=ctags fi if test -z "$ETAGS"; then ETAGS=etags fi if test -z "$CSCOPE"; then CSCOPE=cscope fi # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi # Check whether --enable-silent-rules was given. if test ${enable_silent_rules+y} then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=0;; esac am_make=${MAKE-make} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 printf %s "checking whether $am_make supports nested variables... " >&6; } if test ${am_cv_make_support_nested_variables+y} then : printf %s "(cached) " >&6 else $as_nop if printf "%s\n" 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. if test ${enable_maintainer_mode+y} then : enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else $as_nop USE_MAINTAINER_MODE=no fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_AWK+y} then : printf %s "(cached) " >&6 else $as_nop if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 printf "%s\n" "$AWK" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi test -n "$AWK" && break done ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 printf "%s\n" "$ac_ct_CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 printf "%s\n" "$ac_ct_CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. set dummy ${ac_tool_prefix}clang; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}clang" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "clang", so it can be a program name with args. set dummy clang; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="clang" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 printf "%s\n" "$ac_ct_CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi fi test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion -version; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 printf %s "checking whether the C compiler works... " >&6; } ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else $as_nop ac_file='' fi if test -z "$ac_file" then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else $as_nop { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 printf %s "checking for C compiler default output file name... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 printf "%s\n" "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 printf %s "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else $as_nop { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 printf "%s\n" "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 printf %s "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 printf "%s\n" "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 printf %s "checking for suffix of object files... " >&6; } if test ${ac_cv_objext+y} then : printf %s "(cached) " >&6 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_nop printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 printf "%s\n" "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 printf %s "checking whether the compiler supports GNU C... " >&6; } if test ${ac_cv_c_compiler_gnu+y} then : printf %s "(cached) " >&6 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_compiler_gnu=yes else $as_nop ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } ac_compiler_gnu=$ac_cv_c_compiler_gnu if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+y} ac_save_CFLAGS=$CFLAGS { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 printf %s "checking whether $CC accepts -g... " >&6; } if test ${ac_cv_prog_cc_g+y} then : printf %s "(cached) " >&6 else $as_nop ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_g=yes else $as_nop CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : else $as_nop ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 printf "%s\n" "$ac_cv_prog_cc_g" >&6; } if test $ac_test_CFLAGS; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi ac_prog_cc_stdc=no if test x$ac_prog_cc_stdc = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 printf %s "checking for $CC option to enable C11 features... " >&6; } if test ${ac_cv_prog_cc_c11+y} then : printf %s "(cached) " >&6 else $as_nop ac_cv_prog_cc_c11=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_c_conftest_c11_program _ACEOF for ac_arg in '' -std=gnu11 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_c11=$ac_arg fi rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c11" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi if test "x$ac_cv_prog_cc_c11" = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 printf "%s\n" "unsupported" >&6; } else $as_nop if test "x$ac_cv_prog_cc_c11" = x then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 printf "%s\n" "none needed" >&6; } else $as_nop { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } CC="$CC $ac_cv_prog_cc_c11" fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 ac_prog_cc_stdc=c11 fi fi if test x$ac_prog_cc_stdc = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 printf %s "checking for $CC option to enable C99 features... " >&6; } if test ${ac_cv_prog_cc_c99+y} then : printf %s "(cached) " >&6 else $as_nop ac_cv_prog_cc_c99=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_c_conftest_c99_program _ACEOF for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_c99=$ac_arg fi rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c99" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi if test "x$ac_cv_prog_cc_c99" = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 printf "%s\n" "unsupported" >&6; } else $as_nop if test "x$ac_cv_prog_cc_c99" = x then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 printf "%s\n" "none needed" >&6; } else $as_nop { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } CC="$CC $ac_cv_prog_cc_c99" fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 ac_prog_cc_stdc=c99 fi fi if test x$ac_prog_cc_stdc = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 printf %s "checking for $CC option to enable C89 features... " >&6; } if test ${ac_cv_prog_cc_c89+y} then : printf %s "(cached) " >&6 else $as_nop ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_c_conftest_c89_program _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi if test "x$ac_cv_prog_cc_c89" = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 printf "%s\n" "unsupported" >&6; } else $as_nop if test "x$ac_cv_prog_cc_c89" = x then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 printf "%s\n" "none needed" >&6; } else $as_nop { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } CC="$CC $ac_cv_prog_cc_c89" fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 ac_prog_cc_stdc=c89 fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 printf %s "checking whether $CC understands -c and -o together... " >&6; } if test ${am_cv_prog_cc_c_o+y} then : printf %s "(cached) " >&6 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out .PHONY: am__doit END am__include="#" am__quote= # BSD make does it like this. echo '.include "confinc.mk" # ignored' > confmf.BSD # Other make implementations (GNU, Solaris 10, AIX) do it like this. echo 'include confinc.mk # ignored' > confmf.GNU _am_result=no for s in GNU BSD; do { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } case $?:`cat confinc.out 2>/dev/null` in #( '0:this is the am__doit target') : case $s in #( BSD) : am__include='.include' am__quote='"' ;; #( *) : am__include='include' am__quote='' ;; esac ;; #( *) : ;; esac if test "$am__include" != "#"; then _am_result="yes ($s style)" break fi done rm -f confinc.* confmf.* { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 printf "%s\n" "${_am_result}" >&6; } # Check whether --enable-dependency-tracking was given. if test ${enable_dependency_tracking+y} then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 printf %s "checking dependency style of $depcc... " >&6; } if test ${am_cv_CC_dependencies_compiler_type+y} then : printf %s "(cached) " >&6 else $as_nop if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval test \${ac_cv_prog_make_${ac_make}_set+y} then : printf %s "(cached) " >&6 else $as_nop cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } SET_MAKE= else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 printf %s "checking for a sed that does not truncate output... " >&6; } if test ${ac_cv_path_SED+y} then : printf %s "(cached) " >&6 else $as_nop ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_prog in sed gsed do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" printf "%s\n" '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 printf "%s\n" "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Make sure CDPATH is portably set to a sensible value CDPATH=${ZSH_VERSION+.}: GAP_CPPFLAGS="" ###################################### # Find the GAP root directory by # checking for the sysinfo.gap file { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GAP root directory" >&5 printf %s "checking for GAP root directory... " >&6; } GAPROOT="../.." # Allow the user to specify the location of GAP # Check whether --with-gaproot was given. if test ${with_gaproot+y} then : withval=$with_gaproot; GAPROOT="$withval" fi # Convert the path to absolute GAPROOT=`cd $GAPROOT > /dev/null 2>&1 && pwd` if test -e ${GAPROOT}/sysinfo.gap; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${GAPROOT}" >&5 printf "%s\n" "${GAPROOT}" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Not found" >&5 printf "%s\n" "Not found" >&6; } echo "" echo "********************************************************************" echo " ERROR" echo "" echo " Cannot find your GAP installation. Please specify the location of" echo " GAP's root directory using --with-gaproot=" echo "" echo " The GAP root directory (as far as this package is concerned) is" echo " the one containing the file sysinfo.gap" echo "********************************************************************" echo "" as_fn_error $? "Unable to find GAP root directory" "$LINENO" 5 fi ##################################### # Now find the architecture { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GAP architecture" >&5 printf %s "checking for GAP architecture... " >&6; } GAPARCH="Unknown" . $GAPROOT/sysinfo.gap if test "x$GAParch" != "x"; then GAPARCH=$GAParch fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GAPARCH" >&5 printf "%s\n" "$GAPARCH" >&6; } if test "x$GAPARCH" = "xUnknown" ; then echo "" echo "********************************************************************" echo " ERROR" echo "" echo " Found a GAP installation at $GAPROOT but could not find" echo " information about GAP's architecture in the file" echo " ${GAPROOT}/sysinfo.gap ." echo " This file should be present: please check your GAP installation." echo "********************************************************************" echo "" as_fn_error $? "Unable to find plausible GAParch information." "$LINENO" 5 fi # require GAP >= 4.9 if test "x$GAP_CPPFLAGS" = x; then echo "" echo "********************************************************************" echo " ERROR" echo "" echo " This version of GAP is too old and not supported by this package." echo "********************************************************************" echo "" as_fn_error $? "No GAP_CPPFLAGS is given" "$LINENO" 5 fi # compatibility with GAP 4.9 (not needed in GAP >= 4.10) GAP_CPPFLAGS="$GAP_CPPFLAGS -I${GAP_LIB_DIR}/src" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu GAP="${GAP:-${GAPROOT}/bin/gap.sh}" # newer GAP versions may set GMP_PREFIX in sysinfo.gap, try to use that GMP_PREFIX=${GMP_PREFIX:-yes} # Check whether --with-gmp was given. if test ${with_gmp+y} then : withval=$with_gmp; else $as_nop with_gmp=${GMP_PREFIX} fi GMP_CPPFLAGS="" GMP_LDFLAGS="" GMP_LIBS="-lgmp" if test "x$with_gmp" = "xno" ; then as_fn_error $? "GMP is required and cannot be disabled" "$LINENO" 5 elif test "x$with_gmp" = "xyes" ; then # If a gaproot was specified, try to find GMP in there; otherwise, fall # back to whatever GMP may be found via user specified C/CPP/LDFLAGS if test "${with_gaproot+set}" = set; then echo "with_gaproot = $with_gaproot" if test -f ${with_gaproot}/extern/install/gmp/include/gmp.h && test -d ${with_gaproot}/extern/install/gmp/lib ; then echo "adjusting stuff based on gaproot" GMP_CPPFLAGS="-I${with_gaproot}/extern/install/gmp/include" GMP_LDFLAGS="-L${with_gaproot}/extern/install/gmp/lib" fi fi else if test -d ${with_gmp}/include && test -d ${with_gmp}/lib ; then GMP_CPPFLAGS="-I${with_gmp}/include" GMP_LDFLAGS="-L${with_gmp}/lib" else as_fn_error $? "Could not locate libgmp.a in the specified location" "$LINENO" 5 fi fi; save_CPPFLAGS="$CPPFLAGS" save_LDFLAGS="$LDFLAGS" save_LIBS="$LIBS" CPPFLAGS="$CPPFLAGS $GMP_CPPFLAGS" LDFLAGS="$LDFLAGS $GMP_LDFLAGS" LIBS="$LIBS $GMP_LIBS" ac_header= ac_cache= for ac_item in $ac_header_c_list do if test $ac_cache; then ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then printf "%s\n" "#define $ac_item 1" >> confdefs.h fi ac_header= ac_cache= elif test $ac_header; then ac_cache=$ac_item else ac_header=$ac_item fi done if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes then : printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" if test "x$ac_cv_header_gmp_h" = xyes then : # TODO: Disable linker check for now: It causes problems on Linux, because # libgmp.a is in the linker command line before the test C file. On the long # run, this should be re-enabled, though perhaps in a different form. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linking against GMP works" >&5 printf %s "checking whether linking against GMP works... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { __gmpz_init(0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : have_gmp=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_gmp" >&5 printf "%s\n" "$have_gmp" >&6; } fi # restore FLAGS CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" if test "x$have_gmp" != xyes; then as_fn_error $? "Could not locate GMP, the GNU multiprecision library" "$LINENO" 5 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 printf %s "checking for unsigned long long int... " >&6; } if test ${ac_cv_type_unsigned_long_long_int+y} then : printf %s "(cached) " >&6 else $as_nop ac_cv_type_unsigned_long_long_int=yes case $ac_prog_cc_stdc in no | c89) ;; *) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* For now, do not test the preprocessor; as of 2007 there are too many implementations with broken preprocessors. Perhaps this can be revisited in 2012. In the meantime, code should not expect #if to work with literals wider than 32 bits. */ /* Test literals. */ long long int ll = 9223372036854775807ll; long long int nll = -9223372036854775807LL; unsigned long long int ull = 18446744073709551615ULL; /* Test constant expressions. */ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ? 1 : -1)]; typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ? 1 : -1)]; int i = 63; int main (void) { /* Test availability of runtime routines for shift and division. */ long long int llmax = 9223372036854775807ll; unsigned long long int ullmax = 18446744073709551615ull; return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) | (llmax / ll) | (llmax % ll) | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) | (ullmax / ull) | (ullmax % ull)); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : else $as_nop ac_cv_type_unsigned_long_long_int=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 printf "%s\n" "$ac_cv_type_unsigned_long_long_int" >&6; } if test $ac_cv_type_unsigned_long_long_int = yes; then printf "%s\n" "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 printf %s "checking for long long int... " >&6; } if test ${ac_cv_type_long_long_int+y} then : printf %s "(cached) " >&6 else $as_nop ac_cv_type_long_long_int=yes case $ac_prog_cc_stdc in no | c89) ;; *) ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int if test $ac_cv_type_long_long_int = yes; then if test "$cross_compiling" = yes then : : else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef LLONG_MAX # define HALF \ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) # define LLONG_MAX (HALF - 1 + HALF) #endif int main (void) { long long int n = 1; int i; for (i = 0; ; i++) { long long int m = n << i; if (m >> i != n) return 1; if (LLONG_MAX / 2 < m) break; } return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : else $as_nop ac_cv_type_long_long_int=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 printf "%s\n" "$ac_cv_type_long_long_int" >&6; } if test $ac_cv_type_long_long_int = yes; then printf "%s\n" "#define HAVE_LONG_LONG_INT 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getrusage" "ac_cv_func_getrusage" if test "x$ac_cv_func_getrusage" = xyes then : printf "%s\n" "#define HAVE_GETRUSAGE 1" >>confdefs.h fi ac_config_files="$ac_config_files Makefile examples/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 printf "%s\n" "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 printf %s "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 printf "%s\n" "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh as_nop=: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi # Reset variables that may have inherited troublesome values from # the environment. # IFS needs to be set, to space, tab, and newline, in precisely that order. # (If _AS_PATH_WALK were called with IFS unset, it would have the # side effect of setting IFS to empty, thus disabling word splitting.) # Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl IFS=" "" $as_nl" PS1='$ ' PS2='> ' PS4='+ ' # Ensure predictable behavior from utilities with locale-dependent output. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # We cannot yet rely on "unset" to work, but we need these variables # to be unset--not just set to an empty or harmless value--now, to # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct # also avoids known problems related to "unset" and subshell syntax # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH do eval test \${$as_var+y} \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done # Ensure that fds 0, 1, and 2 are open. if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null then : eval 'as_fn_append () { eval $1+=\$2 }' else $as_nop as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null then : eval 'as_fn_arith () { as_val=$(( $* )) }' else $as_nop as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # Determine whether it's possible to make 'echo' print without a newline. # These variables are no longer used directly by Autoconf, but are AC_SUBSTed # for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac # For backward compatibility with old third-party macros, we provide # the shell variables $as_echo and $as_echo_n. New code should use # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. as_echo='printf %s\n' as_echo_n='printf %s' rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by ANU Nilpotent Quotient Program $as_me package, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to . ANU Nilpotent Quotient Program home page: ." _ACEOF ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ ANU Nilpotent Quotient Program config.status package configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" Copyright (C) 2021 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) printf "%s\n" "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) printf "%s\n" "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) printf "%s\n" "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX printf "%s\n" "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.hin" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 printf "%s\n" "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`printf "%s\n" "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 printf "%s\n" "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. # TODO: see whether this extra hack can be removed once we start # requiring Autoconf 2.70 or later. case $CONFIG_FILES in #( *\'*) : eval set x "$CONFIG_FILES" ;; #( *) : set x $CONFIG_FILES ;; #( *) : ;; esac shift # Used to flag and report bootstrapping failures. am_rc=0 for am_mf do # Strip MF so we end up with the name of the file. am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ || continue am_dirpart=`$as_dirname -- "$am_mf" || $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$am_mf" : 'X\(//\)[^/]' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$am_mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` am_filepart=`$as_basename -- "$am_mf" || $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X/"$am_mf" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` { echo "$as_me:$LINENO: cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles" >&5 (cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } || am_rc=$? done if test $am_rc -ne 0; then { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "Something went wrong bootstrapping makefile fragments for automatic dependency tracking. If GNU make was not used, consider re-running the configure script with MAKE=\"gmake\" (or whatever is necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). See \`config.log' for more details" "$LINENO" 5; } fi { am_dirpart=; unset am_dirpart;} { am_filepart=; unset am_filepart;} { am_mf=; unset am_mf;} { am_rc=; unset am_rc;} rm -f conftest-deps.mk } ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi nq-2.5.11/CHANGES000644 000766 000024 00000017247 14550113041 013505 0ustar00mhornstaff000000 000000 =========================================================================== This file describes changes in the GAP package 'nq'. =========================================================================== 2.5.11 (2024-01-12) - Janitorial changes 2.5.10 (2023-03-27) - Various janitorial changes 2.5.9 (2022-10-26) - Improve how GMP is located with GAP >= 4.12.1) - Various janitorial changes 2.5.8 (2022-04-04) - Restore `--with-gmp` configure option - Restore `make test` - Various janitorial changes 2.5.7 (2022-03-16) - Don't abort certain computations just because an "unknown" global option is on the GAP "Options Stack" 2.5.6 (2022-02-22) - Remove support for ABI override in configure script. This is rarely useful, and anybody who cares can simply add `-m32` or `-m64` to the CFLAGS - Minor change to support execution on Windows (under Cygwin) 2.5.5 (2021-04-11) - Various other janitorial updates 2.5.4 (2019-02-15) - Update build system for compatibility with GAP 4.9 and later - Various other janitorial updates 2.5.3 (2016-03-08) - Maintenance release 2.5.2 (2016-01-07) - Move website to https://gap-packages.github.io/nq/ 2.5.1 (2014-04-02) * Fix linker error on Unix systems other than Mac OS X * Remove GAP function NqBuildManual (use the makedoc.g script instead) 2.5 (2014-04-01) * Renamed configure option "--with-gap-root" to "--with-gaproot" in order to match the io and orb packages more closely. * Changed build system to use automake * Changed how the manual is built (now AutoDoc is used to automatically generate the title page from PackageInfo.g) * Add GPL license file to make clear that nq is licensed under the GPL (after discussion with Werner Nickel and getting his explicit approval) * Moved the homepage to GitHub * Updated Max Horn's contact details 2.4 (2012-01-12) * Fixed crash on some systems caused by a long standing memory management bug. * Fixed crash on certain systems caused by exponents being sometimes treated as 64bit words, and sometimes as 32bit words. * Fixed spurious warnings when running "configure" that could occur when using --with-gmp-prefix * Fixed a warning when using nq in GAP versions before 4.5. * Improved build system: - Improved GMP detection in configure script; it now checks if GAP built a GMP library, and if so, uses that. - Unified how the user can choose which GAP config to use in the configure script: Instead of a --with-gap-config argument to configure, now a CONFIGNAME environment variable is used. This matches how GAP's own configure script works, and also various other packages. - Added support for ABI override via ABI environment variable - Changed --with-gmp-prefix to --with-gmp, with exact same semantics as the --with-gmp option of GAP's configure. 2.3 (2011-09-15) * Removed maintainer flag from Werner, added Max as new maintainer * Synced cnf/config.* files with the ones used by GAP * Rewrote and improved configure script and the build system * Added '--with-gap-dir' option to configure * Fixed compilation on modern day systems (e.g. Mac OS X), by including stdlib.h and string.h instead of malloc.h * Stopped insisting on static linking the nq binary * Dropped compatibility with GAP versions prior to 4.4 * Made test cases ignore the version string nq outputs * Fixed crash on Mac OS X when compiling in 64 bit mode * Updated documentation * Enabled extra warnings for the C code, and fix many of resulting warnings * Converted History file to this CHANGES file. 2.2 (2007-02-07) * filter out the identity word as relator 2.1 (2003-10-20) * removed instances of `share package' * removed obsolete files doc/manual.in gap/nqrest.gi 2.0 (2003-02-12) * GAP4 print routines (gap.c) added. The -g option now prints a pc-presentation in GAP4 style at the end of a run. * Evaluation of an Engel identity redefines the Commute array. As a consequence, commutator calculations are carried out only with the precision required to evaluate an iterated commutator. This gives a speedup of a factor of 3-4 in Engel-4 and Engel-5 groups. * Implementation of parsing Engel-n commutators and evaluation of those commutators with redefined Commute[] arrays. * turned NQ into a GAP 4 package * modified the GAP 4 output routines * wrote new setup for nq using autoconf * replaced in glimt.c all BSD compatible integer functions by GMP functions. Now libmp.a is not needed anymore. * extended the input grammar to accept identical generators as part of the generator list separated from the other generators by a semicolon * added machinery to evaluate identical relations * added a combinatorial collector * reconstruction of the integer matrix code * rewrite of the examples code 1.2 (1998-03-??) * added option that allows to check the Engel condition in reverse order * added -m option that outputs all non-zero vectors handed to addRow() to file. * built integer overflow check into function Number() in presentation.c . * replaced the function Commutator() in collect.c. Instead of using Solve to solve uv x = vu the equation is solved directly. * Added support for metabelian identities. * Added the option -p to toggle the printing of the epimorphism and the nilpotent quotient at the end of a run. I also added code to print the definitions of each generator of weight at least 2. * print statements for the definitions of new generators. * added option -E to reverse the order in which Engel generators are processes. * NQ now reads from stdin when the file name argument is missing 1.1e (1994-08-04) * fixed printing of preimages in PrintEpim() in relation.c. * the error function of Collect() now prints the generator which caused the error. Collect() was also slightly reformatted. 1.1d (1994-03-??) * changed the functions buildPairs() and buildWord() such that they also build words with negative exponents. This can be switched off using the option -s (s for semigroup words). * Added a check for the identity matrix to the function addRow(). A flag EarlyStop is set if the check is positive. This flag is now used in the files consistency.c, relations.c and engel.c to stop the computation as soon as all new generators are eliminated. * Fixed the last printing of the total runtime in main(). * changed the function evalEngel() in engel.c such that it stops checking instances of the Engel law as soon as all instances of a certain weight did not yield anything new. This is not proved to be mathematically sound. * the function buildPairs() in engel.c now checks if an instance [x, ny] of the n-th Engel law is trivial for weight reasons. * the function Collect() in collect.c aborts a run if it runs into an integer overflow. * the functions outputMatrix() and printGapMatrix() in glimt.c have been changed to print only rows and columns whose pivot entry is not 1. * the function MatrixToExpVec() in glimt.c now frees the large matrix row by row. * Update the README file. 1.1c (1993-08-12) * modified the file engel.c to allow checking of more identities. This entry has been made in Oct 93; it has to be checked what the modifications are and which options have been added. 1.1b (1993-02-26) * added the option -a to nq and the corresponding output routine outputMatrix() to glimt.c. 1.1 (1993-01-22) * introduction of this file and the file README * added option -t to nq * improvements to testNq * added target clean to the make file 1.0 (1992-12-??) * Version 1.0 of the ANU NQ nq-2.5.11/TODO000644 000766 000024 00000007553 14550113041 013201 0ustar00mhornstaff000000 000000 * Buildsystem: - add description in the manual of how to use configure arguments and environment variables * Test suite: - Add a "proper" test suite in tst - Take a look at gap/nq.tst, possibly move this into tst/ - Maybe example should become part of tst/ respective part of the test suite * Add EpimorphismNilpotentQuotientOp method(s) * Explain in the README how to build the documentation. * Do not install any writeable global objects, at least not with a prefix; consider switching to GAP 4.5 namespaces * README should explain the full build procedure, esp. regarding 32 vs. 64 bit, and support for GAP configs: ./configure CONFIGNAME=default32 ABI=32 * Consider honoring CFLAGS etc. passed as parameter to configure * Do not call Info(InfoWarning,1,"..."); in AvailabilityTest. Instead use LogPackageLoadingMessage; however, that's only available in GAP 4.5+, so either don't log a warning at all, or somehow do this logging in a way that doesn't harm GAP 4.4 compatibility. * Document NilpotentQuotient methods for expression trees. ======================================================================= THE FOLLOWING TODOS ARE TAKEN FROM THE OLD README FILE. SOME OF THESE MAY NO LONGER BE RELEVANT. READ WITH CAUTION. ======================================================================= On the agenda for future versions of the program are the following items : Use combinatorial collection Improve the speed of checking the Engel conditions Avoid consistency tests used for tail computations Speed up elimination of generators and extending the pc pres Use column permutations in the Kannan-Bachem algorithm Add more comments to the code Use the mpz-interface of the GNU multiple precision package Find a more satisfying solution for generating sets for each central factor. Multiple precision integers as exponents of generators Better control over the output Output computed nilpotent quotient if the program times out ======================================================================= THE FOLLOWING TODOS ARE TAKEN FROM WERNER'S OLD TODO FILE. SOME OF THESE MAY NO LONGER BE RELEVANT. READ WITH CAUTION. ======================================================================= This is a list of tasks which need to be done before nq is released as a GAP 4 package. 17 Aug 2002: None if the following items are critical. Therefore, I postpone all of this until after the package is released. -- The configure script should check if the package is installed as a GAP package -- NilpotentQuotient() should return a quotient system. -- Update the test files and testNq. -- Add access to the Engel options. -- If configure cannot find certain components, then one should run configure again and not make with the correct options. This way, configure can remember the correct values and it will suffice make. -- Update installation procedure -- It should be possible to define the nilpotency class as part of the input file. -- Create an info class InfoANU_NQ and put Info() statements into the code. -- Should I keep the last nq-record for what purpose? -- The exit codes of the standalone should be interpreted. For this I need to go through the code and make sure that each exit events has its own exit code. nq todos: -- The evaluation of commutators should decrease the class by one before computing the two entries of the commutators. (I have done this. There is some cleaning up necessary as the class is sometimes negative) -- More statistics for the integer routines, for example, the density of the input. -- Make sure that the values returned when the nq exits are correct. Then the calling GAP script knows why nq has terminated prematurely. Make sure that the resulting GAP file is consistent so that the calling routine can read in partial results. nq-2.5.11/Makefile.am000644 000766 000024 00000002640 14550113041 014535 0ustar00mhornstaff000000 000000 ACLOCAL_AMFLAGS = -I m4 BINARCHDIR = bin/$(GAPARCH) bin_PROGRAMS = nq nq_SOURCES = \ src/addgen.c \ src/collect.c \ src/combicol.c \ src/consistency.c \ src/eliminate.c \ src/engel.c \ src/gap.c \ src/glimt.c \ src/instances.c \ src/mem.c \ src/nq.c \ src/pc.c \ src/pcarith.c \ src/presentation.c \ src/relations.c \ src/system.c \ src/tails.c \ src/time.c \ src/trmetab.c \ src/word.c nq_LDFLAGS = $(GMP_LDFLAGS) nq_LDADD = $(GMP_LIBS) nq_CPPFLAGS = $(GMP_CPPFLAGS) #CFLAGS += -O3 -Wuninitialized nq_CFLAGS = \ -Wall \ -Wpointer-arith\ -Wcast-qual\ -Wshadow\ -Wwrite-strings\ -W\ -Wc++-compat\ -Wold-style-definition\ -Wmissing-prototypes\ -Wstrict-prototypes\ -pedantic\ -Wno-unused-parameter\ -Wno-long-long # -Wno-conversion\ # -Wno-missing-field-initializers\ # -Wno-sign-compare \ # -Werror all-local: nq$(EXEEXT) $(mkdir_p) $(top_srcdir)/$(BINARCHDIR) rm -f $(abs_top_srcdir)/$(BINARCHDIR)/nq$(EXEEXT) cp nq$(EXEEXT) $(abs_top_srcdir)/$(BINARCHDIR) @echo "SUCCESS!" clean-local: rm -f examples/G?.tst examples/G?.old *~ (cd doc && rm -f *.aux *.bbl *.blg *.brf *.idx *.ilg *.ind *.log *.out *.pnr *.tex *.toc) (cd doc && rm -f test/nqman.tst test/diffs) rm -rf $(top_srcdir)/$(BINARCHDIR) doc: $(GAP) -A --quitonbreak -b -q < makedoc.g check: (cd examples; make) test: (cd examples; make) .PHONY: check doc test nq-2.5.11/README.md000644 000766 000024 00000007107 14550113041 013763 0ustar00mhornstaff000000 000000 [![Build Status](https://github.com/gap-packages/nq/workflows/CI/badge.svg?branch=master)](https://github.com/gap-packages/nq/actions?query=workflow%3ACI+branch%3Amaster) [![Code Coverage](https://codecov.io/github/gap-packages/nq/coverage.svg?branch=master&token=)](https://codecov.io/gh/gap-packages/nq) The ANU Nilpotent Quotient Program ================================== Nilpotent quotients ------------------- The lower central series G_i of a group G can be defined inductively as G_0 = G, G_i = [G_(i-1),G]. G is said to have nilpotency class c if c is the smallest non-zero integer such that G_c = 1. If N is a normal subgroup of G and G/N is nilpotent, then N contains G_i for some non-negative integer i. G has infinite nilpotent quotients if and only if G/G_1 is infinite. The i-th (i > 1) factor G_(i-1)/G_i of the lower central series is generated by the elements [g,h]G_i, where g runs through a set of representatives of G/G_1 and h runs through a set of representatives of G_(i-2)/G_(i-1). Any finitely generated nilpotent group is polycyclic and, therefore, has a subnormal series with cyclic factors. Such a subnormal series can be used to represent the group in terms of a polycyclic presentation. The ANU NQ computes successively the factor groups modulo the terms of the lower central series. Each factor group is represented by a special form of polycyclic presentation, a nilpotent presentation, that makes use of the nilpotent structure of the factor group. Chapters 9 and 11 of the book by C.C. Sims, "Computing with finitely presented groups", discusses polycyclic presentations and a nilpotent quotient algorithm. A description of this implementation is contained in Werner Nickel (1996) "Computing Nilpotent Quotients of Finitely Presented Groups" in Dimacs Series in Discrete Mathematics and Theoretical Computer Science, Volume 25, pp 175-191. About this version ------------------ This directory contains the Australian National University Nilpotent Quotient Program (ANU NQ), an implementation of a nilpotent quotient algorithm in C. This implementation has been developed in a Unix environment and Unix is currently the only operating system supported. It runs on a number of different Unix versions. An earlier version of the ANU NQ is also available as part of quotpic (Derek F. Holt, Sarah Rees: A graphics system for displaying finite quotients of finitely presented groups. DIMACS Workshop on Groups and Computation, AMS-ACM 1991). How to install the ANU NQ ------------------------- Please refer to the manual for installation instructions. How to use the ANU NQ --------------------- Please refer to the manual for instructions on how to use ANU NQ via the GAP interface or directly via the command line interface. Acknowledgements ---------------- The author of ANU NQ is Werner Nickel. The development of this program was started while the author was supported by an Australian National University PhD scholarship and an Overseas Postgraduate Research Scholarship. Further development of this program was done while the author was supported by the DFG-Schwerpunkt-Projekt "Algorithmische Zahlentheorie und Algebra". Since then, maintenance of ANU NQ has been taken over by Max Horn. All credit for creating ANU NQ still goes to Werner Nickel as sole author. However, bug reports and other inquiries should be sent to Max Horn. Contact addresses ----------------- Bug reports and other requests should be sent to the issue tracker nq-2.5.11/cnf/000755 000766 000024 00000000000 14550113065 013253 5ustar00mhornstaff000000 000000 nq-2.5.11/gap/000755 000766 000024 00000000000 14550113041 013246 5ustar00mhornstaff000000 000000 nq-2.5.11/makedoc.g000644 000766 000024 00000000321 14550113041 014246 0ustar00mhornstaff000000 000000 # # Generate the manual using AutoDoc # if fail = LoadPackage("AutoDoc", ">= 2016.01.21") then Error("AutoDoc 2016.01.21 or newer is required"); fi; AutoDoc( rec( scaffold := rec( MainPage := false ) ) ); nq-2.5.11/examples/000755 000766 000024 00000000000 14550113041 014315 5ustar00mhornstaff000000 000000 nq-2.5.11/m4/000755 000766 000024 00000000000 14550113041 013017 5ustar00mhornstaff000000 000000 nq-2.5.11/doc/000755 000766 000024 00000000000 14550113063 013250 5ustar00mhornstaff000000 000000 nq-2.5.11/tst/000755 000766 000024 00000000000 14550113041 013311 5ustar00mhornstaff000000 000000 nq-2.5.11/init.g000644 000766 000024 00000000350 14550113041 013610 0ustar00mhornstaff000000 000000 ############################################################################# ## #W init.g GAP 4 package 'nq' Werner Nickel ## ReadPackage("nq", "gap/nq.gd"); ReadPackage("nq", "gap/exptree.gd"); nq-2.5.11/Makefile.in000644 000766 000024 00000166335 14550113066 014571 0ustar00mhornstaff000000 000000 # Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : bin_PROGRAMS = nq$(EXEEXT) subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/find_gap.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/src/config.h CONFIG_CLEAN_FILES = examples/Makefile CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am__dirstamp = $(am__leading_dot)dirstamp am_nq_OBJECTS = src/nq-addgen.$(OBJEXT) src/nq-collect.$(OBJEXT) \ src/nq-combicol.$(OBJEXT) src/nq-consistency.$(OBJEXT) \ src/nq-eliminate.$(OBJEXT) src/nq-engel.$(OBJEXT) \ src/nq-gap.$(OBJEXT) src/nq-glimt.$(OBJEXT) \ src/nq-instances.$(OBJEXT) src/nq-mem.$(OBJEXT) \ src/nq-nq.$(OBJEXT) src/nq-pc.$(OBJEXT) \ src/nq-pcarith.$(OBJEXT) src/nq-presentation.$(OBJEXT) \ src/nq-relations.$(OBJEXT) src/nq-system.$(OBJEXT) \ src/nq-tails.$(OBJEXT) src/nq-time.$(OBJEXT) \ src/nq-trmetab.$(OBJEXT) src/nq-word.$(OBJEXT) nq_OBJECTS = $(am_nq_OBJECTS) am__DEPENDENCIES_1 = nq_DEPENDENCIES = $(am__DEPENDENCIES_1) nq_LINK = $(CCLD) $(nq_CFLAGS) $(CFLAGS) $(nq_LDFLAGS) $(LDFLAGS) -o \ $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src depcomp = $(SHELL) $(top_srcdir)/cnf/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = src/$(DEPDIR)/nq-addgen.Po \ src/$(DEPDIR)/nq-collect.Po src/$(DEPDIR)/nq-combicol.Po \ src/$(DEPDIR)/nq-consistency.Po src/$(DEPDIR)/nq-eliminate.Po \ src/$(DEPDIR)/nq-engel.Po src/$(DEPDIR)/nq-gap.Po \ src/$(DEPDIR)/nq-glimt.Po src/$(DEPDIR)/nq-instances.Po \ src/$(DEPDIR)/nq-mem.Po src/$(DEPDIR)/nq-nq.Po \ src/$(DEPDIR)/nq-pc.Po src/$(DEPDIR)/nq-pcarith.Po \ src/$(DEPDIR)/nq-presentation.Po src/$(DEPDIR)/nq-relations.Po \ src/$(DEPDIR)/nq-system.Po src/$(DEPDIR)/nq-tails.Po \ src/$(DEPDIR)/nq-time.Po src/$(DEPDIR)/nq-trmetab.Po \ src/$(DEPDIR)/nq-word.Po am__mv = mv -f AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(nq_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` AM_RECURSIVE_TARGETS = cscope ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CSCOPE = @CSCOPE@ CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ GAP = @GAP@ GAPARCH = @GAPARCH@ GAPROOT = @GAPROOT@ GAP_CFLAGS = @GAP_CFLAGS@ GAP_CPPFLAGS = @GAP_CPPFLAGS@ GAP_LDFLAGS = @GAP_LDFLAGS@ GMP_CPPFLAGS = @GMP_CPPFLAGS@ GMP_LDFLAGS = @GMP_LDFLAGS@ GMP_LIBS = @GMP_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ACLOCAL_AMFLAGS = -I m4 BINARCHDIR = bin/$(GAPARCH) nq_SOURCES = \ src/addgen.c \ src/collect.c \ src/combicol.c \ src/consistency.c \ src/eliminate.c \ src/engel.c \ src/gap.c \ src/glimt.c \ src/instances.c \ src/mem.c \ src/nq.c \ src/pc.c \ src/pcarith.c \ src/presentation.c \ src/relations.c \ src/system.c \ src/tails.c \ src/time.c \ src/trmetab.c \ src/word.c nq_LDFLAGS = $(GMP_LDFLAGS) nq_LDADD = $(GMP_LIBS) nq_CPPFLAGS = $(GMP_CPPFLAGS) #CFLAGS += -O3 -Wuninitialized nq_CFLAGS = \ -Wall \ -Wpointer-arith\ -Wcast-qual\ -Wshadow\ -Wwrite-strings\ -W\ -Wc++-compat\ -Wold-style-definition\ -Wmissing-prototypes\ -Wstrict-prototypes\ -pedantic\ -Wno-unused-parameter\ -Wno-long-long all: all-am .SUFFIXES: .SUFFIXES: .c .o .obj am--refresh: Makefile @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): src/config.h: src/stamp-h1 @test -f $@ || rm -f src/stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) src/stamp-h1 src/stamp-h1: $(top_srcdir)/src/config.hin $(top_builddir)/config.status @rm -f src/stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status src/config.h $(top_srcdir)/src/config.hin: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f src/stamp-h1 touch $@ distclean-hdr: -rm -f src/config.h src/stamp-h1 examples/Makefile: $(top_builddir)/config.status $(top_srcdir)/examples/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) src/$(am__dirstamp): @$(MKDIR_P) src @: > src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) src/$(DEPDIR) @: > src/$(DEPDIR)/$(am__dirstamp) src/nq-addgen.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-collect.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-combicol.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-consistency.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-eliminate.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-engel.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-gap.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-glimt.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-instances.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-mem.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-nq.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) src/nq-pc.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) src/nq-pcarith.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-presentation.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-relations.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-system.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-tails.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-time.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-trmetab.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/nq-word.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) nq$(EXEEXT): $(nq_OBJECTS) $(nq_DEPENDENCIES) $(EXTRA_nq_DEPENDENCIES) @rm -f nq$(EXEEXT) $(AM_V_CCLD)$(nq_LINK) $(nq_OBJECTS) $(nq_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) -rm -f src/*.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-addgen.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-collect.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-combicol.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-consistency.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-eliminate.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-engel.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-gap.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-glimt.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-instances.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-mem.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-nq.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-pc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-pcarith.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-presentation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-relations.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-system.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-tails.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-time.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-trmetab.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nq-word.Po@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @echo '# dummy' >$@-t && $(am__mv) $@-t $@ am--depfiles: $(am__depfiles_remade) .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` src/nq-addgen.o: src/addgen.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-addgen.o -MD -MP -MF src/$(DEPDIR)/nq-addgen.Tpo -c -o src/nq-addgen.o `test -f 'src/addgen.c' || echo '$(srcdir)/'`src/addgen.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-addgen.Tpo src/$(DEPDIR)/nq-addgen.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/addgen.c' object='src/nq-addgen.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-addgen.o `test -f 'src/addgen.c' || echo '$(srcdir)/'`src/addgen.c src/nq-addgen.obj: src/addgen.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-addgen.obj -MD -MP -MF src/$(DEPDIR)/nq-addgen.Tpo -c -o src/nq-addgen.obj `if test -f 'src/addgen.c'; then $(CYGPATH_W) 'src/addgen.c'; else $(CYGPATH_W) '$(srcdir)/src/addgen.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-addgen.Tpo src/$(DEPDIR)/nq-addgen.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/addgen.c' object='src/nq-addgen.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-addgen.obj `if test -f 'src/addgen.c'; then $(CYGPATH_W) 'src/addgen.c'; else $(CYGPATH_W) '$(srcdir)/src/addgen.c'; fi` src/nq-collect.o: src/collect.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-collect.o -MD -MP -MF src/$(DEPDIR)/nq-collect.Tpo -c -o src/nq-collect.o `test -f 'src/collect.c' || echo '$(srcdir)/'`src/collect.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-collect.Tpo src/$(DEPDIR)/nq-collect.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/collect.c' object='src/nq-collect.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-collect.o `test -f 'src/collect.c' || echo '$(srcdir)/'`src/collect.c src/nq-collect.obj: src/collect.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-collect.obj -MD -MP -MF src/$(DEPDIR)/nq-collect.Tpo -c -o src/nq-collect.obj `if test -f 'src/collect.c'; then $(CYGPATH_W) 'src/collect.c'; else $(CYGPATH_W) '$(srcdir)/src/collect.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-collect.Tpo src/$(DEPDIR)/nq-collect.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/collect.c' object='src/nq-collect.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-collect.obj `if test -f 'src/collect.c'; then $(CYGPATH_W) 'src/collect.c'; else $(CYGPATH_W) '$(srcdir)/src/collect.c'; fi` src/nq-combicol.o: src/combicol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-combicol.o -MD -MP -MF src/$(DEPDIR)/nq-combicol.Tpo -c -o src/nq-combicol.o `test -f 'src/combicol.c' || echo '$(srcdir)/'`src/combicol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-combicol.Tpo src/$(DEPDIR)/nq-combicol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/combicol.c' object='src/nq-combicol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-combicol.o `test -f 'src/combicol.c' || echo '$(srcdir)/'`src/combicol.c src/nq-combicol.obj: src/combicol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-combicol.obj -MD -MP -MF src/$(DEPDIR)/nq-combicol.Tpo -c -o src/nq-combicol.obj `if test -f 'src/combicol.c'; then $(CYGPATH_W) 'src/combicol.c'; else $(CYGPATH_W) '$(srcdir)/src/combicol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-combicol.Tpo src/$(DEPDIR)/nq-combicol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/combicol.c' object='src/nq-combicol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-combicol.obj `if test -f 'src/combicol.c'; then $(CYGPATH_W) 'src/combicol.c'; else $(CYGPATH_W) '$(srcdir)/src/combicol.c'; fi` src/nq-consistency.o: src/consistency.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-consistency.o -MD -MP -MF src/$(DEPDIR)/nq-consistency.Tpo -c -o src/nq-consistency.o `test -f 'src/consistency.c' || echo '$(srcdir)/'`src/consistency.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-consistency.Tpo src/$(DEPDIR)/nq-consistency.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/consistency.c' object='src/nq-consistency.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-consistency.o `test -f 'src/consistency.c' || echo '$(srcdir)/'`src/consistency.c src/nq-consistency.obj: src/consistency.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-consistency.obj -MD -MP -MF src/$(DEPDIR)/nq-consistency.Tpo -c -o src/nq-consistency.obj `if test -f 'src/consistency.c'; then $(CYGPATH_W) 'src/consistency.c'; else $(CYGPATH_W) '$(srcdir)/src/consistency.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-consistency.Tpo src/$(DEPDIR)/nq-consistency.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/consistency.c' object='src/nq-consistency.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-consistency.obj `if test -f 'src/consistency.c'; then $(CYGPATH_W) 'src/consistency.c'; else $(CYGPATH_W) '$(srcdir)/src/consistency.c'; fi` src/nq-eliminate.o: src/eliminate.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-eliminate.o -MD -MP -MF src/$(DEPDIR)/nq-eliminate.Tpo -c -o src/nq-eliminate.o `test -f 'src/eliminate.c' || echo '$(srcdir)/'`src/eliminate.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-eliminate.Tpo src/$(DEPDIR)/nq-eliminate.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/eliminate.c' object='src/nq-eliminate.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-eliminate.o `test -f 'src/eliminate.c' || echo '$(srcdir)/'`src/eliminate.c src/nq-eliminate.obj: src/eliminate.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-eliminate.obj -MD -MP -MF src/$(DEPDIR)/nq-eliminate.Tpo -c -o src/nq-eliminate.obj `if test -f 'src/eliminate.c'; then $(CYGPATH_W) 'src/eliminate.c'; else $(CYGPATH_W) '$(srcdir)/src/eliminate.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-eliminate.Tpo src/$(DEPDIR)/nq-eliminate.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/eliminate.c' object='src/nq-eliminate.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-eliminate.obj `if test -f 'src/eliminate.c'; then $(CYGPATH_W) 'src/eliminate.c'; else $(CYGPATH_W) '$(srcdir)/src/eliminate.c'; fi` src/nq-engel.o: src/engel.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-engel.o -MD -MP -MF src/$(DEPDIR)/nq-engel.Tpo -c -o src/nq-engel.o `test -f 'src/engel.c' || echo '$(srcdir)/'`src/engel.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-engel.Tpo src/$(DEPDIR)/nq-engel.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/engel.c' object='src/nq-engel.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-engel.o `test -f 'src/engel.c' || echo '$(srcdir)/'`src/engel.c src/nq-engel.obj: src/engel.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-engel.obj -MD -MP -MF src/$(DEPDIR)/nq-engel.Tpo -c -o src/nq-engel.obj `if test -f 'src/engel.c'; then $(CYGPATH_W) 'src/engel.c'; else $(CYGPATH_W) '$(srcdir)/src/engel.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-engel.Tpo src/$(DEPDIR)/nq-engel.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/engel.c' object='src/nq-engel.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-engel.obj `if test -f 'src/engel.c'; then $(CYGPATH_W) 'src/engel.c'; else $(CYGPATH_W) '$(srcdir)/src/engel.c'; fi` src/nq-gap.o: src/gap.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-gap.o -MD -MP -MF src/$(DEPDIR)/nq-gap.Tpo -c -o src/nq-gap.o `test -f 'src/gap.c' || echo '$(srcdir)/'`src/gap.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-gap.Tpo src/$(DEPDIR)/nq-gap.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/gap.c' object='src/nq-gap.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-gap.o `test -f 'src/gap.c' || echo '$(srcdir)/'`src/gap.c src/nq-gap.obj: src/gap.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-gap.obj -MD -MP -MF src/$(DEPDIR)/nq-gap.Tpo -c -o src/nq-gap.obj `if test -f 'src/gap.c'; then $(CYGPATH_W) 'src/gap.c'; else $(CYGPATH_W) '$(srcdir)/src/gap.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-gap.Tpo src/$(DEPDIR)/nq-gap.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/gap.c' object='src/nq-gap.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-gap.obj `if test -f 'src/gap.c'; then $(CYGPATH_W) 'src/gap.c'; else $(CYGPATH_W) '$(srcdir)/src/gap.c'; fi` src/nq-glimt.o: src/glimt.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-glimt.o -MD -MP -MF src/$(DEPDIR)/nq-glimt.Tpo -c -o src/nq-glimt.o `test -f 'src/glimt.c' || echo '$(srcdir)/'`src/glimt.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-glimt.Tpo src/$(DEPDIR)/nq-glimt.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/glimt.c' object='src/nq-glimt.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-glimt.o `test -f 'src/glimt.c' || echo '$(srcdir)/'`src/glimt.c src/nq-glimt.obj: src/glimt.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-glimt.obj -MD -MP -MF src/$(DEPDIR)/nq-glimt.Tpo -c -o src/nq-glimt.obj `if test -f 'src/glimt.c'; then $(CYGPATH_W) 'src/glimt.c'; else $(CYGPATH_W) '$(srcdir)/src/glimt.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-glimt.Tpo src/$(DEPDIR)/nq-glimt.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/glimt.c' object='src/nq-glimt.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-glimt.obj `if test -f 'src/glimt.c'; then $(CYGPATH_W) 'src/glimt.c'; else $(CYGPATH_W) '$(srcdir)/src/glimt.c'; fi` src/nq-instances.o: src/instances.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-instances.o -MD -MP -MF src/$(DEPDIR)/nq-instances.Tpo -c -o src/nq-instances.o `test -f 'src/instances.c' || echo '$(srcdir)/'`src/instances.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-instances.Tpo src/$(DEPDIR)/nq-instances.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/instances.c' object='src/nq-instances.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-instances.o `test -f 'src/instances.c' || echo '$(srcdir)/'`src/instances.c src/nq-instances.obj: src/instances.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-instances.obj -MD -MP -MF src/$(DEPDIR)/nq-instances.Tpo -c -o src/nq-instances.obj `if test -f 'src/instances.c'; then $(CYGPATH_W) 'src/instances.c'; else $(CYGPATH_W) '$(srcdir)/src/instances.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-instances.Tpo src/$(DEPDIR)/nq-instances.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/instances.c' object='src/nq-instances.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-instances.obj `if test -f 'src/instances.c'; then $(CYGPATH_W) 'src/instances.c'; else $(CYGPATH_W) '$(srcdir)/src/instances.c'; fi` src/nq-mem.o: src/mem.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-mem.o -MD -MP -MF src/$(DEPDIR)/nq-mem.Tpo -c -o src/nq-mem.o `test -f 'src/mem.c' || echo '$(srcdir)/'`src/mem.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-mem.Tpo src/$(DEPDIR)/nq-mem.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/mem.c' object='src/nq-mem.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-mem.o `test -f 'src/mem.c' || echo '$(srcdir)/'`src/mem.c src/nq-mem.obj: src/mem.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-mem.obj -MD -MP -MF src/$(DEPDIR)/nq-mem.Tpo -c -o src/nq-mem.obj `if test -f 'src/mem.c'; then $(CYGPATH_W) 'src/mem.c'; else $(CYGPATH_W) '$(srcdir)/src/mem.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-mem.Tpo src/$(DEPDIR)/nq-mem.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/mem.c' object='src/nq-mem.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-mem.obj `if test -f 'src/mem.c'; then $(CYGPATH_W) 'src/mem.c'; else $(CYGPATH_W) '$(srcdir)/src/mem.c'; fi` src/nq-nq.o: src/nq.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-nq.o -MD -MP -MF src/$(DEPDIR)/nq-nq.Tpo -c -o src/nq-nq.o `test -f 'src/nq.c' || echo '$(srcdir)/'`src/nq.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-nq.Tpo src/$(DEPDIR)/nq-nq.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/nq.c' object='src/nq-nq.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-nq.o `test -f 'src/nq.c' || echo '$(srcdir)/'`src/nq.c src/nq-nq.obj: src/nq.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-nq.obj -MD -MP -MF src/$(DEPDIR)/nq-nq.Tpo -c -o src/nq-nq.obj `if test -f 'src/nq.c'; then $(CYGPATH_W) 'src/nq.c'; else $(CYGPATH_W) '$(srcdir)/src/nq.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-nq.Tpo src/$(DEPDIR)/nq-nq.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/nq.c' object='src/nq-nq.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-nq.obj `if test -f 'src/nq.c'; then $(CYGPATH_W) 'src/nq.c'; else $(CYGPATH_W) '$(srcdir)/src/nq.c'; fi` src/nq-pc.o: src/pc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-pc.o -MD -MP -MF src/$(DEPDIR)/nq-pc.Tpo -c -o src/nq-pc.o `test -f 'src/pc.c' || echo '$(srcdir)/'`src/pc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-pc.Tpo src/$(DEPDIR)/nq-pc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/pc.c' object='src/nq-pc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-pc.o `test -f 'src/pc.c' || echo '$(srcdir)/'`src/pc.c src/nq-pc.obj: src/pc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-pc.obj -MD -MP -MF src/$(DEPDIR)/nq-pc.Tpo -c -o src/nq-pc.obj `if test -f 'src/pc.c'; then $(CYGPATH_W) 'src/pc.c'; else $(CYGPATH_W) '$(srcdir)/src/pc.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-pc.Tpo src/$(DEPDIR)/nq-pc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/pc.c' object='src/nq-pc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-pc.obj `if test -f 'src/pc.c'; then $(CYGPATH_W) 'src/pc.c'; else $(CYGPATH_W) '$(srcdir)/src/pc.c'; fi` src/nq-pcarith.o: src/pcarith.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-pcarith.o -MD -MP -MF src/$(DEPDIR)/nq-pcarith.Tpo -c -o src/nq-pcarith.o `test -f 'src/pcarith.c' || echo '$(srcdir)/'`src/pcarith.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-pcarith.Tpo src/$(DEPDIR)/nq-pcarith.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/pcarith.c' object='src/nq-pcarith.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-pcarith.o `test -f 'src/pcarith.c' || echo '$(srcdir)/'`src/pcarith.c src/nq-pcarith.obj: src/pcarith.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-pcarith.obj -MD -MP -MF src/$(DEPDIR)/nq-pcarith.Tpo -c -o src/nq-pcarith.obj `if test -f 'src/pcarith.c'; then $(CYGPATH_W) 'src/pcarith.c'; else $(CYGPATH_W) '$(srcdir)/src/pcarith.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-pcarith.Tpo src/$(DEPDIR)/nq-pcarith.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/pcarith.c' object='src/nq-pcarith.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-pcarith.obj `if test -f 'src/pcarith.c'; then $(CYGPATH_W) 'src/pcarith.c'; else $(CYGPATH_W) '$(srcdir)/src/pcarith.c'; fi` src/nq-presentation.o: src/presentation.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-presentation.o -MD -MP -MF src/$(DEPDIR)/nq-presentation.Tpo -c -o src/nq-presentation.o `test -f 'src/presentation.c' || echo '$(srcdir)/'`src/presentation.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-presentation.Tpo src/$(DEPDIR)/nq-presentation.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/presentation.c' object='src/nq-presentation.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-presentation.o `test -f 'src/presentation.c' || echo '$(srcdir)/'`src/presentation.c src/nq-presentation.obj: src/presentation.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-presentation.obj -MD -MP -MF src/$(DEPDIR)/nq-presentation.Tpo -c -o src/nq-presentation.obj `if test -f 'src/presentation.c'; then $(CYGPATH_W) 'src/presentation.c'; else $(CYGPATH_W) '$(srcdir)/src/presentation.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-presentation.Tpo src/$(DEPDIR)/nq-presentation.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/presentation.c' object='src/nq-presentation.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-presentation.obj `if test -f 'src/presentation.c'; then $(CYGPATH_W) 'src/presentation.c'; else $(CYGPATH_W) '$(srcdir)/src/presentation.c'; fi` src/nq-relations.o: src/relations.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-relations.o -MD -MP -MF src/$(DEPDIR)/nq-relations.Tpo -c -o src/nq-relations.o `test -f 'src/relations.c' || echo '$(srcdir)/'`src/relations.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-relations.Tpo src/$(DEPDIR)/nq-relations.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/relations.c' object='src/nq-relations.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-relations.o `test -f 'src/relations.c' || echo '$(srcdir)/'`src/relations.c src/nq-relations.obj: src/relations.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-relations.obj -MD -MP -MF src/$(DEPDIR)/nq-relations.Tpo -c -o src/nq-relations.obj `if test -f 'src/relations.c'; then $(CYGPATH_W) 'src/relations.c'; else $(CYGPATH_W) '$(srcdir)/src/relations.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-relations.Tpo src/$(DEPDIR)/nq-relations.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/relations.c' object='src/nq-relations.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-relations.obj `if test -f 'src/relations.c'; then $(CYGPATH_W) 'src/relations.c'; else $(CYGPATH_W) '$(srcdir)/src/relations.c'; fi` src/nq-system.o: src/system.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-system.o -MD -MP -MF src/$(DEPDIR)/nq-system.Tpo -c -o src/nq-system.o `test -f 'src/system.c' || echo '$(srcdir)/'`src/system.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-system.Tpo src/$(DEPDIR)/nq-system.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/system.c' object='src/nq-system.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-system.o `test -f 'src/system.c' || echo '$(srcdir)/'`src/system.c src/nq-system.obj: src/system.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-system.obj -MD -MP -MF src/$(DEPDIR)/nq-system.Tpo -c -o src/nq-system.obj `if test -f 'src/system.c'; then $(CYGPATH_W) 'src/system.c'; else $(CYGPATH_W) '$(srcdir)/src/system.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-system.Tpo src/$(DEPDIR)/nq-system.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/system.c' object='src/nq-system.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-system.obj `if test -f 'src/system.c'; then $(CYGPATH_W) 'src/system.c'; else $(CYGPATH_W) '$(srcdir)/src/system.c'; fi` src/nq-tails.o: src/tails.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-tails.o -MD -MP -MF src/$(DEPDIR)/nq-tails.Tpo -c -o src/nq-tails.o `test -f 'src/tails.c' || echo '$(srcdir)/'`src/tails.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-tails.Tpo src/$(DEPDIR)/nq-tails.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/tails.c' object='src/nq-tails.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-tails.o `test -f 'src/tails.c' || echo '$(srcdir)/'`src/tails.c src/nq-tails.obj: src/tails.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-tails.obj -MD -MP -MF src/$(DEPDIR)/nq-tails.Tpo -c -o src/nq-tails.obj `if test -f 'src/tails.c'; then $(CYGPATH_W) 'src/tails.c'; else $(CYGPATH_W) '$(srcdir)/src/tails.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-tails.Tpo src/$(DEPDIR)/nq-tails.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/tails.c' object='src/nq-tails.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-tails.obj `if test -f 'src/tails.c'; then $(CYGPATH_W) 'src/tails.c'; else $(CYGPATH_W) '$(srcdir)/src/tails.c'; fi` src/nq-time.o: src/time.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-time.o -MD -MP -MF src/$(DEPDIR)/nq-time.Tpo -c -o src/nq-time.o `test -f 'src/time.c' || echo '$(srcdir)/'`src/time.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-time.Tpo src/$(DEPDIR)/nq-time.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/time.c' object='src/nq-time.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-time.o `test -f 'src/time.c' || echo '$(srcdir)/'`src/time.c src/nq-time.obj: src/time.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-time.obj -MD -MP -MF src/$(DEPDIR)/nq-time.Tpo -c -o src/nq-time.obj `if test -f 'src/time.c'; then $(CYGPATH_W) 'src/time.c'; else $(CYGPATH_W) '$(srcdir)/src/time.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-time.Tpo src/$(DEPDIR)/nq-time.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/time.c' object='src/nq-time.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-time.obj `if test -f 'src/time.c'; then $(CYGPATH_W) 'src/time.c'; else $(CYGPATH_W) '$(srcdir)/src/time.c'; fi` src/nq-trmetab.o: src/trmetab.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-trmetab.o -MD -MP -MF src/$(DEPDIR)/nq-trmetab.Tpo -c -o src/nq-trmetab.o `test -f 'src/trmetab.c' || echo '$(srcdir)/'`src/trmetab.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-trmetab.Tpo src/$(DEPDIR)/nq-trmetab.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/trmetab.c' object='src/nq-trmetab.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-trmetab.o `test -f 'src/trmetab.c' || echo '$(srcdir)/'`src/trmetab.c src/nq-trmetab.obj: src/trmetab.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-trmetab.obj -MD -MP -MF src/$(DEPDIR)/nq-trmetab.Tpo -c -o src/nq-trmetab.obj `if test -f 'src/trmetab.c'; then $(CYGPATH_W) 'src/trmetab.c'; else $(CYGPATH_W) '$(srcdir)/src/trmetab.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-trmetab.Tpo src/$(DEPDIR)/nq-trmetab.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/trmetab.c' object='src/nq-trmetab.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-trmetab.obj `if test -f 'src/trmetab.c'; then $(CYGPATH_W) 'src/trmetab.c'; else $(CYGPATH_W) '$(srcdir)/src/trmetab.c'; fi` src/nq-word.o: src/word.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-word.o -MD -MP -MF src/$(DEPDIR)/nq-word.Tpo -c -o src/nq-word.o `test -f 'src/word.c' || echo '$(srcdir)/'`src/word.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-word.Tpo src/$(DEPDIR)/nq-word.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/word.c' object='src/nq-word.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-word.o `test -f 'src/word.c' || echo '$(srcdir)/'`src/word.c src/nq-word.obj: src/word.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -MT src/nq-word.obj -MD -MP -MF src/$(DEPDIR)/nq-word.Tpo -c -o src/nq-word.obj `if test -f 'src/word.c'; then $(CYGPATH_W) 'src/word.c'; else $(CYGPATH_W) '$(srcdir)/src/word.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/nq-word.Tpo src/$(DEPDIR)/nq-word.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/word.c' object='src/nq-word.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nq_CPPFLAGS) $(CPPFLAGS) $(nq_CFLAGS) $(CFLAGS) -c -o src/nq-word.obj `if test -f 'src/word.c'; then $(CYGPATH_W) 'src/word.c'; else $(CYGPATH_W) '$(srcdir)/src/word.c'; fi` ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) all-local installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -rm -f src/$(DEPDIR)/$(am__dirstamp) -rm -f src/$(am__dirstamp) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-local mostlyclean-am distclean: distclean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f src/$(DEPDIR)/nq-addgen.Po -rm -f src/$(DEPDIR)/nq-collect.Po -rm -f src/$(DEPDIR)/nq-combicol.Po -rm -f src/$(DEPDIR)/nq-consistency.Po -rm -f src/$(DEPDIR)/nq-eliminate.Po -rm -f src/$(DEPDIR)/nq-engel.Po -rm -f src/$(DEPDIR)/nq-gap.Po -rm -f src/$(DEPDIR)/nq-glimt.Po -rm -f src/$(DEPDIR)/nq-instances.Po -rm -f src/$(DEPDIR)/nq-mem.Po -rm -f src/$(DEPDIR)/nq-nq.Po -rm -f src/$(DEPDIR)/nq-pc.Po -rm -f src/$(DEPDIR)/nq-pcarith.Po -rm -f src/$(DEPDIR)/nq-presentation.Po -rm -f src/$(DEPDIR)/nq-relations.Po -rm -f src/$(DEPDIR)/nq-system.Po -rm -f src/$(DEPDIR)/nq-tails.Po -rm -f src/$(DEPDIR)/nq-time.Po -rm -f src/$(DEPDIR)/nq-trmetab.Po -rm -f src/$(DEPDIR)/nq-word.Po -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f src/$(DEPDIR)/nq-addgen.Po -rm -f src/$(DEPDIR)/nq-collect.Po -rm -f src/$(DEPDIR)/nq-combicol.Po -rm -f src/$(DEPDIR)/nq-consistency.Po -rm -f src/$(DEPDIR)/nq-eliminate.Po -rm -f src/$(DEPDIR)/nq-engel.Po -rm -f src/$(DEPDIR)/nq-gap.Po -rm -f src/$(DEPDIR)/nq-glimt.Po -rm -f src/$(DEPDIR)/nq-instances.Po -rm -f src/$(DEPDIR)/nq-mem.Po -rm -f src/$(DEPDIR)/nq-nq.Po -rm -f src/$(DEPDIR)/nq-pc.Po -rm -f src/$(DEPDIR)/nq-pcarith.Po -rm -f src/$(DEPDIR)/nq-presentation.Po -rm -f src/$(DEPDIR)/nq-relations.Po -rm -f src/$(DEPDIR)/nq-system.Po -rm -f src/$(DEPDIR)/nq-tails.Po -rm -f src/$(DEPDIR)/nq-time.Po -rm -f src/$(DEPDIR)/nq-trmetab.Po -rm -f src/$(DEPDIR)/nq-word.Po -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am all-local am--depfiles am--refresh \ check check-am clean clean-binPROGRAMS clean-cscope \ clean-generic clean-local cscope cscopelist-am ctags ctags-am \ distclean distclean-compile distclean-generic distclean-hdr \ distclean-tags dvi dvi-am html html-am info info-am install \ install-am install-binPROGRAMS install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am \ uninstall-binPROGRAMS .PRECIOUS: Makefile # -Wno-conversion\ # -Wno-missing-field-initializers\ # -Wno-sign-compare \ # -Werror all-local: nq$(EXEEXT) $(mkdir_p) $(top_srcdir)/$(BINARCHDIR) rm -f $(abs_top_srcdir)/$(BINARCHDIR)/nq$(EXEEXT) cp nq$(EXEEXT) $(abs_top_srcdir)/$(BINARCHDIR) @echo "SUCCESS!" clean-local: rm -f examples/G?.tst examples/G?.old *~ (cd doc && rm -f *.aux *.bbl *.blg *.brf *.idx *.ilg *.ind *.log *.out *.pnr *.tex *.toc) (cd doc && rm -f test/nqman.tst test/diffs) rm -rf $(top_srcdir)/$(BINARCHDIR) doc: $(GAP) -A --quitonbreak -b -q < makedoc.g check: (cd examples; make) test: (cd examples; make) .PHONY: check doc test # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: nq-2.5.11/aclocal.m4000644 000766 000024 00000125740 14550113065 014356 0ustar00mhornstaff000000 000000 # generated automatically by aclocal 1.16.5 -*- Autoconf -*- # Copyright (C) 1996-2021 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],, [m4_warning([this file was generated for autoconf 2.71. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # Copyright (C) 2002-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.16.5], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.16.5])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to # '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. # TODO: see whether this extra hack can be removed once we start # requiring Autoconf 2.70 or later. AS_CASE([$CONFIG_FILES], [*\'*], [eval set x "$CONFIG_FILES"], [*], [set x $CONFIG_FILES]) shift # Used to flag and report bootstrapping failures. am_rc=0 for am_mf do # Strip MF so we end up with the name of the file. am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ || continue am_dirpart=`AS_DIRNAME(["$am_mf"])` am_filepart=`AS_BASENAME(["$am_mf"])` AM_RUN_LOG([cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles]) || am_rc=$? done if test $am_rc -ne 0; then AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments for automatic dependency tracking. If GNU make was not used, consider re-running the configure script with MAKE="gmake" (or whatever is necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking).]) fi AS_UNSET([am_dirpart]) AS_UNSET([am_filepart]) AS_UNSET([am_mf]) AS_UNSET([am_rc]) rm -f conftest-deps.mk } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking is enabled. # This creates each '.Po' and '.Plo' makefile fragment that we'll need in # order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl m4_ifdef([_$0_ALREADY_INIT], [m4_fatal([$0 expanded multiple times ]m4_defn([_$0_ALREADY_INIT]))], [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) # Variables for tags utilities; see am/tags.am if test -z "$CTAGS"; then CTAGS=ctags fi AC_SUBST([CTAGS]) if test -z "$ETAGS"; then ETAGS=etags fi AC_SUBST([ETAGS]) if test -z "$CSCOPE"; then CSCOPE=cscope fi AC_SUBST([CSCOPE]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAINTAINER_MODE([DEFAULT-MODE]) # ---------------------------------- # Control maintainer-specific portions of Makefiles. # Default is to disable them, unless 'enable' is passed literally. # For symmetry, 'disable' may be passed as well. Anyway, the user # can override the default with the --enable/--disable switch. AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), [enable], [m4_define([am_maintainer_other], [disable])], [disable], [m4_define([am_maintainer_other], [enable])], [m4_define([am_maintainer_other], [enable]) m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode's default is 'disable' unless 'enable' is passed AC_ARG_ENABLE([maintainer-mode], [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], am_maintainer_other[ make rules and dependencies not useful (and sometimes confusing) to the casual installer])], [USE_MAINTAINER_MODE=$enableval], [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST([MAINT])dnl ] ) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- # Check whether make has an 'include' directive that can support all # the idioms we need for our automatic dependency tracking code. AC_DEFUN([AM_MAKE_INCLUDE], [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out .PHONY: am__doit END am__include="#" am__quote= # BSD make does it like this. echo '.include "confinc.mk" # ignored' > confmf.BSD # Other make implementations (GNU, Solaris 10, AIX) do it like this. echo 'include confinc.mk # ignored' > confmf.GNU _am_result=no for s in GNU BSD; do AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) AS_CASE([$?:`cat confinc.out 2>/dev/null`], ['0:this is the am__doit target'], [AS_CASE([$s], [BSD], [am__include='.include' am__quote='"'], [am__include='include' am__quote=''])]) if test "$am__include" != "#"; then _am_result="yes ($s style)" break fi done rm -f confinc.* confmf.* AC_MSG_RESULT([${_am_result}]) AC_SUBST([am__include])]) AC_SUBST([am__quote])]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then MISSING="\${SHELL} '$am_aux_dir/missing'" fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_CC_C_O # --------------- # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC # to automatically call this. AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) # Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2009-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar # AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([m4/find_gap.m4]) nq-2.5.11/read.g000644 000766 000024 00000000414 14550113041 013561 0ustar00mhornstaff000000 000000 ############################################################################# ## #W read.g GAP 4 package 'nq' Werner Nickel ## ReadPackage("nq", "gap/nqpcp.gi"); ReadPackage("nq", "gap/nq.gi"); ReadPackage("nq", "gap/exptree.gi" ); nq-2.5.11/autogen.sh000755 000766 000024 00000000055 14550113041 014500 0ustar00mhornstaff000000 000000 #!/bin/sh -ex autoreconf -vif `dirname "$0"` nq-2.5.11/src/000755 000766 000024 00000000000 14550113065 013274 5ustar00mhornstaff000000 000000 nq-2.5.11/src/time.h000644 000766 000024 00000000630 14550113041 014374 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** time.h NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #ifndef TIME_H #define TIME_H extern int CombiCollectionTime; extern int SimpleCollectionTime; extern int IntMatTime; extern void PrintCollectionTimes(void); #endif nq-2.5.11/src/pc.h000644 000766 000024 00000006500 14550113041 014042 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** pc.h NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #ifndef PC_H #define PC_H #include #include "genexp.h" /* ** This variable switches the Debug mode on. */ extern int Debug; /* ** A polycyclic presentation has several components which are defined ** in pc.c. ** ** NrPcGens: This variable contains the number of generators in the ** pc-presentation minus the number of central generators, ** that were defined in the last step. ** Commute: This seems to be the most difficult data structure because ** its entries are difficult to compute. `Commute[i]' is the ** first generator for which the collector from the left has ** to do something when the i-th generator is moved to its ** correct place. In other words, the collector starts at ** `Commute[i]' in the exponent vector when the i-th generator ** is moved to its place. The length of `Commute' is `NrPcGens'+1. ** CommuteList: This array holds a list of different versions of ** Commute[]. They are used for fast evaluation of iterated ** commutators, as for example Engel conditions. CommuteList[c] ** is Commute[] as if the current group had class c. ** Exponent: This array containes the exponents for the power relation ** of each generator. If the generator i does not have a power ** relation, `Exponents[i]' is zero. The length of `Exponents' ** is `NrPcGens'+1. ** Power: This array contains the right hand sides of the power ** relation. If a generator does not have a power relation, the ** corresponding entry in `Powers' is a null pointer. ** Conjugate: This 2-dimensional array contains the right hand sides ** of the conjugate relations for each pair (j,i) of generators ** with j > i. */ extern int NrPcGens; extern int NrCenGens; extern int IsFinite; extern int IsWeighted; extern int Class; extern gen *Commute; extern gen *Commute2; extern gen **CommuteList; extern gen **Commute2List; extern int *NrPcGensList; extern expo *Exponent; extern word *Power; extern word **Conjugate; extern char **PcGenName; extern int *Weight; #define Wt(x) Weight[(x)] /* ** Some generators have definitions in terms of earlier generators. ** If a generator is defined by a commutator of two earlier generators ** g and h, then the two components of its definition contain these two ** generators. ** If a generator is defined by a power of a generator h, ** then the first component of its definition contains this generator ** and the second component is zero. ** If a generator is defined as an image of a generator of the original ** finite presentation, the first component is the negative of the ** number of that generator and the second component is zero. */ struct def { gen h; gen g; }; typedef struct def def; extern def *Definition; extern void InitPcPres(void); extern void ExtPcPres(void); extern void PrintPcPres(void); extern void PrintDefs(void); #endif nq-2.5.11/src/collect.c000644 000766 000024 00000022452 14550113041 015064 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** collect.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include "config.h" #include "mem.h" #include "pc.h" #include "pcarith.h" #include "macro.h" #include "collect.h" #include "time.h" #include "system.h" int UseSimpleCollector = 0; int UseCombiCollector = 0; static int Error(const char *str, gen g) { printf("Error in Collect() while treating generator %d:\n", (int)g); printf(" %s\n", str); SimpleCollectionTime += RunTime(); /* exit( 7 );*/ return 7; } /* ** Collection from the left needs 4 stacks during the collection. ** ** The word stack containes conjugates of generators, that were created ** by moving a generator through the exponent vector to its correct ** place or it containes powers of generators. ** The word exponent stack containes the exponent of the corresponding ** word in the word stack. ** The generator stack containes the current position in the corresponding ** word in the word stack. ** The generator exponent stack containes the exponent of the generator ** determined by the corresponding entry in the generator stack. ** ** The maximum number of elements on each stack is determined by the macro ** STACKHEIGHT. */ #define STACKHEIGHT (1 << 16) word WordStack[STACKHEIGHT]; expo WordExpStack[STACKHEIGHT]; word GenStack[STACKHEIGHT]; expo GenExpStack[STACKHEIGHT]; int SimpleCollect(expvec lhs, word rhs, expo e) { word *ws = WordStack; expo *wes = WordExpStack; word *gs = GenStack; expo *ges = GenExpStack; word **C = Conjugate; word *P = Power; gen g, h; gen ag; int sp = 0; SimpleCollectionTime -= RunTime(); ws[ sp ] = rhs; gs[ sp ] = rhs; wes[ sp ] = e; ges[ sp ] = rhs->e; while (sp >= 0) if ((g = gs[ sp ]->g) != EOW) { ag = abs(g); if (g < 0 && Exponent[-g] != (expo)0) return Error("Inverse of a generator with power relation", ag); e = (ag == Commute[ag]) ? gs[ sp ]->e : (expo)1; if ((ges[ sp ] -= e) == (expo)0) { /* The power of the generator g will have been moved completely to its correct position after this collection step. Therefore advance the generator pointer. */ gs[ sp ]++; ges[ sp ] = gs[ sp ]->e; } /* Now move the generator g to its correct position in the exponent vector lhs. */ for (h = Commute[ag]; h > ag; h--) if (lhs[h] != (expo)0) { if (++sp == STACKHEIGHT) return Error("Out of stack space", ag); if (lhs[ h ] > (expo)0) { gs[ sp ] = ws[ sp ] = C[ h ][ g ]; wes[ sp ] = lhs[h]; lhs[ h ] = (expo)0; ges[ sp ] = gs[ sp ]->e; } else { gs[ sp ] = ws[ sp ] = C[ -h ][ g ]; wes[ sp ] = -lhs[h]; lhs[ h ] = (expo)0; ges[ sp ] = gs[ sp ]->e; } } lhs[ ag ] += e * sgn(g); if (((lhs[ag] << 1) >> 1) != lhs[ag]) return Error("Possible integer overflow", ag); if (Exponent[ag] != (expo)0) while (lhs[ag] >= Exponent[ag]) { if ((rhs = P[ ag ]) != (word)0) { if (++sp == STACKHEIGHT) return Error("Out of stack space", ag); gs[ sp ] = ws[ sp ] = rhs; wes[ sp ] = (expo)1; ges[ sp ] = gs[ sp ]->e; } lhs[ ag ] -= Exponent[ ag ]; if (((lhs[ag] << 1) >> 1) != lhs[ag]) return Error("Possible integer overflow", ag); } } else { /* the top word on the stack has been examined completely, now check if its exponent is zero. */ if (--wes[ sp ] == (expo)0) { /* All powers of this word have been treated, so we have to move down in the stack. */ sp--; } else { gs[ sp ] = ws[ sp ]; ges[ sp ] = gs[ sp ]->e; } } SimpleCollectionTime += RunTime(); return 0; } int Collect(expvec lhs, word rhs, expo e) { int ret, storeClass; int i; expvec lhs2; storeClass = Class; if (Class < 0) Class = 0; Commute = CommuteList[ Class + 1 ]; Commute2 = Commute2List[ Class + 1 ]; if (UseSimpleCollector && UseCombiCollector) { lhs2 = (expvec)Allocate((NrPcGens + NrCenGens + 1) * sizeof(expo)); memcpy(lhs2, lhs, (NrPcGens + NrCenGens + 1) * sizeof(expo)); ret = SimpleCollect(lhs, rhs, e); CombiCollect(lhs2, rhs, e); if (memcmp(lhs, lhs2, (NrPcGens + NrCenGens + 1) * sizeof(expo)) != 0) { for (i = 1; i <= NrPcGens + NrCenGens; i++) if (lhs[i] != lhs2[i]) printf("lhs[%d] = "EXP_FORMAT" lhs2[%d] = "EXP_FORMAT"\n", i, lhs[i], i, lhs2[i]); printf("Collector mismatch\n"); } Free(lhs2); } else if (UseCombiCollector) ret = CombiCollect(lhs, rhs, e); else ret = SimpleCollect(lhs, rhs, e); Class = storeClass; return ret; } /* ** Solve the equation u x = v for x. */ word Solve(word u, word v) { word x; gpower y[2]; gen g; long lv, lx; expo ev; expvec uvec; y[1].g = EOW; y[1].e = (expo)0; uvec = (expvec)calloc((NrPcGens + NrCenGens + 1), sizeof(expo)); if (uvec == (expvec)0) { perror("Solve(), uvec"); exit(2); } x = (word)malloc((NrPcGens + NrCenGens + 1) * sizeof(gpower)); if (x == (word)0) { perror("Solve(), x"); exit(2); } if (Collect(uvec, u, (expo)1)) { Free(x); Free(uvec); return (word)0; } for (lv = lx = 0, g = 1; g <= NrPcGens + NrCenGens; g++) { if (v[lv].g == g) ev = v[ lv++ ].e; else if (v[lv].g == -g) ev = -v[ lv++ ].e; else ev = (expo)0; if (ev != uvec[g]) { if (ev > uvec[g]) { /* ev - uvec[g] > 0 */ y[0].g = x[lx].g = g; y[0].e = x[lx++].e = ev - uvec[g]; } else if (Exponent[g] != (expo)0) { /* ev - uvec[g] < 0 */ y[0].g = x[lx].g = g; y[0].e = x[lx++].e = ev - uvec[g] + Exponent[g]; } else { y[0].g = x[lx].g = -g; y[0].e = x[lx++].e = uvec[g] - ev; } if (Collect(uvec, y, (expo)1)) { Free(x); Free(uvec); return (word)0; } } } Free(uvec); x[lx].g = EOW; x[lx++].e = (expo)0; x = (word)realloc(x, lx * sizeof(gpower)); if (x == (word)0) { perror("Solve(), x (resize)"); exit(2); } return x; } word Invert(word u) { gpower id; id.g = EOW; id.e = (expo)0; return Solve(u, &id); } word Multiply(word u, word v) { expvec ev; word w; ev = (expvec)Allocate((NrPcGens + NrCenGens + 1) * sizeof(expo)); if (Collect(ev, u, (expo)1) || Collect(ev, v, (expo)1)) { Free(ev); return (word)0; } w = WordExpVec(ev); Free(ev); return w; } word Exponentiate(word u, int n) { word v; expvec ev; int copied_u = 0; if (n < 0) { if ((u = Invert(u)) == (word)0) return (word)0; copied_u = 1; n = -n; } ev = (expvec)Allocate((NrPcGens + NrCenGens + 1) * sizeof(expo)); while (n > 0) { if (n % 2) if (Collect(ev, u, (expo)1)) { if (copied_u) Free(u); Free(ev); return (word)0; } n /= 2; if (n > 0) { if ((v = Multiply(u, u)) == (word)0) { if (copied_u) Free(u); Free(ev); return (word)0; } if (copied_u) Free(u); u = v; copied_u = 1; } } if (copied_u) Free(u); u = WordExpVec(ev); Free(ev); return u; } /* ** Solve the equation vu x = uv for x. The solution is the commutator ** [u,v]. ** ** In step i we have to solve the equation v'u' x = u''v''. ** That equation holds for the i-th generator if ** ** v'[i] + u'[i] + x[i] = u''[i] + v''[i] ** ** Hence x[i] = u''[i] + v''[i] - (v'[i] + u'[i]). ** To prepare the (i+1)-th step we need to collect i^x[i] first across ** u' and then across v' on the left hand side of the equation. On the ** right hand side of the equation we need to collect i^v''[i] across ** u''. This has the effect of moving the occurrences of generator i ** to the left on both sides of the equation such that it can be ** cancelled on both sides of the equation. */ word Commutator(word u, word v) { expvec u1, u2, v1, v2, x; gpower y[2]; word w = (word)0; int i; y[0].g = y[1].g = EOW; y[0].e = y[1].e = (expo)0; u1 = ExpVecWord(u); u2 = ExpVecWord(u); v1 = ExpVecWord(v); v2 = ExpVecWord(v); x = ExpVecWord(y); for (i = 1; i <= NrPcGens + NrCenGens; i++) { x[i] = u2[i] + v2[i] - (v1[i] + u1[i]); if (Exponent[i] != (expo)0) { while (x[i] < (expo)0) x[i] += Exponent[i]; if (x[i] >= Exponent[i]) x[i] -= Exponent[i]; } if (x[i] != (expo)0) { if (x[i] > (expo)0) { y[0].g = i; y[0].e = x[i]; } else { y[0].g = -i; y[0].e = -x[i]; } if (Collect(u1, y, (expo)1)) goto exit; } if (u1[i] != (expo)0) { if (u1[i] > (expo)0) { y[0].g = i; y[0].e = u1[i]; } else { y[0].g = -i; y[0].e = -u1[i]; } if (Collect(v1, y, (expo)1)) goto exit; } if (v2[i] != (expo)0) { if (v2[i] > (expo)0) { y[0].g = i; y[0].e = v2[i]; } else { y[0].g = -i; y[0].e = -v2[i]; } if (Collect(u2, y, (expo)1)) goto exit; } } w = WordExpVec(x); exit: Free(u1); Free(u2); Free(v1); Free(v2); Free(x); return w; } #if 0 word Commutator2(word v, word w) { expvec ev; word vw, wv, vwvw; ev = ExpVecWord(v); if (Collect(ev, w, (expo)1)) { Free(ev); return (word)0; } vw = WordExpVec(ev); Free(ev); ev = ExpVecWord(w); if (Collect(ev, v, (expo)1)) { Free(ev); Free(vw); return (word)0; } wv = WordExpVec(ev); Free(ev); vwvw = Solve(wv, vw); Free(vw); Free(wv); return vwvw; } #endif nq-2.5.11/src/config.hin000644 000766 000024 00000003504 14550113065 015243 0ustar00mhornstaff000000 000000 /* src/config.hin. Generated from configure.ac by autoheader. */ /* Define to 1 if you have the `getrusage' function. */ #undef HAVE_GETRUSAGE /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if the system has the type `long long int'. */ #undef HAVE_LONG_LONG_INT /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDIO_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if the system has the type `unsigned long long int'. */ #undef HAVE_UNSIGNED_LONG_LONG_INT /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if all of the C90 standard headers exist (not just the ones required in a freestanding environment). This macro is provided for backward compatibility; new code need not use it. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION nq-2.5.11/src/combicol.c000644 000766 000024 00000016535 14550113041 015233 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** combicol.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include "config.h" #include "mem.h" #include "pc.h" #include "pcarith.h" #include "macro.h" #include "collect.h" #include "time.h" #include "system.h" static int Error(const char *str, gen g) { printf("Error in CombiCollect() while treating generator %d:\n", (int)g); printf(" %s\n", str); CombiCollectionTime += RunTime(); /* exit( 7 );*/ return 7; } /* ** Combinatorial Collection from the left uses the same stacks as the plain ** from the left collector. */ extern word WordStack[]; extern expo WordExpStack[]; extern word GenStack[]; extern expo GenExpStack[]; extern word *Generators; int Sp; #define STACKHEIGHT (1 << 16) #define CheckOverflow( n ) \ if( (((n) << 1) >> 1) != n ) Error( "Possible integer overflow", n ) static void AddWord(expvec lhs, word w, expo we); static void ReduceExponent(expvec ev, gen g) { if (ev[ g ] >= Exponent[ g ]) { if (Power[g] != (word)0) AddWord(ev, Power[g], ev[ g ] / Exponent[ g ]); ev[ g ] %= Exponent[ g ]; } } static void StackReduceExponent(expvec ev, gen g) { gen h; if (ev[ g ] >= Exponent[ g ]) { if (Power[ g ] != (word)0) { /* Need to put part of the exponent vector on the stack. */ for (h = Commute[ g ]; h > g; h--) if (ev[ h ] != (expo)0) { if (++Sp == STACKHEIGHT) { Error("Out of stack space", g); return; } if (ev[ h ] > (expo)0) { WordStack[ Sp ] = Generators[ h ]; WordExpStack[ Sp ] = 1; GenExpStack[ Sp ] = ev[ h ]; } else { WordStack[ Sp ] = Generators[ -h ]; WordExpStack[ Sp ] = 1; GenExpStack[ Sp ] = -ev[ h ]; } ev[ h ] = (expo)0; GenStack[ Sp ] = WordStack[ Sp ]; #if 0 GenStack[ Sp ]->e; /* FIXME: statement with no effect */ #endif } AddWord(ev, Power[ g ], ev[ g ] / Exponent[ g ]); } ev[ g ] %= Exponent[ g ]; } } static void AddWord(expvec lhs, word w, expo we) { gen g; for (; w->g != EOW && w->g <= NrPcGensList[Class + 1]; w++) { if (w->g > (gen)0) { g = w->g; lhs[ g ] += we * w->e; } else { g = -w->g; lhs[ g ] -= we * w->e; } CheckOverflow(lhs[ g ]); if (Exponent[ g ] != (expo)0) ReduceExponent(lhs, g); } } int CombiCollect(expvec lhs, word rhs, expo e) { word *ws = WordStack; expo *wes = WordExpStack; word *gs = GenStack; expo *ges = GenExpStack; word **C = Conjugate; word *P = Power; word w; gen ag, g, h, hh; CombiCollectionTime -= RunTime(); Sp = 0; ws[ Sp ] = rhs; gs[ Sp ] = rhs; wes[ Sp ] = e; ges[ Sp ] = rhs->e; while (Sp >= 0) if ((g = gs[ Sp ]->g) != EOW && g <= NrPcGensList[Class + 1]) { ag = abs(g); if (g < 0 && Exponent[-g] != (expo)0) return Error("Inverse of a generator with power relation", ag); if (Commute[ag] == ag) { /* Take the exponent of the first generator from the stack not from the word. Both are identical if the word is a conjugate. They differ if a generator-exponent pair was pushed onto the stack. In that case w->e is 1 and ges[ Sp ] is the exponent. */ w = gs[ Sp ]; if (w->g > (gen)0) { g = w->g; lhs[ g ] += ges[ Sp ]; } else { g = -w->g; lhs[ g ] -= ges[ Sp ]; } CheckOverflow(lhs[ g ]); if (Exponent[ g ] != (expo)0) ReduceExponent(lhs, g); for (w++; w->g != EOW && w->g <= NrPcGensList[Class + 1]; w++) { if (w->g > (gen)0) { g = w->g; lhs[ g ] += w->e; } else { g = -w->g; lhs[ g ] -= w->e; } CheckOverflow(lhs[ g ]); if (Exponent[ g ] != (expo)0) ReduceExponent(lhs, g); } gs[ Sp ] = w; continue; } else if (3 * Wt(ag) > Class + 1) { /* Move the generator g to its correct position in the exponent vector without stacking conjugates. Because of the class condition we can add the necessary *commutators* into the exponent vector. */ for (h = Commute[ ag ]; h > ag; h--) if (lhs[ h ] != (expo)0) { if (lhs[ h ] > (expo)0) AddWord(lhs, C[ h ][ g ] + 1, lhs[ h ] * ges[ Sp ]); else AddWord(lhs, C[ -h ][ g ] + 1, -lhs[ h ] * ges[ Sp ]); } lhs[ ag ] += sgn(g) * ges[ Sp ]; CheckOverflow(lhs[ ag ]); gs[ Sp ]++; ges[ Sp ] = gs[ Sp ]->e; if (Exponent[ ag ] != (expo)0) StackReduceExponent(lhs, ag); continue; } else { lhs[ ag ] += sgn(g); if (--ges[ Sp ] == (expo)0) { /* The power of the generator g will have been moved completely to its correct position after this collection step. Therefore advance the generator pointer. */ gs[ Sp ]++; ges[ Sp ] = gs[ Sp ]->e; } /* Add in commutators until Wt([h,g,h]) <= Class+1 */ for (h = Commute[ ag ]; h > Commute2[ ag ]; h--) if (lhs[ h ] != (expo)0) { if (lhs[ h ] > (expo)0) AddWord(lhs, C[ h ][ g ] + 1, lhs[ h ]); else AddWord(lhs, C[ -h ][ g ] + 1, -lhs[ h ]); } /* If we still have to move across generators, then we have to put generators onto the stack. Find the point from where collection has to happen. */ while (h > ag) { if (lhs[ h ] != (expo)0 && C[h][ag] != (word)0 && (C[h][ag] + 1)->g != EOW) break; h--; } /* Now put generator exponent pairs on the stack. */ if (h > ag || (Exponent[ ag ] > (expo)0 && lhs[ ag ] >= Exponent[ ag ] && Power[ ag ] != (word)0)) { for (hh = Commute[ag]; hh > h; hh--) if (lhs[ hh ] != (expo)0) { if (++Sp == STACKHEIGHT) return Error("Out of stack space", ag); if (lhs[ hh ] > (expo)0) { gs[ Sp ] = ws[ Sp ] = Generators[ hh ]; wes[ Sp ] = 1; ges[ Sp ] = lhs[ hh ]; } else { gs[ Sp ] = ws[ Sp ] = Generators[ -hh ]; wes[ Sp ] = 1; ges[ Sp ] = -lhs[ hh ]; } lhs[hh] = (expo)0; } } /* Now move the generator g to its correct position in the exponent vector lhs. */ for (; h > ag; h--) if (lhs[h] != (expo)0) { if (++Sp == STACKHEIGHT) return Error("Out of stack space", ag); if (lhs[ h ] > (expo)0) { gs[ Sp ] = ws[ Sp ] = C[ h ][ g ]; wes[ Sp ] = lhs[h]; lhs[ h ] = (expo)0; ges[ Sp ] = gs[ Sp ]->e; } else { gs[ Sp ] = ws[ Sp ] = C[ -h ][ g ]; wes[ Sp ] = -lhs[h]; lhs[ h ] = (expo)0; ges[ Sp ] = gs[ Sp ]->e; } } } CheckOverflow(lhs[ag]); if (Exponent[ag] != (expo)0) while (lhs[ag] >= Exponent[ag]) { if ((rhs = P[ ag ]) != (word)0) { if (++Sp == STACKHEIGHT) return Error("Out of stack space", ag); gs[ Sp ] = ws[ Sp ] = rhs; wes[ Sp ] = (expo)1; ges[ Sp ] = gs[ Sp ]->e; } lhs[ ag ] -= Exponent[ ag ]; } } else { /* the top word on the stack has been examined completely, now check if its exponent is zero. */ if (--wes[ Sp ] == (expo)0) { /* All powers of this word have been treated, so we have to move down the stack. */ Sp--; } else { gs[ Sp ] = ws[ Sp ]; ges[ Sp ] = gs[ Sp ]->e; } } CombiCollectionTime += RunTime(); return 0; } nq-2.5.11/src/presentation.c000644 000766 000024 00000063065 14550113041 016157 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** presentation.c Presentation Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include "config.h" #include "presentation.h" #include "pcarith.h" static node *Word(void); /* ** ------------------------ GENERAL PURPOSE ------------------------- ** The first part of this file just contain some auxiliary functions. */ /* ** FreeNode() recursively frees a given node. */ void FreeNode(node *n) { if (n->type != TGEN && n->type != TNUM) { FreeNode(n->cont.op.l); FreeNode(n->cont.op.r); } Free(n); } /* ** GetNode() allocates space for a node of given type. */ static node *GetNode(EvalType type) { node *n; n = (node *)Allocate(sizeof(node)); n->type = type; return n; } /* ** GenNumber() maintains the array GenNames[] of generator names which ** have been read so far. GenNumber() is called from the parser in order ** to create a new generator or to look up an existing one. The generator ** name is communicated to GenNumber() through the variable gname. ** ** If GenNumber() is called with the flag CREATE it checks if the generator ** name in gname has not occurred before and, if not, creates a new entry ** and returns the new generator number. If the name had occurred before ** the illegal generator number 0 is returned. ** ** If GenNumber() is called with the flag NOCREATE it searches for the ** generator name and returns the corresponding number if a matching entry ** in GenNames[] is found. If no matching entry is found, the illegal ** generator number 0 is returned. */ static char **GenNames; static unsigned NrGens = 0; #define NOCREATE 0 #define CREATE 1 static gen GenNumber(char *gname, int status) { unsigned i; if (status == CREATE && NrGens == 0) /* Initialize GenNames[]. */ GenNames = (char **)Allocate(128 * sizeof(char*)); for (i = 1; i <= NrGens; i++) /* Find the generator name. */ if (strcmp(gname, GenNames[i]) == 0) { if (status == CREATE) return (gen)0; return (gen)i; } /* It's a new generator. */ if (status == NOCREATE) return (gen)0; NrGens++; if (NrGens % 128 == 0) GenNames = (char **)ReAllocate((void *)GenNames, (NrGens + 128) * sizeof(char *)); i = strlen(gname); GenNames[ NrGens ] = (char *)Allocate((i + 1) * sizeof(char)); strcpy(GenNames[NrGens], gname); return NrGens; } /* ** GenName() is the inverse function for GenNumber(). It returns the ** name of a generator given by its number. */ const char *GenName(gen g) { if (g > (gen)NrGens) return 0; return GenNames[g]; } /* ** ------------------------- SCANNER --------------------------- ** The second part of this file contains the scanner. The parser ** starts after the function Generator(). */ /* ** The following macros define tokens. */ typedef enum { LPAREN, RPAREN, LBRACK, RBRACK, LBRACE, RBRACE, MULT, POWER, EQUAL, DEQUALL, DEQUALR, PLUS, MINUS, LANGLE, RANGLE, PIPE, COMMA, SEMICOLON, NUMBER, GEN } TokenType; static int Ch; /* Contains the next char on the input. */ static TokenType Token; /* Contains the current token. */ static int Line; /* Current line number. */ static int TLine; /* Line number where token starts. */ static int Char; /* Current character number. */ static int TChar; /* Character number where token starts. */ static const char *InFileName; /* Current input file name. */ static const char *OutFileName; /* Current output file name. */ static FILE *InFp; /* Current input file pointer. */ static FILE *OutFp; /* Current output file pointer. */ static int N; /* Contains the integer just read. */ static char Gen[128]; /* Contains the generator name. */ /* static const char *TokenName[] = { "", "LParen", "RParen", "LBrack", "RBrack", "LBrace", "RBrace", "Mult", "Power", "Equal", "DEqualL", "DEqualR", "Plus", "Minus", "LAngle", "RAngle", "Pipe", "Comma", "Number", "Gen" }; */ /* ** SyntaxError() just prints a syntax error and the line and place ** where is occurred and then exits. ** No recovery from syntax errors :-) */ static void SyntaxError(const char *str) { if (str == 0) fprintf(stderr, "%s, line %d, char %d.\n", InFileName, TLine, TChar); else fprintf(stderr, "%s, line %d, char %d: %s.\n", InFileName, TLine, TChar, str); exit(1); } /* ** ReadCh() reads the next character from the current input file. ** At the same time it checks for lines terminated with '\'. Such ** a line is continued in the next line, therefore ReadCh() discards ** '\' and the following '\n'. */ static void ReadCh(void) { Ch = getc(InFp); Char++; if (Ch == '\\') { Ch = getc(InFp); if (Ch == '\n') { Line++; Char = 0; ReadCh(); } else { ungetc(Ch, InFp); Ch = '\\'; } } } /* ** SkipBlanks() skips the characters ' ', '\t' and '\n' as well as ** comments. A comment starts with '#' and finishes at the end of ** the line. */ static void SkipBlanks(void) { /* If Ch is empty, the next character is fetched. */ if (Ch == '\0') ReadCh(); /* First blank characters and comments are skipped. */ while (Ch == ' ' || Ch == '\t' || Ch == '\n' || Ch == '#') { if (Ch == '#') { /* Skip to the end of line. */ while (Ch != '\n') ReadCh(); } if (Ch == '\n') { Line++; Char = 0; } ReadCh(); } } /* ** Number reads a number from the input. */ static void Number(void) { unsigned int m, n = 0, overflow = 0; while (isdigit(Ch)) { m = n; n = 10 * n + (Ch - '0'); if ((n - (Ch - '0')) / 10 != m) { overflow = 1; break; } ReadCh(); } if (overflow) { fprintf(stderr, "Integer overflow reading %u%c", m, Ch); ReadCh(); while (isdigit(Ch)) { fprintf(stderr, "%c", Ch); ReadCh(); } fprintf(stderr, " in\n"); SyntaxError((char *)0); } else if (n >= (1U << (8 * sizeof(unsigned int) - 1))) { fprintf(stderr, "Integer overflow reading %u in\n", n); SyntaxError((char *)0); } N = n; } /* ** Generator() reads characters from the input stream until a non- ** alphanumeric character is encountered. Only the first 127 characters ** are significant as generator name and are copied into the global ** array Gen[]. All other characters are discarded. */ static void Generator(void) { int i; for (i = 0; i < 127 && (isalnum(Ch) || Ch == '_' || Ch == '.'); i++) { Gen[i] = Ch; ReadCh(); } Gen[i] = '\0'; /* Discard the rest. */ while (isalnum(Ch) || Ch == '_' || Ch == '.') ReadCh(); } /* ** NextToken reads the next token from the input stream. It first ** skips all the blank characters and comments. */ static void NextToken(void) { SkipBlanks(); TChar = Char; TLine = Line; switch (Ch) { case '(': { Token = LPAREN; ReadCh(); break; } case ')': { Token = RPAREN; ReadCh(); break; } case '[': { Token = LBRACK; ReadCh(); break; } case ']': { Token = RBRACK; ReadCh(); break; } case '{': { Token = LBRACE; ReadCh(); break; } case '}': { Token = RBRACE; ReadCh(); break; } case '*': { Token = MULT; ReadCh(); break; } case '^': { Token = POWER; ReadCh(); break; } case ':': { ReadCh(); if (Ch != '=') SyntaxError("illegal character"); Token = DEQUALL; ReadCh(); break; } case '=': { ReadCh(); if (Ch != ':') Token = EQUAL; else { Token = DEQUALR; ReadCh(); } break; } case '+': { Token = PLUS; ReadCh(); break; } case '-': { Token = MINUS; ReadCh(); break; } case '<': { Token = LANGLE; ReadCh(); break; } case '>': { Token = RANGLE; ReadCh(); break; } case '|': { Token = PIPE; ReadCh(); break; } case ',': { Token = COMMA; ReadCh(); break; } case ';': { Token = SEMICOLON; ReadCh(); break; } case '0': case '1' : case '2' : case '3' : case '4' : case '5': case '6' : case '7' : case '8' : case '9' : { Token = NUMBER; Number(); break; } default : if (isalnum(Ch) || Ch == '_' || Ch == '.') { Token = GEN; Generator(); break; } else SyntaxError("illegal character"); } /* printf( "# NextToken(): %s\n", TokenName[Token] );*/ } /* ** ------------------------- PARSER ---------------------------- ** Here the third part of this file starts containing the parser. ** ** This is the grammar that defines the syntax of a finite presentation. ** Quoted items (except 'empty') are recognized by the scanner and returned ** as so called tokens. The unquoted symbol | indicates alternatives. ** ** presentation: '<' genlist '|' rellist '>' | ** '<' genlist ; genlist '|' rellist '>' ** ** genlist: 'empty' | genseq ** genseq: 'generator' | 'generator' ',' genseq ** ** rellist: 'empty' | relseq ** relseq: relation | relation ',' relseq ** ** relation: word | word '=' word | word '=:' word | word ':=' word ** ** word: power | power '*' word ** ** power: atom '^' atom | atom '^' snumber | atom ** ** atom: 'generator' | '(' word ')' | commutator ** ** commutator: '[' word ',' wordseq ']' ** wordseq word | word ',' wordseq ** ** snumber: 'sign' 'number' | 'number' */ /* ** InitParser() does exactly what the name suggests. */ static void InitParser(FILE *fp, const char *filename) { InFp = fp; InFileName = filename; Ch = '\0'; Char = 0; Line = 1; NextToken(); } /* ** Snumber() reads a signed number. The defining rule is: ** ** snumber: '+' 'number' | '-' 'number' | 'number' */ static node *Snumber(void) { node *n = 0; if (Token == NUMBER) { n = GetNode(TNUM); n->cont.n = N; NextToken(); } else if (Token == PLUS) { NextToken(); if (Token != NUMBER) SyntaxError("Number expected"); n = GetNode(TNUM); n->cont.n = N; NextToken(); } else if (Token == MINUS) { NextToken(); if (Token != NUMBER) SyntaxError("Number expected"); n = GetNode(TNUM); n->cont.n = -N; NextToken(); } else SyntaxError("Number expected"); return n; } /* ** The defining rules for commutators are: ** ** commutator: '[' word ',' wordseq ']' ** | '[' word ',' 'number' word ] ** wordseq word | word ',' wordseq ** ** A word starts either with 'generator', with '(' or with '['. */ static node *Commutator(void) { node *n, *o; if (Token != LBRACK) SyntaxError("Left square bracket expected"); NextToken(); if (Token != GEN && Token != LPAREN && Token != LBRACK) SyntaxError("Word expected"); o = Word(); if (Token != COMMA) SyntaxError("Comma expected"); while (Token == COMMA) { NextToken(); if (Token != GEN && Token != NUMBER && Token != LPAREN && Token != LBRACK) SyntaxError("Word expected"); if (Token == NUMBER) { /* An Engel relation is on the input stream. */ n = GetNode(TENGEL); n->cont.op.l = o; if (N <= 0) SyntaxError("Engel-n must be positive"); n->cont.op.e = GetNode(TNUM); n->cont.op.e->cont.n = N; NextToken(); n->cont.op.r = Word(); break; } else { n = GetNode(TCOMM); n->cont.op.l = o; n->cont.op.r = Word(); o = n; } } if (Token != RBRACK) SyntaxError("Right square bracket missing"); NextToken(); return n; } /* ** Atom() reads an atom. Note that Atom() creates a generator by ** calling GenNumber(). ** ** The defining rule for atoms is: ** ** atom: 'generator' | '(' word ')' | commutator */ static node *Atom(void) { node *n = 0; if (Token == GEN) { n = GetNode(TGEN); n->cont.g = GenNumber(Gen, NOCREATE); if (n->cont.g == (gen)0) SyntaxError("Unknown generator"); NextToken(); } else if (Token == LPAREN) { NextToken(); n = Word(); if (Token != RPAREN) SyntaxError("Closing parenthesis expected"); NextToken(); } else if (Token == LBRACK) { n = Commutator(); } else { SyntaxError("Generator, left parenthesis or commutator expected"); } return n; } /* ** Power() reads a power. The defining rule is: ** ** power: atom | atom '^' atom | atom '^' snumber | ** */ static node *Power_(void) { node *n, *o; o = Atom(); if (Token == POWER) { NextToken(); if (Token == PLUS || Token == MINUS || Token == NUMBER) { n = o; o = GetNode(TPOW); o->cont.op.l = n; o->cont.op.r = Snumber(); } else { n = o; o = GetNode(TCONJ); o->cont.op.l = n; o->cont.op.r = Atom(); } } return o; } /* ** Word() reads a word. The defining rule is: ** ** word: power | power '*' word ** ** A word starts either with 'generator', with '(' or with '['. */ static node *Word(void) { node *n, *o; o = Power_(); if (Token == MULT) { NextToken(); n = o; o = GetNode(TMULT); o->cont.op.l = n; o->cont.op.r = Word(); } return o; } /* ** Relation() reads a relation. The defining rule is: ** ** relation: word | word '=' word | word '=:' word | word ':=' word ** ** A relation starts either with 'generator', with '(' or with '['. */ static node *Relation(void) { node *n, *o; if (Token != GEN && Token != LPAREN && Token != LBRACK) SyntaxError("relation expected"); o = Word(); if (Token == EQUAL) { NextToken(); n = o; o = GetNode(TREL); o->cont.op.l = n; o->cont.op.r = Word(); } else if (Token == DEQUALL) { NextToken(); n = o; o = GetNode(TDRELL); o->cont.op.l = n; o->cont.op.r = Word(); } else if (Token == DEQUALR) { NextToken(); n = o; o = GetNode(TDRELR); o->cont.op.l = n; o->cont.op.r = Word(); } return o; } /* ** RelList() reads a list of relations. The defining rules are: ** ** rellist: 'empty' | relseq ** relseq: relation | relation ',' relseq ** ** A relation starts either with 'generator', with '(' or with '['. */ static node **RelList(void) { node **rellist; unsigned n = 0; rellist = (node **)Allocate(sizeof(node *)); rellist[0] = (node *)0; if (Token != GEN && Token != LPAREN && Token != LBRACK) return rellist; rellist = (node**)ReAllocate((void *)rellist, 2 * sizeof(node *)); rellist[n++] = Relation(); while (Token == COMMA) { NextToken(); rellist = (node**)ReAllocate((void *)rellist, (n + 2) * sizeof(node *)); rellist[n++] = Relation(); } rellist[n] = (node *)0; return rellist; } /* ** GenList() reads a list of generators. The list of generators may ** consist of abstract generators and identical generators. Identical ** generators are used to specify identical relations. ** ** The defining rules are: ** ** genlist: 'empty' | genseq | genseq ; genseq ** genseq: 'generator' | 'generator' ',' genseq */ static int GenList(void) { int nrgens = 0; if (Token != GEN) return nrgens; nrgens++; if (GenNumber(Gen, CREATE) == (gen)0) SyntaxError("Duplicate generator"); NextToken(); while (Token == COMMA) { NextToken(); if (Token != GEN) SyntaxError("Generator expected"); nrgens++; if (GenNumber(Gen, CREATE) == (gen)0) SyntaxError("Duplicate generator"); NextToken(); } return nrgens; } /* ** The following data structure holds a presentation. */ struct pres { unsigned nragens; /* number of abstract generators */ unsigned nrigens; /* number of identical generators */ unsigned nrrels; /* number of relations */ node **rels; /* pointer to relations */ }; static struct pres Pres; /* ** NumberOfAbstractGens() returns the number of abstract generators. */ int NumberOfAbstractGens(void) { return Pres.nragens; } /* ** NumberOfIdenticalGens() returns the number of identical generators. */ int NumberOfIdenticalGens(void) { return Pres.nrigens; } /* ** NumberOfGens() returns the number of abstract and identical generators. */ int NumberOfGens(void) { return Pres.nragens + Pres.nrigens; } /* ** NumberOfRels() returns the number of relations. */ int NumberOfRels(void) { return Pres.nrrels; } /* ** NextRelation() returns the next relation, if it exists, ** and returns the null pointer otherwise. ** FirstRelation initializes the variable NextRel and calls ** NextRelation(). ** NthRelation() returns the n-th relation, if n is in the ** range [0..NumberOfRels()-1] and the null pointer otherwise. ** CurrentRelation() returns the relation just being processed. */ static int NextRel; node *NextRelation(void) { if (NextRel >= NumberOfRels()) return (node *)0; return Pres.rels[NextRel++]; } node *FirstRelation(void) { NextRel = 0; return NextRelation(); } node *NthRelation(int n) { if (n < 0 || n >= NumberOfRels()) return (node *)0; return Pres.rels[n]; } node *CurrentRelation(void) { return Pres.rels[NextRel - 1]; } /* ** Presentation reads a finite presentation. The syntax of a presentation ** is: ** presentation: '<' genlist '|' rellist '>' | ** '<' genlist ; genlist '|' rellist '>' */ void Presentation(FILE *fp, const char *filename) { InitParser(fp, filename); if (Token != LANGLE) SyntaxError("presentation expected"); NextToken(); if (Token != GEN && Token != PIPE) SyntaxError("generator or vertical bar expected"); Pres.nragens = GenList(); if (Token == SEMICOLON) { NextToken(); Pres.nrigens = GenList(); } else Pres.nrigens = 0; if (Token != PIPE) SyntaxError("vertical bar expected"); NextToken(); Pres.rels = RelList(); Pres.nrrels = 0; while (Pres.rels[Pres.nrrels]) Pres.nrrels++; if (Token != RANGLE) SyntaxError("presentation has to be closed by '>'"); } node *ReadWord(void) { node *n; if (Token != SEMICOLON) n = Word(); else { NextToken(); return ReadWord(); } if (Token != SEMICOLON) SyntaxError("word has to be finished by ';'"); return n; } /* ** ----------------------- EVALUATOR ------------------------ ** The fourth part of this file contains the evaluator. */ static EvalFunc EvalFunctions[TLAST]; void SetEvalFunc(EvalType type, EvalFunc function) { if (type <= TNUM || type >= TLAST) { printf("Evaluation error: illegal type in SetEvalFunc()\n"); exit(1); } EvalFunctions[type] = function; } void *EvalNode(node *n) { void *e, *l, *r; if (n->type == TNUM) return (void *) & (n->cont.n); switch (n->type) { case TGEN: /* TGEN is a unary node. */ return WordGen(n->cont.g); case TCOMM: /* Adjust the class. */ Class--; l = EvalNode(n->cont.op.l); if (l != (void *)0) r = EvalNode(n->cont.op.r); Class++; if (l == (void *)0) return l; if (r == (void *)0) { Free(l); return r; } return WordComm((word)l, (word)r); case TENGEL: /* TENGEL is a ternary node. */ if ((e = EvalNode(n->cont.op.e)) == (void *)0) return e; Class -= *(int *)e; l = EvalNode(n->cont.op.l); if (l != (void *)0) r = EvalNode(n->cont.op.r); Class += *(int *)e; if (l == (void *)0) { Free(e); return l; } if (r == (void *)0) { Free(e); Free(l); return r; } return WordEngel((word)l, (word)r, (int *)e); default: if (EvalFunctions[n->type] == 0) { fprintf(stderr, "No evaluation function for type %d.\n", n->type); exit(5); } if ((l = EvalNode(n->cont.op.l)) == (void *)0) return l; if ((r = EvalNode(n->cont.op.r)) == (void *)0) { Free(l); return r; } return (*EvalFunctions[n->type])((word)l, r); } } static void TraverseNode(node *n, gen *igens) { if (n->type == TNUM) return; if (n->type == TGEN) { if (WordGen(n->cont.g) == (void *)0) igens[ n->cont.g - NumberOfAbstractGens() ] = 1; return; } TraverseNode(n->cont.op.l, igens); TraverseNode(n->cont.op.r, igens); } int NrIdenticalGensNode = 0; gen *IdenticalGenNumberNode = 0; int NumberOfIdenticalGensNode(node *n) { gen g, nr; if (IdenticalGenNumberNode != (gen *)0) Free(IdenticalGenNumberNode); IdenticalGenNumberNode = (gen *)Allocate((NumberOfIdenticalGens() + 1) * sizeof(gen)); TraverseNode(n, IdenticalGenNumberNode); for (nr = 0, g = 1; g <= NumberOfIdenticalGens(); g++) if (IdenticalGenNumberNode[ g ] == 1) IdenticalGenNumberNode[ g ] = ++nr; NrIdenticalGensNode = nr; return nr; } void **EvalRelations(void) { void **results; unsigned r; results = (void **)Allocate((Pres.nrrels + 1) * sizeof(void *)); for (r = 0; r < Pres.nrrels; r++) results[r] = EvalNode(Pres.rels[r]); results[r] = (void *)0; return results; } /* ** ----------------------- PRINTING ------------------------ ** And the last part contains the print functions. */ /* ** PrintNum() prints an integer. */ static void PrintNum(int n) { fprintf(OutFp, "%d", n); } /* ** PrintGen() prints a generator. */ void PrintGen(gen g) { fprintf(OutFp, "%s", GenName(g)); } /* ** PrintComm() prints a commutator using the following rule for ** left normed commutators : ** [[a,b],c] = [a,b,c] */ static void PrintComm(node *l, node *r, int bracket) { if (bracket) fprintf(OutFp, "["); /* If the left operand is a commutator, don't print its brackets. */ if (l->type == TCOMM) PrintComm(l->cont.op.l, l->cont.op.r, 0); else PrintNode(l); fprintf(OutFp, ","); PrintNode(r); if (bracket) fprintf(OutFp, "]"); } /* ** PrintEngel() prints a commutator using the following rule for ** Engel relations: ** [u, n v] */ static void PrintEngel(node *l, node *r, node *e) { fprintf(OutFp, "["); PrintNode(l); fprintf(OutFp, ", "); PrintNode(e); fprintf(OutFp, " "); PrintNode(r); fprintf(OutFp, "]"); } /* ** PrintMult() prints a product. It is not necessary to check if ** parentheses have to be printed since '*' has the lowest precedence ** of all operators except '='. But '=' can only occur at the top of ** an expression tree. */ static void PrintMult(node *l, node *r) { PrintNode(l); fprintf(OutFp, "*"); PrintNode(r); } /* ** PrintPow() prints an expression raised to an integer. If the expression ** is a product, it has to be enclosed in parentheses because of the lower ** precedence of '*'. If the expression is again a power or a conjugation, ** it has to be enclosed in parenthesis because '^' is not an associative ** operator. */ static void PrintPow(node *l, node *r) { if (l->type == TPOW || l->type == TCONJ || l->type == TMULT) { putc('(', OutFp); PrintNode(l); putc(')', OutFp); } else PrintNode(l); putc('^', OutFp); if (r->type != TNUM) { fprintf(OutFp, "Fatal error in tree.\n"); exit(5); } fprintf(OutFp, "%d", r->cont.n); } /* ** PrintConj() prints an expression conjugated by another expression. ** If one of the expressions is a product, a power or another conjugation, ** it has to be enclosed in parentheses for the same reasons PrintPow() ** has to enclose the basis in parentheses. */ static void PrintConj(node *l, node *r) { if (l->type == TPOW || l->type == TCONJ || l->type == TMULT) { putc('(', OutFp); PrintNode(l); putc(')', OutFp); } else PrintNode(l); putc('^', OutFp); if (r->type == TPOW || r->type == TCONJ || r->type == TMULT) { putc('(', OutFp); PrintNode(r); putc(')', OutFp); } else PrintNode(r); } /* ** PrintRel() prints a relation. No parenthesis are necessary since ** '=' has the lowest precedence of all binary operators. */ static void PrintRel(node *l, node *r) { PrintNode(l); fprintf(OutFp, " = "); PrintNode(r); } /* ** PrintDRelL() prints a defining relation. No parenthesis are necessary ** since '=:' has the lowest precedence of all binary operators. */ static void PrintDRelL(node *l, node *r) { PrintNode(l); fprintf(OutFp, " := "); PrintNode(r); } /* ** PrintDRelR() prints a defining relation. No parenthesis are necessary ** since '=:' has the lowest precedence of all binary operators. */ static void PrintDRelR(node *l, node *r) { PrintNode(l); fprintf(OutFp, " =: "); PrintNode(r); } /* ** PrintNode() just looks at the type of a node and then calls the ** appropriate print function. */ void PrintNode(node *n) { switch (n->type) { case TNUM: { PrintNum(n->cont.n); break; } case TGEN: { PrintGen(n->cont.g); break; } case TMULT: { PrintMult(n->cont.op.l, n->cont.op.r); break; } case TPOW: { PrintPow(n->cont.op.l, n->cont.op.r); break; } case TCONJ: { PrintConj(n->cont.op.l, n->cont.op.r); break; } case TCOMM: { PrintComm(n->cont.op.l, n->cont.op.r, 1); break; } case TREL: { PrintRel(n->cont.op.l, n->cont.op.r); break; } case TDRELL: { PrintDRelL(n->cont.op.l, n->cont.op.r); break; } case TDRELR: { PrintDRelR(n->cont.op.l, n->cont.op.r); break; } case TENGEL: { PrintEngel(n->cont.op.l, n->cont.op.r, n->cont.op.e); break; } default: { fprintf(OutFp, "\nunknown node type\n"); exit(5); } } } /* ** PrintPresentation() prints the presentation stored in the global ** variable Pres. */ void PrintPresentation(FILE *fp) { gen g; int r; InitPrint(fp); if (Pres.nragens == 0) return; /* Open the presentation. */ fprintf(OutFp, "< "); /* Print the generators first. */ PrintGen(1); for (g = 2; g <= (gen)Pres.nragens; g++) { fprintf(OutFp, ", "); PrintGen(g); } if (Pres.nrigens > 0) { fprintf(OutFp, "; "); PrintGen(Pres.nragens + 1); for (g = Pres.nragens + 2; g <= (gen)(Pres.nragens + Pres.nrigens); g++) { fprintf(OutFp, ", "); PrintGen(g); } } /* Now the delimiter. */ fprintf(OutFp, " |\n"); /* Now the relations. */ if (Pres.rels[0] != (node *)0) { fprintf(OutFp, " "); PrintNode(Pres.rels[0]); } for (r = 1; Pres.rels[r] != (node *)0; r++) { fprintf(OutFp, ",\n "); PrintNode(Pres.rels[r]); } /* And close the presentation. */ fprintf(OutFp, " >\n"); } void InitPrint(FILE *fp) { OutFp = fp; OutFileName = ""; } nq-2.5.11/src/glimt.c000644 000766 000024 00000031001 14550113041 014541 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** glimt.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include "nq.h" #include "time.h" #include "glimt.h" #undef min /* ** This module uses the arbitrary precision GNU integer package gmp. */ #include /* ** Define the data type for large integers and vectors of large integers. */ typedef MP_INT *large; typedef large *lvec; #define NOTZERO(l) ((l)->_mp_size != 0) #define ISZERO(l) ((l)->_mp_size == 0) #define ISNEG(l) ((l)->_mp_size < 0) #define NEGATE(l) ((l)->_mp_size = -(l)->_mp_size) #define SIGN(l) (expo)(sgn((l)->_mp_size)) #define SIZE(l) ((l)->_mp_size) #define LIMB(l,i) (expo)((l)->_mp_d[i]) /* ** The variable 'Matrix' contains the pointer to the integer matrix. ** The variable 'Heads' contains the pointer to an array whose i-th ** component contains the position of the first non-zero entry in ** i-th row of Matrix[]. The variable changedMatrix indicates whether ** the integer matrix changed during the reduction of an integer ** vector. */ lvec *Matrix = (lvec*)0; long *Heads; large MaximalEntry; static long changedMatrix = 0; /* ** The number of rows and columns in the integer matrix are stored in ** the following two variables. */ long NrRows = 0; long NrCols = 0; /* ** Take the time spend in this package. */ static long Time = 0; /* ** Set a flag if the integer matrix is the identity. ** This can be used as an early stopping criterion. */ int EarlyStop; /* ** Set this flag if each non-zero vector handed to addRow() is to ** be printed to a file. */ int RawMatOutput; FILE *RawMatFile = NULL; static large ltom(expo n) { MP_INT *l = (MP_INT*)Allocate(sizeof(MP_INT)); /* ** There does not seem to be a function that converts from long long ** to a large integer. So we have to do it a bit more complicated. */ mpz_init_set_si(l, (int)(n >> 32)); mpz_mul_2exp(l, l, 32 ); mpz_add_ui(l, l, (unsigned int)n); return l; } void freeExpVecs(expvec *M) { long i; for (i = 0; i < NrRows; i++) free(M[i]); free(M); NrRows = NrCols = 0; } static void freeVector(lvec v) { long i; for (i = 1; i <= NrCols; i++) { mpz_clear(v[i]); Free(v[i]); } Free(v); } static void freeMatrix(void) { long i; if (Matrix == (lvec *)0) return; mpz_clear(MaximalEntry); Free(MaximalEntry); for (i = 0; i < NrRows; i++) freeVector(Matrix[i]); Free(Matrix); Matrix = (lvec*)0; } /* static void printVector(lvec v) { long i; for (i = 1; i <= NrCols; i++) { printf(" "); mpz_out_str(stdout, 10, v[i]); } printf("\n"); } */ static long survivingCols(expvec *M, long *surviving) { long nrSurv = 0, h = 1, i; for (i = 0; i < NrRows; i++) { for (; h < Heads[i]; h++) surviving[nrSurv++] = h; if (M[i][h] != (expo)1) surviving[nrSurv++] = h; h++; } for (; h <= NrCols; h++) surviving[nrSurv++] = h; return nrSurv; } static void outputMatrix(expvec *M, const char *suffix) { long i, j, nrSurv, *surviving; char outputName[128]; FILE *fp; if (strlen(InputFile) > 100) sprintf(outputName, "NqOut.%s.%d", suffix, Class + 1); else sprintf(outputName, "%s.%s.%d", InputFile, suffix, Class + 1); if ((fp = fopen(outputName, "w")) == NULL) { perror(outputName); fprintf(stderr, "relation matrix for class %d not written\n", Class + 1); } if (M == (expvec*)0) { fprintf(fp, "0\n"); fclose(fp); return; } surviving = (long *)Allocate(NrCols * sizeof(long)); nrSurv = survivingCols(M, surviving); fprintf(fp, "%ld # Number of columns\n", nrSurv); for (i = 0; i < NrRows; i++) { if (M[i][Heads[i]] != (expo)1) { for (j = 0; j < nrSurv; j++) fprintf(fp, " "EXP_FORMAT, M[i][surviving[j]]); fprintf(fp, "\n"); } } Free(surviving); fclose(fp); } void OutputMatrix(const char *suffix) { long i, j; char outputName[128]; FILE *fp; if (strlen(InputFile) > 100) sprintf(outputName, "NqOut.%s.%d", suffix, Class + 1); else sprintf(outputName, "%s.%s.%d", InputFile, suffix, Class + 1); if ((fp = fopen(outputName, "w")) == NULL) { perror(outputName); fprintf(stderr, "relation matrix for class %d not written\n", Class + 1); } if (Matrix == (lvec*)0) { fprintf(fp, "0\n"); fclose(fp); return; } fprintf(fp, "%ld\n", NrCols); for (i = 0; i < NrRows; i++) { for (j = 1; j <= NrCols; j++) { fputc(' ', fp); mpz_out_str(fp, 10, Matrix[i][j]); } fprintf(fp, "\n"); } fclose(fp); } static void printGapMatrix(expvec *M) { long i, j, first, nrSurv, *surviving; if (M == (expvec*)0) { printf("[\n["); for (j = 1; j <= NrCenGens; j++) { printf(" 0"); if (j < NrCenGens) putchar(','); } printf(" ]\n],\n"); return; } surviving = (long *)Allocate(NrCols * sizeof(long)); nrSurv = survivingCols(M, surviving); if (nrSurv == 0) { Free(surviving); return; } printf("[\n"); for (i = 0, first = 1; i < NrRows; i++) { if (M[i][Heads[i]] != (expo)1) { if (!first) printf(",\n"); else first = 0; printf("["); for (j = 0; j < nrSurv; j++) { printf(" "EXP_FORMAT, M[i][surviving[j]]); if (j < nrSurv) putchar(','); } printf("]"); } } if (first) { printf("["); for (j = 0; j < nrSurv - 1; j++) printf(" 0,"); printf(" 0]\n"); } printf("],"); putchar('\n'); Free(surviving); } /* ** Print the contents of Matrix[]. */ static void printMatrix(void) { long i, j; printf(" heads vectors\n"); for (i = 0; i < NrRows; i++) { printf(" %ld ", Heads[i]); for (j = 1; j <= NrCols; j++) { putchar(' '); mpz_out_str(stdout, 10, Matrix[i][j]); } putchar('\n'); } } /* ** MatrixToExpVec() converts the contents of Matrix[] to a list of ** exponent vectors which can be used easily by the elimination ** routines. It also checks that the integers are not bigger than 2^15. ** If this is the case it prints a warning and aborts. */ expvec *MatrixToExpVecs(void) { long i, j, k; large m; expo c; expvec *M; if (NrRows == 0) { freeMatrix(); TimeOutOff(); if (Gap) printGapMatrix((expvec*)0); if (AbelianInv) outputMatrix((expvec*)0, "abinv"); if (RawMatOutput && RawMatFile != NULL) fclose(RawMatFile); TimeOutOn(); return (expvec*)0; } M = (expvec*)malloc(NrRows * sizeof(expvec)); if (M == (expvec*)0) { perror("MatrixToExpVecs(), M"); exit(2); } /* Convert. */ for (i = 0; i < NrRows; i++) { M[i] = (expvec)calloc(NrCols + 1, sizeof(expo)); if (M[i] == (expvec)0) { perror("MatrixToExpVecs(), M[]"); exit(2); } for (j = Heads[i]; j <= NrCols; j++) { m = Matrix[i][j]; if (mpz_sizeinbase(m, 2) > 8 * sizeof(signed int) - 2) { printf("Warning, Exponent too large.\n"); printMatrix(); exit(4); } M[i][j] = mpz_get_si(m); } } for (i = 0; i < NrRows; i++) freeVector(Matrix[i]); /* Make all entries except the head entries negative. */ for (i = 0; i < NrRows; i++) for (j = i - 1; j >= 0; j--) if (abs(M[j][ Heads[i] ]) >= M[i][ Heads[i] ] || M[j][ Heads[i] ] > (expo)0) { c = M[j][ Heads[i] ] / M[i][ Heads[i] ]; if (M[j][ Heads[i] ] > (expo)0 && M[j][ Heads[i] ] % M[i][ Heads[i] ] != (expo)0) c++; for (k = Heads[i]; k <= NrCols; k++) M[j][k] -= c * M[i][k]; } free(Matrix); Matrix = (lvec *)0; printf("# Time spent on the integer matrix: %ld msec.\n", Time); printf("# Maximal entry: "); mpz_out_str(stdout, 10, MaximalEntry); printf("\n"); TimeOutOff(); if (Gap) printGapMatrix(M); if (AbelianInv) outputMatrix(M, "abinv"); TimeOutOn(); if (RawMatOutput) fclose(RawMatFile); return M; } /* ** The following routines perform operations with vectors : ** ** vNeg() negates each entry of the vector v starting at v[a]. ** vSub() subtracts a multiple of the vector w from the vector v. ** The scalar w is multiplied with is v[a]/w[a], so that ** the entry v[a] after the subtraction is smaller than ** w[a]. ** vSubOnce() subtracts the vector w from the vector v. */ static void vNeg(lvec v, long a) { while (a <= NrCols) { NEGATE(v[a]); a++; } } /* static void vSubOnce(lvec v, lvec w, long a) { while (a <= NrCols) { mpz_sub(v[a], w[a], v[a]); a++; } } */ static void vSub(lvec v, lvec w, long a) { mpz_t q, t; if (NOTZERO(v[a])) { mpz_init(q); mpz_tdiv_q(q, v[a], w[a]); if (NOTZERO(q)) { mpz_init(t); while (a <= NrCols) { mpz_mul(t, q, w[a]); mpz_sub(v[a], v[a], t); mpz_abs(t, v[a]); if (mpz_cmp(t, MaximalEntry) > 0) mpz_set(MaximalEntry, v[a]); a++; } mpz_clear(t); } mpz_clear(q); } } static void lastReduce(void) { long i, j; /* Reduce all the head columns. */ for (i = 0; i < NrRows; i++) for (j = i - 1; j >= 0; j--) vSub(Matrix[j], Matrix[i], Heads[i]); } /* ** vReduce() reduces the vector v against the vectors in Matrix[]. */ static lvec vReduce(lvec v, long h) { long i; lvec w; for (i = 0; i < NrRows && Heads[i] <= h; i++) { if (Heads[i] == h) { while (NOTZERO(v[h]) && NOTZERO(Matrix[i][h])) { vSub(v, Matrix[i], h); if (NOTZERO(v[h])) { changedMatrix = 1; vSub(Matrix[i], v, h); } } if (NOTZERO(v[h])) { /* v replaces th i-th row. */ if (ISNEG(v[h])) vNeg(v, h); w = Matrix[i]; Matrix[i] = v; v = w; } while (h <= NrCols && ISZERO(v[h])) h++; if (h > NrCols) { freeVector(v); v = (lvec)0; } } } return v; } int addRow(expvec ev) { long h, i, t; lvec v; IntMatTime -= RunTime(); /* Initialize Matrix[] and Heads[] on the first call. */ if (Matrix == (lvec *)0) { EarlyStop = 0; Time = 0; if ((Matrix = (lvec*)malloc(200 * sizeof(lvec))) == (lvec *)0) { perror("addRow, Matrix "); exit(2); } if ((Heads = (long*)malloc(200 * sizeof(long))) == (long*)0) { perror("addRow, Heads "); exit(2); } NrCols = NrCenGens; MaximalEntry = ltom((expo)0); if (RawMatOutput) { char *file; int c; c = Class + 1; file = (char *)calloc(12, sizeof(char)); strcpy(file, "matrix.XXX"); file[9] = c % 10 + '0'; c /= 10; file[8] = c % 10 + '0'; c /= 10; file[7] = c % 10 + '0'; if ((RawMatFile = fopen(file, "w")) == NULL) { perror(file); exit(1); } fprintf(RawMatFile, "%ld\n", NrCols); fflush(RawMatFile); free(file); } } changedMatrix = 0; /* Check if the first NrPcGens entries in the exponent vector ** are zero. */ for (i = 1; i <= NrPcGens; i++) if (ev[i] != 0) { printf("Warning, exponent vector is not a tail"); printf(" at position %ld.\n", i); printEv(ev); printf("\n"); break; } /* Find the head, i.e. the first non-zero entry, of ev. */ for (h = 0, i = 1; i <= NrCols; i++) if (ev[NrPcGens + i] != 0) { h = i; break; } /* If ev is the null vector, free it and return. */ if (h == 0) { Free(ev); IntMatTime += RunTime(); return 0; } t = RunTime(); /* Copy the last NrCenGens entries of ev and free it. */ v = (lvec)malloc((NrCols + 1) * sizeof(large)); if (v == (lvec)0) { perror("addRow(), v"); exit(2); } for (i = 1; i <= NrCols; i++) v[i] = ltom(ev[NrPcGens + i]); if (RawMatOutput) { for (i = 1; i <= NrCols; i++) { fprintf(RawMatFile, " "EXP_FORMAT, ev[NrPcGens + i]); } fprintf(RawMatFile, "\n"); fflush(RawMatFile); } Free(ev); if ((v = vReduce(v, h)) != (lvec)0) { changedMatrix = 1; if (NrRows % 200 == 0) { Matrix = (lvec*)realloc(Matrix, (NrRows + 200) * sizeof(lvec)); if (Matrix == (lvec*)0) { perror("addRow(), Matrix"); exit(2); } Heads = (long*)realloc(Heads, (NrRows + 200) * sizeof(long)); if (Heads == (long*)0) { perror("addRow(), Heads"); exit(2); } } /* Insert ev such that Heads[] is in increasing order. */ while (h <= NrCols && ISZERO(v[h])) h++; if (ISNEG(v[h])) vNeg(v, h); for (i = NrRows; i > 0; i--) if (Heads[i - 1] > h) { Matrix[i] = Matrix[i - 1]; Heads[i] = Heads[i - 1]; } else break; /* Insert. */ Matrix[ i ] = v; Heads[ i ] = h; NrRows++; } if (changedMatrix) lastReduce(); /* Check if Matrix[] is the identity matrix. */ if (NrRows == NrCenGens) { for (i = 0; i < NrRows; i++) /* Check if each leading entry is 1 */ if (mpz_sizeinbase(Matrix[i][Heads[i]], 2) != 1) break; if (i == NrRows) EarlyStop = 1; } Time += RunTime() - t; if (EarlyStop) printf("# Integer matrix is the identity.\n"); IntMatTime += RunTime(); return changedMatrix; } /* void printLarge(large l) { mpz_out_str(stdout, 10, l); printf("\n"); } */ nq-2.5.11/src/instances.h000644 000766 000024 00000000474 14550113041 015433 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** instances.h NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ extern word *Instances; extern void EvalIdenticalRelation(node *r); nq-2.5.11/src/mem.c000644 000766 000024 00000001621 14550113041 014210 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** mem.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include #include "mem.h" static void AllocError(const char *str) { fflush(stdout); fprintf(stderr, "%s failed: ", str); perror(""); exit(4); } void *Allocate(unsigned nchars) { void *ptr; ptr = (void *)calloc(nchars, sizeof(char)); if (ptr == 0) AllocError("Allocate"); if ((unsigned long)ptr & 0x3) printf("Warning, pointer not aligned.\n"); return ptr; } void *ReAllocate(void *optr, unsigned nchars) { optr = (void *)realloc((char *)optr, nchars); if (optr == (void *)0) AllocError("ReAllocate"); if ((unsigned long)optr & 0x3) printf("Warning, pointer not aligned.\n"); return optr; } void Free(void *ptr) { free(ptr); } nq-2.5.11/src/eliminate.c000644 000766 000024 00000016415 14550113041 015410 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** eliminate.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include #include "nq.h" #include "glimt.h" #include "relations.h" /* for ElimAllEpim */ long appendExpVector(gen k, expvec ev, word w, gen *renumber) { long l = 0; /* Copy the negative of the exponent vector ev[] into w. */ for (; k <= NrCenGens; k++) { if (ev[k] > (expo)0) { if (Exponent[renumber[k]] != (expo)0) printf("Warning: Positive entry in matrix."); else { w[l].g = -renumber[k]; w[l].e = ev[k]; } } else if (ev[k] < (expo)0) { w[l].g = renumber[k]; w[l].e = -ev[k]; } else continue; if (Exponent[abs(w[l].g)] != (expo)0) { if (w[l].g < 0) printf("Negative exponent for torsion generator.\n"); if (w[l].e >= Exponent[w[l].g]) printf("Unreduced exponent for torsion generators.\n"); } l++; } w[l].g = EOW; w[l].e = (expo)0; l++; return l; } static word elimRHS(word v, long *eRow, gen *renumber, expvec ev, expvec *M) { word w; gen cg; long j, k, l; expo s; w = (word)malloc((NrPcGens + NrCenGens + 1) * sizeof(gpower)); if (w == (word)0) { perror("elimRHS(), w"); exit(2); } /* copy the first NrPcGens generators into w. */ l = 0; while (v->g != EOW && abs(v->g) <= NrPcGens) { w[l] = *v++; l++; } /* copy the eliminating rows into ev[]. */ while (v->g != EOW) { cg = abs(v->g) - NrPcGens; if (cg <= 0) printf("Warning : non-central generator in elimRHS()\n"); if (eRow[ cg ] == -1 || M[eRow[cg]][cg] != (expo)1) /* generator cg survives. */ ev[ cg ] += sgn(v->g) * v->e; else for (k = cg + 1; k <= NrCenGens; k++) ev[k] -= sgn(v->g) * v->e * M[eRow[cg]][k]; v++; } /* Reduce all entries modulo the exponents. */ for (k = 1; k <= NrCenGens; k++) if (renumber[k] > 0 && Exponent[renumber[k]] > (expo)0) if ((s = ev[k] / Exponent[renumber[k]]) != (expo)0 || ev[k] < (expo)0) { if (ev[k] - s * M[eRow[k]][k] < (expo)0) s--; for (j = k; j <= NrCenGens; j++) ev[j] -= s * M[eRow[k]][j]; } /* Now copy the exponent vector back into the word. */ for (k = 1; k <= NrCenGens; k++) { if (ev[k] > (expo)0) { w[l].g = renumber[k]; w[l].e = ev[k]; } else if (ev[k] < (expo)0) { w[l].g = -renumber[k]; w[l].e = -ev[k]; } else continue; if (Exponent[abs(w[l].g)] != (expo)0) { if (w[l].g < 0) printf("Negative exponent for torsion generator.\n"); if (w[l].e >= Exponent[w[l].g]) printf("Unreduced exponent for torsion generators.\n"); } l++; } w[l].g = EOW; w[l].e = (expo)0; l++; for (k = 1; k <= NrCenGens; k++) ev[k] = (expo)0; return (word)realloc(w, l * sizeof(gpower)); } void ElimGenerators(void) { long i, j, k, l, n = 0, *eRow, t = 0; expvec ev, *M = 0; gen *renumber; word v, w; if (Verbose) t = RunTime(); M = MatrixToExpVecs(); /* first assign a new number to each central generator which is not to be eliminated. */ renumber = (gen*) calloc(NrCenGens + 1, sizeof(gen)); if (renumber == (gen*)0) { perror("elimGenerators(), renumber"); exit(2); } for (k = 1, i = 0; k <= NrCenGens; k++) if (i >= NrRows || k != Heads[i]) renumber[ k ] = NrPcGens + k - n; else if (M[i][k] != 1) { /* k will become a torsion element */ renumber[ k ] = NrPcGens + k - n; Exponent[ renumber[k] ] = M[i][k]; i++; } else { /* k will be eliminated. */ n++; i++; } /* extend the memory for Power[], note that n is the number of generators to be eliminated. */ Power = (word*)realloc(Power, (NrPcGens + NrCenGens + 1 - n) * sizeof(word)); if (Power == (word*)0) { perror("elimGenerators(), Power"); exit(2); } /* extend the memory for Definition[]. */ Definition = (def*)realloc(Definition, (NrPcGens + NrCenGens + 1 - n) * sizeof(def)); if (Definition == (def*)0) { perror("elimGenerators(), Definition"); exit(2); } /* first we eliminate ALL central generators that occur in the ** epimorphism. */ i = ElimAllEpim(n, M, renumber); /* secondly we eliminate ALL generators from right hand sides of ** power relations. */ for (j = 1; j <= NrPcGens; j++) if (Exponent[j] != (expo)0) { l = WordLength(Power[ j ]); w = (word)malloc((l + NrCenGens + 1 - n) * sizeof(gpower)); WordCopy(Power[ j ], w); l--; l += appendExpVector(w[l].g + 1 - NrPcGens, M[i], w + l, renumber); if (Power[j] != (word)0) free(Power[j]); if (l == 1) { Power[j] = (word)0; free(w); } else Power[j] = (word)realloc(w, l * sizeof(gpower)); i++; } /* Thirdly we eliminate the generators from the right hand ** side of conjugates, but before that we fix the definitions ** of surviving generators. */ /* set up an array that specifies the row which eliminates a ** generator. */ eRow = (long*)malloc((NrCenGens + 1) * sizeof(long)); if (eRow == (long*)0) { perror("elimGenerators(), eRow"); exit(2); } for (k = 0; k <= NrCenGens; k++) eRow[ k ] = -1; for (k = 0; k < NrRows; k++) eRow[ Heads[k] ] = k; ev = (expvec)calloc((NrCenGens + 1), sizeof(expo)); if (ev == (expvec)0) { perror("elimGenerators(), ev"); exit(2); } for (j = 1; j <= NrPcGens; j++) for (i = 1; i < j; i++) { if (Wt(j) + Wt(i) > Class + 1) continue; k = Conjugate[j][i][1].g - NrPcGens; if (k > 0 && i <= Dimension[1] && j > NrPcGens - Dimension[Class] && (eRow[ k ] == -1 || M[eRow[k]][k] != (expo)1)) { /* Fix the definitions of surviving generators and ** their power relations. */ Conjugate[j][i][1].g = renumber[k]; Definition[ renumber[k] ].h = j; Definition[ renumber[k] ].g = i; if (eRow[ k ] != -1) { w = (word)malloc((NrCenGens + 1 - n) * sizeof(gpower)); if (w == (word)0) { perror("elimGenerators(), w"); exit(2); } l = appendExpVector(k + 1, M[eRow[k]], w, renumber); w = (word)realloc(w, l * sizeof(gpower)); Power[ renumber[k] ] = w; } } else { v = elimRHS(Conjugate[j][i], eRow, renumber, ev, M); if (Conjugate[j][i] != Generators[j]) free(Conjugate[j][i]); Conjugate[j][i] = v; } if (Exponent[i] == (expo)0) { v = elimRHS(Conjugate[j][-i], eRow, renumber, ev, M); if (Conjugate[j][-i] != Generators[j]) free(Conjugate[j][-i]); Conjugate[j][-i] = v; } if (Exponent[j] == (expo)0) { v = elimRHS(Conjugate[-j][i], eRow, renumber, ev, M); if (Conjugate[-j][i] != Generators[-j]) free(Conjugate[-j][i]); Conjugate[-j][i] = v; } if (Exponent[j] + Exponent[i] == (expo)0) { v = elimRHS(Conjugate[-j][-i], eRow, renumber, ev, M); if (Conjugate[-j][-i] != Generators[-j]) free(Conjugate[-j][-i]); Conjugate[-j][-i] = v; } } /* Now adjust the sizes of the arrays */ assert(Commute == CommuteList[ Class + 1 ]); Commute = (gen*)realloc(Commute, (NrPcGens + NrCenGens + 1 - n) * sizeof(gen)); CommuteList[ Class + 1 ] = Commute; Exponent = (expo*)realloc(Exponent, (NrPcGens + NrCenGens + 1 - n) * sizeof(expo)); free(renumber); free(ev); free(eRow); if (M != (expvec*)0) freeExpVecs(M); NrCenGens -= n; if (Verbose) printf("# Eliminated generators (%ld msec).\n", RunTime() - t); } nq-2.5.11/src/pcarith.h000644 000766 000024 00000001425 14550113041 015073 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** pcarith.h PC Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #ifndef PCARITH_H #define PCARITH_H #include "genexp.h" typedef word (*WordGenerator)(gen); extern void WordCopyExpVec(expvec ev, word w); extern word WordExpVec(expvec ev); extern expvec ExpVecWord(word w); extern int WordCmp(word u, word w); extern void WordCopy(word u, word w); extern int WordLength(word w); extern void WordInit(WordGenerator generator); extern void WordPrint(word gs); extern word WordGen(gen g); extern word WordEngel(word u, word w, int *e); extern word WordComm(word u, word w); #endif nq-2.5.11/src/system.c000644 000766 000024 00000007521 14550113041 014763 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** system.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include #include #include #include #include "config.h" #include "nq.h" static const char *SignalName[] = { "", "Hangup (1)", "Interrupt (2)", "Quit (3)", "Illegal instruction (4)", "(5)", "Abort (6)", "(7)", "Arithmetic exception (8)", "(9)", "Bus error (10)", "Segmentation violation (11)", "(12)", "(13)", "Alarm clock (14)", "User termination (15)", "", "", "", "", "", "", "", "", "", "", "Virtual alarm (26)" }; static void handler(int sig) { fprintf(stderr, "\n\n# Process terminating with signal"); fprintf(stderr, " %s.\n\n", SignalName[sig]); if (Gap) printf("];\n"); fflush(stdout); signal(sig, SIG_DFL); kill(getpid(), sig); } static int TimeOutReached = 0; static int DoTimeOut = 1; /* ** Set the alarm. */ void SetTimeOut(int nsec) { struct itimerval si; if (nsec > 0) { printf("#\n# Time out after %d seconds.\n", nsec); /* Set time after which timer expires. */ si.it_value.tv_sec = nsec; /* sec */ si.it_value.tv_usec = 0; /* msec */ /* The timer is not going to be reset. */ si.it_interval.tv_sec = 0; si.it_interval.tv_usec = 0; if (setitimer(ITIMER_VIRTUAL, &si, (struct itimerval*)0) == -1) { perror(""); } TimeOutReached = 0; DoTimeOut = 1; return; } else printf("SetTimeOut(): argument negative, timeout not set.\n"); } /* ** Switch on the time out mechanism. Check if the program has timed ** out in the mean time and if so terminate. */ void TimeOutOn(void) { if (TimeOutReached) { printf("#\n# Process has timed out.\n#\n"); if (Gap) printf("];\n"); exit(0); } else DoTimeOut = 1; } /* ** Switch off the time out mechanism. */ void TimeOutOff(void) { DoTimeOut = 0; } static void alarmClock(int sig) { TimeOutReached = 1; if (DoTimeOut) TimeOutOn(); } void CatchSignals(void) { /* ** Catch the following signal in order to exit gracefully ** if the process is killed. */ signal(SIGHUP, handler); signal(SIGINT, handler); signal(SIGQUIT, handler); signal(SIGABRT, handler); signal(SIGTERM, handler); /* ** Catch the following signals to exit gracefully if the ** process crashes. */ signal(SIGILL, handler); signal(SIGFPE, handler); signal(SIGBUS, handler); signal(SIGSEGV, handler); /* ** Catch the virtual alarm signal so that the process can time out. */ signal(SIGVTALRM, alarmClock); } /* ** return the cpu time in milli seconds */ #ifdef HAVE_GETRUSAGE #include #include long RunTime(void) { struct rusage buf; if (getrusage(RUSAGE_SELF, &buf)) { perror("couldn't obtain timing"); exit(1); } return buf.ru_utime.tv_sec * 1000 + buf.ru_utime.tv_usec / 1000; } #else #include #include long RunTime(void) { struct tms buf; times(&buf); return (buf.tms_utime * 50 / 3); } #endif nq-2.5.11/src/relations.h000644 000766 000024 00000000765 14550113041 015447 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** relations.h */ #ifndef RELATIONS_H #define RELATIONS_H #include "genexp.h" #include "presentation.h" /* for struct node */ extern int EvalSingleRelation(node *r); extern void EvalAllRelations(void); extern void InitEpim(void); extern int ExtendEpim(void); extern int ElimAllEpim(int n, expvec *M, gen *renumber); extern void ElimEpim(void); extern void PrintEpim(void); extern word Epimorphism(gen g); #endif nq-2.5.11/src/engel.h000644 000766 000024 00000000755 14550113041 014540 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** engel.h NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ extern int SemigroupOnly; extern int SemigroupFirst; extern int CheckFewInstances; extern int ReverseOrder; extern word EngelCommutator(word v, word w, int engel); extern void EvalEngel(void); extern void InitEngel(int l, int r, int v, int e, int n); nq-2.5.11/src/macro.h000644 000766 000024 00000000665 14550113041 014547 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** macro.h NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ /* ** Some macros. */ #define abs(x) ((x) > 0 ? (x) : -(x)) #define sgn(x) ((x) > 0 ? 1 : -1 ) #define min(x,y) ((x) > (y) ? (y) : (x)) #define max(x,y) ((x) < (y) ? (y) : (x)) nq-2.5.11/src/word.c000644 000766 000024 00000001313 14550113041 014403 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** word.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include "nq.h" void printGen(gen g, char c) { putchar(c + (g - 1) % 26); if ((g - 1) / 26 != 0) printf("%d", (g - 1) / 26); } void printWord(word w, char c) { if (w == (word)0 || w->g == EOW) { printf("Id"); return; } while (w->g != EOW) { if (w->g > 0) { printGen(w->g, c); if (w->e != (expo)1) printf("^"EXP_FORMAT, w->e); } else { printGen(-w->g, c); printf("^"EXP_FORMAT, -w->e); } w++; if (w->g != EOW) putchar('*'); } } nq-2.5.11/src/nq.c000644 000766 000024 00000020616 14550113041 014055 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** nq.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include #include #include "nq.h" #include "engel.h" #include "glimt.h" #include "presentation.h" #include "relations.h" #include "time.h" int Debug = 0; int Gap = 0; int AbelianInv = 0; int NilpMult; int Verbose = 0; extern int RawMatOutput; const char *InputFile; static char *ProgramName; static int Cl; static void usage(const char *error) { int i; if (error != 0) fprintf(stderr, "%s\n", error); fprintf(stderr, "usage: %s", ProgramName); fprintf(stderr, " [-a] [-M] [-d] [-g] [-v] [-s] [-f] [-c] [-m]\n"); for (i = strlen(ProgramName) + 7; i > 0; i--) fputc(' ', stderr); fprintf(stderr, " [-t ] [-l ] [-r ] [-n ] [-e ]\n"); for (i = strlen(ProgramName) + 7; i > 0; i--) fputc(' ', stderr); fprintf(stderr, " [-y] [-o] [-p] [-E] [] []\n"); exit(1); } static int leftEngel = 0, rightEngel = 0, revEngel = 0, engel = 0, nrEngelGens = 1; static int trmetab = 0; static const char *Ordinal(int n) { switch (n) { case 1: return "st"; case 2: return "nd"; case 3: return "rd"; default: return "th"; } } static void printHeader(void) { printf("#\n"); printf("# The ANU Nilpotent Quotient Program (Version %s)\n", PACKAGE_VERSION); printf("# Calculating a nilpotent quotient\n"); printf("# Input: %s", InputFile); if (leftEngel) { if (nrEngelGens > 1) printf(" & the first %d generators are", nrEngelGens); else printf(" &"); printf(" %d%s left Engel", leftEngel, Ordinal(leftEngel)); } if (rightEngel) { if (nrEngelGens > 1) printf(" & the first %d generators are", nrEngelGens); else printf(" &"); printf(" %d%s right Engel", rightEngel, Ordinal(rightEngel)); } if (engel) { printf(" %d%s Engel", engel, Ordinal(engel)); } printf("\n"); if (Cl != 666) printf("# Nilpotency class: %d\n", Cl); printf("# Program: %s\n", ProgramName); printf("# Size of exponents: %d bytes\n#\n", (int)sizeof(expo)); } int main(int argc, char *argv[]) { FILE *fp; long t, time; long begin, printEpim = 1; gen g; CatchSignals(); begin = RunTime(); ProgramName = argv[0]; argc--; argv++; setbuf(stdout, NULL); while (argc > 0 && argv[0][0] == '-') { if (argv[0][2] != '\0') { fprintf(stderr, "unknown option: %s\n", argv[0]); usage((char *)0); } switch (argv[0][1]) { case 'h': usage((char *)0); break; case 'r': if (--argc < 1) usage("-r requires an argument"); argv++; if ((rightEngel = atoi(argv[0])) <= 0) { fprintf(stderr, "%s\n", argv[0]); usage(" must be positive."); } break; case 'l': if (--argc < 1) usage("-l requires an argument."); argv++; if ((leftEngel = atoi(argv[0])) <= 0) { fprintf(stderr, "%s\n", argv[0]); usage(" must be positive."); } break; case 'n': if (--argc < 1) usage("-n requires an argument."); argv++; if ((nrEngelGens = atoi(argv[0])) <= 0) { fprintf(stderr, "%s\n", argv[0]); usage(" must be positive."); } break; case 'e': if (--argc < 1) usage("-e requires an argument"); argv++; if ((engel = atoi(argv[0])) <= 0) { fprintf(stderr, "%s\n", argv[0]); usage(" must be positive."); } break; case 't': if (--argc < 1) usage("-t requires an argument"); argv++; if ((t = atoi(argv[0])) <= 0) { fprintf(stderr, "%s\n", argv[0]); usage(" must be positive."); } switch (argv[0][strlen(argv[0]) - 1]) { case 'd' : t *= 24; case 'h' : t *= 60; case 'm' : t *= 60; } SetTimeOut(t); break; case 'p': printEpim = !printEpim; break; case 'g': Gap = !Gap; break; case 'a': AbelianInv = !AbelianInv; break; case 'M': NilpMult = !NilpMult; break; case 'v': Verbose = !Verbose; break; case 'd': Debug = !Debug; break; case 's': SemigroupOnly = !SemigroupOnly; break; case 'c': CheckFewInstances = !CheckFewInstances; break; case 'f': SemigroupFirst = !SemigroupFirst; break; case 'o': ReverseOrder = !ReverseOrder; break; case 'm': RawMatOutput = !RawMatOutput; break; case 'y': trmetab = 1; break; case 'E': revEngel = !revEngel; break; case 'C': UseCombiCollector = !UseCombiCollector; break; case 'S': UseSimpleCollector = !UseSimpleCollector; break; default : fprintf(stderr, "unknown option: %s\n", argv[0]); usage((char *)0); break; } argc--; argv++; } /* ** The default is to read from stdin and have no (almost no) ** class bound. */ InputFile = ""; Cl = 666; /* Parse the remaining arguments. */ switch (argc) { case 0: break; case 1: if (!isdigit(argv[0][0])) /* The only argument left is a file name. */ InputFile = argv[0]; else /* The only argument left is the class. */ Cl = atoi(argv[0]); /* TODO: Use strtol instead of atoi */ break; case 2: /* Two arguments left. */ InputFile = argv[0]; Cl = atoi(argv[1]); /* TODO: Use strtol instead of atoi */ break; default: usage((char *)0); break; } if (Cl <= 0) usage(" must be positive."); /* Open the input stream. */ if (strcmp(InputFile, "") == 0) { fp = stdin; } else { if ((fp = fopen(InputFile, "r")) == NULL) { perror(InputFile); exit(1); } } /* Read in the finite presentation. */ Presentation(fp, InputFile); /* Set the number of generators. */ WordInit(Epimorphism); InitEngel(leftEngel, rightEngel, revEngel, engel, nrEngelGens); InitTrMetAb(trmetab); InitPrint(stdout); printHeader(); time = RunTime(); if (Gap) printf("NqLowerCentralFactors := [\n"); if (Gap & Verbose) fprintf(stderr, "#I Class 1:"); printf("# Calculating the abelian quotient ...\n"); InitEpim(); EvalAllRelations(); EvalEngel(); EvalTrMetAb(); ElimEpim(); if (NrCenGens == 0) { printf("# trivial abelian quotient\n"); goto end; } /* if( Cl == 1 ) goto end; */ InitPcPres(); if (Gap & Verbose) { fprintf(stderr, " %d generators with relative orders ", Dimension[Class]); for (g = NrPcGens - Dimension[Class] + 1; g <= NrPcGens; g++) fprintf(stderr, " %d", (int)(Exponent[g])); fprintf(stderr, "\n"); } printf("# The abelian quotient"); printf(" has %d generators\n", Dimension[Class]); printf("# with the following exponents:"); for (g = NrPcGens - Dimension[Class] + 1; g <= NrPcGens; g++) printf(" %d", (int)(Exponent[g])); printf("\n"); if (Verbose) { printf("# runtime : %ld msec\n", RunTime() - time); printf("# total runtime : %ld msec\n", RunTime() - begin); } printf("#\n"); while (Class < Cl) { time = RunTime(); if (Gap & Verbose) { fprintf(stderr, "#I Class %d:", Class + 1); } printf("# Calculating the class %d quotient ...\n", Class + 1); AddGenerators(); Tails(); Consistency(); if (NilpMult) OutputMatrix("nilp"); EvalAllRelations(); EvalEngel(); EvalTrMetAb(); if (NilpMult) OutputMatrix("mult"); ElimGenerators(); if (NrCenGens == 0) goto end; ExtPcPres(); if (Gap & Verbose) { fprintf(stderr, " %d generators", Dimension[Class]); fprintf(stderr, " with relative orders:"); for (g = NrPcGens - Dimension[Class] + 1; g <= NrPcGens; g++) fprintf(stderr, " %d", (int)(Exponent[g])); fprintf(stderr, "\n"); } printf("# Layer %d of the lower central series", Class); printf(" has %d generators\n", Dimension[Class]); printf("# with the following exponents:"); for (g = NrPcGens - Dimension[Class] + 1; g <= NrPcGens; g++) printf(" %d", (int)(Exponent[g])); printf("\n"); if (Verbose) { printf("# runtime : %ld msec\n", RunTime() - time); printf("# total runtime : %ld msec\n", RunTime() - begin); } printf("#\n"); } end: TimeOutOff(); if (printEpim) { printf("\n\n# The epimorphism :\n"); PrintEpim(); printf("\n\n# The nilpotent quotient :\n"); PrintPcPres(); printf("\n\n# The definitions:\n"); PrintDefs(); } printf("# total runtime : %ld msec\n", RunTime() - begin); if (Gap) printf("];\n"); if (Gap) { PrintRawGapPcPres(); } if (Gap & Verbose) fprintf(stderr, "\n"); TimeOutOn(); PrintCollectionTimes(); return 0; } nq-2.5.11/src/gap.c000644 000766 000024 00000012721 14550113041 014204 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** gap.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include "nq.h" #include "presentation.h" #include "relations.h" #if 0 static void printGapWord(word w) { int nrc = 30; /* something has already been printed */ if (w == (word)0 || w->g == EOW) { printf("One(F)"); return; } while (w->g != EOW) { if (w->g > 0) { nrc += printf("NqF.%d", w->g); if (w->e != (expo)1) nrc += printf("^"EXP_FORMAT, w->e); } else { nrc += printf("NqF.%d", -w->g); nrc += printf("^"EXP_FORMAT, -w->e); } w++; if (w->g != EOW) { putchar('*'); nrc++; /* ** Insert a line break, because GAP can't take lines that ** are too long. */ if (nrc > 70) { printf("\\\n "); nrc = 0; } } } } void PrintGapPcPres(void) { int i, j; /* ** Commands that create the appropriate free group and the ** collector. */ printf("NqF := FreeGroup( %d );\n", NrPcGens + NrCenGens); printf("NqCollector := FromTheLeftCollector( NqF );\n"); for (i = 1; i <= NrPcGens + NrCenGens; i++) if (Exponent[i] != (expo)0) { printf("SetRelativeOrder( NqCollector, %d, ", i); printf(EXP_FORMAT, Exponent[i]); printf(" );\n"); } /* ** Print the power relations. */ for (i = 1; i <= NrPcGens + NrCenGens; i++) if (Exponent[i] != (expo)0 && Power[i] != (word)0 && Power[i]->g != EOW) { printf("SetPower( NqCollector, %d, ", i); printGapWord(Power[i]); printf(" );\n"); } /* ** Print the conjugate relations. */ for (j = 1; j <= NrPcGens; j++) { i = 1; while (i < j && Wt(i) + Wt(j) <= Class + (NrCenGens == 0 ? 0 : 1)) { /* printf( "Print( %d, \" \", %d, \"\\n\" );\n", j, i ); */ /* print Conjugate[j][i] */ printf("SetConjugate( NqCollector, %d, %d, ", j, i); printGapWord(Conjugate[j][i]); printf(" );\n"); if (1 && Exponent[i] == (expo)0) { printf("SetConjugate( NqCollector, %d, %d, ", j, -i); printGapWord(Conjugate[j][-i]); printf(" );\n"); } if (1 && Exponent[j] == (expo)0) { printf("SetConjugate( NqCollector, %d, %d, ", -j, i); printGapWord(Conjugate[-j][i]); printf(" );\n"); } if (1 && Exponent[i] + Exponent[j] == (expo)0) { printf("SetConjugate( NqCollector, %d, %d, ", -j, -i); printGapWord(Conjugate[-j][-i] /*, 'A'*/); printf(" );\n"); } i++; } } /* ** Print the epimorphism. It is sufficient to list the images. */ printf("NqImages := [\n"); for (i = 1; i <= NumberOfAbstractGens(); i++) { printGapWord(Epimorphism(i)); printf(",\n"); } printf("];\n"); printf("NqClass := %d;\n", Class); printf("NqRanks := [ "); for (i = 1; i <= Class; i++) printf(" %d,", Dimension[i]); printf("];\n"); } #endif static void printRawWord(word w) { int nrc = 15; /* something has already been printed */ if (w == (word)0 || w->g == EOW) { return; } while (w->g != EOW) { if (w->g > 0) { nrc += printf(" %d,", w->g); nrc += printf(" "EXP_FORMAT",", w->e); } else { nrc += printf(" %d,", -w->g); nrc += printf(" "EXP_FORMAT",", -w->e); } w++; /* Avoid long lines, because GAP can't read them. */ if (w->g != EOW && nrc > 70) { printf("\\\n "); nrc = 0; } } } void PrintRawGapPcPres(void) { int i, j; int cl = Class + (NrCenGens == 0 ? 0 : 1); /* ** Output the number of generators first and their relative ** orders. */ printf("NqNrGenerators := %d;\n", NrPcGens + NrCenGens); printf("NqRelativeOrders := [ "); for (i = 1; i <= NrPcGens + NrCenGens; i++) { printf(EXP_FORMAT",", Exponent[i]); if (i % 30 == 0) printf("\n "); } printf(" ];\n"); /* ** Print weight information. */ printf("NqClass := %d;\n", Class); printf("NqRanks := ["); for (i = 1; i <= cl; i++) printf(" %d,", Dimension[i]); printf("];\n"); /* ** Print the epimorphism. It is sufficient to list the images. */ printf("NqImages := [\n"); for (i = 1; i <= NumberOfAbstractGens(); i++) { printf(" [ "); printRawWord(Epimorphism(i)); printf("], # image of generator %d\n", i); } printf("];\n"); /* ** Print the power relations. */ printf("NqPowers := [\n"); for (i = 1; i <= NrPcGens + NrCenGens; i++) if (Exponent[i] != (expo)0 && Power[i] != (word)0 && Power[i]->g != EOW) { printf(" [ %d, ", i); printRawWord(Power[i]); printf(" ],\n"); } printf("];\n"); /* ** Print the conjugate relations. */ printf("NqConjugates := [\n"); for (j = 1; j <= NrPcGens; j++) { for (i = 1; i < j && Wt(i) + Wt(j) <= cl; i++) { printf(" [ %d, %d, ", j, i); printRawWord(Conjugate[j][i]); printf("],\n"); } } for (j = 1; j <= NrPcGens; j++) { for (i = 1; i < j && Wt(i) + Wt(j) <= cl; i++) { if (Exponent[i] == (expo)0) { printf(" [ %d, %d, ", j, -i); printRawWord(Conjugate[j][-i]); printf("],\n"); } } } for (j = 1; j <= NrPcGens; j++) { for (i = 1; i < j && Wt(i) + Wt(j) <= cl; i++) { if (Exponent[j] == (expo)0) { printf(" [ %d, %d, ", -j, i); printRawWord(Conjugate[-j][i]); printf("],\n"); } } } for (j = 1; j <= NrPcGens; j++) { for (i = 1; i < j && Wt(i) + Wt(j) <= cl; i++) { if (Exponent[i] + Exponent[j] == (expo)0) { printf(" [ %d, %d, ", -j, -i); printRawWord(Conjugate[-j][-i]); printf("],\n"); } } } printf("];\n"); printf("NqRuntime := %ld;\n", RunTime()); } nq-2.5.11/src/collect.h000644 000766 000024 00000001262 14550113041 015065 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** collect.h PC Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ extern int UseCombiCollector; extern int UseSimpleCollector; extern int SimpleCollect(expvec lhs, word rhs, expo e); extern int CombiCollect(expvec lhs, word rhs, expo e); extern int Collect(expvec lhs, word rhs, expo e); extern word Solve(word u, word v); extern word Invert(word u); extern word Multiply(word u, word v); extern word Exponentiate(word u, int n); extern word Commutator(word u, word v); nq-2.5.11/src/pc.c000644 000766 000024 00000027257 14550113041 014051 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** pc.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include "nq.h" int Class = 0; int NrPcGens = 0; int NrCenGens = 0; int *Dimension = NULL; word *Generators = NULL; int *Weight = NULL; gen *Commute = NULL; gen *Commute2 = NULL; gen **CommuteList = NULL; gen **Commute2List = NULL; int *NrPcGensList = NULL; expo *Exponent = NULL; word *Power = NULL; word **Conjugate = NULL; def *Definition = NULL; char **PcGenName = NULL; /* ** InitPcPres() initializes those parts of pc-presentation which are ** not initialized in elimMap(). */ void InitPcPres(void) { long i, j, t = 0; if (Verbose) t = RunTime(); Class = 1; Generators = (word*)malloc((2 * NrCenGens + 1) * sizeof(word)); if (Generators == (word*)0) { perror("InitPcPres(), Generators"); exit(2); } Generators += NrCenGens; for (i = -NrCenGens; i <= NrCenGens; i++) { if (i == 0) continue; Generators[i] = (word)malloc(2 * sizeof(gpower)); if (Generators[i] == (word)0) { perror("InitPcPres(), Generators[]"); exit(2); } Generators[i][0].g = i; Generators[i][0].e = (expo)1; Generators[i][1].g = EOW; Generators[i][1].e = (expo)0; } PcGenName = (char **)Allocate((NrCenGens + 1) * sizeof(char *)); Dimension = (int*)malloc((Class + 1) * sizeof(int)); if (Dimension == (int*)0) { perror("InitPcPres(), Dimension"); exit(2); } Dimension[Class] = NrCenGens; Conjugate = (word**)malloc((2 * NrCenGens + 1) * sizeof(word*)); if (Conjugate == (word**)0) { perror("InitPcPres(), Conjugate"); exit(2); } Conjugate += NrCenGens; for (j = 1; j <= NrCenGens; j++) { /* the length of Conjugate[j] is 2*(j-1)+1 */ Conjugate[j] = (word*)malloc((2 * j - 1) * sizeof(word)); if (Conjugate[j] == (word*)0) { perror("InitPcPres(), Conjugate[]"); exit(2); } Conjugate[j] += j - 1; for (i = -(j - 1); i <= j - 1; i++) Conjugate[j][i] = Generators[j]; if (Exponent[j] == (expo)0) { Conjugate[-j] = (word*)malloc((2 * j - 1) * sizeof(word)); if (Conjugate[-j] == (word*)0) { perror("InitPcPres(), Conjugate[]"); exit(2); } Conjugate[-j] += j - 1; for (i = -(j - 1); i <= j - 1; i++) Conjugate[-j][i] = Generators[-j]; } } /* Here central generators change their status to pc-generators. */ NrPcGens += NrCenGens; NrCenGens = 0; if (Verbose) printf("# Initialized pc-presentation (%ld msec).\n", RunTime() - t); } void ExtPcPres(void) { long i, j, c, N, oldsize, newsize, t = 0; word *tmp, **ttmp; if (Verbose) t = RunTime(); Class++; Weight = (int *)realloc(Weight, (NrPcGens + NrCenGens + 1) * sizeof(int)); if (Weight == (int *)0) { perror("InitPcPres, Weight"); exit(2); } tmp = (word*)malloc((2 * (NrPcGens + NrCenGens) + 1) * sizeof(word)); if (tmp == (word *)0) { perror("InitPcPres(), tmp"); exit(2); } tmp += NrPcGens + NrCenGens; for (i = -(NrPcGens + NrCenGens); i <= (NrPcGens + NrCenGens); i++) { if (i == 0) continue; if (i > NrPcGens) Weight[i] = Class; if (i < -NrPcGens || i > NrPcGens) { tmp[i] = (word)malloc(2 * sizeof(gpower)); if (tmp[i] == (word)0) { perror("InitPcPres(), tmp[]"); exit(2); } tmp[i][0].g = i; tmp[i][0].e = (expo)1; tmp[i][1].g = EOW; tmp[i][1].e = (expo)0; } else tmp[i] = Generators[i]; } free(Generators - NrPcGens); Generators = tmp; Dimension = (int*)realloc(Dimension, (Class + 1) * sizeof(int)); if (Dimension == (int*)0) { perror("InitPcPres(), Dimension"); exit(2); } Dimension[Class] = NrCenGens; /* Now Conjugate[] has to be enlarged. */ ttmp = (word**)malloc((2 * (NrPcGens + NrCenGens) + 1) * sizeof(word*)); if (ttmp == (word**)0) { perror("extPcPres(), tmp"); exit(2); } ttmp += NrPcGens + NrCenGens; /* The contents of Conjugate[] must be copied to the new array. */ for (i = -NrPcGens; i <= NrPcGens; i++) ttmp[i] = Conjugate[i]; free(Conjugate - NrPcGens); Conjugate = ttmp; /* ** The next nilpotency class to be calculated is Class+1. Therefore ** commutators of weight Class+1, which are currently trivial, will ** get new generators and tails. For the corresponding conjugates ** space must be created in the array Conjugate[]. ** ** Only those entries in Conjugate[] which do not have exceeded their ** maximal length yet must be enlarged. This business is a little ** bit tricky because the amount by which Conjugate[N], for a ** generator N, has to be enlarged depends on the class of N. ** The generators of highest class do not yet have any conjugates. They ** will get a conjugate relation for each generator of weight 1, ** therefore the size of the array for those generators is ** 2*Dimension[1]+1. The array for generators of Class-1 has to be ** enlarged by 2*Dimension[2] and so on. */ N = NrPcGens + NrCenGens; newsize = 0; for (c = Class; c > Class - c; c--) { oldsize = newsize; /* Compute the new size of the array for generators of class c. ** Those generators get a new conjugate relation for each generator ** of weight Class-c+1. */ newsize += Dimension[ Class - c + 1 ]; for (i = 1; i <= Dimension[c]; i++) { tmp = (word*)malloc((2 * min(N - 1, newsize) + 1) * sizeof(word)); if (tmp == (word*)0) { perror("extPcPres(), tmp"); exit(2); } tmp += min(N - 1, newsize); if (c < Class) { /* Copy the contents to the new array. */ for (j = -oldsize; j <= oldsize; j++) tmp[j] = Conjugate[N][j]; free(Conjugate[N] - oldsize); } Conjugate[N] = tmp; /* Initialise the new space. */ for (j = oldsize + 1; j <= min(N - 1, newsize); j++) Conjugate[N][j] = Conjugate[N][-j] = Generators[N]; if (Exponent[ N ] != (expo)0) { N--; continue; } /* If the generator N is of infinite order, it also has ** conjugate relations `on the other side'. All that has to ** be done is exactly the same as before just for negative N. */ tmp = (word*)malloc((2 * min(N - 1, newsize) + 1) * sizeof(word)); if (tmp == (word*)0) { perror("extPcPres(), tmp"); exit(2); } tmp += min(N - 1, newsize); if (c < Class) { for (j = -oldsize; j <= oldsize; j++) tmp[j] = Conjugate[-N][j]; free(Conjugate[-N] - oldsize); } Conjugate[-N] = tmp; for (j = oldsize + 1; j <= min(N - 1, newsize); j++) Conjugate[-N][j] = Conjugate[-N][-j] = Generators[-N]; N--; } } /* Now the central generators have conjugate relations and so they ** change their status to pc-generators. */ NrPcGens += NrCenGens; NrCenGens = 0; if (Verbose) printf("# Extended pc-presentation (%ld msec).\n", RunTime() - t); } void PrintPcPres(void) { gen g; long i, j, first = 1; if (Gap) putchar('#'); printf(" <"); for (i = 1; i <= NrPcGens; i++) { printGen(i, 'A'); if (i < NrPcGens + NrCenGens) putchar(','); } printf("\n"); if (Gap) putchar('#'); printf(" "); for (; i <= NrPcGens + NrCenGens; i++) { printGen(i, 'A'); if (i < NrPcGens + NrCenGens) putchar(','); } printf(" |"); for (i = 1; i <= NrPcGens + NrCenGens; i++) { if (Exponent[i] != (expo)0) { if (first) { putchar('\n'); first = 0; } else printf(",\n"); if (Gap) putchar('#'); printf(" "); printGen(i, 'A'); printf("^"EXP_FORMAT, Exponent[i]); if (Power[i] != (word)0 && Power[i]->g != EOW) { printf(" = "); printWord(Power[i], 'A'); } } } for (j = 1; j <= NrPcGens; j++) { i = 1; while (i < j && Wt(i) + Wt(j) <= Class + (NrCenGens == 0 ? 0 : 1)) { /* print Conjugate[j][i] */ if (first) { putchar('\n'); first = 0; } else printf(",\n"); if (Gap) putchar('#'); printf(" "); printGen(j, 'A'); putchar('^'); printGen(i, 'A'); if ((g = Conjugate[j][i][1].g) != EOW && Definition[g].h == j && Definition[g].g == i) printf(" =: "); else printf(" = "); printWord(Conjugate[j][i], 'A'); if (Exponent[i] == (expo)0) { if (first) { putchar('\n'); first = 0; } else printf(",\n"); if (Gap) putchar('#'); printf(" "); printGen(j, 'A'); putchar('^'); putchar('('); printGen(i, 'A'); printf("^-1) = "); printWord(Conjugate[j][-i], 'A'); } if (0 && Exponent[j] == (expo)0) { if (first) { putchar('\n'); first = 0; } else printf(",\n"); if (Gap) putchar('#'); printf(" "); putchar('('); printGen(j, 'A'); printf("^-1)^"); printGen(i, 'A'); printf(" = "); printWord(Conjugate[-j][i], 'A'); } if (0 && Exponent[i] + Exponent[j] == (expo)0) { if (first) { putchar('\n'); first = 0; } else printf(",\n"); if (Gap) putchar('#'); printf(" "); putchar('('); printGen(j, 'A'); printf("^-1)^"); putchar('('); printGen(i, 'A'); printf("^-1) = "); printWord(Conjugate[-j][-i], 'A'); } i++; } } printf(" >\n"); printf("\n# Class : %d\n", Class); printf("# Nr of generators of each class :"); for (i = 1; i <= Class; i++) printf(" %d", Dimension[i]); printf("\n"); } void PrintDefs(void) { int i; gen g, h, comm[1000]; for (g = 1; g <= NrPcGens; g++) if (Definition[g].h > 0) { printf("# "); printGen(g, 'A'); printf(" := "); if (Definition[g].g == 0) { /* The definition is a power relation. */ printGen(Definition[g].h, 'A'); printf("^"); printf(EXP_FORMAT"\n", Exponent[ Definition[g].h ]); } else { /* The definition is a commutator relation. */ i = 0; h = g; while (Definition[h].h > 0) { comm[i++] = Definition[h].g; h = Definition[h].h; } comm[i++] = h; printf("[ "); while (--i > 0) { printGen(comm[i], 'A'); printf(", "); } printGen(comm[i], 'A'); printf(" ]\n"); } } } #if 0 void sizePcPres(void) { int size = 0, nrPt = 0; gen g, h; nrPt += 1; size += sizeof(gpower); /* Identity */ /* First calculate the size of all those arrays. */ nrPt += 1; size += Class * sizeof(int); /* Dimension[]. */ nrPt += 1 + 2 * NrPcGens; size += (2 * NrPcGens + 1) * sizeof(word); /* Generators[]. */ size += 2 * NrPcGens * 2 * sizeof(gpower); /* Generators. */ nrPt += 1; size += NrPcGens * sizeof(int); /* Weight[]. */ nrPt += 1; size += NrPcGens * sizeof(gen); /* Commute[]. */ nrPt += 1; size += NrPcGens * sizeof(expo); /* Exponent[]. */ nrPt += 1; size += NrPcGens * sizeof(Definition); /* Definition[]. */ nrPt += 1; size += NrPcGens * sizeof(word); /* Power[]. */ for (g = 1; g <= NrPcGens; g++) if (Exponent[g] != (expo)0) { nrPt += 1; size += sizeof(gpower) * (WordLength(Power[g]) + 1); } nrPt += 1; size += (2 * NrPcGens + 1) * sizeof(word*); /* Conjugate[]. */ for (h = 1; h <= NrPcGens; h++) { nrPt += 1; size += sizeof(word); if (Exponent[h] == (expo)0) { nrPt += 1; size += sizeof(word); } for (g = 1; g < h; g++) if (Wt(h) + Wt(g) <= Class + (NrCenGens == 0 ? 0 : 1)) { nrPt += 1; size += sizeof(word); size += sizeof(gpower) * (WordLength(Conjugate[h][g]) + 1); if (Exponent[h] == (expo)0) { nrPt += 1; size += sizeof(word); size += sizeof(gpower) * (WordLength(Conjugate[-h][ g]) + 1); } if (Exponent[g] == (expo)0) { nrPt += 1; size += sizeof(word); size += sizeof(gpower) * (WordLength(Conjugate[ h][-g]) + 1); } if (Exponent[h] + Exponent[g] == (expo)0) { nrPt += 1; size += sizeof(word); size += sizeof(gpower) * (WordLength(Conjugate[-h][-g]) + 1); } } } printf("size of the presentation : %d bytes\n", size); printf("pointers in the presentation : %d\n", nrPt); } #endif nq-2.5.11/src/addgen.c000644 000766 000024 00000013534 14550113041 014662 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** addgen.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include "config.h" #include "nq.h" #include "presentation.h" #include "relations.h" /* for ExtendEpim */ /* ** Set up a list of Commute[] arrays. The array in CommuteList[c] is ** Commute[] as if the current group had class c. CommuteList[Class+1][] ** is the same as Commute[]. */ void SetupCommuteList(void) { int c; gen g, h; if (CommuteList != (gen**)0) { for (c = 1; c <= Class; c++) Free(CommuteList[c]); Free(CommuteList); } CommuteList = (gen**)Allocate((Class + 2) * sizeof(gen*)); for (c = 1; c <= Class + 1; c++) { CommuteList[ c ] = (gen*)Allocate((NrPcGens + NrCenGens + 1) * sizeof(gen)); for (g = 1; g <= NrPcGens; g++) { for (h = g + 1; Wt(g) + Wt(h) <= c; h++) ; CommuteList[c][g] = h - 1; } for (; g <= NrPcGens + NrCenGens; g++) CommuteList[c][g] = g; } } void SetupCommute2List(void) { int c; gen g, h; if (Commute2List != (gen**)0) { for (c = 1; c <= Class; c++) Free(Commute2List[c]); Free(Commute2List); } Commute2List = (gen**)Allocate((Class + 2) * sizeof(gen*)); for (c = 1; c <= Class + 1; c++) { Commute2List[ c ] = (gen*)Allocate((NrPcGens + NrCenGens + 1) * sizeof(gen)); for (g = 1; g <= NrPcGens && 3 * Wt(g) <= c; g++) { for (h = CommuteList[c][g]; h > g && 2 * Wt(h) + Wt(g) > c; h--) ; Commute2List[c][g] = h; } for (; g <= NrPcGens + NrCenGens; g++) Commute2List[c][g] = g; } } void SetupNrPcGensList(void) { int c; if (NrPcGensList != (int *)0) Free(NrPcGensList); NrPcGensList = (int *)Allocate((Class + 2) * sizeof(int)); if (Class == 0) { NrPcGensList[ Class + 1 ] = NrCenGens; return; } NrPcGensList[1] = Dimension[1]; for (c = 2; c <= Class; c++) NrPcGensList[ c ] = NrPcGensList[c - 1] + Dimension[c]; NrPcGensList[ Class + 1 ] = NrPcGensList[ Class ] + NrCenGens; printf("## Sizes:"); for (c = 1; c <= Class + 1; c++) printf(" %d", NrPcGensList[c]); printf("\n"); } /* ** Add new/pseudo generators to the power conjugate presentation. */ void AddGenerators(void) { long t = 0; gen i, j; int l, G; word w; if (Verbose) t = RunTime(); G = NrPcGens; /* ** Extend the definitions array by a safe amount. We could compute ** the exact number of new generators to be introduced, but is it ** worth the effort? */ Definition = (def*)realloc(Definition, (G + (Dimension[1] + 1) * NrPcGens + 1 + NumberOfAbstractGens()) * sizeof(def)); if (Definition == (def*)0) { perror("AddGenerators(), Definition"); exit(2); } G += ExtendEpim(); /* Firstly mark all definitions in the pc-presentation. */ for (j = Dimension[1] + 1; j <= NrPcGens; j++) Conjugate[ Definition[j].h ][ Definition[j].g ] = (word)((unsigned long) (Conjugate[Definition[j].h][Definition[j].g]) | 0x1); /* Secondly new generators are defined. */ /* Powers */ for (j = 1; j <= NrPcGens; j++) if (Exponent[j] != (expo)0) { G++; l = 0; if (Power[j] != (word)0) l = WordLength(Power[ j ]); w = (word)malloc((l + 2) * sizeof(gpower)); if (Power[j] != (word)0) WordCopy(Power[ j ], w); w[l].g = G; w[l].e = (expo)1; w[l + 1].g = EOW; w[l + 1].e = (expo)0; if (Power[ j ] != (word)0) free(Power[ j ]); Power[ j ] = w; Definition[ G ].h = j; Definition[ G ].g = (gen)0; if (Verbose) { printf("# generator %d = ", G); printGen(j, 'A'); printf("^"EXP_FORMAT"\n", Exponent[j]); } } /* Conjugates */ /* New/pseudo generators are only defined for commutators of the ** form [x,1], the rest is computed in Tails(). */ for (j = 1; j <= NrPcGens; j++) for (i = 1; i <= min(j - 1, Dimension[1]); i++) if (!((unsigned long)(Conjugate[j][i]) & 0x1)) { G++; l = WordLength(Conjugate[ j ][ i ]); w = (word)malloc((l + 2) * sizeof(gpower)); WordCopy(Conjugate[j][i], w); w[l].g = G; w[l].e = (expo)1; w[l + 1].g = EOW; w[l + 1].e = (expo)0; if (Conjugate[j][i] != Generators[j]) free(Conjugate[j][i]); Conjugate[j][i] = w; Definition[ G ].h = j; Definition[ G ].g = i; if (Verbose) { printf("# generator %d = [", G); printGen(j, 'A'); printf(", "); printGen(i, 'A'); printf("]\n"); } } if (G == NrPcGens) { printf("## Warning : no new generators in addGenerators()\n"); return; } /* Thirdly remove the marks from the definitions.*/ for (j = Dimension[1] + 1; j <= NrPcGens; j++) Conjugate[Definition[j].h][Definition[j].g] = (word)((unsigned long) (Conjugate[Definition[j].h][Definition[j].g]) & ~0x1); /* Fourthly enlarge the necessary arrays, so that the collector works. */ /* Shrink Definition[] to the right size. */ Definition = (def*)realloc(Definition, (G + 1) * sizeof(def)); /* Enlarge Exponent[] ... */ Exponent = (expo *)realloc(Exponent, (G + 1) * sizeof(expo)); if (Exponent == (expo *)0) { perror("addGenerators(), Exponent"); exit(2); } for (i = NrPcGens + 1; i <= G; i++) Exponent[i] = (expo)0; /* ... and Power[]. */ Power = (word *)realloc(Power, (G + 1) * sizeof(word)); if (Power == (word *)0) { perror("addGenerators(), Power"); exit(2); } for (i = NrPcGens + 1; i <= G; i++) Power[i] = (word)0; Weight = (int *)realloc(Weight, (G + 1) * sizeof(long)); if (Weight == (int *)0) { perror("addGenerators(), Weight"); exit(2); } for (i = NrPcGens + 1; i <= G; i++) Weight[i] = Class + 1; NrCenGens = G - NrPcGens; SetupCommuteList(); SetupCommute2List(); SetupNrPcGensList(); Commute = CommuteList[ Class + 1 ]; Commute2 = Commute2List[ Class + 1 ]; if (Verbose) printf("# Added new/pseudo generators (%ld msec).\n", RunTime() - t); } nq-2.5.11/src/time.c000644 000766 000024 00000001353 14550113041 014372 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** time.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include "config.h" #include "time.h" #include int CombiCollectionTime = 0; int SimpleCollectionTime = 0; int IntMatTime = 0; void PrintCollectionTimes(void) { if (CombiCollectionTime > 0) printf("## Total time spent in combinatorial collection: %d\n", CombiCollectionTime); if (SimpleCollectionTime > 0) printf("## Total time spent in simple collection: %d\n", SimpleCollectionTime); printf("## Total time spent on integer matrices: %d\n", IntMatTime); } nq-2.5.11/src/presentation.h000644 000766 000024 00000004234 14550113041 016155 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** presentation.h Presentation Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #ifndef PRESENTATION_H #define PRESENTATION_H #include #include #include #include "mem.h" #include "genexp.h" #include "pc.h" /* for Class */ /* ** The following are used as first argument to the function ** SetEvalFunction(). */ typedef enum { TNUM, TGEN, TMULT, TPOW, TCONJ, TCOMM, TREL, TDRELL, TDRELR, TENGEL, TLAST } EvalType; typedef word (*EvalFunc)(word a, void *b); /* ** The following data structure will represent a node in an expression ** tree. The component type can indicate 3 basic objects : numbers, ** generators and binary operators. There are currently 5 binary ** operations. There is now place to also hold a ternary operation: Engel ** commutators. */ struct _node { EvalType type; union { int n; /* stores numbers */ gen g; /* stores generators */ struct { struct _node *l, *r; /* stores bin ops */ struct _node *e; /* and Engel relations */ } op; } cont; }; typedef struct _node node; extern void PrintGen(gen g); extern void PrintPresentation(FILE *fp); extern void Presentation(FILE *fp, const char *filename); extern node *ReadWord(void); extern const char *GenName(gen g); extern int NumberOfAbstractGens(void); extern int NumberOfIdenticalGens(void); extern int NumberOfGens(void); extern int NumberOfRels(void); extern node *FirstRelation(void); extern node *NextRelation(void); extern node *CurrentRelation(void); extern node *NthRelation(int n); extern void SetEvalFunc(EvalType type, EvalFunc function); extern void **EvalRelations(void); extern void *EvalNode(node *n); extern void FreeNode(node *n); extern void PrintNode(node *n); extern void InitPrint(FILE *); extern int NrIdenticalGensNode; extern gen *IdenticalGenNumberNode; extern int NumberOfIdenticalGensNode(node *n); #endif nq-2.5.11/src/trmetab.c000644 000766 000024 00000010060 14550113041 015065 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** trmetab.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include "nq.h" #include "engel.h" #include "glimt.h" static int NrWords = 0; static int TrMetAb = 0; static void Error(word v, word w) { printf("Overflow in collector computing [ "); printWord(v, 'a'); printWord(w, 'a'); printf(" ]\n"); } static void eval8Power(word u) { word uu; int needed; /* printf( "eval8Power() called with : " ); printWord( u, 'A' ); putchar( '\n' ); */ uu = Exponentiate(u, 8); needed = addRow(ExpVecWord(uu)); if (needed) { printf("# ("); printWord(u, 'A'); printf(")^8\n"); } free(uu); } static void evalTrMetAbRel(word *ul) { word u, uu, vv; long i, needed; /* printf( "evalTrMetAbRel() called with : " ); for( i = 0; i < 6; i++ ) { printWord( ul[i], 'A' ); printf( " " ); } putchar( '\n' ); */ NrWords++; /* Calculate [ [ ul[0], ul[1] ], ul[2] ] */ if ((u = Commutator(ul[0], ul[1])) == (word)0) { Error(ul[0], ul[1]); return; } if ((uu = Commutator(u, ul[2])) == (word)0) { Error(u, ul[2]); return; } free(u); /* Calculate [ [ ul[3], ul[4] ], ul[5] ] */ if ((u = Commutator(ul[3], ul[4])) == (word)0) { Error(ul[3], ul[4]); return; } if ((vv = Commutator(u, ul[5])) == (word)0) { Error(u, ul[5]); return; } free(u); u = Commutator(uu, vv); free(uu); free(vv); needed = addRow(ExpVecWord(u)); if (needed) { printf("# [ ["); for (i = 0; i < 3; i++) { printWord(ul[i], 'A'); if (i != 2) printf(","); } printf("], ["); for (i = 3; i < 6; i++) { printWord(ul[i], 'A'); if (i != 5) printf(","); } printf("] ]\n"); } free(u); } static void buildTuple(word *ul, long i, gen g, long wt, long which) { long save_wt; word u; if (wt == 0 && which == 5 && i > 0) { eval8Power(ul[5]); } if (wt == 0 && which == 0 && i > 0) { evalTrMetAbRel(ul); return; } if (i > 0 && which > 0) buildTuple(ul, 0, 1, wt, which - 1); if (g > NrPcGens) return; save_wt = wt; u = ul[ which ]; while (!EarlyStop && g <= NrPcGens && Wt(g) <= wt) { u[i].g = g; u[i].e = (expo)0; u[i + 1].g = EOW; while (!EarlyStop && Wt(g) <= wt) { u[i].e++; if (Exponent[g] > (expo)0 && Exponent[g] == u[i].e) break; wt -= Wt(g); buildTuple(ul, i + 1, g + 1, wt, which); /* now build the same word with negative exponent */ if (!EarlyStop && !SemigroupOnly && Exponent[g] == (expo)0) { u[i].g *= -1; buildTuple(ul, i + 1, g + 1, wt, which); u[i].g *= -1; } } wt = save_wt; g++; } u[i].g = EOW; u[i].e = (expo)0; if (EarlyStop || SemigroupOnly || !SemigroupFirst) return; while (!EarlyStop && g <= NrPcGens && Wt(g) <= wt) { u[i].g = -g; u[i].e = (expo)0; u[i + 1].g = EOW; while (!EarlyStop && Wt(g) <= wt) { u[i].e++; if (Exponent[g] > (expo)0 && Exponent[g] == u[i].e) break; wt -= Wt(g); buildTuple(ul, i + 1, g + 1, wt, which); if (EarlyStop) return; /* now build the same word with negative exponent */ if (!EarlyStop && !SemigroupOnly && Exponent[g] == (expo)0) { u[i].g *= -1; buildTuple(ul, i + 1, g + 1, wt, which); u[i].g *= -1; } } wt = save_wt; g++; } u[i].g = EOW; u[i].e = (expo)0; } void EvalTrMetAb(void) { word u, ul[6]; int i, c; if (!TrMetAb) return; for (i = 0; i < 6; i++) ul[i] = (word)Allocate((NrPcGens + NrCenGens + 1) * sizeof(gpower)); u = ul[0]; for (i = 1; i <= NrCenGens; i++) { u[0].g = i; u[0].e = (expo)1; u[1].g = EOW; u[1].e = (expo)0; eval8Power(u); } for (c = 2; !EarlyStop && c <= Class + 1; c++) { for (i = 0; i < 6; i++) { ul[i][0].g = EOW; ul[i][0].e = (expo)0; } NrWords = 0; if (Verbose) printf("# Checking tuples of words of weight %d\n", c); buildTuple(ul, 0, 1, c, 5); if (Verbose) printf("# Checked %d words.\n", NrWords); } for (i = 0; i < 6; i++) free(ul[i]); } void InitTrMetAb(int t) { TrMetAb = t; } nq-2.5.11/src/engel.c000644 000766 000024 00000022532 14550113041 014530 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** engel.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include "nq.h" #include "engel.h" #include "presentation.h" #include "glimt.h" static int LeftEngel = 0, RightEngel = 0, Engel = 0; static int RevEngel = 0; static int NrEngelGens = 0; static int NrWords; static int Needed; static word A; int SemigroupOnly = 0; int SemigroupFirst = 0; int CheckFewInstances = 0; int ReverseOrder = 0; static void Error(word v, word w, char type) { printf("Overflow in collector computing [ "); printWord(v, 'a'); if (type == 'e') printf(" , %d ", Engel); if (type == 'l') printf(" , %d ", LeftEngel); if (type == 'r') printf(" , %d ", RightEngel); printWord(w, 'a'); printf(" ]\n"); } word EngelCommutator(word v, word w, int engel) { long n; word v1; if (Class + 1 < engel) { v1 = (word)Allocate(sizeof(gpower)); v1[0].g = EOW; v1[0].e = (expo)0; return v1; } /* ** If the current class reaches the weight of the engel condition, ** then we want to speed up the evaluation of the engel relations by ** evaluating each commutator only with the required precision. The ** last commutator of an Engel-n commutator has to be evaluated in ** class (Class+1) quotient (i.e. the full group), the second last in ** the class Class quotient, etc. The first commutator has to be ** evaluated in the class (Class+1-(n-1)) quotient. See also the ** function SetupCommuteList() in addgen.c */ n = 1; Class = Class - (engel - 1); if ((v = Commutator(v, w)) == (word)0) return (word)0; n++; while (n <= engel) { Class++; if ((v1 = Commutator(v, w)) == (word)0) return (word)0; Free(v); v = v1; n++; } return v; } static void evalEngelRel(word v, word w) { word comm; long needed; /* printf( "evalEngelRel() called with : " ); printWord( v, 'A' ); printf( " " ); printWord( w, 'A' ); putchar( '\n' ); */ NrWords++; /* Calculate [ v, w, .., w ] */ if ((comm = EngelCommutator(v, w, Engel)) == (word)0) { Error(v, w, 'e'); return; } needed = addRow(ExpVecWord(comm)); if (needed) { printf("# [ "); printWord(v, 'a'); printf(", %d ", Engel); printWord(w, 'a'); printf(" ]\n"); } if (CheckFewInstances) Needed |= needed; else Needed = 1; Free(comm); } static void buildPairs(word u, long i, gen g, word v, long wt, long which) { long save_wt; /* First we check if the Engel condition is trivially satisfied for weight reasons. The commutator [u, n v] is 1 if w(u) + n*w(v) > Class+1. */ if (which == 1 && i == 1 && Wt(abs(u[0].g)) + Engel * Wt(abs(v[0].g)) > Class + 1) return; if (wt == 0 && which == 1 && i > 0) { evalEngelRel(u, v); return; } /* Keep u and start to build v. */ if (i > 0 && which == 2) buildPairs(v, 0, 1, u, wt, 1); if (g > NrPcGens) return; save_wt = wt; while (!EarlyStop && g <= NrPcGens && Wt(g) <= Class + 1 - Engel && Wt(g) <= wt) { u[i].g = g; u[i].e = (expo)0; u[i + 1].g = EOW; while (!EarlyStop && Wt(g) <= wt) { u[i].e++; if (Exponent[g] > (expo)0 && Exponent[g] == u[i].e) break; wt -= Wt(g); buildPairs(u, i + 1, g + 1, v, wt, which); /* now build the same word with negative exponent */ if (!EarlyStop && !SemigroupOnly && Exponent[g] == (expo)0) { u[i].g *= -1; buildPairs(u, i + 1, g + 1, v, wt, which); u[i].g *= -1; } } wt = save_wt; g++; } u[i].g = EOW; u[i].e = (expo)0; if (EarlyStop || SemigroupOnly || !SemigroupFirst) return; while (!EarlyStop && g <= NrPcGens && Wt(g) <= Class + 1 - Engel && Wt(g) <= wt) { u[i].g = -g; u[i].e = (expo)0; u[i + 1].g = EOW; while (!EarlyStop && Wt(g) <= wt) { u[i].e++; if (Exponent[g] > (expo)0 && Exponent[g] == u[i].e) break; wt -= Wt(g); buildPairs(u, i + 1, g + 1, v, wt, which); if (EarlyStop) return; /* now build the same word with negative exponent */ if (!EarlyStop && !SemigroupOnly && Exponent[g] == (expo)0) { u[i].g *= -1; buildPairs(u, i + 1, g + 1, v, wt, which); u[i].g *= -1; } } wt = save_wt; g++; } u[i].g = EOW; u[i].e = (expo)0; } static void evalEngel(void) { word u, v; long c; u = (word)Allocate((NrPcGens + NrCenGens + 1) * sizeof(gpower)); v = (word)Allocate((NrPcGens + NrCenGens + 1) * sizeof(gpower)); /* For `production purposes' I don't want to run through */ /* those classes that don't yield non-trivial instances of the */ /* Engel law. Therefore, we stop as soon as we ran through a */ /* class that didn't yield any non-trivial instances. This is */ /* done through the static variable Needed which is set by */ /* evalEngelRel() as soon as a non-trivial instance has been */ /* found if the flag CheckFewInstances (option -c) is set. */ if (ReverseOrder) for (c = Class + 1; !EarlyStop && c >= 2; c--) { u[0].g = EOW; u[0].e = (expo)0; v[0].g = EOW; v[0].e = (expo)0; NrWords = 0; if (Verbose) printf("# Checking pairs of words of weight %ld\n", c); buildPairs(u, 0, 1, v, c, 2); if (Verbose) printf("# Checked %d words.\n", NrWords); } else { Needed = 1; for (c = 2; !EarlyStop && Needed && c <= Class + 1; c++) { Needed = 0; u[0].g = EOW; u[0].e = (expo)0; v[0].g = EOW; v[0].e = (expo)0; NrWords = 0; if (Verbose) printf("# Checking pairs of words of weight %ld\n", c); buildPairs(u, 0, 1, v, c, 2); if (Verbose) printf("# Checked %d words.\n", NrWords); } for (; !EarlyStop && c <= Class + 1; c++) printf("# NOT checking pairs of words of weight %ld\n", c); } free(u); free(v); } static void evalRightEngelRel(word w) { word comm; long n, needed; /* printf( "evalRightEngelRel() called with : " );*/ /* printWord( w, 'A' );*/ /* putchar( '\n' );*/ NrWords++; /* Calculate [ a, w, .., w ] */ if ((comm = EngelCommutator(A, w, RightEngel)) == (word)0) { Error(A, w, 'r'); return; } needed = addRow(ExpVecWord(comm)); if (needed) { printf("# [ "); printWord(A, 'a'); for (n = RightEngel - 1; n >= 0; n--) { printf(", "); printWord(w, 'a'); } printf(" ]\n"); } if (CheckFewInstances) Needed |= needed; else Needed = 1; Free(comm); } static void evalLeftEngelRel(word w) { word comm; long n, needed; /* printf( "evalLeftEngelRel() called with : " );*/ /* printWord( w, 'A' );*/ /* putchar( '\n' );*/ NrWords++; /* Calculate [ w, a, .., a ] */ if ((comm = EngelCommutator(w, A, LeftEngel)) == (word)0) { Error(w, A, 'l'); return; } needed = addRow(ExpVecWord(comm)); if (needed) { printf("# [ "); printWord(w, 'a'); for (n = LeftEngel - 1; n >= 0; n--) { printf(", "); printWord(A, 'a'); } printf(" ]\n"); } if (CheckFewInstances) Needed |= needed; else Needed = 1; Free(comm); } static void buildWord(word u, long i, gen g, long wt) { long save_wt; if (wt == 0 && i > 0) { if (RightEngel) evalRightEngelRel(u); if (LeftEngel) evalLeftEngelRel(u); return; } if (g > NrPcGens) return; save_wt = wt; while (!EarlyStop && g <= NrPcGens && Wt(g) <= wt) { u[i].g = g; u[i].e = (expo)0; u[i + 1].g = EOW; while (!EarlyStop && Wt(g) <= wt) { u[i].e++; if (Exponent[g] > (expo)0 && Exponent[g] == u[i].e) break; wt -= Wt(g); buildWord(u, i + 1, g + 1, wt); /* now build the same word with negative exponent */ if (!EarlyStop && !SemigroupOnly && !SemigroupFirst && Exponent[g] == (expo)0) { u[i].g *= -1; buildWord(u, i + 1, g + 1, wt); u[i].g *= -1; } } wt = save_wt; g++; } u[i].g = EOW; u[i].e = (expo)0; if (EarlyStop || SemigroupOnly || !SemigroupFirst) return; while (!EarlyStop && g <= NrPcGens && Wt(g) <= wt) { u[i].g = -g; u[i].e = (expo)0; u[i + 1].g = EOW; while (!EarlyStop && Wt(g) <= wt) { u[i].e++; if (Exponent[g] > (expo)0 && Exponent[g] == u[i].e) break; wt -= Wt(g); buildWord(u, i + 1, g + 1, wt); } wt = save_wt; g++; } u[i].g = EOW; u[i].e = (expo)0; } static void evalLREngel(void) { word u; int n; long cl; A = (word)Allocate(2 * sizeof(gpower)); u = (word)Allocate((NrPcGens + NrCenGens + 1) * sizeof(gpower)); for (n = 1; !EarlyStop && n <= NrEngelGens; n++) { if (RevEngel) A[0].g = NumberOfAbstractGens() - n + 1; else A[0].g = n; A[0].e = (expo)1; A[1].g = EOW; A[1].e = (expo)0; Needed = 1; for (cl = 2; !EarlyStop && Needed && cl <= Class + 1; cl++) { Needed = 0; u[0].g = EOW; u[0].e = (expo)0; NrWords = 0; if (Verbose) printf("# Checking words of weight %ld\n", cl - 1); buildWord(u, 0, 1, cl - 1); if (Verbose) printf("# Checked %d words.\n", NrWords); } for (; !EarlyStop && cl <= Class + 1; cl++) printf("# NOT checking words of weight %ld\n", cl); } free(u); free(A); } void EvalEngel(void) { long t = 0; if (Verbose) t = RunTime(); if (LeftEngel || RightEngel) evalLREngel(); if (Engel) evalEngel(); if (Verbose) printf("# Evaluated Engel condition (%ld msec).\n", RunTime() - t); } void InitEngel(int l, int r, int v, int e, int n) { LeftEngel = l; RightEngel = r; RevEngel = v; Engel = e; NrEngelGens = n; } nq-2.5.11/src/relations.c000644 000766 000024 00000017532 14550113041 015442 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** relations.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include #include "relations.h" #include "nq.h" #include "glimt.h" #include "instances.h" static word *Image; int EvalSingleRelation(node *r) { word w; expvec ev; int needed; if ((w = (word)EvalNode(r)) != (void *)0) { ev = ExpVecWord(w); Free(w); needed = addRow(ev); } else { printf("Evaluation "); if (!Verbose) { printf("of "); PrintNode(r); } printf("failed.\n"); needed = 0; } return needed; } void EvalAllRelations(void) { long t = 0; node *r; if (Verbose) t = RunTime(); r = FirstRelation(); while (!EarlyStop && r != (node *)0) { if (Verbose) { printf("# Evaluating: "); PrintNode(r); printf("\n"); } if (NumberOfIdenticalGensNode(r) > 0) EvalIdenticalRelation(r); else EvalSingleRelation(r); r = NextRelation(); } if (Verbose) printf("# Evaluated Relations (%ld msec).\n", RunTime() - t); } /* ** InitEpim() sets up the map from the generators of a finitely presented ** group onto the generators of a free abelian group. It also sets up ** the necessary data structures for collection. */ void InitEpim(void) { long i, t = 0, nrGens; if (Verbose) t = RunTime(); /* Set the number of central generators to the number of generators ** in the finite presentation. */ nrGens = NumberOfAbstractGens(); NrCenGens = nrGens; /* Initialize Exponent[]. */ Exponent = (expo*) calloc((NrCenGens + 1), sizeof(expo)); if (Exponent == (expo*)0) { perror("initEpim(), Exponent"); exit(2); } /* Initialize Weight[]. */ Weight = (int *)Allocate((NrCenGens + 1) * sizeof(int)); for (i = 1; i <= NrCenGens; i++) Weight[i] = Class + 1; /* initialize the epimorphism onto the pc-presentation. */ Image = (word*)malloc((nrGens + 1) * sizeof(word)); if (Image == (word*)0) { perror("initEpim(), Image"); exit(2); } for (i = 1; i <= nrGens; i++) { Image[i] = (word)malloc(2 * sizeof(struct gpower)); if (Image[i] == (word)0) { perror("initEpim(), Image[]"); exit(2); } Image[i][0].g = i; Image[i][0].e = (expo)1; Image[i][1].g = EOW; Image[i][1].e = (expo)0; } SetupCommuteList(); SetupCommute2List(); SetupNrPcGensList(); Commute = CommuteList[ Class + 1 ]; Commute2 = Commute2List[ Class + 1 ]; if (Verbose) printf("# Initialized epimorphism (%ld msec).\n", RunTime() - t); } int ExtendEpim(void) { int j, l, G, nrGens; word w; G = NrPcGens; nrGens = NumberOfAbstractGens(); /* If there is an epimorphism, we have to add pseudo-generators ** to the right hand side of images which are not definitions. */ for (j = 1; j <= Dimension[1]; j++) Image[ -Definition[j].h ] = (word)((unsigned long)(Image[-Definition[j].h]) | 0x1); for (j = 1; j <= nrGens; j++) if (!((unsigned long)(Image[j]) & 0x1)) { G++; l = 0; if (Image[j] != (word)0) l = WordLength(Image[ j ]); w = (word)malloc((l + 2) * sizeof(gpower)); if (Image[j] != (word)0) WordCopy(Image[ j ], w); w[l].g = G; w[l].e = (expo)1; w[l + 1].g = EOW; w[l + 1].e = (expo)0; if (Image[ j ] != (word)0) free(Image[ j ]); Image[ j ] = w; Definition[ G ].h = -j; Definition[ G ].g = (gen)0; } for (j = 1; j <= Dimension[1]; j++) Image[ -Definition[j].h ] = (word)((unsigned long)(Image[-Definition[j].h]) & ~0x1); return G - NrPcGens; } int ElimAllEpim(int n, expvec *M, gen *renumber) { int i, j, l, nrGens; word w; nrGens = NumberOfAbstractGens(); /* first we eliminate ALL central generators that occur in the ** epimorphism. */ for (j = 1; j <= Dimension[1]; j++) Image[ -Definition[j].h ] = (word)((unsigned long)(Image[-Definition[j].h]) | 0x1); for (j = 1, i = 0; j <= nrGens; j++) if (!((unsigned long)(Image[j]) & 0x1)) { l = WordLength(Image[j]); w = (word)Allocate((l + NrCenGens + 1 - n) * sizeof(gpower)); WordCopy(Image[j], w); l--; l += appendExpVector(w[l].g + 1 - NrPcGens, M[i], w + l, renumber); if (Image[j] != (word)0) free(Image[j]); if (l == 1) { Image[j] = (word)0; free(w); } else Image[j] = (word)realloc(w, l * sizeof(gpower)); i++; } for (j = 1; j <= Dimension[1]; j++) Image[ -Definition[j].h ] = (word)((unsigned long)(Image[-Definition[j].h]) & ~0x1); return i; } void ElimEpim(void) { long i, j, h, l, n = 0, t = 0; gen *renumber; expvec *M; word w; if (Verbose) t = RunTime(); M = MatrixToExpVecs(); renumber = (gen*) calloc((NrCenGens + 1), sizeof(gen)); if (renumber == (gen*)0) { perror("ElimEpim(), renumber"); exit(2); } /* first assign a new number to each generator which is not to be eliminated. */ for (h = 1, i = 0; h <= NrCenGens; h++) if (i >= NrRows || h != Heads[i]) renumber[ h ] = h - n; else if (M[i][h] != (expo)1) { /* h will become a torsion element */ renumber[ h ] = h - n; Exponent[ renumber[h] ] = M[i][h]; i++; } else { /* h will be eliminated. */ n++; i++; } /* allocate memory for Power[], note that n is the number of generators to be eliminated. */ Power = (word*) calloc((NrCenGens - n + 1), sizeof(word)); if (Power == (word*)0) { perror("ElimEpim(), Power"); exit(2); } /* allocate memory for Definition[]. */ Definition = (def*)calloc((NrCenGens - n + 1), sizeof(def)); if (Definition == (def*)0) { perror("ElimEpim(), Definition"); exit(2); } /* Now eliminate and renumber generators. */ for (h = 1, i = 0; h <= NrCenGens; h++) { /* h runs through all generators. Only if a generator is ** encountered that occurs as the i-th head we have to work. */ if (i >= NrRows || h != Heads[i]) { /* generator i survives and does not get a power relation */ Image[h][0].g = renumber[ h ]; Definition[ renumber[h] ].h = -h; Definition[ renumber[h] ].g = 0; continue; } /* From here on we have that h = Heads[i]. */ w = (word)malloc((NrCenGens + 1 - h) * sizeof(gpower)); if (w == (word)0) { perror("ElimEpim(), w"); exit(2); } /* Copy the exponent vector M[i] into w. */ for (l = 0, j = h + 1; j <= NrCols; j++) if (M[i][j] > (expo)0) { w[l].g = -renumber[j]; w[l].e = M[i][j]; l++; } else if (M[i][j] < (expo)0) { w[l].g = renumber[j]; w[l].e = -M[i][j]; l++; } w[l].g = EOW; w[l].e = (expo)0; l++; if (M[i][h] == (expo)1) { /* generator h has to be eliminated. */ free(Image[h]); Image[h] = (word)realloc(w, l * sizeof(gpower)); } else { /* generator h survives and gets a power relation. */ Image[h][0].g = renumber[ h ]; Definition[ renumber[h] ].h = -h; Definition[ renumber[h] ].g = 0; Power[ renumber[h]] = (word)realloc(w, l * sizeof(gpower)); } i++; } /* Now adjust the sizes of the arrays */ assert(Commute == CommuteList[ Class + 1 ]); Commute = (gen*)realloc(Commute, (NrCenGens + 1 - n) * sizeof(gen)); CommuteList[ Class + 1 ] = Commute; Exponent = (expo*)realloc(Exponent, (NrCenGens + 1 - n) * sizeof(expo)); free(renumber); freeExpVecs(M); NrCenGens -= n; if (Verbose) printf("# Eliminated generators (%ld msec).\n", RunTime() - t); } void PrintEpim(void) { long i, nrGens; if (Image == (word*)0) { printf("# No map set.\n"); return; } nrGens = NumberOfAbstractGens(); for (i = 1; i <= nrGens; i++) { printf("# "); printf("%s |---> ", GenName(i)); printWord(Image[i], 'A'); putchar('\n'); } } word Epimorphism(gen g) { /* Do we have an abstract generator or an identical generator ? */ if (g <= NumberOfAbstractGens()) return Image[g]; if (Instances == (word *)0) { printf("## Instances not initialised\n"); return (word)0; } g = IdenticalGenNumberNode[ g - NumberOfAbstractGens() ]; return Instances[ g ]; } nq-2.5.11/src/system.h000644 000766 000024 00000000545 14550113041 014767 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** system.h NQ Werner Nickel */ #ifndef SYSTEM_H #define SYSTEM_H extern void SetTimeOut(int nsec); extern void TimeOutOn(void); extern void TimeOutOff(void); extern void CatchSignals(void); extern long RunTime(void); #endif nq-2.5.11/src/genexp.h000644 000766 000024 00000002356 14550113041 014733 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** genexp.h PC Werner Nickel ** nickel@mathematik.tu-darmstadt.de ** ** ** A generator is a positive integer. The inverse of a generator is ** denoted by its negative. ** ** The exponent of a generator is a short integer. The exponent of ** a generator or its inverses is always positive. The exponent ** vector is the sequence of exponents corresponding to a normed ** word. The entries in an exponent vector can be negative. ** ** A word is a generator exponent string terminated by 0. */ #ifndef GENEXP_H #define GENEXP_H #include "config.h" typedef short gen; /* ** GNU cc has the data type long long. We can switch it on by ** defining the macro HAVE_LONG_LONG_INT in the Makefile. */ #ifdef HAVE_LONG_LONG_INT typedef long long expo; #define EXP_FORMAT "%lld" #else typedef long expo; #define EXP_FORMAT "%ld" #endif typedef expo *expvec; #define EOW ((gen)0) struct gpower { gen g; /* the generator */ expo e; /* its exponent */ }; typedef struct gpower gpower; typedef gpower *word; #endif nq-2.5.11/src/pcarith.c000644 000766 000024 00000014760 14550113041 015074 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** pcarith.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de ** ** This file contains an arithmetic for elements of a group that is ** given by a polycyclic presentation. The elements are in generator ** exponent form. Multiplication is performed by a collection process. ** There are the following functions : ** ** ** int WordCmp( u, w ) ......... Compare the two words u and w and ** return 0, if the words are equal and ** 1 otherwise. ** void WordCopy( u, w ) ......... Copy the word u to the word w. It is ** assumed that storage for w has already ** been allocated. ** int WordLength( u ) ......... Return the length of the word u, i.e., ** the number of powers of generators in u. ** word WordGen( g ) ......... Return the image under the epimorphism ** of the generator number g. ** word WordMult( u, w ) ......... Return the product of the word u and ** the word w and free u and w. ** word WordPow( u, pn ) ......... Return the word u raised to the power ** of (*pn). Free u. ** word WordConj( u, w ) ......... Return the conjugate of the word u by ** the word w and free u and w. ** word WordComm( u, w ) ......... Return the commutator [u,w] of the ** words u and w. Free u and w. ** word WordEngel( u, w, n ) ..... Return the Engel-n commutator [u, n w]\ ** of the words u and w. Free u and w. ** the word w and free u and w. ** word WordRel( u, w ) ......... Return the quotient u^-1 * w of the ** words u and w. Free u and w. ** void WordInit( f ) ......... Initialize the evaluator with this ** arithmetic module. f is the function ** used by this module to obtain a ** generator through its number. ** void WordPrint( u ) ......... Print the word u. The word u is not ** freed. ** */ #include "config.h" #include "presentation.h" #include "pc.h" #include "pcarith.h" #include "collect.h" #include "engel.h" static WordGenerator PcGenerator; void WordCopyExpVec(expvec ev, word w) { long l; gen g; for (l = 0, g = 1; g <= NrPcGensList[Class > 0 ? Class + 1 : 1]; g++) if (ev[g] != (expo)0) { if (ev[g] > (expo)0) { w[l].g = g; w[l].e = ev[g]; } else { w[l].g = -g; w[l].e = -ev[g]; } l++; } w[l].g = EOW; w[l].e = (expo)0; } word WordExpVec(expvec ev) { long l; gen g; word w; for (l = 0, g = 1; g <= NrPcGensList[Class > 0 ? Class + 1 : 1]; g++) if (ev[g] != (expo)0) l++; w = (word)Allocate((l + 1) * sizeof(gpower)); WordCopyExpVec(ev, w); return w; } expvec ExpVecWord(word w) { expvec ev; ev = (expvec)Allocate((NrPcGens + NrCenGens + 1) * sizeof(expo)); if (w != (word)0) while (w->g != EOW) { if (w->g > 0) ev[ w->g ] = w->e; else ev[ -w->g ] = -w->e; w++; } return ev; } int WordCmp(word u, word w) { if (u == w) return 0; while (u->g == w->g && u->e == w->e) { if (u->g == EOW) return 0; u++; w++; } return 1; } void WordCopy(word u, word w) { while (u->g != EOW) *w++ = *u++; *w = *u; } int WordLength(word w) { int l = 0; while (w->g != EOW) { w++; l++; } return l; } word WordGen(gen g) { word w; int l; if (g == 0) { w = (word)Allocate(sizeof(gpower)); w[0].g = EOW; } else { if ((*PcGenerator)(g) == 0) return (word)0; l = WordLength((*PcGenerator)(g)); w = (word)Allocate((l + 1) * sizeof(gpower)); WordCopy((*PcGenerator)(g), w); } return w; } static word WordMult(word u, word w) { expvec ev; ev = ExpVecWord(u); Free((void *)u); if (Collect(ev, w, (expo)1)) { Free((void *)w); Free((void *)ev); return (word)0; } Free((void *)w); w = WordExpVec(ev); Free((void *)ev); return w; } static word WordPow(word w, int * pn) { expvec ev; word ww; int n; n = *pn; if (n == 0) { Free((void *)w); return WordGen(0); } if (n < 0) { ww = Invert(w); Free((void *)w); w = ww; n = -n; } if (n == 1) return w; ev = ExpVecWord(w); if (Collect(ev, w, (expo)(n - 1))) { Free((void *)w); Free((void *)ev); return (word) 0; } Free((void *)w); w = WordExpVec(ev); Free((void *)ev); return w; } static word WordConj(word u, word w) { word uw, x; expvec ev; /* x = u^w = w^-1 * u * w <===> w * x = u * w. */ ev = ExpVecWord(u); Free((void *)u); if (Collect(ev, w, (expo)1)) { Free((void *)ev); Free((void *)w); return (word)0; } uw = WordExpVec(ev); Free((void *)ev); x = Solve(w, uw); Free((void *)w); Free((void *)uw); return x; } word WordComm(word u, word w) { word x; x = Commutator(u, w); Free(u); Free(w); return x; } word WordEngel(word u, word w, int *e) { word x; x = EngelCommutator(u, w, *e); Free(u); Free(w); return x; } static word WordRel(word u, word w) { word x; /* The relation u = w is interpreted as ** x = u^-1 * w, which is equivalent to ** u * x = w. */ x = Solve(u, w); Free((void *)u); Free((void *)w); return x; } void WordInit(WordGenerator generator) { PcGenerator = generator; /* SetEvalFunc(TGEN, (EvalFunc)WordGen);*/ SetEvalFunc(TMULT, (EvalFunc)WordMult); SetEvalFunc(TPOW, (EvalFunc)WordPow); SetEvalFunc(TCONJ, (EvalFunc)WordConj); SetEvalFunc(TCOMM, (EvalFunc)WordComm); SetEvalFunc(TREL, (EvalFunc)WordRel); SetEvalFunc(TDRELL, (EvalFunc)WordRel); SetEvalFunc(TDRELR, (EvalFunc)WordRel); /* SetEvalFunc(TENGEL, (EvalFunc)WordEngel);*/ } void WordPrint(word gs) { if (gs->g != EOW) if (gs->g > 0) { PrintGen(gs->g); if (gs->e > (expo)1) printf("^"EXP_FORMAT, gs->e); } else { PrintGen(-gs->g); printf("^-"EXP_FORMAT, gs->e); } else { printf("1"); return; } gs++; while (gs->g != EOW) { putchar('*'); if (gs->g > 0) { PrintGen(gs->g); if (gs->e > (expo)1) printf("^"EXP_FORMAT, gs->e); } else { PrintGen(-gs->g); printf("^-"EXP_FORMAT, gs->e); } gs++; } } nq-2.5.11/src/tails.c000644 000766 000024 00000014660 14550113041 014555 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** tails.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include "nq.h" #include "glimt.h" const char *Warning3 = "Warning : This is not a tail in %s( %d, %d, %d )\n"; const char *Warning2 = "Warning : This is not a tail in %s( %d, %d )\n"; static int tail_cba(gen c, gen b, gen a, expvec *ev) { int i, l = 0; expvec ev1, ev2; /* (c b) a */ ev1 = ExpVecWord(Generators[c]); Collect(ev1, Generators[b], (expo)1); Collect(ev1, Generators[a], (expo)1); /* c (b a) = c a b^a */ ev2 = ExpVecWord(Generators[c]); Collect(ev2, Generators[a], (expo)1); Collect(ev2, Conjugate[b][a], (expo)1); for (i = 1; i <= NrPcGens; i++) { if (ev1[i] != ev2[i]) printf(Warning3, "tail_cba", c, b, a); ev1[i] = (expo)0; } for (i = NrPcGens + 1; i <= NrPcGens + NrCenGens; i++) { ev1[i] -= ev2[i]; if (ev1[i] != (expo)0 && Exponent[i] != (expo)0) { ev1[i] %= Exponent[i]; if (ev1[i] < (expo)0) ev1[i] += Exponent[i]; } if (ev1[i] != (expo)0) l++; } Free(ev2); *ev = ev1; return l; } #if 0 static int tail_cbn(gen c, gen b, expvec *ev) { int i, l = 0; expvec ev1, ev2; /* (c b) b^(n-1) */ ev1 = ExpVecWord(Generators[c]); Collect(ev1, Generators[b], Exponent[b]); /* c b^n */ ev2 = ExpVecWord(Generators[c]); if (Power[b] != (word)0) Collect(ev2, Power[b], (expo)1); for (i = 1; i <= NrPcGens; i++) { if (ev1[i] != ev2[i]) printf(Warning2, "tail_cbn", c, b); ev1[i] = (expo)0; } for (i = NrPcGens + 1; i <= NrPcGens + NrCenGens; i++) { ev1[i] -= ev2[i]; if (Exponent[i] != (expo)0) { ev1[i] %= Exponent[i]; if (ev1[i] < (expo)0) ev1[i] += Exponent[i]; } if (ev1[i] != 0) l++; } Free(ev2); *ev = ev1; return l; } static int tail_cnb(gen c, gen b, expvec *ev) { int i, l = 0; expvec ev1, ev2; /* b (c^b)^n */ ev1 = ExpVecWord(Generators[b]); Collect(ev1, Conjugate[c][b], Exponent[c]); /* c^n b */ ev2 = ExpVecWord(Power[c]); Collect(ev2, Generators[b], (expo)1); for (i = 1; i <= NrPcGens; i++) { if (ev1[i] != ev2[i]) printf(Warning2, "tail_cnb", c, b); ev1[i] = (expo)0; } for (i = NrPcGens + 1; i <= NrPcGens + NrCenGens; i++) { ev1[i] -= ev2[i]; if (ev1[i] != (expo)0 && Exponent[i] != (expo)0) { ev1[i] %= Exponent[i]; if (ev1[i] < (expo)0) ev1[i] += Exponent[i]; } if (ev1[i] != 0) l++; } Free(ev2); *ev = ev1; return l; } #endif static int tail_cbb(gen c, gen b, expvec *ev) { int i, l = 0; expvec ev1; /* (c b^-1) b */ ev1 = ExpVecWord(Generators[c]); Collect(ev1, Generators[ b], (expo)1); Collect(ev1, Generators[-b], (expo)1); ev1[ c ] -= 1; for (i = 1; i <= NrPcGens; i++) { if (ev1[i] != (expo)0) printf(Warning2, "tail_cnb", c, b); } for (i = NrPcGens + 1; i <= NrPcGens + NrCenGens; i++) { ev1[i] = -ev1[i]; if (ev1[i] != (expo)0 && Exponent[i] != (expo)0) { ev1[i] %= Exponent[i]; if (ev1[i] < (expo)0) ev1[i] += Exponent[i]; } if (ev1[i] != 0) l++; } *ev = ev1; return l; } static int tail_ccb(gen c, gen b, expvec *ev) { int i, l = 0; expvec ev1; /* c^-1 (c b) = c^-1 b c^b */ ev1 = ExpVecWord(Generators[c]); Collect(ev1, Generators[b], (expo)1); Collect(ev1, Conjugate[-c][b], (expo)1); ev1[abs(b)] -= sgn(b); for (i = 1; i <= NrPcGens; i++) { if (ev1[i] != (expo)0) printf(Warning2, "tail_cnb", c, b); } for (i = NrPcGens + 1; i <= NrPcGens + NrCenGens; i++) { ev1[i] = -ev1[i]; if (Exponent[i] != (expo)0) { ev1[i] %= Exponent[i]; if (ev1[i] < (expo)0) ev1[i] += Exponent[i]; } if (ev1[i] != 0) l++; } *ev = ev1; return l; } static void Tail(gen n, gen m) { long lw, lt; expvec t; word w; if (n > 0) if (m > 0) lt = tail_cba(n, Definition[m].h, Definition[m].g, &t); else lt = tail_cbb(n, m, &t); else lt = tail_ccb(n, m, &t); lw = WordLength(Conjugate[n][m]); w = (word)Allocate((lt + lw + 1) * sizeof(gpower)); WordCopy(Conjugate[n][m], w); WordCopyExpVec(t, w + lw); free(t); if (Conjugate[n][m] != Generators[n]) free(Conjugate[n][m]); Conjugate[n][m] = w; } /* ** The next nilpotency class to be calculated is Class+1. Therefore ** commutators of weight Class+1, which are currently trivial, will ** get tails. */ void Tails(void) { int *Dim = Dimension; long b, c, i, j, time = 0; long m, M, n, N; if (Verbose) time = RunTime(); /* ** Precompute exponents of the new generators which are defined ** as a commutator [h,g] with wt(h)=Class. There is no conclusive ** evidence that is worth the effort. One probably also has to use ** those power relations that have a non-trivial right hand side. */ #if 0 if (0) { int l; gen i, g, h, t; expvec ev; for (t = NrPcGens + 1; t <= NrPcGens + NrCenGens; t++) { h = Definition[t].h; g = Definition[t].g; if (h < 0 || Wt(h) < Class) continue; if (g != (gen)0 && Exponent[h] != (expo)0) { l = tail_cnb(h, g, &ev); /* printf( "t: %d, ", t ); for( i = 1; i <= NrPcGens+NrCenGens; i++ ) if( ev[i] != (expo)0 ) printf( " %d^"EXP_FORMAT"", i, ev[i] ); printf( "\n" );*/ if (l == 1) { if (ev[t] == (expo)0) printf("Error, exponent zero\n"); if (Verbose) printf("# Setting exponent "EXP_FORMAT" for %d\n", ev[t], t); Exponent[t] = ev[t]; addRow(ev); } } if (g != (gen)0 && Exponent[g] != (expo)0) { l = tail_cbn(h, g, &ev); /* printf( "t: %d, ", t ); for( i = 1; i <= NrPcGens+NrCenGens; i++ ) if( ev[i] != (expo)0 ) printf( " %d^"EXP_FORMAT"", i, ev[i] ); printf( "\n" );*/ if (l == 1) { if (ev[t] == (expo)0) printf("Error, exponent zero\n"); if (Verbose) printf("# Setting exponent "EXP_FORMAT" for %d\n", ev[t], t); Exponent[t] = ev[t]; addRow(ev); } } } } #endif N = NrPcGens; for (c = Class; c >= 1; c--) { n = N; M = 1; for (b = 1; b <= c - b + 1; b++) { /* tails for comutators [ , ] */ for (j = Dim[c - b + 1]; j >= 1; j--) { m = M; for (i = 1; n > m && i <= Dim[b]; i++) { if (b != 1) Tail(n, m); if (Exponent[m] == (expo)0) Tail(n, -m); if (Exponent[n] == (expo)0) Tail(-n, m); if (Exponent[m] + Exponent[n] == (expo)0) Tail(-n, -m); m++; } n--; } M += Dim[b]; } N -= Dim[c]; } if (Verbose) printf("# Computed tails (%ld msec).\n", RunTime() - time); } nq-2.5.11/src/mem.h000644 000766 000024 00000000762 14550113041 014222 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** mem.h NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #ifndef MEM_H #define MEM_H #include /* for malloc, calloc */ #include /* for memcpy */ extern void *Allocate(unsigned nchars); extern void *ReAllocate(void *optr, unsigned nchars); extern void Free(void *ptr); #endif nq-2.5.11/src/instances.c000644 000766 000024 00000005012 14550113041 015417 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** instances.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include "presentation.h" #include "nq.h" #include "instances.h" #include "relations.h" word *Instances; /* ** The parameters of EnumerateWords() have the following meaning: ** ** a relation involving identical generators. ** the number of identical generators. ** the list of instances to be built up corresponding the ** identical generators. ** the index of the current word in ** the first free index in the current word ** the next generator in the current word ** the weight that can spend on the next generators. */ static void EnumerateWords(node *r, long l, word *instances, long n, long i, gen g, long wt) { long save_wt; word u = instances[ n ]; if (wt == 0) { gen h; /* printf( "# %d %d ", l, n ); for( h = 1; h <= NrIdenticalGensNode; h++ ) { printWord( Instances[ h ], 'a' ); printf( ", " ); } printf( "\n" ); */ if (EvalSingleRelation(r)) { printf("# essential: "); for (h = 1; h <= NrIdenticalGensNode; h++) { printWord(Instances[ h ], 'a'); printf(", "); } printf("\n"); } return; } if (g > NrPcGens + NrCenGens) return; save_wt = wt; while (!EarlyStop && g <= NrPcGens + NrCenGens && Wt(g) <= wt - (l - n)) { u[i].g = g; u[i].e = (expo)0; u[i + 1].g = EOW; while (!EarlyStop && Wt(g) <= wt - (l - n)) { u[i].e++; wt -= Wt(g); if (Exponent[g] > (expo)0 && Exponent[g] == u[i].e) break; EnumerateWords(r, l, instances, n, i + 1, g + 1, wt); if (n < NrIdenticalGensNode) EnumerateWords(r, l, instances, n + 1, 0, 1, wt); } wt = save_wt; g++; } u[i].g = EOW; u[i].e = (expo)0; } void EvalIdenticalRelation(node *r) { gen g; long c; if (Instances == (word *)0) Instances = (word *)Allocate((NumberOfIdenticalGens() + 1) * sizeof(word)); for (g = 1; g <= NumberOfIdenticalGens(); g++) { if (Instances[ g ] != (word)0) Free(Instances[ g ]); Instances[ g ] = (word)Allocate((NrPcGens + NrCenGens + 1) * sizeof(gpower)); } for (c = NrIdenticalGensNode; !EarlyStop && c <= Class + 1; c++) { EnumerateWords(r, NrIdenticalGensNode, Instances, 1, 0, 1, c); } } nq-2.5.11/src/glimt.h000644 000766 000024 00000000510 14550113041 014547 0ustar00mhornstaff000000 000000 /**************************************************************************** ** ** glimt.h */ #ifndef GLIMT_H #define GLIMT_H #include "genexp.h" /* for expvec */ extern void freeExpVecs(expvec *M); extern void OutputMatrix(const char *suffix); extern int addRow(expvec ev); extern expvec *MatrixToExpVecs(void); #endif nq-2.5.11/src/nq.h000644 000766 000024 00000004234 14550113041 014060 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** nq.h NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ /* ** This include file contains the declarations of data structures that ** build a polycyclic presentation. */ #ifndef NQ_H #define NQ_H #include #include #include "config.h" #include "system.h" /* ** This variable indicates whether GAP output should be produced. */ extern int Gap; /* ** This variable indicates whether the relation matrix for each factor ** of the lower central series is to be written to file. */ extern int AbelianInv; /* ** This variable switches the verbose mode on. */ extern int Verbose; /* ** The input file name. Used in some routines to build a file name for ** output. */ extern const char *InputFile; #include "mem.h" #include "genexp.h" #include "pc.h" #include "pcarith.h" #include "collect.h" #include "macro.h" extern int *Dimension; extern word *Generators; /* ** The data structures used for the integer triagonalization. */ extern long NrRows; extern long NrCols; extern long *Heads; /* ** Functions manipulating words. ** Defined in word.c. */ extern void printWord(word w, char c); extern void printGen(gen g, char c); /* ** Early stopping criterion. */ extern int EarlyStop; /* TODO: Misc decls */ extern void SetupCommuteList(void); /* from addgen.c */ extern void SetupCommute2List(void); /* from addgen.c */ extern void SetupNrPcGensList(void); /* from addgen.c */ extern void AddGenerators(void); /* from addgen.c */ extern void printEv(expvec ev); /* from consistency.c */ extern void Consistency(void); /* from consistency.c */ extern void ElimGenerators(void); /* from eliminate.c */ extern long appendExpVector(gen k, expvec ev, word w, gen *renumber); /* from eliminate.c */ extern void PrintRawGapPcPres(void); /* from gap.c */ extern void Tails(void); /* from tails.c */ extern void InitTrMetAb(int t); /* from trmetab.c */ extern void EvalTrMetAb(void); /* from trmetab.c */ #endif nq-2.5.11/src/consistency.c000644 000766 000024 00000013577 14550113041 016010 0ustar00mhornstaff000000 000000 /***************************************************************************** ** ** consistency.c NQ Werner Nickel ** nickel@mathematik.tu-darmstadt.de */ #include "nq.h" #include "glimt.h" /* for addRow */ void printEv(expvec ev) { long i; for (i = 1; i <= NrPcGens + NrCenGens; i++) printf(" "EXP_FORMAT" ", ev[i]); } static void do_cba(gen c, gen b, gen a) { int i; expvec ev1, ev2; if (Wt(c) + Wt(b) + Wt(abs(a)) > Class + 1) return; /* the left hand side first : c (b a) = c a b^a */ ev1 = ExpVecWord(Generators[c]); Collect(ev1, Generators[a], (expo)1); Collect(ev1, Conjugate[b][a], (expo)1); /* then the right hand side : (c b) a */ ev2 = ExpVecWord(Generators[c]); Collect(ev2, Generators[b], (expo)1); Collect(ev2, Generators[a], (expo)1); for (i = 1; i <= NrPcGens + NrCenGens; i++) { ev1[i] -= ev2[i]; if (((ev1[i] << 1) >> 1) != ev1[i]) printf("# Possible overflow in do_cba( %d, %d, %d )\n", c, b, a); } free(ev2); if (Debug) { printf("cba( %2d %2d %2d ) : ", c, b, a); printEv(ev1); printf("\n"); } addRow(ev1); } static void do_cbb(gen c, gen b) { expvec ev; if (Wt(c) + Wt(b) > Class + 1) return; /* (c b) b^-1 */ ev = ExpVecWord(Generators[c]); Collect(ev, Generators[ b], (expo)1); Collect(ev, Generators[-b], (expo)1); ev[ c ] -= 1; if (Debug) { printf("cbb( %2d %2d ) : ", c, b); printEv(ev); printf("\n"); } addRow(ev); if (EarlyStop) return; /* (c b^-1) b */ ev = ExpVecWord(Generators[c]); Collect(ev, Generators[-b], (expo)1); Collect(ev, Generators[ b], (expo)1); ev[ c ] -= 1; if (Debug) { printf("cbb( %2d %2d ) : ", c, -b); printEv(ev); printf("\n"); } addRow(ev); } static void do_ccb(gen c, gen b) { expvec ev; if (Wt(c) + Wt(abs(b)) > Class + 1) return; /* c^-1 (c b) = c^-1 b c^b */ ev = ExpVecWord(Generators[-c]); Collect(ev, Generators[b], (expo)1); Collect(ev, Conjugate[c][b], (expo)1); ev[abs(b)] -= sgn(b); if (Debug) { printf("ccb( %2d %2d ) : ", c, b); printEv(ev); printf("\n"); } addRow(ev); } static void do_cbn(gen c, gen b) { int i; expvec ev1, ev2; if (Wt(c) + Wt(b) > Class + 1) return; /* c (b^n) */ ev1 = ExpVecWord(Generators[c]); Collect(ev1, Power[b], (expo)1); /* (c b) b^(n-1) */ ev2 = ExpVecWord(Generators[c]); Collect(ev2, Generators[b], Exponent[b]); for (i = 1; i <= NrPcGens + NrCenGens; i++) { ev1[i] -= ev2[i]; if (((ev1[i] << 1) >> 1) != ev1[i]) printf("# Possible overflow in do_cbn( %d, %d )\n", c, b); } free(ev2); if (Debug) { printf("cbn( %2d %2d ) : ", c, b); printEv(ev1); printf("\n"); } addRow(ev1); } static void do_cnb(gen c, gen b) { int i; expvec ev1, ev2; if (Wt(c) + Wt(abs(b)) > Class + 1) return; /* (c^n) b */ ev1 = ExpVecWord(Power[c]); Collect(ev1, Generators[b], (expo)1); /* c^(n-1) (c b) = c^(n-1) b c^b */ ev2 = ExpVecWord(Generators[c]); if (Exponent[c] > (expo)2) Collect(ev2, Generators[c], Exponent[c] - (expo)2); Collect(ev2, Generators[b], (expo)1); Collect(ev2, Conjugate[c][b], (expo)1); for (i = 1; i <= NrPcGens + NrCenGens; i++) { ev1[i] -= ev2[i]; if (((ev1[i] << 1) >> 1) != ev1[i]) printf("# Possible overflow in do_cnb( %d, %d )\n", c, b); } free(ev2); if (Debug) { printf("cnb( %2d %2d ) : ", c, b); printEv(ev1); printf("\n"); } addRow(ev1); } static void do_cnc(gen c) { int i; expvec ev1, ev2; if (2 * Wt(c) > Class + 1) return; /* c^n c */ ev1 = ExpVecWord(Power[c]); Collect(ev1, Generators[c], (expo)1); /* c c^n */ ev2 = ExpVecWord(Generators[c]); Collect(ev2, Power[c], (expo)1); for (i = 1; i <= NrPcGens + NrCenGens; i++) { ev1[i] -= ev2[i]; if (((ev1[i] << 1) >> 1) != ev1[i]) printf("# Possible overflow in do_cnc( %d )\n", c); } free(ev2); if (Debug) { printf("cnb( %2d ) : ", c); printEv(ev1); printf("\n"); } addRow(ev1); } void Consistency(void) { long t = 0; gen a, b, c; if (Verbose) t = RunTime(); /* c * ( b * a ) = ( c * b ) * a for all generators c > b > a. */ for (a = 1; !EarlyStop && a <= Dimension[1]; a++) for (b = a + 1; !EarlyStop && b <= NrPcGens; b++) for (c = b + 1; !EarlyStop && c <= NrPcGens; c++) do_cba(c, b, a); /* ** c * ( b * b' ) = ( c * b ) * b' and ** c * ( b' * b ) = ( c * b' ) * b for all c > b, ** Exponent[b] == 0 */ for (b = 1; !EarlyStop && b <= NrPcGens; b++) if (Exponent[b] == (expo)0) for (c = b + 1; !EarlyStop && c <= NrPcGens; c++) do_cbb(c, b); /* ** c * ( c' * b ) = ( c * c' ) * b and ** c * ( c' * b ) = ( c * c' ) * b' for all generators c > b, ** Exponent[c] == 0. */ for (c = 1; !EarlyStop && c <= NrPcGens; c++) if (Exponent[c] == (expo)0) { for (b = 1; !EarlyStop && b <= min(c - 1, Dimension[1]); b++) do_ccb(c, b); for (b = 1; !EarlyStop && b < c; b++) if (Exponent[b] == (expo)0) do_ccb(c, -b); } /* ** c * b^n = ( c * b ) * b^(n-1) for all generators c > b, ** Exponent[b] == n > 0. */ for (b = 1; !EarlyStop && b <= NrPcGens; b++) if (Exponent[b] > (expo)0) for (c = b + 1; !EarlyStop && c <= NrPcGens; c++) do_cbn(c, b); /* ** c^n * b = c^(n-1) * ( c * b ) for all generators c > b, ** Exponent[c] == n > 0. */ for (c = 1; !EarlyStop && c <= NrPcGens; c++) if (Exponent[c] > (expo)0) { for (b = 1; !EarlyStop && b <= min(c - 1, Dimension[1]); b++) do_cnb(c, b); for (b = 1; !EarlyStop && b < c; b++) if (Exponent[b] == (expo)0) do_cnb(c, -b); } /* ** c^n * c = c * c^n for all generators c, Exponent[c] == n > 0. */ for (c = 1; !EarlyStop && c <= NrPcGens; c++) if (Exponent[c] > (expo)0) do_cnc(c); if (Verbose) printf("# Checked consistency (%ld msec).\n", RunTime() - t); } nq-2.5.11/tst/nq.tst000644 000766 000024 00000011771 14550113041 014472 0ustar00mhornstaff000000 000000 gap> START_TEST("nq.tst"); gap> gap> ################################################ gap> # gap> ################################################ gap> G := FreeGroup( 2 );; gap> H := NilpotentQuotient( G, 10 );; gap> ForAll( RelativeOrders(Collector(H)), IsZero ); true gap> List( LowerCentralSeries( H ), HirschLength ); [ 226, 224, 223, 221, 218, 212, 203, 185, 155, 99, 0 ] gap> gap> ################################################ gap> # gap> ################################################ gap> G := FreeGroup( 3 );; gap> H := NilpotentQuotient( G, 7 );; gap> ForAll( RelativeOrders(Collector(H)), IsZero ); true gap> List( LowerCentralSeries( H ), HirschLength ); [ 508, 505, 502, 494, 476, 428, 312, 0 ] gap> gap> # Helper function gap> AbelianInvariantsAlongLowerCentralSeries := function (H) > local lcs, i; > lcs := LowerCentralSeries( H );; > for i in [1..Length(lcs)-1] do > Print( AbelianInvariants( lcs[i] / lcs[i+1] ), "\n" ); > od; > end;; gap> gap> gap> ################################################ gap> # examples/G1 gap> ################################################ gap> gap> G := FreeGroup( 2 );; gap> G := G / [ LeftNormedComm([ G.2, G.1, G.1 ]), > LeftNormedComm([ G.1, G.2, G.2, G.2, G.2, G.2 ]), > LeftNormedComm([ G.2, G.1, G.2, G.2, G.2, G.1, G.2, G.2, G.1, G.1 ]) ];; gap> H := NilpotentQuotient( G, 11 ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 2, 0, 0, 2, 2, 0, 5, 2, 2, 2, 3, 0, 5, 5, 2, 2, 2, 2, 3, 0, 5, 5, 2, 2, 2, 2, 2, 2, 3, 0, 0, 5, 5, 5 ] gap> AbelianInvariantsAlongLowerCentralSeries( H ); [ 0, 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0, 0 ] [ 0 ] [ 0, 0 ] [ 0, 2, 5 ] [ 0, 2, 2, 3, 5, 5 ] [ 0, 2, 2, 2, 3, 5, 5 ] [ 0, 0, 2, 2, 2, 2, 3, 5, 5, 5 ] gap> gap> gap> gap> ################################################ gap> # examples/G2 gap> ################################################ gap> gap> G := FreeGroup( 2 );; gap> G := G / [ LeftNormedComm([ G.2, G.1, G.1 ]), > LeftNormedComm([ G.1, G.2, G.2, G.2, G.2 ]) ];; gap> H := NilpotentQuotient( G ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2 ] gap> AbelianInvariantsAlongLowerCentralSeries( H ); [ 0, 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 2 ] [ 2, 2 ] [ 2, 2 ] [ 2, 2 ] [ 2 ] gap> gap> ################################################ gap> # examples/G3 gap> ################################################ gap> G := FreeGroup( 3 );; gap> G := G / [ LeftNormedComm([ G.2, G.1, G.1 ]), > LeftNormedComm([ G.1, G.2, G.2 ]), > LeftNormedComm([ G.3, G.1 ]), > LeftNormedComm([ G.3, G.2, G.2 ]), > LeftNormedComm([ G.2, G.3, G.3 ]) ];; gap> H := NilpotentQuotient( G, 15 ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 ] gap> AbelianInvariantsAlongLowerCentralSeries( H ); [ 0, 0, 0 ] [ 0, 0 ] [ 0 ] [ 2 ] [ 2, 2 ] [ 2 ] [ 2 ] [ 2 ] [ 2 ] [ 2 ] [ 2 ] [ 2 ] [ 2 ] [ 2 ] [ 2 ] gap> gap> ################################################ gap> # example/G4 gap> ################################################ gap> G := FreeGroup( 4 );; gap> G := G / [ LeftNormedComm([ G.2, G.1, G.1 ]), > LeftNormedComm([ G.1, G.2, G.2 ]), > LeftNormedComm([ G.3, G.1 ]), > LeftNormedComm([ G.4, G.1 ]), > LeftNormedComm([ G.3, G.2, G.2 ]), > LeftNormedComm([ G.2, G.3, G.3, G.3 ]), > LeftNormedComm([ G.4, G.2 ]), > LeftNormedComm([ G.4, G.3, G.3 ]), > LeftNormedComm([ G.3, G.4, G.4 ]), > LeftNormedComm([ G.3, G.2, G.1, G.2 ]), > ];; gap> H := NilpotentQuotient( G, 8 ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 0, 2, 2, 3, 3, 0, 6, 2, 2, 2, 3, 3, 6, 2, 3, 6, 2, 2, 2, 2, 3, 3, 3, 2, 2, 3, 3, 6, 2 ] gap> AbelianInvariantsAlongLowerCentralSeries( H ); [ 0, 0, 0, 0 ] [ 0, 0, 0 ] [ 0, 0, 0 ] [ 0, 0, 0 ] [ 0, 0, 2, 3 ] [ 0, 2, 2, 2, 3, 3, 3 ] [ 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3 ] [ 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3 ] gap> gap> ################################################ gap> # examples/G5 gap> ################################################ gap> G := FreeGroup( 3 );; gap> G := G / [ LeftNormedComm([ G.2, G.1, G.1, G.1 ]), > LeftNormedComm([ G.1, G.2, G.2 ]), > LeftNormedComm([ G.3, G.1 ]), > LeftNormedComm([ G.3, G.2, G.2, G.2 ]), > LeftNormedComm([ G.2, G.3, G.3 ]), > LeftNormedComm([ G.3, G.2, G.1, G.2, G.3 ]), > ];; gap> H := NilpotentQuotient( G, 10 ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 2, 0, 3, 3, 2, 2, 0, 0, 3, 3, 3, 2, 2, 2, 2, 0, 0, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 0, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 5, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 5, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 ] gap> AbelianInvariantsAlongLowerCentralSeries( H ); [ 0, 0, 0 ] [ 0, 0 ] [ 0, 0, 0 ] [ 0, 0 ] [ 0, 0, 3 ] [ 0, 0, 3, 3 ] [ 0, 0, 2, 2, 3, 3, 3, 3 ] [ 0, 2, 2, 2, 2, 3, 3, 3, 3, 9 ] [ 0, 2, 2, 3, 3, 3, 3, 3, 3, 3, 5, 9 ] [ 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 9, 9 ] gap> gap> STOP_TEST( "nq.tst", 10000000); nq-2.5.11/tst/testall.g000644 000766 000024 00000000163 14550113041 015131 0ustar00mhornstaff000000 000000 LoadPackage("nq"); TestDirectory(DirectoriesPackageLibrary("nq", "tst"), rec(exitGAP := true)); FORCE_QUIT_GAP(1); nq-2.5.11/doc/functions.xml000644 000766 000024 00000052003 14550113041 015776 0ustar00mhornstaff000000 000000 The Functions of the Package Nilpotent Quotient Package

Nilpotent Quotients of Finitely Presented Groups The parameter fp-group is either a finitely presented group or a record specifying a presentation by expression trees (see section ). The parameter input-file is a string specifying the name of a file containing a finite presentation in the input format (cf. section ) of the ANU NQ. Such a file can be prepared by a text editor or with the help of the function .

Let G be the group defined by fp-group or the group defined in input-file. The function computes a nilpotent presentation for G/\gamma_{c+1}(G) if the optional parameter c is specified. If c is not given, then the function attempts to compute the largest nilpotent quotient of G and it will terminate only if G has a largest nilpotent quotient. See section for a possibility to follow the progress of the computation.

The optional argument id-gens is a list of generators of the free group underlying the finitely presented group fp-group. The generators in this list are treated as identical generators. Consequently, all relations of the fp-group involving these generators are treated as identical relations for these generators.

In addition to the arguments explained above, the function accepts the following options as shown in the first example below: options group options This option can be used instead of the parameter fp-group. input\_string options This option can be used to specify a finitely presented group by a string in the input format of the standalone program. input\_file options This option specifies a file with input for the standalone program. output\_file options This option specifies a file for the output of the standalone. idgens options This options specifies a list of identical generators. class options This option specifies the nilpotency class up to which the nilpotent quotient will be computed.

The following example computes the class-5 quotient of the free group on two generators. F := FreeGroup( 2 ); gap> ## Equivalent to: NilpotentQuotient( : group := F, class := 5 ); gap> ## NilpotentQuotient( F : class := 5 ); gap> H := NilpotentQuotient( F, 5 ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] gap> lcs := LowerCentralSeries( H );; gap> for i in [1..5] do Print( lcs[i] / lcs[i+1], "\n" ); od; Pcp-group with orders [ 0, 0 ] Pcp-group with orders [ 0 ] Pcp-group with orders [ 0, 0 ] Pcp-group with orders [ 0, 0, 0 ] Pcp-group with orders [ 0, 0, 0, 0, 0, 0 ] ]]> Note that the lower central series in the example is part of the data returned by the standalone program. Therefore, the execution of the function LowerCentralSeries takes no time.

The next example computes the class-4 quotient of the infinite dihedral group. The group is soluble but not nilpotent. The first factor of its lower central series is a Klein four group and all the other factors are cyclic or order 2. F := FreeGroup( 2 ); gap> G := F / [F.1^2, F.2^2]; gap> H := NilpotentQuotient( G, 4 ); Pcp-group with orders [ 2, 2, 2, 2, 2 ] gap> lcs := LowerCentralSeries( H );; gap> for i in [1..Length(lcs)-1] do > Print( AbelianInvariants(lcs[i] / lcs[i+1]), "\n" ); > od; [ 2, 2 ] [ 2 ] [ 2 ] [ 2 ] gap> ]]> In the following example identical generators are used in order to express the fact that the group is nilpotent of class 3. A group is nilpotent of class 3 if it satisfies the identical relation [x_1,x_2,x_3,x_4]=1 (cf. Section ). The result is the free nilpotent group of class 3 on two generators. F := FreeGroup( "a", "b", "w", "x", "y", "z" ); gap> G := F / [ LeftNormedComm( [F.3,F.4,F.5,F.6] ) ]; gap> ## The following is equivalent to: gap> ## NilpotentQuotient( G : idgens := [F.3,F.4,F.5,F.6] ); gap> H := NilpotentQuotient( G, [F.3,F.4,F.5,F.6] ); Pcp-group with orders [ 0, 0, 0, 0, 0 ] gap> NilpotencyClassOfGroup(H); 3 gap> LowerCentralSeries(H); [ Pcp-group with orders [ 0, 0, 0, 0, 0 ], Pcp-group with orders [ 0, 0, 0 ], Pcp-group with orders [ 0, 0 ], Pcp-group with orders [ ] ] ]]> The following example uses expression trees in order to specify the third Engel law for the free group on 3 generators. et := ExpressionTrees( 5 ); [ x1, x2, x3, x4, x5 ] gap> comm := LeftNormedComm( [et[1], et[2], et[2], et[2]] ); Comm( x1, x2, x2, x2 ) gap> G := rec( generators := et, relations := [comm] ); rec( generators := [ x1, x2, x3, x4, x5 ], relations := [ Comm( x1, x2, x2, x2 ) ] ) gap> H := NilpotentQuotient( G : idgens := [et[1],et[2]] ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 2, 2, 0, 6, 6, 0, 0, 2, 10, 10, 10 ] gap> TorsionSubgroup( H ); Pcp-group with orders [ 2, 2, 2, 2, 2, 2, 2, 10, 10, 10 ] gap> lcs := LowerCentralSeries( H );; gap> NilpotencyClassOfGroup( H ); 5 gap> for i in [1..5] do Print( lcs[i] / lcs[i+1], "\n" ); od; Pcp-group with orders [ 0, 0, 0 ] Pcp-group with orders [ 0, 0, 0 ] Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0 ] Pcp-group with orders [ 2, 4, 2, 2, 0, 6, 6, 0, 0, 2 ] Pcp-group with orders [ 10, 10, 10 ] gap> for i in [1..5] do Print( AbelianInvariants(lcs[i]/lcs[i+1]), "\n" ); od; [ 0, 0, 0 ] [ 0, 0, 0 ] [ 0, 0, 0, 0, 0, 0, 0, 0 ] [ 2, 2, 2, 2, 2, 2, 2, 0, 0, 0 ] [ 10, 10, 10 ] ]]> The example above also shows that the relative orders of an abelian polycyclic group need not be the abelian invariants (elementary divisors) of the group. Each zero corresponds to a generator of infinite order. The number of zeroes is always correct. This function is a special version of which enforces the n-th Engel identity on the nilpotent quotients of the group specified by fp-group or by input-file. It accepts the same options as NilpotentQuotient.

The Engel condition can also be enforced by using identical generators and the Engel law and . See the examples there.

The following example computes the relatively free fifth Engel group on two generators, determines its (normal) torsion subgroup and computes the corresponding quotient group. The quotient modulo the torsion subgroup is torsion-free. Therefore, there is a nilpotent presentation without power relations. The example computes a nilpotent presentation for the torsion free factor group through the upper central series. The factors of the upper central series in a torsion free group are torsion free. In this way one obtains a set of generators of infinite order and the resulting nilpotent presentation has no power relations. gap> G := NilpotentEngelQuotient( FreeGroup(2), 5 ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 10, 0, 0, 30, 0, 3, 3, 10, 2, 0, 6, 0, 0, 30, 2, 0, 9, 3, 5, 2, 6, 2, 10, 5, 5, 2, 0, 3, 3, 3, 3, 3, 5, 5, 3, 3 ] gap> NilpotencyClassOfGroup(G); 9 gap> T := TorsionSubgroup( G ); Pcp-group with orders [ 3, 3, 2, 2, 3, 3, 2, 9, 3, 5, 2, 3, 2, 10, 5, 2, 3, 3, 3, 3, 3, 5, 5, 3, 3 ] gap> IsAbelian( T ); true gap> AbelianInvariants( T ); [ 3, 3, 3, 3, 3, 3, 3, 3, 30, 30, 30, 180, 180 ] gap> H := G / T; Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 10, 0, 0, 30, 0, 5, 0, 2, 0, 0, 10, 0, 2, 5, 0 ] gap> H := PcpGroupBySeries( UpperCentralSeries(H), "snf" ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] gap> ucs := UpperCentralSeries( H );; gap> for i in [1..NilpotencyClassOfGroup(H)] do > Print( ucs[i]/ucs[i+1], "\n" ); > od; Pcp-group with orders [ 0, 0 ] Pcp-group with orders [ 0 ] Pcp-group with orders [ 0, 0 ] Pcp-group with orders [ 0, 0, 0 ] Pcp-group with orders [ 0, 0, 0, 0, 0, 0 ] Pcp-group with orders [ 0, 0, 0, 0 ] Pcp-group with orders [ 0, 0 ] Pcp-group with orders [ 0, 0, 0 ] This function computes an epimorphism from the group G given by the finite presentation fp-group onto G/\gamma_{c+1}(G). If c is not given, then the largest nilpotent quotient of G is computed and an epimorphism from G onto the largest nilpotent quotient of G. If G does not have a largest nilpotent quotient, the function will not terminate if c is not given.

The optional argument id-gens is a list of generators of the free group underlying the finitely presented group fp-group. The generators in this list are treated as identical generators. Consequently, all relations of the fp-group involving these generators are treated as identical relations for these generators.

If identical generators are specified, then the epimorphism returned maps the group generated by the `non-identical' generators onto the nilpotent factor group. See the last example below.

The function understands the same options as the function . F := FreeGroup(3); gap> phi := NqEpimorphismNilpotentQuotient( F, 5 ); [ f1, f2, f3 ] -> [ g1, g2, g3 ] gap> Image( phi, LeftNormedComm( [F.3, F.2, F.1] ) ); g12 gap> F := FreeGroup( "a", "b" ); gap> G := F / [ F.1^2, F.2^2 ]; gap> phi := NqEpimorphismNilpotentQuotient( G, 4 ); [ a, b ] -> [ g1, g2 ] gap> Image( phi, Comm(G.1,G.2) ); g3*g4 gap> F := FreeGroup( "a", "b", "u", "v", "x" ); gap> a := F.1;; b := F.2;; u := F.3;; v := F.4;; x := F.5;; gap> G := F / [ x^5, LeftNormedComm( [u,v,v,v] ) ]; gap> phi := NqEpimorphismNilpotentQuotient( G : idgens:=[u,v,x], class:=5 ); [ a, b ] -> [ g1, g2 ] gap> U := Source(phi); Group([ a, b ]) gap> ImageElm( phi, LeftNormedComm( [U.1*U.2, U.2^-1,U.2^-1,U.2^-1,] ) ); id ]]> Note that the last epimorphism is a map from the group generated by a and b onto the nilpotent quotient. The identical generators are used only to formulate the identical relator. They are not generators of the group G. Also note that the left-normed commutator above is mapped to the identity as G satisfies the specified identical law. This function accepts the same arguments and options as and returns a list containing the abelian invariants of the central factors in the lower central series of the specified group. gap> LowerCentralFactors( FreeGroup(2), 6 ); [ [ 0, 0 ], [ 0 ], [ 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0, 0, 0, 0 ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ]

Expression Trees The argument m must be a positive integer. The function returns a list with m expression tree symbols named x1, x2,... The optional parameter prefix must be a string and is used instead of x if present.

Alternatively, the function can be executed with a list of strings str1, str2, .... It returns a list of symbols with these strings as names.

The following operations are defined for expression trees: multiplication, inversion, exponentiation, forming commutators, forming conjugates. gap> t := ExpressionTrees( 3 ); [ x1, x2, x3 ] gap> tree := Comm( t[1], t[2] )^3/LeftNormedComm( [t[1],t[2],t[3],t[1]] ); Comm( x1, x2 )^3/Comm( x1, x2, x3, x1 ) gap> t := ExpressionTrees( "a", "b", "x" ); [ a, b, x ] gap> tree := Comm( t[1], t[2] )^3/LeftNormedComm( [t[1],t[2],t[3],t[1]] ); Comm( a, b )^3/Comm( a, b, x, a ) The argument tree is an expression tree followed by the list of those symbols symbols from which the expression tree is built up. The argument values is a list containing a constant for each symbol. The function substitutes each value for the corresponding symbol and computes the resulting value for tree. F := FreeGroup( 3 ); gap> t := ExpressionTrees( "a", "b", "x" ); [ a, b, x ] gap> tree := Comm( t[1], t[2] )^3/LeftNormedComm( [t[1],t[2],t[3],t[1]] ); Comm( a, b )^3/Comm( a, b, x, a ) gap> EvaluateExpTree( tree, t, GeneratorsOfGroup(F) ); f1^-1*f2^-1*f1*f2*f1^-1*f2^-1*f1*f2*f1^-1*f2^-1*f1*f2*f1^-1*f3^-1*f2^-1*f1^ -1*f2*f1*f3*f1^-1*f2^-1*f1*f2*f1*f2^-1*f1^-1*f2*f1*f3^-1*f1^-1*f2^-1*f1*f2*f3 ]]>

Auxiliary Functions The only argument stream is an output stream of the ANU NQ. The function reads the stream and returns a record that has a component for each global variable used in the output of the ANU NQ, see . The function takes a finitely presented group fp-group and returns a string in the input format of the ANU NQ. If the list idgens is present, then it must contain generators of the free group underlying the finitely presented group . The generators in idgens are treated as identical generators. F := FreeGroup(2); gap> G := F / [F.1^2, F.2^2, (F.1*F.2)^4]; gap> NqStringFpGroup( G ); "< x1, x2 |\n x1^2,\n x2^2,\n x1*x2*x1*x2*x1*x2*x1*x2\n>\n" gap> Print( last ); < x1, x2 | x1^2, x2^2, x1*x2*x1*x2*x1*x2*x1*x2 > gap> PrintTo( "dihedral", last ); gap> ## The following is equivalent to: gap> ## NilpotentQuotient( : input_file := "dihedral" ); gap> NilpotentQuotient( "dihedral" ); Pcp-group with orders [ 2, 2, 2 ] gap> Exec( "rm dihedral" ); gap> F := FreeGroup(3); gap> H := F / [ LeftNormedComm( [F.2,F.1,F.1] ), > LeftNormedComm( [F.2,F.1,F.2] ), F.3^7 ]; gap> str := NqStringFpGroup( H, [F.3] ); "< x1, x2; x3 |\n x1^-1*x2^-1*x1*x2*x1^-1*x2^-1*x1^-1*x2*x1^2,\n x1^-1*x\ 2^-1*x1*x2^-1*x1^-1*x2*x1*x2,\n x3^7\n>\n" gap> NilpotentQuotient( : input_string := str ); Pcp-group with orders [ 7, 7, 7 ] ]]> The function takes a finitely presented group fp-group given in terms of expression trees and returns a string in the input format of the ANU NQ. If the list idgens is present, then it must contain a sublist of the generators of the presentation. The generators in idgens are treated as identical generators. x := ExpressionTrees( 2 ); [ x1, x2 ] gap> rels := [x[1]^2, x[2]^2, (x[1]*x[2])^5]; [ x1^2, x2^2, (x1*x2)^5 ] gap> NqStringExpTrees( rec( generators := x, relations := rels ) ); "< x1, x2 |\n x1^2,\n x2^2,\n (x1*x2)^5\n>\n" gap> Print( last ); < x1, x2 | x1^2, x2^2, (x1*x2)^5 > gap> x := ExpressionTrees( 3 ); [ x1, x2, x3 ] gap> rels := [LeftNormedComm( [x[2],x[1],x[1]] ), > LeftNormedComm( [x[2],x[1],x[2]] ), x[3]^7 ]; [ Comm( x2, x1, x1 ), Comm( x2, x1, x2 ), x3^7 ] gap> NqStringExpTrees( rec( generators := x, relations := rels ) ); "< x1, x2, x3 |\n [ x2, x1, x1 ],\n [ x2, x1, x2 ],\n x3^7\n>\n" gap> Print( last ); < x1, x2, x3 | [ x2, x1, x1 ], [ x2, x1, x2 ], x3^7 > ]]> The function only returns the non-zero elementary divisors of an integer matrix. This function computes the elementary divisors of int-mat and adds the appropriate number of zeroes in order to make it easier to recognize the isomorphism type of the abelian group presented by the integer matrix. At the same time ones are stripped from the list of elementary divisors.
Global Variables This variable contains the number of milliseconds of runtime of the last call of ANU NQ. gap> NilpotentEngelQuotient( FreeGroup(2), 5 ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 10, 0, 0, 30, 0, 3, 3, 10, 2, 0, 6, 0, 0, 30, 2, 0, 9, 3, 5, 2, 6, 2, 10, 5, 5, 2, 0, 3, 3, 3, 3, 3, 5, 5, 3, 3 ] gap> NqRuntime; 18200 This variable contains a list of strings which are the standard command line options passed to the ANU NQ in each call. Modifying this variable can be used to pass additional options to the ANU NQ. gap> NqDefaultOptions; [ "-g", "-p", "-C", "-s" ] The option -g causes the ANU NQ to produce output in &GAP;-format. The option -p prevents the ANU NQ from listing the pc-presentation of the nilpotent quotient at the end of the calculation. The option -C invokes the combinatorial collector. The option -s is effective only in conjunction with options for computing with Engel identities and instructs the ANU NQ to use only semigroup words in the generators as instances of an Engel law. This variable contains a list of strings with the names of the global variables that are used in the output stream of the ANU NQ. While the output stream is read, these global variables are assigned new values. To avoid overwriting these variables in case they contain values, their contents is saved before reading the output stream and restored afterwards.
Diagnostic Output While the standalone program is running it can be asked to display progress information. This is done by setting the info class InfoNQ to 1 via the function . gap> NilpotentQuotient(FreeGroup(2),5); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] gap> SetInfoLevel( InfoNQ, 1 ); gap> NilpotentQuotient(FreeGroup(2),5); #I Class 1: 2 generators with relative orders 0 0 #I Class 2: 1 generators with relative orders: 0 #I Class 3: 2 generators with relative orders: 0 0 #I Class 4: 3 generators with relative orders: 0 0 0 #I Class 5: 6 generators with relative orders: 0 0 0 0 0 0 Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] gap> SetInfoLevel( InfoNQ, 0 );
nq-2.5.11/doc/manual.six000644 000766 000024 00000024135 14550113063 015257 0ustar00mhornstaff000000 000000 #SIXFORMAT GapDocGAP HELPBOOKINFOSIXTMP := rec( encoding := "UTF-8", bookname := "nq", entries := [ [ "Title page", ".", [ 0, 0, 0 ], 1, 1, "title page", "X7D2C85EC87DD46E5" ], [ "Copyright", ".-1", [ 0, 0, 1 ], 23, 2, "copyright", "X81488B807F2A1CF1" ] , [ "Acknowledgements", ".-2", [ 0, 0, 2 ], 34, 2, "acknowledgements", "X82A988D47DFAFCFA" ], [ "Table of Contents", ".-3", [ 0, 0, 3 ], 62, 3, "table of contents", "X8537FEB07AF2BEC8" ], [ "\033[1X\033[33X\033[0;-2YIntroduction\033[133X\033[101X", "1", [ 1, 0, 0 ], 1, 4, "introduction", "X7DFB63A97E67C0A1" ], [ "\033[1X\033[33X\033[0;-2YGeneral remarks\033[133X\033[101X", "2", [ 2, 0, 0 ], 1, 5, "general remarks", "X7A696C2A78E88D1A" ], [ "\033[1X\033[33X\033[0;-2YCommutators and the Lower Central Series\033[133X\ \033[101X", "2.1", [ 2, 1, 0 ], 8, 5, "commutators and the lower central series", "X7E33A61A831C0068" ], [ "\033[1X\033[33X\033[0;-2YNilpotent groups\033[133X\033[101X", "2.2", [ 2, 2, 0 ], 36, 5, "nilpotent groups", "X8463EF6A821FFB69" ], [ "\033[1X\033[33X\033[0;-2YNilpotent presentations\033[133X\033[101X", "2.3", [ 2, 3, 0 ], 63, 6, "nilpotent presentations", "X8268F8197E6BD786" ], [ "\033[1X\033[33X\033[0;-2YA sketch of the algorithm\033[133X\033[101X", "2.4", [ 2, 4, 0 ], 128, 7, "a sketch of the algorithm", "X7DAF9CC17F6B868D" ], [ "\033[1X\033[33X\033[0;-2YIdentical Relations\033[133X\033[101X", "2.5", [ 2, 5, 0 ], 177, 7, "identical relations", "X84EF796487BC1822" ], [ "\033[1X\033[33X\033[0;-2YExpression Trees\033[133X\033[101X", "2.6", [ 2, 6, 0 ], 232, 8, "expression trees", "X861A2C6385F6BCF5" ], [ "\033[1X\033[33X\033[0;-2YA word about the implementation\033[133X\033[101X\ ", "2.7", [ 2, 7, 0 ], 292, 9, "a word about the implementation", "X7E27CA7F7E797520" ], [ "\033[1X\033[33X\033[0;-2YThe input format of the standalone\033[133X\033[1\ 01X", "2.8", [ 2, 8, 0 ], 353, 10, "the input format of the standalone", "X79E150AA823439A8" ], [ "\033[1X\033[33X\033[0;-2YThe Functions of the Package\033[133X\033[101X", "3", [ 3, 0, 0 ], 1, 11, "the functions of the package", "X82738C527E6AC670" ], [ "\033[1X\033[33X\033[0;-2YNilpotent Quotients of Finitely Presented Groups\\ 033[133X\033[101X", "3.1", [ 3, 1, 0 ], 4, 11, "nilpotent quotients of finitely presented groups", "X7D147D4182F85244" ], [ "\033[1X\033[33X\033[0;-2YExpression Trees\033[133X\033[101X", "3.2", [ 3, 2, 0 ], 295, 16, "expression trees", "X861A2C6385F6BCF5" ], [ "\033[1X\033[33X\033[0;-2YAuxiliary Functions\033[133X\033[101X", "3.3", [ 3, 3, 0 ], 348, 17, "auxiliary functions", "X866E18057EF83F65" ], [ "\033[1X\033[33X\033[0;-2YGlobal Variables\033[133X\033[101X", "3.4", [ 3, 4, 0 ], 453, 19, "global variables", "X7D9044767BEB1523" ], [ "\033[1X\033[33X\033[0;-2YDiagnostic Output\033[133X\033[101X", "3.5", [ 3, 5, 0 ], 502, 19, "diagnostic output", "X804DD7CE815D87C9" ], [ "\033[1X\033[33X\033[0;-2YExamples\033[133X\033[101X", "4", [ 4, 0, 0 ], 1, 21, "examples", "X7A489A5D79DA9E5C" ], [ "\033[1X\033[33X\033[0;-2YRight Engel elements\033[133X\033[101X", "4.1", [ 4, 1, 0 ], 4, 21, "right engel elements", "X8638E6CE7B5955FB" ], [ "\033[1X\033[33X\033[0;-2YInstallation of the Package\033[133X\033[101X", "5", [ 5, 0, 0 ], 1, 23, "installation of the package", "X79E1ED167D631DCC" ], [ "\033[1X\033[33X\033[0;-2YConfiguring for compilation\033[133X\033[101X", "5.1", [ 5, 1, 0 ], 6, 23, "configuring for compilation", "X783433687E4C822A" ], [ "\033[1X\033[33X\033[0;-2YCompiling the nq binary\033[133X\033[101X", "5.2", [ 5, 2, 0 ], 49, 24, "compiling the nq binary", "X83FF596582258A74" ], [ "\033[1X\033[33X\033[0;-2YTesting\033[133X\033[101X", "5.3", [ 5, 3, 0 ], 67, 24, "testing", "X7DE7E7187BE24368" ], [ "\033[1X\033[33X\033[0;-2YFeedback\033[133X\033[101X", "5.4", [ 5, 4, 0 ], 81, 24, "feedback", "X80D704CC7EBFDF7A" ], [ "\033[1X\033[33X\033[0;-2YThe nq command line interface\033[133X\033[101X" , "a", [ "A", 0, 0 ], 1, 25, "the nq command line interface", "X78A212947932A6D3" ], [ "\033[1X\033[33X\033[0;-2YHow to use the ANU NQ\033[133X\033[101X", "a.1", [ "A", 1, 0 ], 4, 25, "how to use the anu nq", "X7B495102781E821B" ], [ "\033[1X\033[33X\033[0;-2YThe input format for presentations\033[133X\033[1\ 01X", "a.2", [ "A", 2, 0 ], 143, 27, "the input format for presentations", "X791091ED814A9B87" ], [ "\033[1X\033[33X\033[0;-2YAn example\033[133X\033[101X", "a.3", [ "A", 3, 0 ], 173, 27, "an example", "X7B5623E3821CC0D0" ], [ "\033[1X\033[33X\033[0;-2YSome remarks about the algorithm\033[133X\033[101\ X", "a.4", [ "A", 4, 0 ], 250, 29, "some remarks about the algorithm", "X829490077E75F283" ], [ "Bibliography", "bib", [ "Bib", 0, 0 ], 1, 30, "bibliography", "X7A6F98FD85F02BFE" ], [ "References", "bib", [ "Bib", 0, 0 ], 1, 30, "references", "X7A6F98FD85F02BFE" ], [ "Index", "ind", [ "Ind", 0, 0 ], 1, 31, "index", "X83A0356F839C696F" ], [ "License", ".-1", [ 0, 0, 1 ], 23, 2, "license", "X81488B807F2A1CF1" ], [ "\033[5Xnq\033[105X", ".-3", [ 0, 0, 3 ], 62, 3, "nq", "X8537FEB07AF2BEC8" ], [ "commutator", "2.1", [ 2, 1, 0 ], 8, 5, "commutator", "X7E33A61A831C0068" ], [ "left-normed commutator", "2.1", [ 2, 1, 0 ], 8, 5, "left-normed commutator", "X7E33A61A831C0068" ], [ "lower central series", "2.1", [ 2, 1, 0 ], 8, 5, "lower central series", "X7E33A61A831C0068" ], [ "nilpotent", "2.2", [ 2, 2, 0 ], 36, 5, "nilpotent", "X8463EF6A821FFB69" ] , [ "nilpotency class", "2.2", [ 2, 2, 0 ], 36, 5, "nilpotency class", "X8463EF6A821FFB69" ], [ "class", "2.2", [ 2, 2, 0 ], 36, 5, "class", "X8463EF6A821FFB69" ], [ "polycyclic", "2.2", [ 2, 2, 0 ], 36, 5, "polycyclic", "X8463EF6A821FFB69" ], [ "polycyclic generating sequence", "2.2", [ 2, 2, 0 ], 36, 5, "polycyclic generating sequence", "X8463EF6A821FFB69" ], [ "polycyclic presentation", "2.3", [ 2, 3, 0 ], 63, 6, "polycyclic presentation", "X8268F8197E6BD786" ], [ "power relation", "2.3", [ 2, 3, 0 ], 63, 6, "power relation", "X8268F8197E6BD786" ], [ "commutator relation", "2.3", [ 2, 3, 0 ], 63, 6, "commutator relation", "X8268F8197E6BD786" ], [ "nilpotent presentation", "2.3", [ 2, 3, 0 ], 63, 6, "nilpotent presentation", "X8268F8197E6BD786" ], [ "consistent", "2.3", [ 2, 3, 0 ], 63, 6, "consistent", "X8268F8197E6BD786" ], [ "identical relation", "2.5", [ 2, 5, 0 ], 177, 7, "identical relation", "X84EF796487BC1822" ], [ "law", "2.5", [ 2, 5, 0 ], 177, 7, "law", "X84EF796487BC1822" ], [ "identical generator", "2.5", [ 2, 5, 0 ], 177, 7, "identical generator", "X84EF796487BC1822" ], [ "right Engel element", "2.5", [ 2, 5, 0 ], 177, 7, "right engel element", "X84EF796487BC1822" ], [ "left Engel element", "2.5", [ 2, 5, 0 ], 177, 7, "left engel element", "X84EF796487BC1822" ], [ "expression trees", "2.6", [ 2, 6, 0 ], 232, 8, "expression trees", "X861A2C6385F6BCF5" ], [ "Nilpotent Quotient Package", "3.", [ 3, 0, 0 ], 1, 11, "nilpotent quotient package", "X82738C527E6AC670" ], [ "\033[2XNilpotentQuotient\033[102X", "3.1-1", [ 3, 1, 1 ], 7, 11, "nilpotentquotient", "X8216791583DE512C" ], [ "\033[2XNilpotentQuotient\033[102X for input from a file", "3.1-1", [ 3, 1, 1 ], 7, 11, "nilpotentquotient for input from a file", "X8216791583DE512C" ], [ "options", "3.1-1", [ 3, 1, 1 ], 7, 11, "options", "X8216791583DE512C" ], [ "options group", "3.1-1", [ 3, 1, 1 ], 7, 11, "options group", "X8216791583DE512C" ], [ "options input\\_string", "3.1-1", [ 3, 1, 1 ], 7, 11, "options input_string", "X8216791583DE512C" ], [ "options input\\_file", "3.1-1", [ 3, 1, 1 ], 7, 11, "options input_file", "X8216791583DE512C" ], [ "options output\\_file", "3.1-1", [ 3, 1, 1 ], 7, 11, "options output_file", "X8216791583DE512C" ], [ "options idgens", "3.1-1", [ 3, 1, 1 ], 7, 11, "options idgens", "X8216791583DE512C" ], [ "options class", "3.1-1", [ 3, 1, 1 ], 7, 11, "options class", "X8216791583DE512C" ], [ "\033[2XNilpotentEngelQuotient\033[102X", "3.1-2", [ 3, 1, 2 ], 165, 13, "nilpotentengelquotient", "X7ACCB6267C187AB0" ], [ "\033[2XNilpotentEngelQuotient\033[102X for input from a file", "3.1-2", [ 3, 1, 2 ], 165, 13, "nilpotentengelquotient for input from a file", "X7ACCB6267C187AB0" ], [ "\033[2XNqEpimorphismNilpotentQuotient\033[102X", "3.1-3", [ 3, 1, 3 ], 222, 14, "nqepimorphismnilpotentquotient", "X8758F663782AE655" ], [ "\033[2XLowerCentralFactors\033[102X", "3.1-4", [ 3, 1, 4 ], 281, 15, "lowercentralfactors", "X827C2D4F78C982FC" ], [ "\033[2XExpressionTrees\033[102X", "3.2-1", [ 3, 2, 1 ], 298, 16, "expressiontrees", "X7CC7CDDD876BB8EB" ], [ "\033[2XExpressionTrees\033[102X for a list of names", "3.2-1", [ 3, 2, 1 ], 298, 16, "expressiontrees for a list of names", "X7CC7CDDD876BB8EB" ], [ "\033[2XEvaluateExpTree\033[102X", "3.2-2", [ 3, 2, 2 ], 324, 16, "evaluateexptree", "X879956307B67A136" ], [ "\033[2XNqReadOutput\033[102X", "3.3-1", [ 3, 3, 1 ], 351, 17, "nqreadoutput", "X855407657CB86F40" ], [ "\033[2XNqStringFpGroup\033[102X", "3.3-2", [ 3, 3, 2 ], 359, 17, "nqstringfpgroup", "X8443537679BC81D5" ], [ "\033[2XNqStringExpTrees\033[102X", "3.3-3", [ 3, 3, 3 ], 402, 18, "nqstringexptrees", "X82684F4D79A786F5" ], [ "\033[2XNqElementaryDivisors\033[102X", "3.3-4", [ 3, 3, 4 ], 442, 18, "nqelementarydivisors", "X7A28800579A2BB35" ], [ "\033[2XNqRuntime\033[102X", "3.4-1", [ 3, 4, 1 ], 456, 19, "nqruntime", "X87691A167A83FAF6" ], [ "\033[2XNqDefaultOptions\033[102X", "3.4-2", [ 3, 4, 2 ], 472, 19, "nqdefaultoptions", "X7DFBFD1580BF024A" ], [ "\033[2XNqGlobalVariables\033[102X", "3.4-3", [ 3, 4, 3 ], 492, 19, "nqglobalvariables", "X83D1AFCB7EFF4380" ] ] ); nq-2.5.11/doc/chapBib_mj.html000644 000766 000024 00000012756 14550113063 016167 0ustar00mhornstaff000000 000000 GAP (nq) - References
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

References

[EN02] Eick, B. and Nickel, W., Polycyclic, Algorithms for working with polycyclic groups (2002)
(GAP package), https://gap-packages.github.io/polycyclic/.

[GMP] GNU MP, https://gmplib.org/.

[Hig59] Higman, G., Some remarks on varieties of groups, Quart. J. Math. Oxford, 2 (10) (1959), 165–178.

[LGS90] Leedham-Green, C. R. and Soicher, L. H., Collection from the left and other strategies, J. Symbolic Comput., 9 (5–6) (1990), 665–675.

[Nic96] Nickel, W., Computing Nilpotent Quotients of Finitely Presented Groups, in Geometric and Computational Perspectives on Infinite Groups, Dimacs Series in Discrete Mathematics and Theoretical Computer Science, 25 (1996), 175–191.

[NN94] Newman, M. F. and Nickel, W., Engel elements in groups, J. Pure Appl. Algebra, 96 (1994), 39–45.

[Sim94] Sims, C. C., Computation with Finitely Presented Groups, Cambridge University Press (1994).

[VL90] Vaughan-Lee, M. R., Collection from the Left, J. Symbolic Comput., Academic Press, 9 (1990), 725–733.

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/_entities.xml000644 000766 000024 00000000045 14550113056 015756 0ustar00mhornstaff000000 000000 nq'> nq-2.5.11/doc/chap0_mj.html000644 000766 000024 00000026452 14550113063 015630 0ustar00mhornstaff000000 000000 GAP (nq) - Contents
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

nq

Nilpotent Quotients of Finitely Presented Groups

2.5.11

12 January 2024

Werner Nickel
Homepage: http://www.mathematik.tu-darmstadt.de/~nickel/

Copyright

© 1992-2007 Werner Nickel

The nq package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Acknowledgements

The author of ANU NQ is Werner Nickel.

The development of this program was started while the author was supported by an Australian National University PhD scholarship and an Overseas Postgraduate Research Scholarship.

Further development of this program was done with support from the DFG-Schwerpunkt-Projekt "Algorithmische Zahlentheorie und Algebra".

Since then, maintenance of ANU NQ has been taken over by Max Horn. All credit for creating ANU NQ still goes to Werner Nickel as sole author. However, bug reports and other inquiries should be sent to Max Horn.

The following are the original acknowledgements by Werner Nickel.

Over the years a number of people have made useful suggestions that found their way into the code: Mike Newman, Michael Vaughan-Lee, Joachim Neubüser, Charles Sims.

Thanks to Volkmar Felsch and Joachim Neubüser for their careful examination of the package prior to its release for GAP 4.

This documentation was prepared with the GAPDoc package by Frank Lübeck and Max Neunhöffer.

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/chap2.html000644 000766 000024 00000073252 14550113063 015144 0ustar00mhornstaff000000 000000 GAP (nq) - Chapter 2: General remarks
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

2 General remarks

In this chapter we define notation used throughout this manual and recollect basic facts about nilpotent groups. We also provide some background information about the functionality implemented in this package.

2.1 Commutators and the Lower Central Series

The commutator of two elements h_1 and h_2 of a group G is the element h_1^-1h_2^-1h_1h_2 and is denoted by [h_1,h_2]. It satisfies the equation h_1h_2 = h_2h_1[h_1,h_2] and can be interpreted as the correction term that has to be introduced into a word if two elements of a group are interchanged. Iterated commutators are written in left-normed fashion: [h_1,h_2,...,h_n-1,h_n]=[[h_1,h_2,...,h_n-1],h_n].

The lower central series of G is defined inductively as γ_1(G) = G, γ_i(G) = [γ_i-1(G),G] for i ≥ 2. Each term in the lower central series is a normal (even fully invariant) subgroup of G. The factors of the lower central series are abelian groups. On each factor the induced action of G via conjugation is the trivial action.

The factor γ_k(G)/γ_k+1(G) is generated by the elements [g,h]γ_k+1(G), where g runs through a set of (representatives of) generators for G/γ_2(G) and h runs through a set of (representatives of) generators for γ_k-1(G)/γ_k(G). Therefore, each factor of the lower central series is finitely generated if G is finitely generated.

If one factor of the lower central series is finite, then all subsequent factors are finite. Then the exponent of the k+1-th factor is a divisor of the exponent of the k-th factor of the lower central series. In particular, the exponents of all factors of the lower central series are bounded by the exponent of the first finite factor of the lower central series.

2.2 Nilpotent groups

A group G is called nilpotent if there is a positive integer c such that all (c+1)-fold commutators are trivial in G. The smallest integer with this property is called the nilpotency class of G. In terms of the lower central series a group G not= 1 has nilpotency class c if and only if γ_c(G) not= 1 and γ_c+1(G) = 1.

Examples of nilpotent groups are finite p-groups, the group of unitriangular matrices over a ring with one and the factor groups of a free group modulo the terms of its lower central series.

Finiteness of a nilpotent group can be decided by the group's commutator factor group. A nilpotent group is finite if and only if its commutator factor group is finite. A group whose commutator factor group is finite can only have finite nilpotent quotient groups.

By refining the lower central series of a finitely generated nilpotent group one can obtain a (sub)normal series G_1>G_2>...>G_k+1=1 with cyclic (central) factors. Therefore, every finitely generated nilpotent group is polycyclic. Such a polycyclic series gives rise to a polycyclic generating sequence by choosing a generator a_i for each cyclic factor G_i/G_i+1. Let I be the set of indices such that G_i/G_i+1 is finite. A simple induction argument shows that every element of the group can be written uniquely as a normal word a_1^e_1... a_n^e_n with integers e_i and 0≤ e_i<m_i for i∈ I.

2.3 Nilpotent presentations

From a polycyclic generating sequence one can obtain a polycyclic presentation for the group. The following set of power and commutator relations is a defining set of relations. The power relations express a_i^m_i in terms of the generators a_i+1,...,a_n whenever G_i/G_i+1 is finite with order m_i. The commutator relations are obtained by expressing [a_j,a_i] for j>i as a word in the generators a_i+1,...,a_n. If the polycyclic series is obtained from refining the lower central series, then [a_j,a_i] is even a word in a_j+1,...,a_n. In this case we obtain a nilpotent presentation.

To be more precise, a nilpotent presentation is given on a finite number of generators a_1,...,a_n. Let I be the set of indices such that G_i/G_i+1 is finite. Let m_i be the order of G_i/G_i+1 for i∈ I. Then a nilpotent presentation has the form

\langle a,\ldots,a_n | a_i^{m_i} = w_{ii}(a_{i+1},\ldots,a_n) \mbox{ for } i\in I;\; [a_j,a_i] = w_{ij}(a_{j+1},\ldots,a_n) \mbox{ for } 1\leq i < j\leq n\rangle

Here, w_ij(a_k,...,a_n) denotes a group word in the generators a_k,...,a_n.

In a group given by a polycyclic presentation each element in the group can be written as a normal word a_1^e_1... a_n^e_n with e_i ∈ Z and 0 ≤ e_i < m_i for i ∈ I. A procedure called collection can be used to convert an arbitrary word in the generators into an equivalent normal word. In general, the resulting normal word need not be unique. The result of collecting a word may depend on the steps chosen during the collection procedure. A polycyclic presentation with the property that two different normal words are never equivalent is called consistent. A polycyclic presentation derived from a polycyclic series as above is consistent. The following example shows an inconsistent polycyclic presentation

\langle a,b\mid a^2, b^a = b^2 \rangle

as b = baa = ab^2a = a^2b^4 = b^4 which implies b^3=1. Here we have the equivalent normal words b^3 and the empty word. It can be proved that consistency can be checked by collecting a finite number of words in the given generating set in two essentially different ways and checking if the resulting normal forms are the same in both cases. See Chapter 9 of the book [Sim94] for an introduction to polycyclic groups and polycyclic presentations.

For computations in a polycyclic group one chooses a consistent polycyclic presentation as it offers a simple solution to the word problem: Equality between two words is decided by collecting both words to their respective normal forms and comparing the normal forms. Nilpotent groups and nilpotent presentations are special cases of polycyclic groups and polycyclic presentations. Nilpotent presentations allow specially efficient collection methods. The package Polycyclic provides algorithms to compute with polycyclic groups given by a polycyclic presentation.

However, inconsistent nilpotent presentations arise naturally in the nilpotent quotient algorithm. There is an algorithm based on the test words for consistency mentioned above to modify the arising inconsistent presentations suitably to obtain a consistent one for the same group.

2.4 A sketch of the algorithm

The input for the ANU NQ in its simplest form is a finite presentation ⟨ X|R⟩ for a group G. The first step of the algorithm determines a nilpotent presentation for the commutator quotient of G. This is a presentation of the class-1 quotient of G. Call its generators a_1,...,a_d. It also determines a homomorphism of G onto the commutator quotient and describes it by specifying the image of each generator in X as a word in the a_i.

For the general step assume that the algorithm has computed a nilpotent presentation for the class-c quotient of G and that a_1,...,a_d are the generators introduced in the first step of the algorithm. Furthermore, there is a map from X into the class-c quotient describing the epimorphism from G onto G/γ_c+1(G).

Let b_1,...b_k be the generators from the last step of the algorithm, the computation of γ_c(G)/γ_c+1(G). This means that b_1,...b_k generate γ_c(G)/γ_c+1(G). Then the commutators [b_j,a_i] generate γ_c+1(G)/γ_c+2(G). The algorithm introduces new, central generators c_ij into the presentation, adds the relations [b_j,a_i] = c_ij and modifies the existing relations by appending suitable words in the c_ij, called tails, to the right hand sides of the power and commutator relations. The resulting presentation is a nilpotent presentation for the nilpotent cover of G/γ_c+1(G). The nilpotent cover is the largest central extension of G/γ_c+1(G) generated by d elements. It is is uniquely determined up to isomorphism.

The resulting presentation of the nilpotent cover is in general inconsistent. Consistency is achieved by running the consistency test. This results in relations among the generators c_ij which can be used to eliminate some of those generators or introduce power relations. After this has been done we have a consistent nilpotent presentation for the nilpotent cover of G/γ_c+1(G).

Furthermore, the nilpotent cover need not satisfy the relations of G. In other words, the epimorphism from G onto G/γ_c+1(G) cannot be lifted to an epimorphism onto the nilpotent cover. Applying the epimorphism to each relator of G and collecting the resulting words of the nilpotent cover yields a set of words in the c_ij. This gives further relations between the c_ij which leads to further eliminations or modifications of the power relations for the c_ij.

After this, the inductive step of the ANU NQ is complete and a consistent nilpotent presentation for G/γ_c+2(G) is obtained together with an epimorphism from G onto the class-(c+1) quotient.

Chapter 11 of the book [Sim94] discusses a nilpotent quotient algorithm. A description of the implementation in the ANU NQ is contained in [Nic96]

2.5 Identical Relations

Let w be a word in free generators x_1,...,x_n. A group G satisfies the relation w=1 identically if each map from x_1,...,x_n into G maps w to the identity element of G. We also say that G satisfies the identical relation w=1 or satisfies the law w=1. In slight abuse of notation, we call the elements x_1,...,x_n identical generators.

Common examples of identical relations are: A group of nilpotency class at most c satisfies the law [x_1,...,x_c+1]=1. A group that satisfies the law [x,y,...,y]=1 where y occurs n-times, is called an n-Engel group. A group that satisfies the law x^d=1 is a group of exponent d.

To describe finitely presented groups that satisfy one or more laws, we extend a common notation for finitely presented groups by specifying the identical generators as part of the generator list, separated from the group generators by a semicolon: For example

\langle a,b,c; x,y | x^5, [x,y,y,y]\rangle

is a group on 3 generators a,b,c of exponent 5 satisfying the 3rd Engel law. The presentation above is equivalent to a presentation on 3 generators with an infinite set of relators, where the set of relators consists of all fifth powers of words in the generators and all commutators [x,y,y,y] where x and y run through all words in the generators a,b,c. The standalone programme accepts the notation introduced above as a description of its input. In GAP 4 finitely presented groups are specified in a different way, see NilpotentQuotient (3.1-1) for a description.

This notation can also be used in words that mix group and identical generators as in the following example:

\langle a,b,c; x | [x,c], [a,x,x,x] \rangle

The first relator specifies a law which says that c commutes with all elements of the group. The second turns a into a third right Engel element.

An element a is called a right n-th Engel element or a right n-Engel element if it satisfies the commutator law [a,x,...,x]=1 where the identical generator x occurs n-times. Likewise, an element b is called an left n-th Engel element or left n-Engel element if it satisfies the commutator law [x,b,b,...b]=1.

Let G be a nilpotent group. Then G satisfies a given law if the law is satisfied by a certain finite set of instances given by Higman's Lemma, see [Hig59]. The ANU NQ uses Higman's Lemma to obtain a finite presentation for groups that satisfy one or several identical relations.

2.6 Expression Trees

Expressions involving commutators play an important role in the context of nilpotent groups. Expanding an iterated commutator produces a complicated and long expression. For example,

[x,y,z] = y^{-1}x^{-1}yxz^{-1}x^{-1}y^{-1}xyz.

Evaluating a commutator [a,b] is done efficiently by computing the equation (ba)^-1ab. Therefore, for each commutator we need to perform two multiplications and one inversion. Evaluating [x,y,z] needs four multiplications and two inversions. Evaluation of an iterated commutator with n components takes 2n-1 multiplications and n-1 inversions. The expression on the right hand side above needs 9 multiplications and 5 inversions which is clearly much more expensive than evaluating the commutator directly.

Assuming that no cancellations occur, expanding an iterated commutator with n components produces a word with 2^n+1-2^n-1-2 factors half of which are inverses. A similar effect occurs whenever a compact expression is expanded into a word in generators and inverses, for example (ab)^49.

Therefore, it is important not to expand expressions into a word in generators and inverses. For this purpose we provide a mechanism which we call here expression trees. An expression tree preserves the structure of a given expression. It is a (binary) tree in which each node is assigned an operation and whose leaves are generators of a free group or integers. For example, the expression [(xy)^2, z] is stored as a tree whose top node is a commutator node. The right subtree is just a generator node (corresponding to z). The left subtree is a power node whose subtrees are a product node on the left and an integer node on the right. An expression tree can involve products, powers, conjugates and commutators. However, the list of available operations can be extended.

Evaluation of an expression tree is done recursively and requires as many operations as there are nodes in the tree. An expression tree can be evaluated in a specific group by the function EvaluateExpTree (3.2-2).

A presentation specified by expression trees is a record with the components .generators and .relations. See section 3.2 for a description of the functions that produce and manipulate expression trees.

gap> LoadPackage( "nq" );
true
gap> gens := ExpressionTrees( 2 );
[ x1, x2 ]
gap> r1 := LeftNormedComm( [gens[1],gens[2],gens[2]] );
Comm( x1, x2, x2 )
gap> r2 := LeftNormedComm( [gens[1],gens[2],gens[2],gens[1]] );
Comm( x1, x2, x2, x1 )
gap> pres := rec( generators := gens, relations := [r1,r2] );
rec( generators := [ x1, x2 ], 
relations := [ Comm( x1, x2, x2 ), Comm( x1, x2, x2, x1 ) ] )

2.7 A word about the implementation

The ANU NQ is written in C, but not in ANSI C. I hope to make one of the next versions ANSI compliable. However, it uses a fairly restricted subset of the language so that it should be easy to compile it in new environments. The code is 64-bit clean. If you have difficulties with porting it to a new environment, let me know and I'll be happy to assist if time permits.

The program has two collectors: a simple collector from the left as described in [LGS90] and a combinatorial from the left collector as described in [VL90]. The combinatorial collector is always faster than the simple collector, therefore, it is the collector used by this package by default. This can be changed by modifying the global variable NqDefaultOptions (3.4-2).

In a polycyclic group with generators that do not have power relations, exponents may become arbitrarily large. Experience shows that this happens rarely in the computations done by the ANU NQ. Exponents are represented by 32-bit integers. The collectors perform an overflow check and abort the computation if an overflow occurred. In a GNU environment the program can be compiled using the `long long' 64-bit integer type. For this uncomment the relevant line in src/Makefile and recompile the program.

As part of the step that enforces consistency and the relations of the group, the ANU NQ performs computations with integer matrices and converts them to Hermite Normal Form. The algorithm used here is a variation of the Kanan-Bachem algorithm based on the GNU multiple precision package GNU MP [GMP]. Experience shows that the integer matrices are usually fairly sparse and Kanan-Bachem seems to be sufficient in this context. However, the implementation might benefit from a more efficient strategy for computing Hermite Normal Forms. This is a topic for further investigations.

As the program does not compute the Smith Normal Form for each factor of the lower central series but the Hermite Normal Form, it does not necessarily obtain a minimal generating set for each factor of the lower central series. The following is a simple example of this behaviour. We take the presentation

\langle x, y | x^2 = y \rangle

The group is clearly isomorphic to the additive group of the integers. Applying the ANU NQ to this presentation gives the following nilpotent presentation:

\langle A,B | A^2 = B, [B,A] \rangle

A nilpotent presentation on a minimal generating set would be the presentation of the free group on one generator:

\langle A | \; \rangle

2.8 The input format of the standalone

The input format for finite presentations resembles the way many people write down a presentation on paper. Here are some examples of presentations that the ANU NQ accepts:



    < a, b | >                       # free group of rank 2

    < a, b, c; x, y | 
                [a,b,c],             # a left normed commutator
                [b,c,c,c]^6,         # another one raised to a power
                a^2 = c^-3*a^2*c^3,  # a relation
                a^(b*c) = a,         # a conjugate relation
                (a*[b,(a*c)])^6,     # something that looks complicated
                [x,y,y,y,y],         # an identical relation
                [c,x,x,x,x,x]        # c is a fifth right Engel element
    >


A presentation starts with '<' followed by a list of generators separated by commas. Generator names are strings that contain only upper and lower case letters, digits, dots and underscores and that do not start with a digit. The list of generator names is separated from the list of relators/relations by the symbol ''. The list of generators can be followed by a list of identical generators separated by a semicolon. Relators and relations are separated by commas and can be mixed arbitrarily. Parentheses can be used in order to group subexpressions together. Square brackets can be used in order to form left normed commutators. The symbols '*' and '^' can be used to form products and powers, respectively. The presentation finishes with the symbol '>'. A comment starts with the symbol '#' and finishes at the end of the line. The file src/presentation.c contains a complete grammar for the presentations accepted by the ANU NQ.

Typically, the input for the standalone is put into a file by using a standard text editor. The file can be passed as an argument to the function NilpotentQuotient (3.1-1). It is also possible to put a presentation in the standalone's input format into a string and use the string as argument for NilpotentQuotient (3.1-1).

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/install.xml000644 000766 000024 00000007230 14550113041 015436 0ustar00mhornstaff000000 000000 Installation of the Package Installation of the ANU NQ is done in two steps.
Configuring for compilation First the configure script is run: ./configure If you installed the package in another pkg directory than the standard pkg directory in your &GAP; 4 installation, then you have to do two things. Firstly during compilation you have to use the option --with-gaproot=PATH of the configure script where PATH is a path to the main &GAP; root directory (if not given the default ../.. is assumed). That is, run ./configure --with-gaproot=PATH Secondly you have to specify the path to the directory containing your pkg directory to &GAP;'s list of directories. This can be done by starting &GAP; with the -l command line option followed by the name of the directory and a semicolon. Then your directory is prepended to the list of directories searched. Otherwise the package is not found by &GAP;. Of course, you can add this option to your &GAP; startup script.

Another issue that can occur when running configure is that it may fail to locate the the GNU multiple precision library (GMP ) which ANU NQ requires to work. This library is also used by &GAP; and hence normally should be available on your system anyway. But if this is not the case for some reason, it has to be installed first. A copy of GMP can be obtained from https://gmplib.org/.

In order for the configure script to find your copy of GMP, you may have tell it where to find it via --with-gmp=PATH, where PATH is the path where GMP was installed:

./configure --with-gmp=PATH If necessary, you may combine --with-gmp and --with-gaproot.
Compiling the nq binary If configure reports no problems, the next step is to start the compilation: make

A compiled version of the program named nq is then placed into the directory bin/&tlt;complicated name&tgt;. The &tlt;complicated name&tgt; component encodes the operating system and the compiler used. This allows you to compile NQ on several architectures sharing the same files system.

If there are any warnings or even fatal error messages during the compilation process, please submit a bug report about that following the instructions in Section

Testing After the compilation is finished you can check if the ANU NQ is running properly on your system. Simply type make test This runs some computations and compares their output with the output files in the directory examples. If any errors are reported, please follow the instructions below.
Feedback If you encounter problems with any of the above steps, please do not hesitate to contact us about this. You can either use the https://github.com/gap-system/nq/issues or contact the GAP support group via support@gap-system.org. Please make sure to include information about the specific issue you encountered (e.g. steps to reproduce it, the specific error message), your operating system, the compiler you used and also the versions of &GAP; and this package that were involved.
nq-2.5.11/doc/chap3.html000644 000766 000024 00000114474 14550113063 015147 0ustar00mhornstaff000000 000000 GAP (nq) - Chapter 3: The Functions of the Package
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

3 The Functions of the Package

3.1 Nilpotent Quotients of Finitely Presented Groups

3.1-1 NilpotentQuotient
‣ NilpotentQuotient( [output-file, ]fp-group[, id-gens][, c] )( function )
‣ NilpotentQuotient( [output-file, ]input-file[, c] )( function )

The parameter fp-group is either a finitely presented group or a record specifying a presentation by expression trees (see section 2.6). The parameter input-file is a string specifying the name of a file containing a finite presentation in the input format (cf. section 2.8) of the ANU NQ. Such a file can be prepared by a text editor or with the help of the function NqStringFpGroup (3.3-2).

Let G be the group defined by fp-group or the group defined in input-file. The function computes a nilpotent presentation for G/γ_c+1(G) if the optional parameter c is specified. If c is not given, then the function attempts to compute the largest nilpotent quotient of G and it will terminate only if G has a largest nilpotent quotient. See section 3.5 for a possibility to follow the progress of the computation.

The optional argument id-gens is a list of generators of the free group underlying the finitely presented group fp-group. The generators in this list are treated as identical generators. Consequently, all relations of the fp-group involving these generators are treated as identical relations for these generators.

In addition to the arguments explained above, the function accepts the following options as shown in the first example below:

The following example computes the class-5 quotient of the free group on two generators.


gap> F := FreeGroup( 2 );
<free group on the generators [ f1, f2 ]>
gap> ## Equivalent to:  NilpotentQuotient( : group := F, class := 5 );
gap> ##                 NilpotentQuotient( F : class := 5 );          
gap> H := NilpotentQuotient( F, 5 );
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
gap> lcs := LowerCentralSeries( H );;
gap> for i in [1..5] do Print( lcs[i] / lcs[i+1], "\n" ); od;
Pcp-group with orders [ 0, 0 ]
Pcp-group with orders [ 0 ]
Pcp-group with orders [ 0, 0 ]
Pcp-group with orders [ 0, 0, 0 ]
Pcp-group with orders [ 0, 0, 0, 0, 0, 0 ]

Note that the lower central series in the example is part of the data returned by the standalone program. Therefore, the execution of the function LowerCentralSeries takes no time.

The next example computes the class-4 quotient of the infinite dihedral group. The group is soluble but not nilpotent. The first factor of its lower central series is a Klein four group and all the other factors are cyclic or order 2.


gap> F := FreeGroup( 2 );
<free group on the generators [ f1, f2 ]>
gap> G := F / [F.1^2, F.2^2];
<fp group on the generators [ f1, f2 ]>
gap> H := NilpotentQuotient( G, 4 ); 
Pcp-group with orders [ 2, 2, 2, 2, 2 ]
gap> lcs := LowerCentralSeries( H );;
gap> for i in [1..Length(lcs)-1] do
>       Print( AbelianInvariants(lcs[i] / lcs[i+1]), "\n" );
> od;
[ 2, 2 ]
[ 2 ]
[ 2 ]
[ 2 ]
gap> 

In the following example identical generators are used in order to express the fact that the group is nilpotent of class 3. A group is nilpotent of class 3 if it satisfies the identical relation [x_1,x_2,x_3,x_4]=1 (cf. Section 2.5). The result is the free nilpotent group of class 3 on two generators.


gap> F := FreeGroup( "a", "b", "w", "x", "y", "z" );
<free group on the generators [ a, b, w, x, y, z ]>
gap> G := F / [ LeftNormedComm( [F.3,F.4,F.5,F.6] ) ];
<fp group of size infinity on the generators [ a, b, w, x, y, z ]>
gap> ## The following is equivalent to: 
gap> ##   NilpotentQuotient( G : idgens := [F.3,F.4,F.5,F.6] );
gap> H := NilpotentQuotient( G, [F.3,F.4,F.5,F.6] );
Pcp-group with orders [ 0, 0, 0, 0, 0 ]
gap> NilpotencyClassOfGroup(H);
3
gap> LowerCentralSeries(H);
[ Pcp-group with orders [ 0, 0, 0, 0, 0 ], Pcp-group with orders [ 0, 0, 0 ], 
  Pcp-group with orders [ 0, 0 ], Pcp-group with orders [  ] ]

The following example uses expression trees in order to specify the third Engel law for the free group on 3 generators.


gap> et := ExpressionTrees( 5 );                            
[ x1, x2, x3, x4, x5 ]
gap> comm := LeftNormedComm( [et[1], et[2], et[2], et[2]] );
Comm( x1, x2, x2, x2 )
gap> G := rec( generators := et, relations := [comm] );
rec( generators := [ x1, x2, x3, x4, x5 ], 
  relations := [ Comm( x1, x2, x2, x2 ) ] )
gap> H := NilpotentQuotient( G : idgens := [et[1],et[2]] );
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 2, 2, 
  0, 6, 6, 0, 0, 2, 10, 10, 10 ]
gap> TorsionSubgroup( H );
Pcp-group with orders [ 2, 2, 2, 2, 2, 2, 2, 10, 10, 10 ]
gap> lcs := LowerCentralSeries( H );;
gap> NilpotencyClassOfGroup( H );
5
gap> for i in [1..5] do Print( lcs[i] / lcs[i+1], "\n" ); od;
Pcp-group with orders [ 0, 0, 0 ]
Pcp-group with orders [ 0, 0, 0 ]
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0 ]
Pcp-group with orders [ 2, 4, 2, 2, 0, 6, 6, 0, 0, 2 ]
Pcp-group with orders [ 10, 10, 10 ]
gap> for i in [1..5] do Print( AbelianInvariants(lcs[i]/lcs[i+1]), "\n" ); od;
[ 0, 0, 0 ]
[ 0, 0, 0 ]
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 2, 2, 2, 2, 2, 2, 2, 0, 0, 0 ]
[ 10, 10, 10 ]

The example above also shows that the relative orders of an abelian polycyclic group need not be the abelian invariants (elementary divisors) of the group. Each zero corresponds to a generator of infinite order. The number of zeroes is always correct.

3.1-2 NilpotentEngelQuotient
‣ NilpotentEngelQuotient( [output-file, ]fp-group, n[, id-gens][, c] )( function )
‣ NilpotentEngelQuotient( [output-file, ]input-file, n[, c] )( function )

This function is a special version of NilpotentQuotient (3.1-1) which enforces the n-th Engel identity on the nilpotent quotients of the group specified by fp-group or by input-file. It accepts the same options as NilpotentQuotient.

The Engel condition can also be enforced by using identical generators and the Engel law and NilpotentQuotient (3.1-1). See the examples there.

The following example computes the relatively free fifth Engel group on two generators, determines its (normal) torsion subgroup and computes the corresponding quotient group. The quotient modulo the torsion subgroup is torsion-free. Therefore, there is a nilpotent presentation without power relations. The example computes a nilpotent presentation for the torsion free factor group through the upper central series. The factors of the upper central series in a torsion free group are torsion free. In this way one obtains a set of generators of infinite order and the resulting nilpotent presentation has no power relations.

gap> G := NilpotentEngelQuotient( FreeGroup(2), 5 );
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 10, 
  0, 0, 30, 0, 3, 3, 10, 2, 0, 6, 0, 0, 30, 2, 0, 9, 3, 5, 2, 6, 2, 10, 5, 5, 
  2, 0, 3, 3, 3, 3, 3, 5, 5, 3, 3 ]
gap> NilpotencyClassOfGroup(G);
9
gap> T := TorsionSubgroup( G );
Pcp-group with orders [ 3, 3, 2, 2, 3, 3, 2, 9, 3, 5, 2, 3, 2, 10, 5, 2, 3, 
  3, 3, 3, 3, 5, 5, 3, 3 ]
gap> IsAbelian( T );
true
gap> AbelianInvariants( T );
[ 3, 3, 3, 3, 3, 3, 3, 3, 30, 30, 30, 180, 180 ]
gap> H := G / T;
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 10, 
  0, 0, 30, 0, 5, 0, 2, 0, 0, 10, 0, 2, 5, 0 ]
gap> H := PcpGroupBySeries( UpperCentralSeries(H), "snf" );
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
  0, 0, 0, 0, 0 ]
gap> ucs := UpperCentralSeries( H );;
gap> for i in [1..NilpotencyClassOfGroup(H)] do
> 	Print( ucs[i]/ucs[i+1], "\n" );
> od;
Pcp-group with orders [ 0, 0 ]
Pcp-group with orders [ 0 ]
Pcp-group with orders [ 0, 0 ]
Pcp-group with orders [ 0, 0, 0 ]
Pcp-group with orders [ 0, 0, 0, 0, 0, 0 ]
Pcp-group with orders [ 0, 0, 0, 0 ]
Pcp-group with orders [ 0, 0 ]
Pcp-group with orders [ 0, 0, 0 ]

3.1-3 NqEpimorphismNilpotentQuotient
‣ NqEpimorphismNilpotentQuotient( [output-file, ]fp-group[, id-gens][, c] )( function )

This function computes an epimorphism from the group G given by the finite presentation fp-group onto G/γ_c+1(G). If c is not given, then the largest nilpotent quotient of G is computed and an epimorphism from G onto the largest nilpotent quotient of G. If G does not have a largest nilpotent quotient, the function will not terminate if c is not given.

The optional argument id-gens is a list of generators of the free group underlying the finitely presented group fp-group. The generators in this list are treated as identical generators. Consequently, all relations of the fp-group involving these generators are treated as identical relations for these generators.

If identical generators are specified, then the epimorphism returned maps the group generated by the `non-identical' generators onto the nilpotent factor group. See the last example below.

The function understands the same options as the function NilpotentQuotient (3.1-1).


gap> F := FreeGroup(3);                              
<free group on the generators [ f1, f2, f3 ]>
gap> phi := NqEpimorphismNilpotentQuotient( F, 5 );
[ f1, f2, f3 ] -> [ g1, g2, g3 ]
gap> Image( phi, LeftNormedComm( [F.3, F.2, F.1] ) );
g12
gap> F := FreeGroup( "a", "b" ); 
<free group on the generators [ a, b ]>
gap> G := F / [ F.1^2, F.2^2 ];     
<fp group on the generators [ a, b ]>
gap> phi := NqEpimorphismNilpotentQuotient( G, 4 );   
[ a, b ] -> [ g1, g2 ]
gap> Image( phi, Comm(G.1,G.2) ); 
g3*g4
gap> F := FreeGroup( "a", "b", "u", "v", "x" );
<free group on the generators [ a, b, u, v, x ]>
gap> a := F.1;; b := F.2;; u := F.3;; v := F.4;; x := F.5;;
gap> G := F / [ x^5, LeftNormedComm( [u,v,v,v] ) ];
<fp group of size infinity on the generators [ a, b, u, v, x ]>
gap> phi := NqEpimorphismNilpotentQuotient( G : idgens:=[u,v,x], class:=5 );
[ a, b ] -> [ g1, g2 ]
gap> U := Source(phi);                            
Group([ a, b ])
gap> ImageElm( phi, LeftNormedComm( [U.1*U.2, U.2^-1,U.2^-1,U.2^-1,] ) );
id

Note that the last epimorphism is a map from the group generated by a and b onto the nilpotent quotient. The identical generators are used only to formulate the identical relator. They are not generators of the group G. Also note that the left-normed commutator above is mapped to the identity as G satisfies the specified identical law.

3.1-4 LowerCentralFactors
‣ LowerCentralFactors( ... )( function )

This function accepts the same arguments and options as NilpotentQuotient (3.1-1) and returns a list containing the abelian invariants of the central factors in the lower central series of the specified group.

gap> LowerCentralFactors( FreeGroup(2), 6 );
[ [ 0, 0 ], [ 0 ], [ 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0, 0, 0, 0 ], 
  [ 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ]

3.2 Expression Trees

3.2-1 ExpressionTrees
‣ ExpressionTrees( m[, prefix] )( function )
‣ ExpressionTrees( str1, str2, str3, ... )( function )

The argument m must be a positive integer. The function returns a list with m expression tree symbols named x1, x2,... The optional parameter prefix must be a string and is used instead of x if present.

Alternatively, the function can be executed with a list of strings str1, str2, .... It returns a list of symbols with these strings as names.

The following operations are defined for expression trees: multiplication, inversion, exponentiation, forming commutators, forming conjugates.

gap> t := ExpressionTrees( 3 );                      
[ x1, x2, x3 ]
gap> tree := Comm( t[1], t[2] )^3/LeftNormedComm( [t[1],t[2],t[3],t[1]] );
Comm( x1, x2 )^3/Comm( x1, x2, x3, x1 )
gap> t := ExpressionTrees( "a", "b", "x" );
[ a, b, x ]
gap> tree := Comm( t[1], t[2] )^3/LeftNormedComm( [t[1],t[2],t[3],t[1]] );
Comm( a, b )^3/Comm( a, b, x, a )

3.2-2 EvaluateExpTree
‣ EvaluateExpTree( tree, symbols, values )( function )

The argument tree is an expression tree followed by the list of those symbols symbols from which the expression tree is built up. The argument values is a list containing a constant for each symbol. The function substitutes each value for the corresponding symbol and computes the resulting value for tree.


gap> F := FreeGroup( 3 );                               
<free group on the generators [ f1, f2, f3 ]>
gap> t := ExpressionTrees( "a", "b", "x" );
[ a, b, x ]
gap> tree := Comm( t[1], t[2] )^3/LeftNormedComm( [t[1],t[2],t[3],t[1]] );
Comm( a, b )^3/Comm( a, b, x, a )
gap> EvaluateExpTree( tree, t, GeneratorsOfGroup(F) );
f1^-1*f2^-1*f1*f2*f1^-1*f2^-1*f1*f2*f1^-1*f2^-1*f1*f2*f1^-1*f3^-1*f2^-1*f1^
-1*f2*f1*f3*f1^-1*f2^-1*f1*f2*f1*f2^-1*f1^-1*f2*f1*f3^-1*f1^-1*f2^-1*f1*f2*f3

3.3 Auxiliary Functions

3.3-1 NqReadOutput
‣ NqReadOutput( stream )( function )

The only argument stream is an output stream of the ANU NQ. The function reads the stream and returns a record that has a component for each global variable used in the output of the ANU NQ, see NqGlobalVariables (3.4-3).

3.3-2 NqStringFpGroup
‣ NqStringFpGroup( fp-group[, idgens] )( function )

The function takes a finitely presented group fp-group and returns a string in the input format of the ANU NQ. If the list idgens is present, then it must contain generators of the free group underlying the finitely presented group FreeGroupOfFpGroup (Reference: FreeGroupOfFpGroup). The generators in idgens are treated as identical generators.


gap> F := FreeGroup(2);
<free group on the generators [ f1, f2 ]>
gap> G := F / [F.1^2, F.2^2, (F.1*F.2)^4];
<fp group on the generators [ f1, f2 ]>
gap> NqStringFpGroup( G );
"< x1, x2 |\n    x1^2,\n    x2^2,\n    x1*x2*x1*x2*x1*x2*x1*x2\n>\n"
gap> Print( last );
< x1, x2 |
    x1^2,
    x2^2,
    x1*x2*x1*x2*x1*x2*x1*x2
>
gap> PrintTo( "dihedral", last );
gap> ## The following is equivalent to: 
gap> ##     NilpotentQuotient( : input_file := "dihedral" );
gap> NilpotentQuotient( "dihedral" );
Pcp-group with orders [ 2, 2, 2 ]
gap> Exec( "rm dihedral" );
gap> F := FreeGroup(3);
<free group on the generators [ f1, f2, f3 ]>
gap> H := F / [ LeftNormedComm( [F.2,F.1,F.1] ),                               
>               LeftNormedComm( [F.2,F.1,F.2] ), F.3^7 ];
<fp group on the generators [ f1, f2, f3 ]>
gap> str := NqStringFpGroup( H, [F.3] );                                  
"< x1, x2; x3 |\n    x1^-1*x2^-1*x1*x2*x1^-1*x2^-1*x1^-1*x2*x1^2,\n    x1^-1*x\
2^-1*x1*x2^-1*x1^-1*x2*x1*x2,\n    x3^7\n>\n"
gap> NilpotentQuotient( : input_string := str );
Pcp-group with orders [ 7, 7, 7 ]

3.3-3 NqStringExpTrees
‣ NqStringExpTrees( fp-group[, idgens] )( function )

The function takes a finitely presented group fp-group given in terms of expression trees and returns a string in the input format of the ANU NQ. If the list idgens is present, then it must contain a sublist of the generators of the presentation. The generators in idgens are treated as identical generators.


gap> x := ExpressionTrees( 2 );
[ x1, x2 ]
gap> rels := [x[1]^2, x[2]^2, (x[1]*x[2])^5]; 
[ x1^2, x2^2, (x1*x2)^5 ]
gap> NqStringExpTrees( rec( generators := x, relations := rels ) );
"< x1, x2 |\n    x1^2,\n    x2^2,\n    (x1*x2)^5\n>\n"
gap> Print( last );         
< x1, x2 |
    x1^2,
    x2^2,
    (x1*x2)^5
>
gap> x := ExpressionTrees( 3 );
[ x1, x2, x3 ]
gap> rels := [LeftNormedComm( [x[2],x[1],x[1]] ),                              
>             LeftNormedComm( [x[2],x[1],x[2]] ), x[3]^7 ];
[ Comm( x2, x1, x1 ), Comm( x2, x1, x2 ), x3^7 ]
gap> NqStringExpTrees( rec( generators := x, relations := rels ) );
"< x1, x2, x3 |\n    [ x2, x1, x1 ],\n    [ x2, x1, x2 ],\n    x3^7\n>\n"
gap> Print( last );
< x1, x2, x3 |
    [ x2, x1, x1 ],
    [ x2, x1, x2 ],
    x3^7
>

3.3-4 NqElementaryDivisors
‣ NqElementaryDivisors( int-mat )( function )

The function ElementaryDivisorsMat (Reference: ElementaryDivisorsMat) only returns the non-zero elementary divisors of an integer matrix. This function computes the elementary divisors of int-mat and adds the appropriate number of zeroes in order to make it easier to recognize the isomorphism type of the abelian group presented by the integer matrix. At the same time ones are stripped from the list of elementary divisors.

3.4 Global Variables

3.4-1 NqRuntime
‣ NqRuntime( global variable )

This variable contains the number of milliseconds of runtime of the last call of ANU NQ.

gap> NilpotentEngelQuotient( FreeGroup(2), 5 );
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 10, 
  0, 0, 30, 0, 3, 3, 10, 2, 0, 6, 0, 0, 30, 2, 0, 9, 3, 5, 2, 6, 2, 10, 5, 5, 
  2, 0, 3, 3, 3, 3, 3, 5, 5, 3, 3 ]
gap> NqRuntime;
18200

3.4-2 NqDefaultOptions
‣ NqDefaultOptions( global variable )

This variable contains a list of strings which are the standard command line options passed to the ANU NQ in each call. Modifying this variable can be used to pass additional options to the ANU NQ.

gap> NqDefaultOptions;
[ "-g", "-p", "-C", "-s" ]

The option -g causes the ANU NQ to produce output in GAP-format. The option -p prevents the ANU NQ from listing the pc-presentation of the nilpotent quotient at the end of the calculation. The option -C invokes the combinatorial collector. The option -s is effective only in conjunction with options for computing with Engel identities and instructs the ANU NQ to use only semigroup words in the generators as instances of an Engel law.

3.4-3 NqGlobalVariables
‣ NqGlobalVariables( global variable )

This variable contains a list of strings with the names of the global variables that are used in the output stream of the ANU NQ. While the output stream is read, these global variables are assigned new values. To avoid overwriting these variables in case they contain values, their contents is saved before reading the output stream and restored afterwards.

3.5 Diagnostic Output

While the standalone program is running it can be asked to display progress information. This is done by setting the info class InfoNQ to 1 via the function SetInfoLevel (Reference: InfoLevel).

gap> NilpotentQuotient(FreeGroup(2),5);
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
gap> SetInfoLevel( InfoNQ, 1 );
gap> NilpotentQuotient(FreeGroup(2),5);
#I  Class 1: 2 generators with relative orders  0 0
#I  Class 2: 1 generators with relative orders: 0
#I  Class 3: 2 generators with relative orders: 0 0
#I  Class 4: 3 generators with relative orders: 0 0 0
#I  Class 5: 6 generators with relative orders: 0 0 0 0 0 0
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
gap> SetInfoLevel( InfoNQ, 0 );
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/chap1_mj.html000644 000766 000024 00000011104 14550113063 015615 0ustar00mhornstaff000000 000000 GAP (nq) - Chapter 1: Introduction
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

1 Introduction

This package provides an interface between GAP 4 and the Australian National University Nilpotent Quotient Program (ANU NQ). The ANU NQ was implemented as part of the author's work towards his PhD at the Australian National University, hence the name of the program. The program takes as input a finite presentation of a group and successively computes factor groups modulo the terms of the lower central series of the group. These factor groups are computed in terms of polycyclic presentations.

The ANU NQ is implemented in the programming language C. The implementation has been developed in a Unix environment and Unix is currently the only operating system supported. It runs on a number of different Unix versions, e.g. Solaris and Linux.

For integer matrix computations it relies on the GNU MP [GMP] package and requires this package to be installed on your system.

This package relies on the functionality for polycyclic groups provided by the GAP package polycyclic [EN02] and requires the package polycyclic to be installed as a GAP package on your computer system.

Comments, bug reports and suggestions are very welcome, please submit them via our issue tracker.

This manual contains references to parts of the GAP Reference Manual which are typeset in a slightly idiosyncratic way. The following example shows how such references are printed: 'For further information on creating a free group see FreeGroup (Reference: FreeGroup).' The text in bold face refers to the GAP Reference Manual.

Each item in the list of references at the end of this manual is followed by a list of numbers that specify the pages of the manual where the reference occurs.

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/title.xml000644 000766 000024 00000004303 14550113056 015115 0ustar00mhornstaff000000 000000 nq Nilpotent Quotients of Finitely Presented Groups 2.5.11 Werner Nickel
http://www.mathematik.tu-darmstadt.de/~nickel/
12 January 2024 License ©right; 1992-2007 Werner Nickel

The &nq; package is free software; you can redistribute it and/or modify it under the terms of the https://www.fsf.org/licenses/gpl.html as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The author of ANU NQ is Werner Nickel.

The development of this program was started while the author was supported by an Australian National University PhD scholarship and an Overseas Postgraduate Research Scholarship.

Further development of this program was done with support from the DFG-Schwerpunkt-Projekt Algorithmische Zahlentheorie und Algebra.

Since then, maintenance of ANU NQ has been taken over by Max Horn. All credit for creating ANU NQ still goes to Werner Nickel as sole author. However, bug reports and other inquiries should be sent to Max Horn.

The following are the original acknowledgements by Werner Nickel.

Over the years a number of people have made useful suggestions that found their way into the code: Mike Newman, Michael Vaughan-Lee, Joachim Neubüser, Charles Sims.

Thanks to Volkmar Felsch and Joachim Neubüser for their careful examination of the package prior to its release for GAP 4.

This documentation was prepared with the GAPDoc package by Frank Lübeck and Max Neunhöffer. nq-2.5.11/doc/chapA_mj.html000644 000766 000024 00000036617 14550113063 015655 0ustar00mhornstaff000000 000000 GAP (nq) - Appendix A: The nq command line interface

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

A The nq command line interface

A.1 How to use the ANU NQ

If you start the ANU NQ by typing

     nq -X

you will get the following message:

    unknown option: -X
    usage: nq [-a] [-M] [-d] [-g] [-v] [-s] [-f] [-c] [-m]
              [-t <n>] [-l <n>] [-r <n>] [-n <n>] [-e <n>]
              [-y] [-o] [-p] [-E] [<presentation>] [<class>]

All parameters in square brackets are optional. The parameter <presentation> has to be the name of a file that contains a finite group presentation for which a nilpotent quotient is to be calculated. This file name must not start with a digit. If it is not present, nq will read the presentation from standard input. The parameter <class> restricts the computation of the nilpotent quotient to at most that (nilpotency) class, i.e. the program calculates the quotient group of the \((c+1)\)-th term of the lower central series. If <class> is omitted, the program computes successively the factor groups of the lower central series of the given group. If there is a largest nilpotent quotient, i.e., if the lower central series becomes constant, the program will eventually terminate with the largest nilpotent quotient. If there is no largest nilpotent quotient, the program will run forever (or more precisely will run out of resources). On termination the program prints a nilpotent presentation for the nilpotent quotient it has computed. The options -l, -r and -e can be used to enforce Engel conditions on the nilpotent quotient to be calculated. All these options have to be followed by a positive integer <n>. Their meaning is the following:

-n <k>

This option forces the first k generators to be left or right Engel element if also the option -l or -r (or both) is present. Otherwise it is ignored.

-l <n>

This forces the first k generators \(g_1,...,g_k\) of the nilpotent quotient Q to be left n-Engel elements, i.e., they satisfy \([x,...,x,g_i] = 1\) (x occurring n-times) for all x in Q and \(1 <= i <= k\). If the option -n is not used, then k = 1.

-r <n>

This forces the first k generators \(g_1,...,g_k\) of the nilpotent quotient Q to be right n-Engel elements,i.e., they satisfy \([g_i,x,..,x] = 1\) (x occurring n-times) for all x in Q and \(1 <= i <= k\). If the option -n is not used, then k = 1.

-e <n>

This enforces the n-th Engel law on Q, i.e., \([x,y,..,y] = 1\) (y occurring n-times) for all x,y in Q.

-t <n>

This option specifies how much CPU time the program is allowed to use. It will terminate after <n> seconds of CPU time. If <n> is followed (without space) by one of the letters m, h or d, <n> specifies the time in minutes, hours or days, respectively.

The other options have the following meaning. Care has to be taken when the options -s or -c are used since the resulting nilpotent quotient need NOT satisfy the required Engel condition. The reason for this is that a smaller set of test words is used if one of these two options are present. Although this smaller set of test words seems to be sufficient to enforce the required Engel condition, this fact has not been proven.

-a

For each factor of the lower central series a file is created in the current directory that contains an integer matrix describing the factor as abelian group. The first number in that file is the number of columns of the matrix. Then the matrix follows in row major order. The matrix for the i-th factor is put into the file <presentation>.abinv.<i>.

-p

toggles printing of the pc presentation for the nilpotent quotient at the end of a calculation.

-s

This option causes the program to check only semigroup words in the generating set of the nilpotent quotient when an Engel condition is enforced. If none of the options -l, -r or -e are present, it is ignored.

-f

This option causes to check semiwords in the generating set of the nilpotent quotient first and then all other words that need to be checked. It is ignored if the option -s is used or none of the options -l, -r or -e are present.

-c

This option stops checking the Engel law at each class if all the checks of a certain weight did not yield any non-trivial instances of the law.

-d

Switch on debug mode and perform checks during the computation. Not yet implemented.

-o

In checking Engel identities, instances are process in the order of increased weight. This flag reverses the order.

-y

Enforce the identities \(x^8\) and \([ [x1,x2,x3], [x4,x5,x6] ]\) on the nilpotent quotient.

-v

Switch on verbose mode.

-g

Produce GAP output. Presently the GAP output consists only of a sequence of integer matrices whose rows are relations of the factors of the lower central series as abelian groups. This will change as soon as GAP can handle infinite polycyclic groups.

-E

the *last* n generators are Engel generators. This works in conjunction with option -n.

-m

output the relation matrix for each factor of the lower central series. The matrices are written to files with the names 'matrix.<cl>' where <cl> is replaced by the number of the factor in the lower central series. Each file contains first the number of columns of the matrix and then the rows of the matrix. The matrix is written as each relation is produced and is not in upper triangular form.

-M

output the relation matrix before and after relations have been enforced. This results in two groups of files with names '<pres>.nilp.<cl>' and '<pres>.mult.<cl>' where <pres> is the name of the input files and <cl> is the class. The matrices are in upper triangular form.

A.2 The input format for presentations

The input format for finite presentations resembles the way many people write down a presentation on paper. Here are some examples of presentations that the ANU NQ accepts:



    < a, b | >                       # free group of rank 2

    < a, b, c | [a,b,c],             # a left normed commutator
                [b,c,c,c]^6,         # another one raised to a power
                a^2 = c^-3*a^2*c^3,  # a relation
                a^(b*c) = a,         # a conjugate relation
                (a*[b,(a*c)])^6      # something that looks complicated
    >


A presentation starts with '<' followed be a list of generators separated by commas. Generator names are strings that contain only upper and lower case letters, digits, dots and underscores and that do not start with a digit. The list of generator names is separated from the list of relators/relations by the symbol '|'. Relators and relations are separated by commas and can be mixed arbitrarily. Parentheses can be used in order to group subexpressions together. Square brackets can be used in order to form left normed commutators. The symbols '*' and '^' can be used to form products and powers, respectively. The presentation finishes with the symbol '>'. A comment starts with the symbol '#' and finishes at the end of the line. The file src/presentation.c contains a complete grammar for the presentations accepted by the ANU NQ.

A.3 An example

Let G be the free group on two generators x and y. The input file (called free2.fp here) contains the following:



        < x, y | >


Computing the class 3 quotient with the ANU NQ by typing



        nq free2.fp 3


produces the following output:



#
#    The ANU Nilpotent Quotient Program (Version 2.3)
#    Calculating a nilpotent quotient
#    Input: free2.fp
#    Nilpotency class: 3
#    Program: nq
#    Size of exponents: 8 bytes
#
#    Calculating the abelian quotient ...
#    The abelian quotient has 2 generators
#        with the following exponents: 0 0
#
#    Calculating the class 2 quotient ...
##  Sizes:  2  3
#    Layer 2 of the lower central series has 1 generators
#          with the following exponents: 0
#
#    Calculating the class 3 quotient ...
##  Sizes:  2  3  5
#    Layer 3 of the lower central series has 2 generators
#          with the following exponents: 0 0
#


#    The epimorphism :
#    x |---> A
#    y |---> B


#    The nilpotent quotient :
    <A,B,C,D,E
      |
        B^A           =: B*C,
        B^(A^-1)      =  B*C^-1*D,
        C^A           =: C*D,
        C^(A^-1)      =  C*D^-1,
        C^B           =: C*E,
        C^(B^-1)      =  C*E^-1 >

#    Class : 3
#    Nr of generators of each class : 2 1 2


#    The definitions:
#    C := [ B, A ]
#    D := [ B, A, A ]
#    E := [ B, A, B ]
#    total runtime : 1 msec
##  Total time spent on integer matrices: 0


Most of the comments are fairly self-explanatory. One note of caution is necessary: The number of generators for each factor of the lower central series is not the minimal number possible but is the number of generators that the ANU NQ chose to use. This will be improved in one of the future version of the program. The epimorphism from the original group onto the nilpotent quotient is printed in a somewhat confusing way. The generators on the left hand side of the arrows correspond to the generators in the original presentation but are printed with different names. This will be fixed in one of the next version.

A.4 Some remarks about the algorithm

The implementation of the algorithm is fairly straight forward. The program uses a weighted nilpotent presentation with definitions to represent a nilpotent group. Calculations in the nilpotent group are done using a collector from the left without combinatorial collection. Generators for the \(c\)-th lower central factor are defined as commutators of the form \([y,x]\), where \(x\) is a generator of weight 1 and \(y\) is a generator of weight \(c-1\). Then the program calculates the necessary changes (tails) for all relations which are not definitions, runs through the consistency check and evaluates the original relations on the polycyclic presentation. This gives a list of words, which have to be made trivial in order to obtain a consistent polycyclic presentation representing a nilpotent quotient of the given finitely presented group. This list is converted into a integer matrix, which is transformed into upper triangular form using the Kannan-Bachem algorithm. The GNU multiple precision package is used for this.

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/manual.js000644 000766 000024 00000010113 14550113063 015057 0ustar00mhornstaff000000 000000 /* manual.js Frank Lübeck */ /* This file contains a few javascript functions which allow to switch between display styles for GAPDoc HTML manuals. If javascript is switched off in a browser or this file in not available in a manual directory, this is no problem. Users just cannot switch between several styles and don't see the corresponding button. A style with name mystyle can be added by providing two files (or only one of them). mystyle.js: Additional javascript code for the style, it is read in the HTML pages after this current file. The additional code may adjust the preprocessing function jscontent() with is called onload of a file. This is done by appending functions to jscontentfuncs (jscontentfuncs.push(newfunc);). Make sure, that your style is still usable without javascript. mystyle.css: CSS configuration, read after manual.css (so it can just reconfigure a few details, or overwrite everything). Then adjust chooser.html such that users can switch on and off mystyle. A user can change the preferred style permanently by using the [Style] link and choosing one. Or one can append '?GAPDocStyle=mystyle' to the URL when loading any file of the manual (so the style can be configured in the GAP user preferences). */ /* generic helper function */ function deleteCookie(nam) { document.cookie = nam+"=;Path=/;expires=Thu, 01 Jan 1970 00:00:00 GMT"; } /* read a value from a "nam1=val1;nam2=val2;..." string (e.g., the search part of an URL or a cookie */ function valueString(str,nam) { var cs = str.split(";"); for (var i=0; i < cs.length; i++) { var pos = cs[i].search(nam+"="); if (pos > -1) { pos = cs[i].indexOf("="); return cs[i].slice(pos+1); } } return 0; } /* when a non-default style is chosen via URL or a cookie, then the cookie is reset and the styles .js and .css files are read */ function overwriteStyle() { /* style in URL? */ var style = valueString(window.location.search, "GAPDocStyle"); /* otherwise check cookie */ if (style == 0) style = valueString(document.cookie, "GAPDocStyle"); if (style == 0) return; if (style == "default") deleteCookie("GAPDocStyle"); else { /* ok, we set the cookie for path "/" */ var path = "/"; /* or better like this ??? var here = window.location.pathname.split("/"); for (var i=0; i+3 < here.length; i++) path = path+"/"+here[i]; */ document.cookie = "GAPDocStyle="+style+";Path="+path; /* split into names of style files */ var stlist = style.split(","); /* read style's css and js files */ for (var i=0; i < stlist.length; i++) { document.writeln(''); document.writeln(''); } } } /* this adds a "[Style]" link next to the MathJax switcher */ function addStyleLink() { var line = document.getElementById("mathjaxlink"); var el = document.createElement("a"); var oncl = document.createAttribute("href"); var back = window.location.protocol+"//" if (window.location.protocol == "http:" || window.location.protocol == "https:") { back = back+window.location.host; if (window.location.port != "") { back = back+":"+window.location.port; } } back = back+window.location.pathname; oncl.nodeValue = "chooser.html?BACK="+back; el.setAttributeNode(oncl); var cont = document.createTextNode(" [Style]"); el.appendChild(cont); line.appendChild(el); } var jscontentfuncs = new Array(); jscontentfuncs.push(addStyleLink); /* the default jscontent() only adds the [Style] link to the page */ function jscontent () { for (var i=0; i < jscontentfuncs.length; i++) jscontentfuncs[i](); } nq-2.5.11/doc/chapInd.html000644 000766 000024 00000013403 14550113063 015505 0ustar00mhornstaff000000 000000 GAP (nq) - Index
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

Index

nq .-3
class 2.2
commutator 2.1
commutator relation 2.3
consistent 2.3
EvaluateExpTree 3.2-2
expression trees 2.6
ExpressionTrees 3.2-1
    for a list of names 3.2-1
identical generator 2.5
identical relation 2.5
law 2.5
left Engel element 2.5
left-normed commutator 2.1
License .-1
lower central series 2.1
LowerCentralFactors 3.1-4
nilpotency class 2.2
nilpotent 2.2
nilpotent presentation 2.3
Nilpotent Quotient Package 3.
NilpotentEngelQuotient 3.1-2
    for input from a file 3.1-2
NilpotentQuotient 3.1-1
    for input from a file 3.1-1
NqDefaultOptions 3.4-2
NqElementaryDivisors 3.3-4
NqEpimorphismNilpotentQuotient 3.1-3
NqGlobalVariables 3.4-3
NqReadOutput 3.3-1
NqRuntime 3.4-1
NqStringExpTrees 3.3-3
NqStringFpGroup 3.3-2
options 3.1-1
    class 3.1-1
    group 3.1-1
    idgens 3.1-1
    input\_file 3.1-1
    input\_string 3.1-1
    output\_file 3.1-1
polycyclic 2.2
polycyclic generating sequence 2.2
polycyclic presentation 2.3
power relation 2.3
right Engel element 2.5

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/chap3_mj.html000644 000766 000024 00000115326 14550113063 015632 0ustar00mhornstaff000000 000000 GAP (nq) - Chapter 3: The Functions of the Package
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

3 The Functions of the Package

3.1 Nilpotent Quotients of Finitely Presented Groups

3.1-1 NilpotentQuotient
‣ NilpotentQuotient( [output-file, ]fp-group[, id-gens][, c] )( function )
‣ NilpotentQuotient( [output-file, ]input-file[, c] )( function )

The parameter fp-group is either a finitely presented group or a record specifying a presentation by expression trees (see section 2.6). The parameter input-file is a string specifying the name of a file containing a finite presentation in the input format (cf. section 2.8) of the ANU NQ. Such a file can be prepared by a text editor or with the help of the function NqStringFpGroup (3.3-2).

Let \(G\) be the group defined by fp-group or the group defined in input-file. The function computes a nilpotent presentation for \(G/\gamma_{c+1}(G)\) if the optional parameter c is specified. If c is not given, then the function attempts to compute the largest nilpotent quotient of \(G\) and it will terminate only if \(G\) has a largest nilpotent quotient. See section 3.5 for a possibility to follow the progress of the computation.

The optional argument id-gens is a list of generators of the free group underlying the finitely presented group fp-group. The generators in this list are treated as identical generators. Consequently, all relations of the fp-group involving these generators are treated as identical relations for these generators.

In addition to the arguments explained above, the function accepts the following options as shown in the first example below:

  • group This option can be used instead of the parameter fp-group.

  • input\_string This option can be used to specify a finitely presented group by a string in the input format of the standalone program.

  • input\_file This option specifies a file with input for the standalone program.

  • output\_file This option specifies a file for the output of the standalone.

  • idgens This options specifies a list of identical generators.

  • class This option specifies the nilpotency class up to which the nilpotent quotient will be computed.

The following example computes the class-5 quotient of the free group on two generators.


gap> F := FreeGroup( 2 );
<free group on the generators [ f1, f2 ]>
gap> ## Equivalent to:  NilpotentQuotient( : group := F, class := 5 );
gap> ##                 NilpotentQuotient( F : class := 5 );          
gap> H := NilpotentQuotient( F, 5 );
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
gap> lcs := LowerCentralSeries( H );;
gap> for i in [1..5] do Print( lcs[i] / lcs[i+1], "\n" ); od;
Pcp-group with orders [ 0, 0 ]
Pcp-group with orders [ 0 ]
Pcp-group with orders [ 0, 0 ]
Pcp-group with orders [ 0, 0, 0 ]
Pcp-group with orders [ 0, 0, 0, 0, 0, 0 ]

Note that the lower central series in the example is part of the data returned by the standalone program. Therefore, the execution of the function LowerCentralSeries takes no time.

The next example computes the class-4 quotient of the infinite dihedral group. The group is soluble but not nilpotent. The first factor of its lower central series is a Klein four group and all the other factors are cyclic or order \(2\).


gap> F := FreeGroup( 2 );
<free group on the generators [ f1, f2 ]>
gap> G := F / [F.1^2, F.2^2];
<fp group on the generators [ f1, f2 ]>
gap> H := NilpotentQuotient( G, 4 ); 
Pcp-group with orders [ 2, 2, 2, 2, 2 ]
gap> lcs := LowerCentralSeries( H );;
gap> for i in [1..Length(lcs)-1] do
>       Print( AbelianInvariants(lcs[i] / lcs[i+1]), "\n" );
> od;
[ 2, 2 ]
[ 2 ]
[ 2 ]
[ 2 ]
gap> 

In the following example identical generators are used in order to express the fact that the group is nilpotent of class \(3\). A group is nilpotent of class \(3\) if it satisfies the identical relation \([x_1,x_2,x_3,x_4]=1\) (cf. Section 2.5). The result is the free nilpotent group of class \(3\) on two generators.


gap> F := FreeGroup( "a", "b", "w", "x", "y", "z" );
<free group on the generators [ a, b, w, x, y, z ]>
gap> G := F / [ LeftNormedComm( [F.3,F.4,F.5,F.6] ) ];
<fp group of size infinity on the generators [ a, b, w, x, y, z ]>
gap> ## The following is equivalent to: 
gap> ##   NilpotentQuotient( G : idgens := [F.3,F.4,F.5,F.6] );
gap> H := NilpotentQuotient( G, [F.3,F.4,F.5,F.6] );
Pcp-group with orders [ 0, 0, 0, 0, 0 ]
gap> NilpotencyClassOfGroup(H);
3
gap> LowerCentralSeries(H);
[ Pcp-group with orders [ 0, 0, 0, 0, 0 ], Pcp-group with orders [ 0, 0, 0 ], 
  Pcp-group with orders [ 0, 0 ], Pcp-group with orders [  ] ]

The following example uses expression trees in order to specify the third Engel law for the free group on \(3\) generators.


gap> et := ExpressionTrees( 5 );                            
[ x1, x2, x3, x4, x5 ]
gap> comm := LeftNormedComm( [et[1], et[2], et[2], et[2]] );
Comm( x1, x2, x2, x2 )
gap> G := rec( generators := et, relations := [comm] );
rec( generators := [ x1, x2, x3, x4, x5 ], 
  relations := [ Comm( x1, x2, x2, x2 ) ] )
gap> H := NilpotentQuotient( G : idgens := [et[1],et[2]] );
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 2, 2, 
  0, 6, 6, 0, 0, 2, 10, 10, 10 ]
gap> TorsionSubgroup( H );
Pcp-group with orders [ 2, 2, 2, 2, 2, 2, 2, 10, 10, 10 ]
gap> lcs := LowerCentralSeries( H );;
gap> NilpotencyClassOfGroup( H );
5
gap> for i in [1..5] do Print( lcs[i] / lcs[i+1], "\n" ); od;
Pcp-group with orders [ 0, 0, 0 ]
Pcp-group with orders [ 0, 0, 0 ]
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0 ]
Pcp-group with orders [ 2, 4, 2, 2, 0, 6, 6, 0, 0, 2 ]
Pcp-group with orders [ 10, 10, 10 ]
gap> for i in [1..5] do Print( AbelianInvariants(lcs[i]/lcs[i+1]), "\n" ); od;
[ 0, 0, 0 ]
[ 0, 0, 0 ]
[ 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 2, 2, 2, 2, 2, 2, 2, 0, 0, 0 ]
[ 10, 10, 10 ]

The example above also shows that the relative orders of an abelian polycyclic group need not be the abelian invariants (elementary divisors) of the group. Each zero corresponds to a generator of infinite order. The number of zeroes is always correct.

3.1-2 NilpotentEngelQuotient
‣ NilpotentEngelQuotient( [output-file, ]fp-group, n[, id-gens][, c] )( function )
‣ NilpotentEngelQuotient( [output-file, ]input-file, n[, c] )( function )

This function is a special version of NilpotentQuotient (3.1-1) which enforces the \(n\)-th Engel identity on the nilpotent quotients of the group specified by fp-group or by input-file. It accepts the same options as NilpotentQuotient.

The Engel condition can also be enforced by using identical generators and the Engel law and NilpotentQuotient (3.1-1). See the examples there.

The following example computes the relatively free fifth Engel group on two generators, determines its (normal) torsion subgroup and computes the corresponding quotient group. The quotient modulo the torsion subgroup is torsion-free. Therefore, there is a nilpotent presentation without power relations. The example computes a nilpotent presentation for the torsion free factor group through the upper central series. The factors of the upper central series in a torsion free group are torsion free. In this way one obtains a set of generators of infinite order and the resulting nilpotent presentation has no power relations.

gap> G := NilpotentEngelQuotient( FreeGroup(2), 5 );
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 10, 
  0, 0, 30, 0, 3, 3, 10, 2, 0, 6, 0, 0, 30, 2, 0, 9, 3, 5, 2, 6, 2, 10, 5, 5, 
  2, 0, 3, 3, 3, 3, 3, 5, 5, 3, 3 ]
gap> NilpotencyClassOfGroup(G);
9
gap> T := TorsionSubgroup( G );
Pcp-group with orders [ 3, 3, 2, 2, 3, 3, 2, 9, 3, 5, 2, 3, 2, 10, 5, 2, 3, 
  3, 3, 3, 3, 5, 5, 3, 3 ]
gap> IsAbelian( T );
true
gap> AbelianInvariants( T );
[ 3, 3, 3, 3, 3, 3, 3, 3, 30, 30, 30, 180, 180 ]
gap> H := G / T;
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 10, 
  0, 0, 30, 0, 5, 0, 2, 0, 0, 10, 0, 2, 5, 0 ]
gap> H := PcpGroupBySeries( UpperCentralSeries(H), "snf" );
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
  0, 0, 0, 0, 0 ]
gap> ucs := UpperCentralSeries( H );;
gap> for i in [1..NilpotencyClassOfGroup(H)] do
> 	Print( ucs[i]/ucs[i+1], "\n" );
> od;
Pcp-group with orders [ 0, 0 ]
Pcp-group with orders [ 0 ]
Pcp-group with orders [ 0, 0 ]
Pcp-group with orders [ 0, 0, 0 ]
Pcp-group with orders [ 0, 0, 0, 0, 0, 0 ]
Pcp-group with orders [ 0, 0, 0, 0 ]
Pcp-group with orders [ 0, 0 ]
Pcp-group with orders [ 0, 0, 0 ]

3.1-3 NqEpimorphismNilpotentQuotient
‣ NqEpimorphismNilpotentQuotient( [output-file, ]fp-group[, id-gens][, c] )( function )

This function computes an epimorphism from the group \(G\) given by the finite presentation fp-group onto \(G/\gamma_{c+1}(G).\) If c is not given, then the largest nilpotent quotient of \(G\) is computed and an epimorphism from \(G\) onto the largest nilpotent quotient of \(G\). If \(G\) does not have a largest nilpotent quotient, the function will not terminate if \(c\) is not given.

The optional argument id-gens is a list of generators of the free group underlying the finitely presented group fp-group. The generators in this list are treated as identical generators. Consequently, all relations of the fp-group involving these generators are treated as identical relations for these generators.

If identical generators are specified, then the epimorphism returned maps the group generated by the `non-identical' generators onto the nilpotent factor group. See the last example below.

The function understands the same options as the function NilpotentQuotient (3.1-1).


gap> F := FreeGroup(3);                              
<free group on the generators [ f1, f2, f3 ]>
gap> phi := NqEpimorphismNilpotentQuotient( F, 5 );
[ f1, f2, f3 ] -> [ g1, g2, g3 ]
gap> Image( phi, LeftNormedComm( [F.3, F.2, F.1] ) );
g12
gap> F := FreeGroup( "a", "b" ); 
<free group on the generators [ a, b ]>
gap> G := F / [ F.1^2, F.2^2 ];     
<fp group on the generators [ a, b ]>
gap> phi := NqEpimorphismNilpotentQuotient( G, 4 );   
[ a, b ] -> [ g1, g2 ]
gap> Image( phi, Comm(G.1,G.2) ); 
g3*g4
gap> F := FreeGroup( "a", "b", "u", "v", "x" );
<free group on the generators [ a, b, u, v, x ]>
gap> a := F.1;; b := F.2;; u := F.3;; v := F.4;; x := F.5;;
gap> G := F / [ x^5, LeftNormedComm( [u,v,v,v] ) ];
<fp group of size infinity on the generators [ a, b, u, v, x ]>
gap> phi := NqEpimorphismNilpotentQuotient( G : idgens:=[u,v,x], class:=5 );
[ a, b ] -> [ g1, g2 ]
gap> U := Source(phi);                            
Group([ a, b ])
gap> ImageElm( phi, LeftNormedComm( [U.1*U.2, U.2^-1,U.2^-1,U.2^-1,] ) );
id

Note that the last epimorphism is a map from the group generated by \(a\) and \(b\) onto the nilpotent quotient. The identical generators are used only to formulate the identical relator. They are not generators of the group \(G\). Also note that the left-normed commutator above is mapped to the identity as \(G\) satisfies the specified identical law.

3.1-4 LowerCentralFactors
‣ LowerCentralFactors( ... )( function )

This function accepts the same arguments and options as NilpotentQuotient (3.1-1) and returns a list containing the abelian invariants of the central factors in the lower central series of the specified group.

gap> LowerCentralFactors( FreeGroup(2), 6 );
[ [ 0, 0 ], [ 0 ], [ 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0, 0, 0, 0 ], 
  [ 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ]

3.2 Expression Trees

3.2-1 ExpressionTrees
‣ ExpressionTrees( m[, prefix] )( function )
‣ ExpressionTrees( str1, str2, str3, ... )( function )

The argument m must be a positive integer. The function returns a list with m expression tree symbols named x1, x2,... The optional parameter prefix must be a string and is used instead of x if present.

Alternatively, the function can be executed with a list of strings str1, str2, .... It returns a list of symbols with these strings as names.

The following operations are defined for expression trees: multiplication, inversion, exponentiation, forming commutators, forming conjugates.

gap> t := ExpressionTrees( 3 );                      
[ x1, x2, x3 ]
gap> tree := Comm( t[1], t[2] )^3/LeftNormedComm( [t[1],t[2],t[3],t[1]] );
Comm( x1, x2 )^3/Comm( x1, x2, x3, x1 )
gap> t := ExpressionTrees( "a", "b", "x" );
[ a, b, x ]
gap> tree := Comm( t[1], t[2] )^3/LeftNormedComm( [t[1],t[2],t[3],t[1]] );
Comm( a, b )^3/Comm( a, b, x, a )

3.2-2 EvaluateExpTree
‣ EvaluateExpTree( tree, symbols, values )( function )

The argument tree is an expression tree followed by the list of those symbols symbols from which the expression tree is built up. The argument values is a list containing a constant for each symbol. The function substitutes each value for the corresponding symbol and computes the resulting value for tree.


gap> F := FreeGroup( 3 );                               
<free group on the generators [ f1, f2, f3 ]>
gap> t := ExpressionTrees( "a", "b", "x" );
[ a, b, x ]
gap> tree := Comm( t[1], t[2] )^3/LeftNormedComm( [t[1],t[2],t[3],t[1]] );
Comm( a, b )^3/Comm( a, b, x, a )
gap> EvaluateExpTree( tree, t, GeneratorsOfGroup(F) );
f1^-1*f2^-1*f1*f2*f1^-1*f2^-1*f1*f2*f1^-1*f2^-1*f1*f2*f1^-1*f3^-1*f2^-1*f1^
-1*f2*f1*f3*f1^-1*f2^-1*f1*f2*f1*f2^-1*f1^-1*f2*f1*f3^-1*f1^-1*f2^-1*f1*f2*f3

3.3 Auxiliary Functions

3.3-1 NqReadOutput
‣ NqReadOutput( stream )( function )

The only argument stream is an output stream of the ANU NQ. The function reads the stream and returns a record that has a component for each global variable used in the output of the ANU NQ, see NqGlobalVariables (3.4-3).

3.3-2 NqStringFpGroup
‣ NqStringFpGroup( fp-group[, idgens] )( function )

The function takes a finitely presented group fp-group and returns a string in the input format of the ANU NQ. If the list idgens is present, then it must contain generators of the free group underlying the finitely presented group FreeGroupOfFpGroup (Reference: FreeGroupOfFpGroup). The generators in idgens are treated as identical generators.


gap> F := FreeGroup(2);
<free group on the generators [ f1, f2 ]>
gap> G := F / [F.1^2, F.2^2, (F.1*F.2)^4];
<fp group on the generators [ f1, f2 ]>
gap> NqStringFpGroup( G );
"< x1, x2 |\n    x1^2,\n    x2^2,\n    x1*x2*x1*x2*x1*x2*x1*x2\n>\n"
gap> Print( last );
< x1, x2 |
    x1^2,
    x2^2,
    x1*x2*x1*x2*x1*x2*x1*x2
>
gap> PrintTo( "dihedral", last );
gap> ## The following is equivalent to: 
gap> ##     NilpotentQuotient( : input_file := "dihedral" );
gap> NilpotentQuotient( "dihedral" );
Pcp-group with orders [ 2, 2, 2 ]
gap> Exec( "rm dihedral" );
gap> F := FreeGroup(3);
<free group on the generators [ f1, f2, f3 ]>
gap> H := F / [ LeftNormedComm( [F.2,F.1,F.1] ),                               
>               LeftNormedComm( [F.2,F.1,F.2] ), F.3^7 ];
<fp group on the generators [ f1, f2, f3 ]>
gap> str := NqStringFpGroup( H, [F.3] );                                  
"< x1, x2; x3 |\n    x1^-1*x2^-1*x1*x2*x1^-1*x2^-1*x1^-1*x2*x1^2,\n    x1^-1*x\
2^-1*x1*x2^-1*x1^-1*x2*x1*x2,\n    x3^7\n>\n"
gap> NilpotentQuotient( : input_string := str );
Pcp-group with orders [ 7, 7, 7 ]

3.3-3 NqStringExpTrees
‣ NqStringExpTrees( fp-group[, idgens] )( function )

The function takes a finitely presented group fp-group given in terms of expression trees and returns a string in the input format of the ANU NQ. If the list idgens is present, then it must contain a sublist of the generators of the presentation. The generators in idgens are treated as identical generators.


gap> x := ExpressionTrees( 2 );
[ x1, x2 ]
gap> rels := [x[1]^2, x[2]^2, (x[1]*x[2])^5]; 
[ x1^2, x2^2, (x1*x2)^5 ]
gap> NqStringExpTrees( rec( generators := x, relations := rels ) );
"< x1, x2 |\n    x1^2,\n    x2^2,\n    (x1*x2)^5\n>\n"
gap> Print( last );         
< x1, x2 |
    x1^2,
    x2^2,
    (x1*x2)^5
>
gap> x := ExpressionTrees( 3 );
[ x1, x2, x3 ]
gap> rels := [LeftNormedComm( [x[2],x[1],x[1]] ),                              
>             LeftNormedComm( [x[2],x[1],x[2]] ), x[3]^7 ];
[ Comm( x2, x1, x1 ), Comm( x2, x1, x2 ), x3^7 ]
gap> NqStringExpTrees( rec( generators := x, relations := rels ) );
"< x1, x2, x3 |\n    [ x2, x1, x1 ],\n    [ x2, x1, x2 ],\n    x3^7\n>\n"
gap> Print( last );
< x1, x2, x3 |
    [ x2, x1, x1 ],
    [ x2, x1, x2 ],
    x3^7
>

3.3-4 NqElementaryDivisors
‣ NqElementaryDivisors( int-mat )( function )

The function ElementaryDivisorsMat (Reference: ElementaryDivisorsMat) only returns the non-zero elementary divisors of an integer matrix. This function computes the elementary divisors of int-mat and adds the appropriate number of zeroes in order to make it easier to recognize the isomorphism type of the abelian group presented by the integer matrix. At the same time ones are stripped from the list of elementary divisors.

3.4 Global Variables

3.4-1 NqRuntime
‣ NqRuntime( global variable )

This variable contains the number of milliseconds of runtime of the last call of ANU NQ.

gap> NilpotentEngelQuotient( FreeGroup(2), 5 );
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 10, 
  0, 0, 30, 0, 3, 3, 10, 2, 0, 6, 0, 0, 30, 2, 0, 9, 3, 5, 2, 6, 2, 10, 5, 5, 
  2, 0, 3, 3, 3, 3, 3, 5, 5, 3, 3 ]
gap> NqRuntime;
18200

3.4-2 NqDefaultOptions
‣ NqDefaultOptions( global variable )

This variable contains a list of strings which are the standard command line options passed to the ANU NQ in each call. Modifying this variable can be used to pass additional options to the ANU NQ.

gap> NqDefaultOptions;
[ "-g", "-p", "-C", "-s" ]

The option -g causes the ANU NQ to produce output in GAP-format. The option -p prevents the ANU NQ from listing the pc-presentation of the nilpotent quotient at the end of the calculation. The option -C invokes the combinatorial collector. The option -s is effective only in conjunction with options for computing with Engel identities and instructs the ANU NQ to use only semigroup words in the generators as instances of an Engel law.

3.4-3 NqGlobalVariables
‣ NqGlobalVariables( global variable )

This variable contains a list of strings with the names of the global variables that are used in the output stream of the ANU NQ. While the output stream is read, these global variables are assigned new values. To avoid overwriting these variables in case they contain values, their contents is saved before reading the output stream and restored afterwards.

3.5 Diagnostic Output

While the standalone program is running it can be asked to display progress information. This is done by setting the info class InfoNQ to \(1\) via the function SetInfoLevel (Reference: InfoLevel).

gap> NilpotentQuotient(FreeGroup(2),5);
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
gap> SetInfoLevel( InfoNQ, 1 );
gap> NilpotentQuotient(FreeGroup(2),5);
#I  Class 1: 2 generators with relative orders  0 0
#I  Class 2: 1 generators with relative orders: 0
#I  Class 3: 2 generators with relative orders: 0 0
#I  Class 4: 3 generators with relative orders: 0 0 0
#I  Class 5: 6 generators with relative orders: 0 0 0 0 0 0
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
gap> SetInfoLevel( InfoNQ, 0 );
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/chapInd.txt000644 000766 000024 00000002511 14550113056 015360 0ustar00mhornstaff000000 000000 Index class 2.2 commutator 2.1 commutator relation 2.3 consistent 2.3 EvaluateExpTree 3.2-2 expression trees 2.6 ExpressionTrees 3.2-1 for a list of names 3.2-1 identical generator 2.5 identical relation 2.5 law 2.5 left Engel element 2.5 left-normed commutator 2.1 License .-1 lower central series 2.1 LowerCentralFactors 3.1-4 nilpotency class 2.2 nilpotent 2.2 nilpotent presentation 2.3 Nilpotent Quotient Package 3. NilpotentEngelQuotient 3.1-2 for input from a file 3.1-2 NilpotentQuotient 3.1-1 for input from a file 3.1-1 nq .-3 NqDefaultOptions 3.4-2 NqElementaryDivisors 3.3-4 NqEpimorphismNilpotentQuotient 3.1-3 NqGlobalVariables 3.4-3 NqReadOutput 3.3-1 NqRuntime 3.4-1 NqStringExpTrees 3.3-3 NqStringFpGroup 3.3-2 options 3.1-1 class 3.1-1 group 3.1-1 idgens 3.1-1 input\_file 3.1-1 input\_string 3.1-1 output\_file 3.1-1 polycyclic 2.2 polycyclic generating sequence 2.2 polycyclic presentation 2.3 power relation 2.3 right Engel element 2.5 ------------------------------------------------------- nq-2.5.11/doc/chap4.html000644 000766 000024 00000021461 14550113063 015141 0ustar00mhornstaff000000 000000 GAP (nq) - Chapter 4: Examples
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

4 Examples

4.1 Right Engel elements

An old problem in the context of Engel elements is the question: Is a right n-Engel element left n-Engel? It is known that the answer is no. For details about the history of the problem, see [NN94]. In this paper the authors show that for n>4 there are nilpotent groups with right n-Engel elements no power of which is a left n-Engel element. The insight was based on computations with the ANU NQ which we reproduce here. We also show the cases 5>n.

gap> LoadPackage( "nq" );
true
gap> ##  SetInfoLevel( InfoNQ, 1 );
gap> ##
gap> ##  setup calculation
gap> ##
gap> et := ExpressionTrees( "a", "b", "x" );
[ a, b, x ]
gap> a := et[1];; b := et[2];; x := et[3];;
gap> 
gap> ##
gap> ##  define the group for n = 2,3,4,5
gap> ##
gap> 
gap> rengel := LeftNormedComm( [a,x,x] );
Comm( a, x, x )
gap> G := rec( generators := et, relations := [rengel] );
rec( generators := [ a, b, x ], relations := [ Comm( a, x, x ) ] )
gap> ## The following is equivalent to:
gap> ##   NilpotentQuotient( : input_string := NqStringExpTrees( G, [x] ) )
gap> H := NilpotentQuotient( G, [x] );
Pcp-group with orders [ 0, 0, 0 ]
gap> LeftNormedComm( [ H.2,H.1,H.1 ] );
id
gap> LeftNormedComm( [ H.1,H.2,H.2 ] );
id

This shows that each right 2-Engel element in a finitely generated nilpotent group is a left 2-Engel element. Note that the group above is the largest nilpotent group generated by two elements, one of which is right 2-Engel. Every nilpotent group generated by an arbitrary element and a right 2-Engel element is a homomorphic image of the group H.

gap> rengel := LeftNormedComm( [a,x,x,x] );
Comm( a, x, x, x )
gap> G := rec( generators := et, relations := [rengel] );
rec( generators := [ a, b, x ], relations := [ Comm( a, x, x, x ) ] )
gap> H := NilpotentQuotient( G, [x] );
Pcp-group with orders [ 0, 0, 0, 0, 0, 4, 2, 2 ]
gap> LeftNormedComm( [ H.1,H.2,H.2,H.2 ] );
id
gap> h := LeftNormedComm( [ H.2,H.1,H.1,H.1 ] );
g6^2*g7*g8
gap> Order( h );
4

The element h has order 4. In a nilpotent group without 2-torsion a right 3-Engel element is left 3-Engel.

gap> rengel := LeftNormedComm( [a,x,x,x,x] );
Comm( a, x, x, x, x )
gap> G := rec( generators := et, relations := [rengel] );
rec( generators := [ a, b, x ], relations := [ Comm( a, x, x, x, x ) ] )
gap> H := NilpotentQuotient( G, [x] );
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 12, 0, 5, 10, 2, 0, 30, 
  5, 2, 5, 5, 5, 5 ]
gap> LeftNormedComm( [ H.1,H.2,H.2,H.2,H.2 ] );
id
gap> h := LeftNormedComm( [ H.2,H.1,H.1,H.1,H.1 ] );
g9*g10^2*g11^10*g12^5*g13^2*g14^8*g15*g16^6*g17^10*g18*g20^4*g21^4*g22^2*g23^2
gap> Order( h );
60

The previous calculation shows that in a nilpotent group without 2,3,5-torsion a right 4-Engel element is left 4-Engel.

gap> rengel := LeftNormedComm( [a,x,x,x,x,x] );
Comm( a, x, x, x, x, x )
gap> G := rec( generators := et, relations := [rengel] );
rec( generators := [ a, b, x ], relations := [ Comm( a, x, x, x, x, x ) ] )
gap> H := NilpotentQuotient( G, [x], 9 );
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 30, 
  0, 0, 30, 0, 3, 6, 0, 0, 10, 30, 0, 0, 0, 0, 30, 30, 0, 0, 3, 6, 5, 2, 0, 
  2, 408, 2, 0, 0, 0, 10, 10, 30, 10, 0, 0, 0, 3, 3, 3, 2, 204, 6, 6, 0, 10, 
  10, 10, 2, 2, 2, 0, 300, 0, 0, 18 ]
gap> LeftNormedComm( [ H.1,H.2,H.2,H.2,H.2,H.2 ] );
id
gap> h := LeftNormedComm( [ H.2,H.1,H.1,H.1,H.1,H.1 ] );;
gap> Order( h );
infinity

Finally, we see that in a torsion-free group a right 5-Engel element need not be a left 5-Engel element.

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/nocolorprompt.css000644 000766 000024 00000000313 14550113063 016674 0ustar00mhornstaff000000 000000 /* colors for ColorPrompt like examples */ span.GAPprompt { color: #000000; font-weight: normal; } span.GAPbrkprompt { color: #000000; font-weight: normal; } span.GAPinput { color: #000000; } nq-2.5.11/doc/lefttoc.css000644 000766 000024 00000000474 14550113063 015427 0ustar00mhornstaff000000 000000 /* leftmenu.css Frank Lübeck */ /* Change default CSS to show section menu on left side */ body { padding-left: 28%; } body.chap0 { padding-left: 2%; } div.ChapSects div.ContSect:hover div.ContSSBlock { left: 15%; } div.ChapSects { left: 1%; width: 25%; } nq-2.5.11/doc/intro.xml000644 000766 000024 00000003674 14550113041 015133 0ustar00mhornstaff000000 000000 Introduction This package provides an interface between &GAP; 4 and the Australian National University Nilpotent Quotient Program (ANU NQ). The ANU NQ was implemented as part of the author's work towards his PhD at the Australian National University, hence the name of the program. The program takes as input a finite presentation of a group and successively computes factor groups modulo the terms of the lower central series of the group. These factor groups are computed in terms of polycyclic presentations.

The ANU NQ is implemented in the programming language C. The implementation has been developed in a Unix environment and Unix is currently the only operating system supported. It runs on a number of different Unix versions, e.g. Solaris and Linux.

For integer matrix computations it relies on the GNU MP package and requires this package to be installed on your system.

This package relies on the functionality for polycyclic groups provided by the &GAP; package polycyclic and requires the package polycyclic to be installed as a &GAP; package on your computer system.

Comments, bug reports and suggestions are very welcome, please submit them via our https://github.com/gap-system/nq/issues.

This manual contains references to parts of the &GAP; Reference Manual which are typeset in a slightly idiosyncratic way. The following example shows how such references are printed: 'For further information on creating a free group see .' The text in bold face refers to the &GAP; Reference Manual.

Each item in the list of references at the end of this manual is followed by a list of numbers that specify the pages of the manual where the reference occurs. nq-2.5.11/doc/cli.xml000644 000766 000024 00000025726 14550113041 014551 0ustar00mhornstaff000000 000000 The nq command line interface

How to use the ANU NQ If you start the ANU NQ by typing nq -X you will get the following message: unknown option: -X usage: nq [-a] [-M] [-d] [-g] [-v] [-s] [-f] [-c] [-m] [-t <n>] [-l <n>] [-r <n>] [-n <n>] [-e <n>] [-y] [-o] [-p] [-E] [<presentation>] [<class>] All parameters in square brackets are optional. The parameter <presentation> has to be the name of a file that contains a finite group presentation for which a nilpotent quotient is to be calculated. This file name must not start with a digit. If it is not present, nq will read the presentation from standard input. The parameter <class> restricts the computation of the nilpotent quotient to at most that (nilpotency) class, i.e. the program calculates the quotient group of the (c+1)-th term of the lower central series. If <class> is omitted, the program computes successively the factor groups of the lower central series of the given group. If there is a largest nilpotent quotient, i.e., if the lower central series becomes constant, the program will eventually terminate with the largest nilpotent quotient. If there is no largest nilpotent quotient, the program will run forever (or more precisely will run out of resources). On termination the program prints a nilpotent presentation for the nilpotent quotient it has computed. The options -l, -r and -e can be used to enforce Engel conditions on the nilpotent quotient to be calculated. All these options have to be followed by a positive integer <n>. Their meaning is the following: -n <k> This option forces the first k generators to be left or right Engel element if also the option -l or -r (or both) is present. Otherwise it is ignored. -l <n> This forces the first k generators g_1,...,g_k of the nilpotent quotient Q to be left n-Engel elements, i.e., they satisfy [x,...,x,g_i] = 1 (x occurring n-times) for all x in Q and 1 <= i <= k. If the option -n is not used, then k = 1. -r <n> This forces the first k generators g_1,...,g_k of the nilpotent quotient Q to be right n-Engel elements,i.e., they satisfy [g_i,x,..,x] = 1 (x occurring n-times) for all x in Q and 1 <= i <= k. If the option -n is not used, then k = 1. -e <n> This enforces the n-th Engel law on Q, i.e., [x,y,..,y] = 1 (y occurring n-times) for all x,y in Q. -t <n> This option specifies how much CPU time the program is allowed to use. It will terminate after <n> seconds of CPU time. If <n> is followed (without space) by one of the letters m, h or d, <n> specifies the time in minutes, hours or days, respectively. The other options have the following meaning. Care has to be taken when the options -s or -c are used since the resulting nilpotent quotient need NOT satisfy the required Engel condition. The reason for this is that a smaller set of test words is used if one of these two options are present. Although this smaller set of test words seems to be sufficient to enforce the required Engel condition, this fact has not been proven. -a For each factor of the lower central series a file is created in the current directory that contains an integer matrix describing the factor as abelian group. The first number in that file is the number of columns of the matrix. Then the matrix follows in row major order. The matrix for the i-th factor is put into the file <presentation>.abinv.<i>. -p toggles printing of the pc presentation for the nilpotent quotient at the end of a calculation. -s This option causes the program to check only semigroup words in the generating set of the nilpotent quotient when an Engel condition is enforced. If none of the options -l, -r or -e are present, it is ignored. -f This option causes to check semiwords in the generating set of the nilpotent quotient first and then all other words that need to be checked. It is ignored if the option -s is used or none of the options -l, -r or -e are present. -c This option stops checking the Engel law at each class if all the checks of a certain weight did not yield any non-trivial instances of the law. -d Switch on debug mode and perform checks during the computation. Not yet implemented. -o In checking Engel identities, instances are process in the order of increased weight. This flag reverses the order. -y Enforce the identities x^8 and [ [x1,x2,x3], [x4,x5,x6] ] on the nilpotent quotient. -v Switch on verbose mode. -g Produce GAP output. Presently the GAP output consists only of a sequence of integer matrices whose rows are relations of the factors of the lower central series as abelian groups. This will change as soon as GAP can handle infinite polycyclic groups. -E the *last* n generators are Engel generators. This works in conjunction with option -n. -m output the relation matrix for each factor of the lower central series. The matrices are written to files with the names 'matrix.<cl>' where <cl> is replaced by the number of the factor in the lower central series. Each file contains first the number of columns of the matrix and then the rows of the matrix. The matrix is written as each relation is produced and is not in upper triangular form. -M output the relation matrix before and after relations have been enforced. This results in two groups of files with names '<pres>.nilp.<cl>' and '<pres>.mult.<cl>' where <pres> is the name of the input files and <cl> is the class. The matrices are in upper triangular form.
The input format for presentations The input format for finite presentations resembles the way many people write down a presentation on paper. Here are some examples of presentations that the ANU NQ accepts: # free group of rank 2 < a, b, c | [a,b,c], # a left normed commutator [b,c,c,c]^6, # another one raised to a power a^2 = c^-3*a^2*c^3, # a relation a^(b*c) = a, # a conjugate relation (a*[b,(a*c)])^6 # something that looks complicated > ]]> A presentation starts with '<' followed be a list of generators separated by commas. Generator names are strings that contain only upper and lower case letters, digits, dots and underscores and that do not start with a digit. The list of generator names is separated from the list of relators/relations by the symbol '|'. Relators and relations are separated by commas and can be mixed arbitrarily. Parentheses can be used in order to group subexpressions together. Square brackets can be used in order to form left normed commutators. The symbols '*' and '^' can be used to form products and powers, respectively. The presentation finishes with the symbol '>'. A comment starts with the symbol '#' and finishes at the end of the line. The file src/presentation.c contains a complete grammar for the presentations accepted by the ANU NQ.
An example Let G be the free group on two generators x and y. The input file (called free2.fp here) contains the following: ]]> Computing the class 3 quotient with the ANU NQ by typing produces the following output: A # y |---> B # The nilpotent quotient : # Class : 3 # Nr of generators of each class : 2 1 2 # The definitions: # C := [ B, A ] # D := [ B, A, A ] # E := [ B, A, B ] # total runtime : 1 msec ## Total time spent on integer matrices: 0 ]]> Most of the comments are fairly self-explanatory. One note of caution is necessary: The number of generators for each factor of the lower central series is not the minimal number possible but is the number of generators that the ANU NQ chose to use. This will be improved in one of the future version of the program. The epimorphism from the original group onto the nilpotent quotient is printed in a somewhat confusing way. The generators on the left hand side of the arrows correspond to the generators in the original presentation but are printed with different names. This will be fixed in one of the next version.
Some remarks about the algorithm The implementation of the algorithm is fairly straight forward. The program uses a weighted nilpotent presentation with definitions to represent a nilpotent group. Calculations in the nilpotent group are done using a collector from the left without combinatorial collection. Generators for the c-th lower central factor are defined as commutators of the form [y,x], where x is a generator of weight 1 and y is a generator of weight c-1. Then the program calculates the necessary changes (tails) for all relations which are not definitions, runs through the consistency check and evaluates the original relations on the polycyclic presentation. This gives a list of words, which have to be made trivial in order to obtain a consistent polycyclic presentation representing a nilpotent quotient of the given finitely presented group. This list is converted into a integer matrix, which is transformed into upper triangular form using the Kannan-Bachem algorithm. The GNU multiple precision package is used for this.
nq-2.5.11/doc/chap2_mj.html000644 000766 000024 00000075514 14550113063 015635 0ustar00mhornstaff000000 000000 GAP (nq) - Chapter 2: General remarks
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

2 General remarks

In this chapter we define notation used throughout this manual and recollect basic facts about nilpotent groups. We also provide some background information about the functionality implemented in this package.

2.1 Commutators and the Lower Central Series

The commutator of two elements \(h_1\) and \(h_2\) of a group \(G\) is the element \(h_1^{-1}h_2^{-1}h_1h_2\) and is denoted by \([h_1,h_2]\). It satisfies the equation \(h_1h_2 = h_2h_1[h_1,h_2]\) and can be interpreted as the correction term that has to be introduced into a word if two elements of a group are interchanged. Iterated commutators are written in left-normed fashion: \([h_1,h_2,\ldots,h_{n-1},h_n]=[[h_1,h_2,\ldots,h_{n-1}],h_n]\).

The lower central series of \(G\) is defined inductively as \(\gamma_1(G) = G, \gamma_i(G) = [\gamma_{i-1}(G),G]\) for \(i \ge 2\). Each term in the lower central series is a normal (even fully invariant) subgroup of \(G\). The factors of the lower central series are abelian groups. On each factor the induced action of \(G\) via conjugation is the trivial action.

The factor \(\gamma_k(G)/\gamma_{k+1}(G)\) is generated by the elements \([g,h]\gamma_{k+1}(G),\) where \(g\) runs through a set of (representatives of) generators for \(G/\gamma_2(G)\) and \(h\) runs through a set of (representatives of) generators for \(\gamma_{k-1}(G)/\gamma_k(G).\) Therefore, each factor of the lower central series is finitely generated if \(G\) is finitely generated.

If one factor of the lower central series is finite, then all subsequent factors are finite. Then the exponent of the \(k+1\)-th factor is a divisor of the exponent of the \(k\)-th factor of the lower central series. In particular, the exponents of all factors of the lower central series are bounded by the exponent of the first finite factor of the lower central series.

2.2 Nilpotent groups

A group \(G\) is called nilpotent if there is a positive integer \(c\) such that all \((c+1)\)-fold commutators are trivial in \(G.\) The smallest integer with this property is called the nilpotency class of \(G\). In terms of the lower central series a group \(G \not= 1\) has nilpotency class \(c\) if and only if \(\gamma_{c}(G) \not= 1\) and \(\gamma_{c+1}(G) = 1\).

Examples of nilpotent groups are finite \(p\)-groups, the group of unitriangular matrices over a ring with one and the factor groups of a free group modulo the terms of its lower central series.

Finiteness of a nilpotent group can be decided by the group's commutator factor group. A nilpotent group is finite if and only if its commutator factor group is finite. A group whose commutator factor group is finite can only have finite nilpotent quotient groups.

By refining the lower central series of a finitely generated nilpotent group one can obtain a (sub)normal series \(G_1>G_2>...>G_{k+1}=1\) with cyclic (central) factors. Therefore, every finitely generated nilpotent group is polycyclic. Such a polycyclic series gives rise to a polycyclic generating sequence by choosing a generator \(a_i\) for each cyclic factor \(G_i/G_{i+1}\). Let \(I\) be the set of indices such that \(G_i/G_{i+1}\) is finite. A simple induction argument shows that every element of the group can be written uniquely as a normal word \(a_1^{e_1}\ldots a_n^{e_n}\) with integers \(e_i\) and \(0\leq e_i<m_i\) for \(i\in I\).

2.3 Nilpotent presentations

From a polycyclic generating sequence one can obtain a polycyclic presentation for the group. The following set of power and commutator relations is a defining set of relations. The power relations express \(a_i^{m_i}\) in terms of the generators \(a_{i+1},\ldots,a_n\) whenever \(G_i/G_{i+1}\) is finite with order \(m_i\). The commutator relations are obtained by expressing \([a_j,a_i]\) for \(j>i\) as a word in the generators \(a_{i+1},\ldots,a_n\). If the polycyclic series is obtained from refining the lower central series, then \([a_j,a_i]\) is even a word in \(a_{j+1},\ldots,a_n\). In this case we obtain a nilpotent presentation.

To be more precise, a nilpotent presentation is given on a finite number of generators \(a_1,\ldots,a_n\). Let \(I\) be the set of indices such that \(G_i/G_{i+1}\) is finite. Let \(m_i\) be the order of \(G_i/G_{i+1}\) for \(i\in I\). Then a nilpotent presentation has the form

\[ \langle a,\ldots,a_n | a_i^{m_i} = w_{ii}(a_{i+1},\ldots,a_n) \mbox{ for } i\in I;\; [a_j,a_i] = w_{ij}(a_{j+1},\ldots,a_n) \mbox{ for } 1\leq i < j\leq n\rangle \]

Here, \(w_{ij}(a_k,\ldots,a_n)\) denotes a group word in the generators \(a_k,\ldots,a_n\).

In a group given by a polycyclic presentation each element in the group can be written as a normal word \(a_1^{e_1}\ldots a_n^{e_n}\) with \(e_i \in \mathbb{Z}\) and \(0 \leq e_i < m_i\) for \(i \in I\). A procedure called collection can be used to convert an arbitrary word in the generators into an equivalent normal word. In general, the resulting normal word need not be unique. The result of collecting a word may depend on the steps chosen during the collection procedure. A polycyclic presentation with the property that two different normal words are never equivalent is called consistent. A polycyclic presentation derived from a polycyclic series as above is consistent. The following example shows an inconsistent polycyclic presentation

\[\langle a,b\mid a^2, b^a = b^2 \rangle \]

as \(b = baa = ab^2a = a^2b^4 = b^4\) which implies \(b^3=1\). Here we have the equivalent normal words \(b^3\) and the empty word. It can be proved that consistency can be checked by collecting a finite number of words in the given generating set in two essentially different ways and checking if the resulting normal forms are the same in both cases. See Chapter 9 of the book [Sim94] for an introduction to polycyclic groups and polycyclic presentations.

For computations in a polycyclic group one chooses a consistent polycyclic presentation as it offers a simple solution to the word problem: Equality between two words is decided by collecting both words to their respective normal forms and comparing the normal forms. Nilpotent groups and nilpotent presentations are special cases of polycyclic groups and polycyclic presentations. Nilpotent presentations allow specially efficient collection methods. The package Polycyclic provides algorithms to compute with polycyclic groups given by a polycyclic presentation.

However, inconsistent nilpotent presentations arise naturally in the nilpotent quotient algorithm. There is an algorithm based on the test words for consistency mentioned above to modify the arising inconsistent presentations suitably to obtain a consistent one for the same group.

2.4 A sketch of the algorithm

The input for the ANU NQ in its simplest form is a finite presentation \(\langle X|R\rangle\) for a group \(G\). The first step of the algorithm determines a nilpotent presentation for the commutator quotient of \(G\). This is a presentation of the class-\(1\) quotient of \(G\). Call its generators \(a_1,...,a_d\). It also determines a homomorphism of \(G\) onto the commutator quotient and describes it by specifying the image of each generator in \(X\) as a word in the \(a_i\).

For the general step assume that the algorithm has computed a nilpotent presentation for the class-\(c\) quotient of \(G\) and that \(a_1,...,a_d\) are the generators introduced in the first step of the algorithm. Furthermore, there is a map from X into the class-\(c\) quotient describing the epimorphism from \(G\) onto \(G/\gamma_{c+1}(G)\).

Let \(b_1,...b_k\) be the generators from the last step of the algorithm, the computation of \(\gamma_c(G)/\gamma_{c+1}(G)\). This means that \(b_1,...b_k\) generate \(\gamma_c(G)/\gamma_{c+1}(G)\). Then the commutators \([b_j,a_i]\) generate \(\gamma_{c+1}(G)/\gamma_{c+2}(G)\). The algorithm introduces new, central generators \(c_{ij}\) into the presentation, adds the relations \([b_j,a_i] = c_{ij}\) and modifies the existing relations by appending suitable words in the \(c_{ij}\), called tails, to the right hand sides of the power and commutator relations. The resulting presentation is a nilpotent presentation for the nilpotent cover of \(G/\gamma_{c+1}(G)\). The nilpotent cover is the largest central extension of \(G/\gamma_{c+1}(G)\) generated by \(d\) elements. It is is uniquely determined up to isomorphism.

The resulting presentation of the nilpotent cover is in general inconsistent. Consistency is achieved by running the consistency test. This results in relations among the generators \(c_{ij}\) which can be used to eliminate some of those generators or introduce power relations. After this has been done we have a consistent nilpotent presentation for the nilpotent cover of \(G/\gamma_{c+1}(G)\).

Furthermore, the nilpotent cover need not satisfy the relations of \(G\). In other words, the epimorphism from \(G\) onto \(G/\gamma_{c+1}(G)\) cannot be lifted to an epimorphism onto the nilpotent cover. Applying the epimorphism to each relator of \(G\) and collecting the resulting words of the nilpotent cover yields a set of words in the \(c_{ij}\). This gives further relations between the \(c_{ij}\) which leads to further eliminations or modifications of the power relations for the \(c_{ij}\).

After this, the inductive step of the ANU NQ is complete and a consistent nilpotent presentation for \(G/\gamma_{c+2}(G)\) is obtained together with an epimorphism from \(G\) onto the class-\((c+1)\) quotient.

Chapter 11 of the book [Sim94] discusses a nilpotent quotient algorithm. A description of the implementation in the ANU NQ is contained in [Nic96]

2.5 Identical Relations

Let \(w\) be a word in free generators \(x_1,\ldots,x_n\). A group \(G\) satisfies the relation \(w=1\) identically if each map from \(x_1,\ldots,x_n\) into \(G\) maps \(w\) to the identity element of \(G\). We also say that \(G\) satisfies the identical relation \(w=1\) or satisfies the law \(w=1\). In slight abuse of notation, we call the elements \(x_1,\ldots,x_n\) identical generators.

Common examples of identical relations are: A group of nilpotency class at most \(c\) satisfies the law \([x_1,\ldots,x_{c+1}]=1\). A group that satisfies the law \([x,y,\ldots,y]=1\) where \(y\) occurs \(n\)-times, is called an \(n\)-Engel group. A group that satisfies the law \(x^d=1\) is a group of exponent \(d\).

To describe finitely presented groups that satisfy one or more laws, we extend a common notation for finitely presented groups by specifying the identical generators as part of the generator list, separated from the group generators by a semicolon: For example

\[ \langle a,b,c; x,y | x^5, [x,y,y,y]\rangle \]

is a group on 3 generators \(a,b,c\) of exponent \(5\) satisfying the 3rd Engel law. The presentation above is equivalent to a presentation on 3 generators with an infinite set of relators, where the set of relators consists of all fifth powers of words in the generators and all commutators \([x,y,y,y]\) where \(x\) and \(y\) run through all words in the generators \(a,b,c\). The standalone programme accepts the notation introduced above as a description of its input. In GAP 4 finitely presented groups are specified in a different way, see NilpotentQuotient (3.1-1) for a description.

This notation can also be used in words that mix group and identical generators as in the following example:

\[ \langle a,b,c; x | [x,c], [a,x,x,x] \rangle \]

The first relator specifies a law which says that \(c\) commutes with all elements of the group. The second turns \(a\) into a third right Engel element.

An element \(a\) is called a right \(n\)-th Engel element or a right \(n\)-Engel element if it satisfies the commutator law \([a,x,...,x]=1\) where the identical generator \(x\) occurs \(n\)-times. Likewise, an element \(b\) is called an left \(n\)-th Engel element or left \(n\)-Engel element if it satisfies the commutator law \([x,b,b,...b]=1\).

Let \(G\) be a nilpotent group. Then \(G\) satisfies a given law if the law is satisfied by a certain finite set of instances given by Higman's Lemma, see [Hig59]. The ANU NQ uses Higman's Lemma to obtain a finite presentation for groups that satisfy one or several identical relations.

2.6 Expression Trees

Expressions involving commutators play an important role in the context of nilpotent groups. Expanding an iterated commutator produces a complicated and long expression. For example,

\[ [x,y,z] = y^{-1}x^{-1}yxz^{-1}x^{-1}y^{-1}xyz. \]

Evaluating a commutator \([a,b]\) is done efficiently by computing the equation \((ba)^{-1}ab\). Therefore, for each commutator we need to perform two multiplications and one inversion. Evaluating \([x,y,z]\) needs four multiplications and two inversions. Evaluation of an iterated commutator with \(n\) components takes \(2n-1\) multiplications and \(n-1\) inversions. The expression on the right hand side above needs \(9\) multiplications and \(5\) inversions which is clearly much more expensive than evaluating the commutator directly.

Assuming that no cancellations occur, expanding an iterated commutator with n components produces a word with \(2^{n+1}-2^{n-1}-2\) factors half of which are inverses. A similar effect occurs whenever a compact expression is expanded into a word in generators and inverses, for example \((ab)^{49}\).

Therefore, it is important not to expand expressions into a word in generators and inverses. For this purpose we provide a mechanism which we call here expression trees. An expression tree preserves the structure of a given expression. It is a (binary) tree in which each node is assigned an operation and whose leaves are generators of a free group or integers. For example, the expression \([(xy)^2, z]\) is stored as a tree whose top node is a commutator node. The right subtree is just a generator node (corresponding to \(z\)). The left subtree is a power node whose subtrees are a product node on the left and an integer node on the right. An expression tree can involve products, powers, conjugates and commutators. However, the list of available operations can be extended.

Evaluation of an expression tree is done recursively and requires as many operations as there are nodes in the tree. An expression tree can be evaluated in a specific group by the function EvaluateExpTree (3.2-2).

A presentation specified by expression trees is a record with the components .generators and .relations. See section 3.2 for a description of the functions that produce and manipulate expression trees.

gap> LoadPackage( "nq" );
true
gap> gens := ExpressionTrees( 2 );
[ x1, x2 ]
gap> r1 := LeftNormedComm( [gens[1],gens[2],gens[2]] );
Comm( x1, x2, x2 )
gap> r2 := LeftNormedComm( [gens[1],gens[2],gens[2],gens[1]] );
Comm( x1, x2, x2, x1 )
gap> pres := rec( generators := gens, relations := [r1,r2] );
rec( generators := [ x1, x2 ], 
relations := [ Comm( x1, x2, x2 ), Comm( x1, x2, x2, x1 ) ] )

2.7 A word about the implementation

The ANU NQ is written in C, but not in ANSI C. I hope to make one of the next versions ANSI compliable. However, it uses a fairly restricted subset of the language so that it should be easy to compile it in new environments. The code is 64-bit clean. If you have difficulties with porting it to a new environment, let me know and I'll be happy to assist if time permits.

The program has two collectors: a simple collector from the left as described in [LGS90] and a combinatorial from the left collector as described in [VL90]. The combinatorial collector is always faster than the simple collector, therefore, it is the collector used by this package by default. This can be changed by modifying the global variable NqDefaultOptions (3.4-2).

In a polycyclic group with generators that do not have power relations, exponents may become arbitrarily large. Experience shows that this happens rarely in the computations done by the ANU NQ. Exponents are represented by 32-bit integers. The collectors perform an overflow check and abort the computation if an overflow occurred. In a GNU environment the program can be compiled using the `long long' 64-bit integer type. For this uncomment the relevant line in src/Makefile and recompile the program.

As part of the step that enforces consistency and the relations of the group, the ANU NQ performs computations with integer matrices and converts them to Hermite Normal Form. The algorithm used here is a variation of the Kanan-Bachem algorithm based on the GNU multiple precision package GNU MP [GMP]. Experience shows that the integer matrices are usually fairly sparse and Kanan-Bachem seems to be sufficient in this context. However, the implementation might benefit from a more efficient strategy for computing Hermite Normal Forms. This is a topic for further investigations.

As the program does not compute the Smith Normal Form for each factor of the lower central series but the Hermite Normal Form, it does not necessarily obtain a minimal generating set for each factor of the lower central series. The following is a simple example of this behaviour. We take the presentation

\[ \langle x, y | x^2 = y \rangle \]

The group is clearly isomorphic to the additive group of the integers. Applying the ANU NQ to this presentation gives the following nilpotent presentation:

\[ \langle A,B | A^2 = B, [B,A] \rangle \]

A nilpotent presentation on a minimal generating set would be the presentation of the free group on one generator:

\[ \langle A | \; \rangle \]

2.8 The input format of the standalone

The input format for finite presentations resembles the way many people write down a presentation on paper. Here are some examples of presentations that the ANU NQ accepts:



    < a, b | >                       # free group of rank 2

    < a, b, c; x, y | 
                [a,b,c],             # a left normed commutator
                [b,c,c,c]^6,         # another one raised to a power
                a^2 = c^-3*a^2*c^3,  # a relation
                a^(b*c) = a,         # a conjugate relation
                (a*[b,(a*c)])^6,     # something that looks complicated
                [x,y,y,y,y],         # an identical relation
                [c,x,x,x,x,x]        # c is a fifth right Engel element
    >


A presentation starts with '<' followed by a list of generators separated by commas. Generator names are strings that contain only upper and lower case letters, digits, dots and underscores and that do not start with a digit. The list of generator names is separated from the list of relators/relations by the symbol '\(\mid\)'. The list of generators can be followed by a list of identical generators separated by a semicolon. Relators and relations are separated by commas and can be mixed arbitrarily. Parentheses can be used in order to group subexpressions together. Square brackets can be used in order to form left normed commutators. The symbols '*' and '^' can be used to form products and powers, respectively. The presentation finishes with the symbol '>'. A comment starts with the symbol '#' and finishes at the end of the line. The file src/presentation.c contains a complete grammar for the presentations accepted by the ANU NQ.

Typically, the input for the standalone is put into a file by using a standard text editor. The file can be passed as an argument to the function NilpotentQuotient (3.1-1). It is also possible to put a presentation in the standalone's input format into a string and use the string as argument for NilpotentQuotient (3.1-1).

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/chap5.html000644 000766 000024 00000016733 14550113063 015150 0ustar00mhornstaff000000 000000 GAP (nq) - Chapter 5: Installation of the Package
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

5 Installation of the Package

Installation of the ANU NQ is done in two steps.

5.1 Configuring for compilation

First the configure script is run:

 ./configure  

If you installed the package in another "pkg" directory than the standard "pkg" directory in your GAP 4 installation, then you have to do two things. Firstly during compilation you have to use the option --with-gaproot=PATH of the configure script where "PATH" is a path to the main GAP root directory (if not given the default "../.." is assumed). That is, run

 ./configure --with-gaproot=PATH 

Secondly you have to specify the path to the directory containing your "pkg" directory to GAP's list of directories. This can be done by starting GAP with the "-l" command line option followed by the name of the directory and a semicolon. Then your directory is prepended to the list of directories searched. Otherwise the package is not found by GAP. Of course, you can add this option to your GAP startup script.

Another issue that can occur when running configure is that it may fail to locate the the GNU multiple precision library (GMP [GMP]) which ANU NQ requires to work. This library is also used by GAP and hence normally should be available on your system anyway. But if this is not the case for some reason, it has to be installed first. A copy of GMP can be obtained from https://gmplib.org/.

In order for the configure script to find your copy of GMP, you may have tell it where to find it via --with-gmp=PATH, where "PATH" is the path where GMP was installed:

 ./configure --with-gmp=PATH 

If necessary, you may combine --with-gmp and --with-gaproot.

5.2 Compiling the nq binary

If configure reports no problems, the next step is to start the compilation:

 make 

A compiled version of the program named nq is then placed into the directory bin/<complicated name>. The <complicated name> component encodes the operating system and the compiler used. This allows you to compile NQ on several architectures sharing the same files system.

If there are any warnings or even fatal error messages during the compilation process, please submit a bug report about that following the instructions in Section 5.4

5.3 Testing

After the compilation is finished you can check if the ANU NQ is running properly on your system. Simply type

 make test 

This runs some computations and compares their output with the output files in the directory examples. If any errors are reported, please follow the instructions below.

5.4 Feedback

If you encounter problems with any of the above steps, please do not hesitate to contact us about this. You can either use the nq issue tracker or contact the GAP support group via support@gap-system.org. Please make sure to include information about the specific issue you encountered (e.g. steps to reproduce it, the specific error message), your operating system, the compiler you used and also the versions of GAP and this package that were involved.

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/examples.xml000644 000766 000024 00000007346 14550113041 015616 0ustar00mhornstaff000000 000000 Examples
Right Engel elements An old problem in the context of Engel elements is the question: Is a right n-Engel element left n-Engel? It is known that the answer is no. For details about the history of the problem, see . In this paper the authors show that for n>4 there are nilpotent groups with right n-Engel elements no power of which is a left n-Engel element. The insight was based on computations with the ANU NQ which we reproduce here. We also show the cases 5>n. gap> LoadPackage( "nq" ); true gap> ## SetInfoLevel( InfoNQ, 1 ); gap> ## gap> ## setup calculation gap> ## gap> et := ExpressionTrees( "a", "b", "x" ); [ a, b, x ] gap> a := et[1];; b := et[2];; x := et[3];; gap> gap> ## gap> ## define the group for n = 2,3,4,5 gap> ## gap> gap> rengel := LeftNormedComm( [a,x,x] ); Comm( a, x, x ) gap> G := rec( generators := et, relations := [rengel] ); rec( generators := [ a, b, x ], relations := [ Comm( a, x, x ) ] ) gap> ## The following is equivalent to: gap> ## NilpotentQuotient( : input_string := NqStringExpTrees( G, [x] ) ) gap> H := NilpotentQuotient( G, [x] ); Pcp-group with orders [ 0, 0, 0 ] gap> LeftNormedComm( [ H.2,H.1,H.1 ] ); id gap> LeftNormedComm( [ H.1,H.2,H.2 ] ); id This shows that each right 2-Engel element in a finitely generated nilpotent group is a left 2-Engel element. Note that the group above is the largest nilpotent group generated by two elements, one of which is right 2-Engel. Every nilpotent group generated by an arbitrary element and a right 2-Engel element is a homomorphic image of the group H. gap> rengel := LeftNormedComm( [a,x,x,x] ); Comm( a, x, x, x ) gap> G := rec( generators := et, relations := [rengel] ); rec( generators := [ a, b, x ], relations := [ Comm( a, x, x, x ) ] ) gap> H := NilpotentQuotient( G, [x] ); Pcp-group with orders [ 0, 0, 0, 0, 0, 4, 2, 2 ] gap> LeftNormedComm( [ H.1,H.2,H.2,H.2 ] ); id gap> h := LeftNormedComm( [ H.2,H.1,H.1,H.1 ] ); g6^2*g7*g8 gap> Order( h ); 4 The element h has order 4. In a nilpotent group without 2-torsion a right 3-Engel element is left 3-Engel. gap> rengel := LeftNormedComm( [a,x,x,x,x] ); Comm( a, x, x, x, x ) gap> G := rec( generators := et, relations := [rengel] ); rec( generators := [ a, b, x ], relations := [ Comm( a, x, x, x, x ) ] ) gap> H := NilpotentQuotient( G, [x] ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 12, 0, 5, 10, 2, 0, 30, 5, 2, 5, 5, 5, 5 ] gap> LeftNormedComm( [ H.1,H.2,H.2,H.2,H.2 ] ); id gap> h := LeftNormedComm( [ H.2,H.1,H.1,H.1,H.1 ] ); g9*g10^2*g11^10*g12^5*g13^2*g14^8*g15*g16^6*g17^10*g18*g20^4*g21^4*g22^2*g23^2 gap> Order( h ); 60 The previous calculation shows that in a nilpotent group without 2,3,5-torsion a right 4-Engel element is left 4-Engel. gap> rengel := LeftNormedComm( [a,x,x,x,x,x] ); Comm( a, x, x, x, x, x ) gap> G := rec( generators := et, relations := [rengel] ); rec( generators := [ a, b, x ], relations := [ Comm( a, x, x, x, x, x ) ] ) gap> H := NilpotentQuotient( G, [x], 9 ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 30, 0, 0, 30, 0, 3, 6, 0, 0, 10, 30, 0, 0, 0, 0, 30, 30, 0, 0, 3, 6, 5, 2, 0, 2, 408, 2, 0, 0, 0, 10, 10, 30, 10, 0, 0, 0, 3, 3, 3, 2, 204, 6, 6, 0, 10, 10, 10, 2, 2, 2, 0, 300, 0, 0, 18 ] gap> LeftNormedComm( [ H.1,H.2,H.2,H.2,H.2,H.2 ] ); id gap> h := LeftNormedComm( [ H.2,H.1,H.1,H.1,H.1,H.1 ] );; gap> Order( h ); infinity Finally, we see that in a torsion-free group a right 5-Engel element need not be a left 5-Engel element.
nq-2.5.11/doc/manual.lab000644 000766 000024 00000010665 14550113063 015215 0ustar00mhornstaff000000 000000 \GAPDocLabFile{nq} \makelabel{nq:Title page}{}{X7D2C85EC87DD46E5} \makelabel{nq:Copyright}{}{X81488B807F2A1CF1} \makelabel{nq:Acknowledgements}{}{X82A988D47DFAFCFA} \makelabel{nq:Table of Contents}{}{X8537FEB07AF2BEC8} \makelabel{nq:Introduction}{1}{X7DFB63A97E67C0A1} \makelabel{nq:General remarks}{2}{X7A696C2A78E88D1A} \makelabel{nq:Commutators and the Lower Central Series}{2.1}{X7E33A61A831C0068} \makelabel{nq:Nilpotent groups}{2.2}{X8463EF6A821FFB69} \makelabel{nq:Nilpotent presentations}{2.3}{X8268F8197E6BD786} \makelabel{nq:A sketch of the algorithm}{2.4}{X7DAF9CC17F6B868D} \makelabel{nq:Identical Relations}{2.5}{X84EF796487BC1822} \makelabel{nq:Expression Trees}{2.6}{X861A2C6385F6BCF5} \makelabel{nq:A word about the implementation}{2.7}{X7E27CA7F7E797520} \makelabel{nq:The input format of the standalone}{2.8}{X79E150AA823439A8} \makelabel{nq:The Functions of the Package}{3}{X82738C527E6AC670} \makelabel{nq:Nilpotent Quotients of Finitely Presented Groups}{3.1}{X7D147D4182F85244} \makelabel{nq:Expression Trees}{3.2}{X861A2C6385F6BCF5} \makelabel{nq:Auxiliary Functions}{3.3}{X866E18057EF83F65} \makelabel{nq:Global Variables}{3.4}{X7D9044767BEB1523} \makelabel{nq:Diagnostic Output}{3.5}{X804DD7CE815D87C9} \makelabel{nq:Examples}{4}{X7A489A5D79DA9E5C} \makelabel{nq:Right Engel elements}{4.1}{X8638E6CE7B5955FB} \makelabel{nq:Installation of the Package}{5}{X79E1ED167D631DCC} \makelabel{nq:Configuring for compilation}{5.1}{X783433687E4C822A} \makelabel{nq:Compiling the nq binary}{5.2}{X83FF596582258A74} \makelabel{nq:Testing}{5.3}{X7DE7E7187BE24368} \makelabel{nq:Feedback}{5.4}{X80D704CC7EBFDF7A} \makelabel{nq:The nq command line interface}{A}{X78A212947932A6D3} \makelabel{nq:How to use the ANU NQ}{A.1}{X7B495102781E821B} \makelabel{nq:The input format for presentations}{A.2}{X791091ED814A9B87} \makelabel{nq:An example}{A.3}{X7B5623E3821CC0D0} \makelabel{nq:Some remarks about the algorithm}{A.4}{X829490077E75F283} \makelabel{nq:Bibliography}{Bib}{X7A6F98FD85F02BFE} \makelabel{nq:References}{Bib}{X7A6F98FD85F02BFE} \makelabel{nq:Index}{Ind}{X83A0356F839C696F} \makelabel{nq:License}{}{X81488B807F2A1CF1} \makelabel{nq:nq}{}{X8537FEB07AF2BEC8} \makelabel{nq:commutator}{2.1}{X7E33A61A831C0068} \makelabel{nq:left-normed commutator}{2.1}{X7E33A61A831C0068} \makelabel{nq:lower central series}{2.1}{X7E33A61A831C0068} \makelabel{nq:nilpotent}{2.2}{X8463EF6A821FFB69} \makelabel{nq:nilpotency class}{2.2}{X8463EF6A821FFB69} \makelabel{nq:class}{2.2}{X8463EF6A821FFB69} \makelabel{nq:polycyclic}{2.2}{X8463EF6A821FFB69} \makelabel{nq:polycyclic generating sequence}{2.2}{X8463EF6A821FFB69} \makelabel{nq:polycyclic presentation}{2.3}{X8268F8197E6BD786} \makelabel{nq:power relation}{2.3}{X8268F8197E6BD786} \makelabel{nq:commutator relation}{2.3}{X8268F8197E6BD786} \makelabel{nq:nilpotent presentation}{2.3}{X8268F8197E6BD786} \makelabel{nq:consistent}{2.3}{X8268F8197E6BD786} \makelabel{nq:identical relation}{2.5}{X84EF796487BC1822} \makelabel{nq:law}{2.5}{X84EF796487BC1822} \makelabel{nq:identical generator}{2.5}{X84EF796487BC1822} \makelabel{nq:right Engel element}{2.5}{X84EF796487BC1822} \makelabel{nq:left Engel element}{2.5}{X84EF796487BC1822} \makelabel{nq:expression trees}{2.6}{X861A2C6385F6BCF5} \makelabel{nq:Nilpotent Quotient Package}{3}{X82738C527E6AC670} \makelabel{nq:NilpotentQuotient}{3.1.1}{X8216791583DE512C} \makelabel{nq:NilpotentQuotient for input from a file}{3.1.1}{X8216791583DE512C} \makelabel{nq:options}{3.1.1}{X8216791583DE512C} \makelabel{nq:options group}{3.1.1}{X8216791583DE512C} \makelabel{nq:options idgens}{3.1.1}{X8216791583DE512C} \makelabel{nq:options class}{3.1.1}{X8216791583DE512C} \makelabel{nq:NilpotentEngelQuotient}{3.1.2}{X7ACCB6267C187AB0} \makelabel{nq:NilpotentEngelQuotient for input from a file}{3.1.2}{X7ACCB6267C187AB0} \makelabel{nq:NqEpimorphismNilpotentQuotient}{3.1.3}{X8758F663782AE655} \makelabel{nq:LowerCentralFactors}{3.1.4}{X827C2D4F78C982FC} \makelabel{nq:ExpressionTrees}{3.2.1}{X7CC7CDDD876BB8EB} \makelabel{nq:ExpressionTrees for a list of names}{3.2.1}{X7CC7CDDD876BB8EB} \makelabel{nq:EvaluateExpTree}{3.2.2}{X879956307B67A136} \makelabel{nq:NqReadOutput}{3.3.1}{X855407657CB86F40} \makelabel{nq:NqStringFpGroup}{3.3.2}{X8443537679BC81D5} \makelabel{nq:NqStringExpTrees}{3.3.3}{X82684F4D79A786F5} \makelabel{nq:NqElementaryDivisors}{3.3.4}{X7A28800579A2BB35} \makelabel{nq:NqRuntime}{3.4.1}{X87691A167A83FAF6} \makelabel{nq:NqDefaultOptions}{3.4.2}{X7DFBFD1580BF024A} \makelabel{nq:NqGlobalVariables}{3.4.3}{X83D1AFCB7EFF4380} nq-2.5.11/doc/chapBib.txt000644 000766 000024 00000002761 14550113056 015351 0ustar00mhornstaff000000 000000 References [EN02] Eick, B. and Nickel, W., Polycyclic, Algorithms for working with polycyclic groups (2002), (GAP package), https://gap-packages.github.io/polycyclic/. [GMP] GNU MP, https://gmplib.org/. [Hig59] Higman, G., Some remarks on varieties of groups, Quart. J. Math. Oxford, 2, 10 (1959), 165–178. [LGS90] Leedham-Green, C. R. and Soicher, L. H., Collection from the left and other strategies, J. Symbolic Comput., 9, 5–6 (1990), 665–675. [Nic96] Nickel, W., Computing Nilpotent Quotients of Finitely Presented Groups, in Geometric and Computational Perspectives on Infinite Groups, Dimacs Series in Discrete Mathematics and Theoretical Computer Science, 25 (1996), 175–191. [NN94] Newman, M. F. and Nickel, W., Engel elements in groups, J. Pure Appl. Algebra, 96 (1994), 39–45. [Sim94] Sims, C. C., Computation with Finitely Presented Groups, Cambridge University Press (1994). [VL90] Vaughan-Lee, M. R., Collection from the Left, J. Symbolic Comput., Academic Press, 9 (1990), 725–733.  nq-2.5.11/doc/chapA.html000644 000766 000024 00000036151 14550113063 015160 0ustar00mhornstaff000000 000000 GAP (nq) - Appendix A: The nq command line interface
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

A The nq command line interface

A.1 How to use the ANU NQ

If you start the ANU NQ by typing

     nq -X

you will get the following message:

    unknown option: -X
    usage: nq [-a] [-M] [-d] [-g] [-v] [-s] [-f] [-c] [-m]
              [-t <n>] [-l <n>] [-r <n>] [-n <n>] [-e <n>]
              [-y] [-o] [-p] [-E] [<presentation>] [<class>]

All parameters in square brackets are optional. The parameter <presentation> has to be the name of a file that contains a finite group presentation for which a nilpotent quotient is to be calculated. This file name must not start with a digit. If it is not present, nq will read the presentation from standard input. The parameter <class> restricts the computation of the nilpotent quotient to at most that (nilpotency) class, i.e. the program calculates the quotient group of the (c+1)-th term of the lower central series. If <class> is omitted, the program computes successively the factor groups of the lower central series of the given group. If there is a largest nilpotent quotient, i.e., if the lower central series becomes constant, the program will eventually terminate with the largest nilpotent quotient. If there is no largest nilpotent quotient, the program will run forever (or more precisely will run out of resources). On termination the program prints a nilpotent presentation for the nilpotent quotient it has computed. The options -l, -r and -e can be used to enforce Engel conditions on the nilpotent quotient to be calculated. All these options have to be followed by a positive integer <n>. Their meaning is the following:

-n <k>

This option forces the first k generators to be left or right Engel element if also the option -l or -r (or both) is present. Otherwise it is ignored.

-l <n>

This forces the first k generators g_1,...,g_k of the nilpotent quotient Q to be left n-Engel elements, i.e., they satisfy [x,...,x,g_i] = 1 (x occurring n-times) for all x in Q and 1 <= i <= k. If the option -n is not used, then k = 1.

-r <n>

This forces the first k generators g_1,...,g_k of the nilpotent quotient Q to be right n-Engel elements,i.e., they satisfy [g_i,x,..,x] = 1 (x occurring n-times) for all x in Q and 1 <= i <= k. If the option -n is not used, then k = 1.

-e <n>

This enforces the n-th Engel law on Q, i.e., [x,y,..,y] = 1 (y occurring n-times) for all x,y in Q.

-t <n>

This option specifies how much CPU time the program is allowed to use. It will terminate after <n> seconds of CPU time. If <n> is followed (without space) by one of the letters m, h or d, <n> specifies the time in minutes, hours or days, respectively.

The other options have the following meaning. Care has to be taken when the options -s or -c are used since the resulting nilpotent quotient need NOT satisfy the required Engel condition. The reason for this is that a smaller set of test words is used if one of these two options are present. Although this smaller set of test words seems to be sufficient to enforce the required Engel condition, this fact has not been proven.

-a

For each factor of the lower central series a file is created in the current directory that contains an integer matrix describing the factor as abelian group. The first number in that file is the number of columns of the matrix. Then the matrix follows in row major order. The matrix for the i-th factor is put into the file <presentation>.abinv.<i>.

-p

toggles printing of the pc presentation for the nilpotent quotient at the end of a calculation.

-s

This option causes the program to check only semigroup words in the generating set of the nilpotent quotient when an Engel condition is enforced. If none of the options -l, -r or -e are present, it is ignored.

-f

This option causes to check semiwords in the generating set of the nilpotent quotient first and then all other words that need to be checked. It is ignored if the option -s is used or none of the options -l, -r or -e are present.

-c

This option stops checking the Engel law at each class if all the checks of a certain weight did not yield any non-trivial instances of the law.

-d

Switch on debug mode and perform checks during the computation. Not yet implemented.

-o

In checking Engel identities, instances are process in the order of increased weight. This flag reverses the order.

-y

Enforce the identities x^8 and [ [x1,x2,x3], [x4,x5,x6] ] on the nilpotent quotient.

-v

Switch on verbose mode.

-g

Produce GAP output. Presently the GAP output consists only of a sequence of integer matrices whose rows are relations of the factors of the lower central series as abelian groups. This will change as soon as GAP can handle infinite polycyclic groups.

-E

the *last* n generators are Engel generators. This works in conjunction with option -n.

-m

output the relation matrix for each factor of the lower central series. The matrices are written to files with the names 'matrix.<cl>' where <cl> is replaced by the number of the factor in the lower central series. Each file contains first the number of columns of the matrix and then the rows of the matrix. The matrix is written as each relation is produced and is not in upper triangular form.

-M

output the relation matrix before and after relations have been enforced. This results in two groups of files with names '<pres>.nilp.<cl>' and '<pres>.mult.<cl>' where <pres> is the name of the input files and <cl> is the class. The matrices are in upper triangular form.

A.2 The input format for presentations

The input format for finite presentations resembles the way many people write down a presentation on paper. Here are some examples of presentations that the ANU NQ accepts:



    < a, b | >                       # free group of rank 2

    < a, b, c | [a,b,c],             # a left normed commutator
                [b,c,c,c]^6,         # another one raised to a power
                a^2 = c^-3*a^2*c^3,  # a relation
                a^(b*c) = a,         # a conjugate relation
                (a*[b,(a*c)])^6      # something that looks complicated
    >


A presentation starts with '<' followed be a list of generators separated by commas. Generator names are strings that contain only upper and lower case letters, digits, dots and underscores and that do not start with a digit. The list of generator names is separated from the list of relators/relations by the symbol '|'. Relators and relations are separated by commas and can be mixed arbitrarily. Parentheses can be used in order to group subexpressions together. Square brackets can be used in order to form left normed commutators. The symbols '*' and '^' can be used to form products and powers, respectively. The presentation finishes with the symbol '>'. A comment starts with the symbol '#' and finishes at the end of the line. The file src/presentation.c contains a complete grammar for the presentations accepted by the ANU NQ.

A.3 An example

Let G be the free group on two generators x and y. The input file (called free2.fp here) contains the following:



        < x, y | >


Computing the class 3 quotient with the ANU NQ by typing



        nq free2.fp 3


produces the following output:



#
#    The ANU Nilpotent Quotient Program (Version 2.3)
#    Calculating a nilpotent quotient
#    Input: free2.fp
#    Nilpotency class: 3
#    Program: nq
#    Size of exponents: 8 bytes
#
#    Calculating the abelian quotient ...
#    The abelian quotient has 2 generators
#        with the following exponents: 0 0
#
#    Calculating the class 2 quotient ...
##  Sizes:  2  3
#    Layer 2 of the lower central series has 1 generators
#          with the following exponents: 0
#
#    Calculating the class 3 quotient ...
##  Sizes:  2  3  5
#    Layer 3 of the lower central series has 2 generators
#          with the following exponents: 0 0
#


#    The epimorphism :
#    x |---> A
#    y |---> B


#    The nilpotent quotient :
    <A,B,C,D,E
      |
        B^A           =: B*C,
        B^(A^-1)      =  B*C^-1*D,
        C^A           =: C*D,
        C^(A^-1)      =  C*D^-1,
        C^B           =: C*E,
        C^(B^-1)      =  C*E^-1 >

#    Class : 3
#    Nr of generators of each class : 2 1 2


#    The definitions:
#    C := [ B, A ]
#    D := [ B, A, A ]
#    E := [ B, A, B ]
#    total runtime : 1 msec
##  Total time spent on integer matrices: 0


Most of the comments are fairly self-explanatory. One note of caution is necessary: The number of generators for each factor of the lower central series is not the minimal number possible but is the number of generators that the ANU NQ chose to use. This will be improved in one of the future version of the program. The epimorphism from the original group onto the nilpotent quotient is printed in a somewhat confusing way. The generators on the left hand side of the arrows correspond to the generators in the original presentation but are printed with different names. This will be fixed in one of the next version.

A.4 Some remarks about the algorithm

The implementation of the algorithm is fairly straight forward. The program uses a weighted nilpotent presentation with definitions to represent a nilpotent group. Calculations in the nilpotent group are done using a collector from the left without combinatorial collection. Generators for the c-th lower central factor are defined as commutators of the form [y,x], where x is a generator of weight 1 and y is a generator of weight c-1. Then the program calculates the necessary changes (tails) for all relations which are not definitions, runs through the consistency check and evaluates the original relations on the polycyclic presentation. This gives a list of words, which have to be made trivial in order to obtain a consistent polycyclic presentation representing a nilpotent quotient of the given finitely presented group. This list is converted into a integer matrix, which is transformed into upper triangular form using the Kannan-Bachem algorithm. The GNU multiple precision package is used for this.

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/rainbow.js000644 000766 000024 00000005336 14550113063 015256 0ustar00mhornstaff000000 000000 function randchar(str) { var i = Math.floor(Math.random() * str.length); while (i == str.length) i = Math.floor(Math.random() * str.length); return str[i]; } hexdigits = "0123456789abcdef"; function randlight() { return randchar("cdef")+randchar(hexdigits)+ randchar("cdef")+randchar(hexdigits)+ randchar("cdef")+randchar(hexdigits) } function randdark() { return randchar("012345789")+randchar(hexdigits)+ randchar("012345789")+randchar(hexdigits)+ randchar("102345789")+randchar(hexdigits) } document.write('\n'); nq-2.5.11/doc/nqbib.xml000644 000766 000024 00000006167 14550113041 015073 0ustar00mhornstaff000000 000000
G.Higman Some remarks on varieties of groups Quart. J. Math. Oxford 1959 2 10 165–178
C. R.Leedham-Green L. H.Soicher Collection from the left and other strategies J. Symbolic Comput. 1990 9 5–6 665–675
M. F.Newman WernerNickel Engel elements in groups J. Pure Appl. Algebra 1994 96 39–45
WernerNickel Computing Nilpotent Quotients of Finitely Presented Groups Geometric and Computational Perspectives on Infinite Groups 1996 25 Dimacs Series in Discrete Mathematics and Theoretical Computer Science 175–191 C. C.Sims Computation with Finitely Presented Groups Cambridge University Press 1994
M. R.Vaughan-Lee Collection from the Left J. Symbolic Comput. 1990 9 725–733 Academic Press
BettinaEick WernerNickel <Wrap Name="Package">Polycyclic</Wrap>, Algorithms for working with polycyclic groups https://gap-packages.github.io/polycyclic/ 2002 GAP package GNU MP
https://gmplib.org/
GMP
<C>GAP</C> -- <C>G</C>roups, <C>A</C>lgorithms, and <C>P</C>rogramming, Version 4.11.1 The GAP Group 2021 https://www.gap-system.org GAP groups; *; gap; manual
nq-2.5.11/doc/nqbib.xml.bib000644 000766 000024 00000006133 14550113056 015625 0ustar00mhornstaff000000 000000 @article{ Higman59, author = {Higman, G.}, title = {Some remarks on varieties of groups}, journal = {Quart. J. Math. Oxford}, volume = {2}, number = {10}, year = {1959}, pages = {165{\textendash}178}, printedkey = {Hig59} } @article{ LS90, author = {Leedham-Green, C. R. and Soicher, L. H.}, title = {Collection from the left and other strategies}, journal = {J. Symbolic Comput.}, volume = {9}, number = {5{\textendash}6}, year = {1990}, pages = {665{\textendash}675}, printedkey = {LS90} } @article{ NewmanNickel94, author = {Newman, M. F. and Nickel, W.}, title = {Engel elements in groups}, journal = {J. Pure Appl. Algebra}, volume = {96}, year = {1994}, pages = {39{\textendash}45}, printedkey = {NN94} } @inproceedings{ Nickel96, author = {Nickel, W.}, booktitle = {Geometric and Computational Perspectives on Infinite Groups}, title = {Computing Nilpotent Quotients of Finitely Presented Groups}, series = {Dimacs Series in Discrete Mathematics and Theoretical Computer Science}, volume = {25}, year = {1996}, pages = {175{\textendash}191}, printedkey = {Nic96} } @book{ Sims94, author = {Sims, C. C.}, title = {Computation with Finitely Presented Groups}, publisher = {Cambridge University Press}, year = {1994}, printedkey = {Sim94} } @article{ VL90a, author = {Vaughan-Lee, M. R.}, title = {Collection from the Left}, journal = {J. Symbolic Comput.}, publisher = {Academic Press}, volume = {9}, year = {1990}, pages = {725{\textendash}733}, printedkey = {Vau90} } @misc{ polycyclic, author = {Eick, B. and Nickel, W.}, title = {Polycyclic, Algorithms for working with polycyclic groups}, year = {2002}, note = {GAP package}, howpublished = {\href {https://gap-packages.github.io/polycyclic/} {\texttt{https://gap-packages.github.io/}\discretionary {}{}{}\texttt{polycyclic/}}}, printedkey = {EN02} } @manual{ GNUMP, title = {GNU MP}, address = {\href {https://gmplib.org/} {\texttt{https://gmplib.org/}}}, key = {GMP} } @manual{ GAP4, title = {{GAP} -- {G}roups, {A}lgorithms, and {P}rogramming, Version 4.11.1}, organization = {The GAP Group}, year = {2021}, note = {\href {https://www.gap-system.org} {\texttt{https://www.gap-system.org}}}, key = {GAP}, keywords = {groups; *; gap; manual} } nq-2.5.11/doc/manual.pdf000644 000766 000024 00001046124 14550113063 015230 0ustar00mhornstaff000000 000000 %PDF-1.5 % 126 0 obj << /Length 362 /Filter /FlateDecode >> stream xڍR=o0!#6cBPRC#F:wg{tR,ӑ#GDK=8T$ Aփ$,9Feg> PP g(|>]C̞}l:_8i6W9,(Mw㸡b-H] ^(K+P*44RR3cH#IyԠ|* ( D 01dU0<e6WvؒMV)N^nx$U.?۰a|$H1Z˔@6^IUqYN'qjsESﷇX7P~w,1l4􏕻~ endstream endobj 136 0 obj << /Length 1344 /Filter /FlateDecode >> stream xڍVs6_#ėiKM.^|L/}Aj@J+l:>ؒCZ+||:R?6EVJ˂Wp^ghJB/SHes囝ط (c7 /0VI>EpzB[.!IR4}&q$ ˈK|?ʷwNFmjp/ 2o"Vq24ъ9nf6p,%SiWP~v( 탘P%+0JuoOو#k!ѥ/+ԭtd;(O:ϷǑ%+\h8$<Դ~ q~s jCPQQؽ2jV#5zF+ӑ 8J4 @j@* l 0=O57n^ F3xGg!YNVTe8Qɉ4bR;ofV]0@7WBc*BY/E%iҙ4arž }d֟yN}/N>ʾfR ){b_:~k4|oq2hj/ٙQFz1$3k\=Izla'aW#J|Oo":6{(@qQJѢ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}\1fUqV,.\d.m^/CW ^by)^^`M'Icghdu(J8JMݭx?*O=UF+/[^u#h_:klO}@N"ܣ¸Nߊp@?ߴչwVow^ԣk=n.C'౭WUsF C?@,ӌJga7l@;^ Dn:seBM>]t4!D;FVML7 ]GũwXz !c,@tC#H8Xݞ|t1rD!i PcOl.P<۠1^pfA)㛭7 &d$%5 G+" tGݟ }G Yl#eeqa>)csԴts_pR Dgi1dXLAZ'D}I9ESw4pטƪ%wCO`ܴyyH~l&nO46茥uZP{jg(>s IZ q~[<,BP.a5$P2r]UHżu5r"J(qEW3%g~NB@ֵ=TpVi@^]r<~?+!7A/FNV)X #KsJ|Z-v |̲֡DRƹMF-'iԞܧ$?gPܘVQf(8@L3*+gZ贂kEg-gJ1 ѵ8񛈹2mFYVN /MA>iR6P^l 5șsdg,/C;-KA3/lj%ju:j žLꬪDwSLzϟ RtU qbVkDxҤ iK2$Qj484nuY1Hg Cn.Í<(tInvtg/>;\o2t?u WH/qڠ{bBXyjh>t02n;o%gOb` u/G+pgy4'>zT6 {a}yz[ endstream endobj 405 0 obj << /Length 1285 /Filter /FlateDecode >> stream xڵW[W8~rFH.o-i{ mh1/YۡLڳ`]fF¢֛h,V9TzS:Q9{&sH8ڑi kfA&.uӻlșg |BQޕan]R*LIxW^.w%AG とXPa .=iE$;xnu5%[|Nsc*isXGcj!pr슆S)wqҬ z [ECwkqw6Pma\5"C\gWa,95t!|M(Oų~f<Ja<[9gJ7ȹsr0CG{*.Q~#u JW q?6$k7`z]/ܟbJxNh"RmLcD4mS^%Ƙo 9grC^&Lb[db9P$fkqbjIZ]6ZTH 2ڮo9n@[hp_F[<FyN9I7*ևbEȷh`Of]28?+> 4Q1?x/x endstream endobj 300 0 obj << /Type /ObjStm /N 100 /First 872 /Length 1732 /Filter /FlateDecode >> stream xYKoGW1>lOw=1 1 v# ˄CD""}aP%izfWM₣\$rTDN㠸͎ZWv3qeKZ'em8%kHb1PƠ`(IŠL#x19Q]T|U T( "ESp1CXq&LN$L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?w{pqI+N`P3/D y+sv'm}8٥z/4#KvK;-gfr^j8-!7ƙF3kÛ=O6]Lc:qľ4<:.R}&cusf=Qx*w+, (:t\JX#:_h=]U endstream endobj 491 0 obj << /Length1 1616 /Length2 1014 /Length3 0 /Length 1826 /Filter /FlateDecode >> stream xڭTiTWf!m@$Ș O; ݀@ 6`)^UeUv,:fq0zP"Q@$"hDF8GE&.as?]ww85.AB0PЂX)  FG$hUQ@"A64lbaAR bqxKT&lrdR 'F!,89TG!(H ٱqGĄ Ґ(NHD8y   uI+YAyN刮Qw2J͌?t[9`++ Hƾ3V>) p~5nУ

mكy]5mݎ5 =\3 d٩+wN׺˳))pGakǬ͗%7hm. >DyE_Y;^wK|Dnf gdzjY{<)jmpѓv?/N1\omr~vU5O. :Cu>jTsтWGiɅHPɒQʉURτ^߷>bЙ63띾k$펻/+nĩk# ܝp$ S6Yp)8+eOskE[MSLiRغu1SoIR%IͱY6RXuh^YgSg{7=qaͭ\{^c`]96%"qϤo^xgZ52HSkG/s[N_|{kw]>QUc 1M ?cWX endstream endobj 493 0 obj << /Length1 1626 /Length2 14143 /Length3 0 /Length 14994 /Filter /FlateDecode >> stream xڭeP%4P;5P[7.ӸCn;k&Νg"j\+x(IUE-@f@)+#+ @E dU`TZ>@SW+ HllV^^^J8@MKO_Bf^bc9\?!Ձ@5`ic+*Ih4@@`ctp,A  Zsau\6i@Os?.#?`l9WvKп9:>#?}`* WsgGWgU t6uͧҿ|0^WS+Zf@gO0Ggpsq/ gW{SGG;e8ظ,X>k~ֶq@`gWd,AV-3$L-@v^ %$Ne>$oEF%{ZNs>S;PиRLm3Zob ;ɺ~DS&m\l<*6KSyˮ`tq~YYXçamc8:X'OEYVK[GG+Ps \5?VA`d`{xX%_gESWgOg,d0 Fs]v#.m2]kqr'${Y!CK4 z·y+M^kBۼOF{{R~}hTߙJhG\.(lAqhLMu;]>bR<8bu~iC-Ps( of0k:p$?$;p'rx׼i6GF aDhtbpF _7s{!L٬-alYU1n||,1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kӄ$a"1x*s.$S56P>Ƅm„A Fs 5577vرϾ+uaя6R:!,əCxg+ѧy*JcL|*m:fvuiWUꧏɩ\g%<Ϛ"sÖ0_:3x0kjhyIYx0aCnOg3$cx0<<v5O#ܵu7A 6*sZ ZcΜ-ܠeYksL ?"@>qh|tngk;dGGM@c endstream endobj 514 0 obj << /Length 665 /Filter /FlateDecode >> stream xmTn0C6U@"mTt@;olvR3ތm~<&YվI|+œ;t羋<]3;Wj|{}[ mmᆂMv{Kt=cߚ~B?zxoBS6wBJ)X7UaMuSxHiQV,4$O;nC-bD/OCnC_n^ѻs׽9X2Z.ET~{~ʶrn_~߼h!R,6ew*ؔb%k e+Kӄ$a"1x*s.$S56P>Ƅm„A Fs 5577vرϾ+uaя6R:!,əCxg+ѧy*JcL|*m:fvuiWUꧏɩ\g%<Ϛ"sÖ0_:3x0kjhyIYx0aCnOg3$cx0<<v5O#ܵu7A 6*sZ ZcΜ-ܠeYksL ?"@>qh|tngk;dGGMc endstream endobj 546 0 obj << /Producer (pdfTeX-1.40.24) /Author(\376\377\000W\000e\000r\000n\000e\000r\000\040\000N\000i\000c\000k\000e\000l)/Title(\376\377\000n\000q)/Subject()/Creator(\376\377\000L\000a\000T\000e\000X\000\040\000w\000i\000t\000h\000\040\000h\000y\000p\000e\000r\000r\000e\000f\000\040\000p\000a\000c\000k\000a\000g\000e\000\040\000/\000\040\000G\000A\000P\000D\000o\000c)/Keywords() /CreationDate (D:19700101000000Z) /ModDate (D:19700101000000Z) /Trapped /False /PTEX.Fullbanner (This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) kpathsea version 6.3.4) >> endobj 501 0 obj << /Type /ObjStm /N 83 /First 725 /Length 3483 /Filter /FlateDecode >> stream xڽZko_ud/(@#Eq!ˌYrH;CR\)v.p6$gwfΜ]RVF4DRq2\/1EmĵV`8ZV"1I#Ν 0;C9p,Jl$c0,FBёPp#@Pؑ00d@"H,("(dK H$c an&̓\*#)8JPZFLUE0[jpkaH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@/Ȯ$F XTXt/Ϫ:>Tql .hpzO{KCwЅ|UuUaug JBv,.6i2X<:;JtZAʐSXrTj6UTÎjN(wQ&kkǝzOASܪx% Yw>՜!YKEpUBCo6-0[/t3/oF{?~U0ty]l(@^?s_O7= endstream endobj 547 0 obj << /Type /XRef /Index [0 548] /Size 548 /W [1 3 1] /Root 545 0 R /Info 546 0 R /ID [<9F3DBF25DD904993923140F5E4E990D4> <9F3DBF25DD904993923140F5E4E990D4>] /Length 1329 /Filter /FlateDecode >> stream x%KlUU/ʣR.B˫WR(}B8q1&gd138Z##N8123сhqb3zgZҫJJdib@0eԠuhmhÔ Ј֋vr-Xmr=؀6 4EZNeM>͠ 2^lE[O xC tBwS;цvQnTjq GhUhѶS3W?CZ76$A E뢔#hжReдuq4s; pYKU΀1kzӕ`du\a4U.K `7-0nip3s`,E`UqBCQl~^{j-=G6Sza-n8-ui1 t@lf5@A߂6وK m[P A`FAXd.~tY fAĐnWƎ|ɚ *Xy/Eo½d-ZVD/Z*M\$LR)Bu8A 2~*OLYz4+R*U fA>MR,}|B\Xa awxZ@[wLeReͫZ̨D*3v\SCkj]' >Yӱey/cwu>p X>\ cr~fӰ[l\ȧSRH$87,`JӖ~;h&bZBXupѾ,L90mYiD πYj C)<4_`:5Ե UQfM+*<&~J;7|ssss4A'x{::Ǔcs::GFLvG_2>...>G_k+1=1 with cyclic (central) factors. Therefore, every finitely generated nilpotent group is polycyclic. Such a polycyclic series gives rise to a polycyclic generating sequence by choosing a generator a_i for each cyclic factor G_i/G_i+1. Let I be the set of indices such that G_i/G_i+1 is finite. A simple induction argument shows that every element of the group can be written uniquely as a normal word a_1^e_1... a_n^e_n with integers e_i and 0≤ e_ii as a word in the generators a_i+1,...,a_n. If the polycyclic series is obtained from refining the lower central series, then [a_j,a_i] is even a word in a_j+1,...,a_n. In this case we obtain a nilpotent presentation. To be more precise, a nilpotent presentation is given on a finite number of generators a_1,...,a_n. Let I be the set of indices such that G_i/G_i+1 is finite. Let m_i be the order of G_i/G_i+1 for i∈ I. Then a nilpotent presentation has the form \langle a,\ldots,a_n | a_i^{m_i} = w_{ii}(a_{i+1},\ldots,a_n) \mbox{ for } i\in I;\; [a_j,a_i] = w_{ij}(a_{j+1},\ldots,a_n) \mbox{ for } 1\leq i < j\leq n\rangle  Here, w_ij(a_k,...,a_n) denotes a group word in the generators a_k,...,a_n. In a group given by a polycyclic presentation each element in the group can be written as a normal word a_1^e_1... a_n^e_n with e_i ∈ Z and 0 ≤ e_i < m_i for i ∈ I. A procedure called collection can be used to convert an arbitrary word in the generators into an equivalent normal word. In general, the resulting normal word need not be unique. The result of collecting a word may depend on the steps chosen during the collection procedure. A polycyclic presentation with the property that two different normal words are never equivalent is called consistent. A polycyclic presentation derived from a polycyclic series as above is consistent. The following example shows an inconsistent polycyclic presentation \langle a,b\mid a^2, b^a = b^2 \rangle  as b = baa = ab^2a = a^2b^4 = b^4 which implies b^3=1. Here we have the equivalent normal words b^3 and the empty word. It can be proved that consistency can be checked by collecting a finite number of words in the given generating set in two essentially different ways and checking if the resulting normal forms are the same in both cases. See Chapter 9 of the book [Sim94] for an introduction to polycyclic groups and polycyclic presentations. For computations in a polycyclic group one chooses a consistent polycyclic presentation as it offers a simple solution to the word problem: Equality between two words is decided by collecting both words to their respective normal forms and comparing the normal forms. Nilpotent groups and nilpotent presentations are special cases of polycyclic groups and polycyclic presentations. Nilpotent presentations allow specially efficient collection methods. The package Polycyclic provides algorithms to compute with polycyclic groups given by a polycyclic presentation. However, inconsistent nilpotent presentations arise naturally in the nilpotent quotient algorithm. There is an algorithm based on the test words for consistency mentioned above to modify the arising inconsistent presentations suitably to obtain a consistent one for the same group. 2.4 A sketch of the algorithm The input for the ANU NQ in its simplest form is a finite presentation ⟨ X|R⟩ for a group G. The first step of the algorithm determines a nilpotent presentation for the commutator quotient of G. This is a presentation of the class-1 quotient of G. Call its generators a_1,...,a_d. It also determines a homomorphism of G onto the commutator quotient and describes it by specifying the image of each generator in X as a word in the a_i. For the general step assume that the algorithm has computed a nilpotent presentation for the class-c quotient of G and that a_1,...,a_d are the generators introduced in the first step of the algorithm. Furthermore, there is a map from X into the class-c quotient describing the epimorphism from G onto G/γ_c+1(G). Let b_1,...b_k be the generators from the last step of the algorithm, the computation of γ_c(G)/γ_c+1(G). This means that b_1,...b_k generate γ_c(G)/γ_c+1(G). Then the commutators [b_j,a_i] generate γ_c+1(G)/γ_c+2(G). The algorithm introduces new, central generators c_ij into the presentation, adds the relations [b_j,a_i] = c_ij and modifies the existing relations by appending suitable words in the c_ij, called tails, to the right hand sides of the power and commutator relations. The resulting presentation is a nilpotent presentation for the nilpotent cover of G/γ_c+1(G). The nilpotent cover is the largest central extension of G/γ_c+1(G) generated by d elements. It is is uniquely determined up to isomorphism. The resulting presentation of the nilpotent cover is in general inconsistent. Consistency is achieved by running the consistency test. This results in relations among the generators c_ij which can be used to eliminate some of those generators or introduce power relations. After this has been done we have a consistent nilpotent presentation for the nilpotent cover of G/γ_c+1(G). Furthermore, the nilpotent cover need not satisfy the relations of G. In other words, the epimorphism from G onto G/γ_c+1(G) cannot be lifted to an epimorphism onto the nilpotent cover. Applying the epimorphism to each relator of G and collecting the resulting words of the nilpotent cover yields a set of words in the c_ij. This gives further relations between the c_ij which leads to further eliminations or modifications of the power relations for the c_ij. After this, the inductive step of the ANU NQ is complete and a consistent nilpotent presentation for G/γ_c+2(G) is obtained together with an epimorphism from G onto the class-(c+1) quotient. Chapter 11 of the book [Sim94] discusses a nilpotent quotient algorithm. A description of the implementation in the ANU NQ is contained in [Nic96] 2.5 Identical Relations Let w be a word in free generators x_1,...,x_n. A group G satisfies the relation w=1 identically if each map from x_1,...,x_n into G maps w to the identity element of G. We also say that G satisfies the identical relation w=1 or satisfies the law w=1. In slight abuse of notation, we call the elements x_1,...,x_n identical generators. Common examples of identical relations are: A group of nilpotency class at most c satisfies the law [x_1,...,x_c+1]=1. A group that satisfies the law [x,y,...,y]=1 where y occurs n-times, is called an n-Engel group. A group that satisfies the law x^d=1 is a group of exponent d. To describe finitely presented groups that satisfy one or more laws, we extend a common notation for finitely presented groups by specifying the identical generators as part of the generator list, separated from the group generators by a semicolon: For example \langle a,b,c; x,y | x^5, [x,y,y,y]\rangle  is a group on 3 generators a,b,c of exponent 5 satisfying the 3rd Engel law. The presentation above is equivalent to a presentation on 3 generators with an infinite set of relators, where the set of relators consists of all fifth powers of words in the generators and all commutators [x,y,y,y] where x and y run through all words in the generators a,b,c. The standalone programme accepts the notation introduced above as a description of its input. In GAP 4 finitely presented groups are specified in a different way, see NilpotentQuotient (3.1-1) for a description. This notation can also be used in words that mix group and identical generators as in the following example: \langle a,b,c; x | [x,c], [a,x,x,x] \rangle  The first relator specifies a law which says that c commutes with all elements of the group. The second turns a into a third right Engel element. An element a is called a right n-th Engel element or a right n-Engel element if it satisfies the commutator law [a,x,...,x]=1 where the identical generator x occurs n-times. Likewise, an element b is called an left n-th Engel element or left n-Engel element if it satisfies the commutator law [x,b,b,...b]=1. Let G be a nilpotent group. Then G satisfies a given law if the law is satisfied by a certain finite set of instances given by Higman's Lemma, see [Hig59]. The ANU NQ uses Higman's Lemma to obtain a finite presentation for groups that satisfy one or several identical relations. 2.6 Expression Trees Expressions involving commutators play an important role in the context of nilpotent groups. Expanding an iterated commutator produces a complicated and long expression. For example, [x,y,z] = y^{-1}x^{-1}yxz^{-1}x^{-1}y^{-1}xyz.  Evaluating a commutator [a,b] is done efficiently by computing the equation (ba)^-1ab. Therefore, for each commutator we need to perform two multiplications and one inversion. Evaluating [x,y,z] needs four multiplications and two inversions. Evaluation of an iterated commutator with n components takes 2n-1 multiplications and n-1 inversions. The expression on the right hand side above needs 9 multiplications and 5 inversions which is clearly much more expensive than evaluating the commutator directly. Assuming that no cancellations occur, expanding an iterated commutator with n components produces a word with 2^n+1-2^n-1-2 factors half of which are inverses. A similar effect occurs whenever a compact expression is expanded into a word in generators and inverses, for example (ab)^49. Therefore, it is important not to expand expressions into a word in generators and inverses. For this purpose we provide a mechanism which we call here expression trees. An expression tree preserves the structure of a given expression. It is a (binary) tree in which each node is assigned an operation and whose leaves are generators of a free group or integers. For example, the expression [(xy)^2, z] is stored as a tree whose top node is a commutator node. The right subtree is just a generator node (corresponding to z). The left subtree is a power node whose subtrees are a product node on the left and an integer node on the right. An expression tree can involve products, powers, conjugates and commutators. However, the list of available operations can be extended. Evaluation of an expression tree is done recursively and requires as many operations as there are nodes in the tree. An expression tree can be evaluated in a specific group by the function EvaluateExpTree (3.2-2). A presentation specified by expression trees is a record with the components .generators and .relations. See section 3.2 for a description of the functions that produce and manipulate expression trees.  Example  gap> LoadPackage( "nq" ); true gap> gens := ExpressionTrees( 2 ); [ x1, x2 ] gap> r1 := LeftNormedComm( [gens[1],gens[2],gens[2]] ); Comm( x1, x2, x2 ) gap> r2 := LeftNormedComm( [gens[1],gens[2],gens[2],gens[1]] ); Comm( x1, x2, x2, x1 ) gap> pres := rec( generators := gens, relations := [r1,r2] ); rec( generators := [ x1, x2 ],  relations := [ Comm( x1, x2, x2 ), Comm( x1, x2, x2, x1 ) ] )  2.7 A word about the implementation The ANU NQ is written in C, but not in ANSI C. I hope to make one of the next versions ANSI compliable. However, it uses a fairly restricted subset of the language so that it should be easy to compile it in new environments. The code is 64-bit clean. If you have difficulties with porting it to a new environment, let me know and I'll be happy to assist if time permits. The program has two collectors: a simple collector from the left as described in [LGS90] and a combinatorial from the left collector as described in [VL90]. The combinatorial collector is always faster than the simple collector, therefore, it is the collector used by this package by default. This can be changed by modifying the global variable NqDefaultOptions (3.4-2). In a polycyclic group with generators that do not have power relations, exponents may become arbitrarily large. Experience shows that this happens rarely in the computations done by the ANU NQ. Exponents are represented by 32-bit integers. The collectors perform an overflow check and abort the computation if an overflow occurred. In a GNU environment the program can be compiled using the `long long' 64-bit integer type. For this uncomment the relevant line in src/Makefile and recompile the program. As part of the step that enforces consistency and the relations of the group, the ANU NQ performs computations with integer matrices and converts them to Hermite Normal Form. The algorithm used here is a variation of the Kanan-Bachem algorithm based on the GNU multiple precision package GNU MP [GMP]. Experience shows that the integer matrices are usually fairly sparse and Kanan-Bachem seems to be sufficient in this context. However, the implementation might benefit from a more efficient strategy for computing Hermite Normal Forms. This is a topic for further investigations. As the program does not compute the Smith Normal Form for each factor of the lower central series but the Hermite Normal Form, it does not necessarily obtain a minimal generating set for each factor of the lower central series. The following is a simple example of this behaviour. We take the presentation \langle x, y | x^2 = y \rangle  The group is clearly isomorphic to the additive group of the integers. Applying the ANU NQ to this presentation gives the following nilpotent presentation: \langle A,B | A^2 = B, [B,A] \rangle  A nilpotent presentation on a minimal generating set would be the presentation of the free group on one generator: \langle A | \; \rangle  2.8 The input format of the standalone The input format for finite presentations resembles the way many people write down a presentation on paper. Here are some examples of presentations that the ANU NQ accepts: < a, b | > # free group of rank 2 < a, b, c; x, y | [a,b,c], # a left normed commutator [b,c,c,c]^6, # another one raised to a power a^2 = c^-3*a^2*c^3, # a relation a^(b*c) = a, # a conjugate relation (a*[b,(a*c)])^6, # something that looks complicated [x,y,y,y,y], # an identical relation [c,x,x,x,x,x] # c is a fifth right Engel element > A presentation starts with '<' followed by a list of generators separated by commas. Generator names are strings that contain only upper and lower case letters, digits, dots and underscores and that do not start with a digit. The list of generator names is separated from the list of relators/relations by the symbol '∣'. The list of generators can be followed by a list of identical generators separated by a semicolon. Relators and relations are separated by commas and can be mixed arbitrarily. Parentheses can be used in order to group subexpressions together. Square brackets can be used in order to form left normed commutators. The symbols '*' and '^' can be used to form products and powers, respectively. The presentation finishes with the symbol '>'. A comment starts with the symbol '#' and finishes at the end of the line. The file src/presentation.c contains a complete grammar for the presentations accepted by the ANU NQ. Typically, the input for the standalone is put into a file by using a standard text editor. The file can be passed as an argument to the function NilpotentQuotient (3.1-1). It is also possible to put a presentation in the standalone's input format into a string and use the string as argument for NilpotentQuotient (3.1-1). nq-2.5.11/doc/chap3.txt000644 000766 000024 00000073044 14550113056 015021 0ustar00mhornstaff000000 000000 3 The Functions of the Package 3.1 Nilpotent Quotients of Finitely Presented Groups 3.1-1 NilpotentQuotient NilpotentQuotient( [output-file, ]fp-group[, id-gens][, c] )  function NilpotentQuotient( [output-file, ]input-file[, c] )  function The parameter fp-group is either a finitely presented group or a record specifying a presentation by expression trees (see section 2.6). The parameter input-file is a string specifying the name of a file containing a finite presentation in the input format (cf. section 2.8) of the ANU NQ. Such a file can be prepared by a text editor or with the help of the function NqStringFpGroup (3.3-2). Let G be the group defined by fp-group or the group defined in input-file. The function computes a nilpotent presentation for G/γ_c+1(G) if the optional parameter c is specified. If c is not given, then the function attempts to compute the largest nilpotent quotient of G and it will terminate only if G has a largest nilpotent quotient. See section 3.5 for a possibility to follow the progress of the computation. The optional argument id-gens is a list of generators of the free group underlying the finitely presented group fp-group. The generators in this list are treated as identical generators. Consequently, all relations of the fp-group involving these generators are treated as identical relations for these generators. In addition to the arguments explained above, the function accepts the following options as shown in the first example below:  group This option can be used instead of the parameter fp-group.  input\_string This option can be used to specify a finitely presented group by a string in the input format of the standalone program.  input\_file This option specifies a file with input for the standalone program.  output\_file This option specifies a file for the output of the standalone.  idgens This options specifies a list of identical generators.  class This option specifies the nilpotency class up to which the nilpotent quotient will be computed. The following example computes the class-5 quotient of the free group on two generators.  Example   gap> F := FreeGroup( 2 );  gap> ## Equivalent to: NilpotentQuotient( : group := F, class := 5 ); gap> ## NilpotentQuotient( F : class := 5 );  gap> H := NilpotentQuotient( F, 5 ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] gap> lcs := LowerCentralSeries( H );; gap> for i in [1..5] do Print( lcs[i] / lcs[i+1], "\n" ); od; Pcp-group with orders [ 0, 0 ] Pcp-group with orders [ 0 ] Pcp-group with orders [ 0, 0 ] Pcp-group with orders [ 0, 0, 0 ] Pcp-group with orders [ 0, 0, 0, 0, 0, 0 ]   Note that the lower central series in the example is part of the data returned by the standalone program. Therefore, the execution of the function LowerCentralSeries takes no time. The next example computes the class-4 quotient of the infinite dihedral group. The group is soluble but not nilpotent. The first factor of its lower central series is a Klein four group and all the other factors are cyclic or order 2.  Example   gap> F := FreeGroup( 2 );  gap> G := F / [F.1^2, F.2^2];  gap> H := NilpotentQuotient( G, 4 );  Pcp-group with orders [ 2, 2, 2, 2, 2 ] gap> lcs := LowerCentralSeries( H );; gap> for i in [1..Length(lcs)-1] do >  Print( AbelianInvariants(lcs[i] / lcs[i+1]), "\n" ); > od; [ 2, 2 ] [ 2 ] [ 2 ] [ 2 ] gap>    In the following example identical generators are used in order to express the fact that the group is nilpotent of class 3. A group is nilpotent of class 3 if it satisfies the identical relation [x_1,x_2,x_3,x_4]=1 (cf. Section 2.5). The result is the free nilpotent group of class 3 on two generators.  Example   gap> F := FreeGroup( "a", "b", "w", "x", "y", "z" );  gap> G := F / [ LeftNormedComm( [F.3,F.4,F.5,F.6] ) ];  gap> ## The following is equivalent to:  gap> ## NilpotentQuotient( G : idgens := [F.3,F.4,F.5,F.6] ); gap> H := NilpotentQuotient( G, [F.3,F.4,F.5,F.6] ); Pcp-group with orders [ 0, 0, 0, 0, 0 ] gap> NilpotencyClassOfGroup(H); 3 gap> LowerCentralSeries(H); [ Pcp-group with orders [ 0, 0, 0, 0, 0 ], Pcp-group with orders [ 0, 0, 0 ],   Pcp-group with orders [ 0, 0 ], Pcp-group with orders [ ] ]   The following example uses expression trees in order to specify the third Engel law for the free group on 3 generators.  Example   gap> et := ExpressionTrees( 5 );  [ x1, x2, x3, x4, x5 ] gap> comm := LeftNormedComm( [et[1], et[2], et[2], et[2]] ); Comm( x1, x2, x2, x2 ) gap> G := rec( generators := et, relations := [comm] ); rec( generators := [ x1, x2, x3, x4, x5 ],   relations := [ Comm( x1, x2, x2, x2 ) ] ) gap> H := NilpotentQuotient( G : idgens := [et[1],et[2]] ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 2, 2,   0, 6, 6, 0, 0, 2, 10, 10, 10 ] gap> TorsionSubgroup( H ); Pcp-group with orders [ 2, 2, 2, 2, 2, 2, 2, 10, 10, 10 ] gap> lcs := LowerCentralSeries( H );; gap> NilpotencyClassOfGroup( H ); 5 gap> for i in [1..5] do Print( lcs[i] / lcs[i+1], "\n" ); od; Pcp-group with orders [ 0, 0, 0 ] Pcp-group with orders [ 0, 0, 0 ] Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0 ] Pcp-group with orders [ 2, 4, 2, 2, 0, 6, 6, 0, 0, 2 ] Pcp-group with orders [ 10, 10, 10 ] gap> for i in [1..5] do Print( AbelianInvariants(lcs[i]/lcs[i+1]), "\n" ); od; [ 0, 0, 0 ] [ 0, 0, 0 ] [ 0, 0, 0, 0, 0, 0, 0, 0 ] [ 2, 2, 2, 2, 2, 2, 2, 0, 0, 0 ] [ 10, 10, 10 ]   The example above also shows that the relative orders of an abelian polycyclic group need not be the abelian invariants (elementary divisors) of the group. Each zero corresponds to a generator of infinite order. The number of zeroes is always correct. 3.1-2 NilpotentEngelQuotient NilpotentEngelQuotient( [output-file, ]fp-group, n[, id-gens][, c] )  function NilpotentEngelQuotient( [output-file, ]input-file, n[, c] )  function This function is a special version of NilpotentQuotient (3.1-1) which enforces the n-th Engel identity on the nilpotent quotients of the group specified by fp-group or by input-file. It accepts the same options as NilpotentQuotient. The Engel condition can also be enforced by using identical generators and the Engel law and NilpotentQuotient (3.1-1). See the examples there. The following example computes the relatively free fifth Engel group on two generators, determines its (normal) torsion subgroup and computes the corresponding quotient group. The quotient modulo the torsion subgroup is torsion-free. Therefore, there is a nilpotent presentation without power relations. The example computes a nilpotent presentation for the torsion free factor group through the upper central series. The factors of the upper central series in a torsion free group are torsion free. In this way one obtains a set of generators of infinite order and the resulting nilpotent presentation has no power relations.  Example  gap> G := NilpotentEngelQuotient( FreeGroup(2), 5 ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 10,   0, 0, 30, 0, 3, 3, 10, 2, 0, 6, 0, 0, 30, 2, 0, 9, 3, 5, 2, 6, 2, 10, 5, 5,   2, 0, 3, 3, 3, 3, 3, 5, 5, 3, 3 ] gap> NilpotencyClassOfGroup(G); 9 gap> T := TorsionSubgroup( G ); Pcp-group with orders [ 3, 3, 2, 2, 3, 3, 2, 9, 3, 5, 2, 3, 2, 10, 5, 2, 3,   3, 3, 3, 3, 5, 5, 3, 3 ] gap> IsAbelian( T ); true gap> AbelianInvariants( T ); [ 3, 3, 3, 3, 3, 3, 3, 3, 30, 30, 30, 180, 180 ] gap> H := G / T; Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 10,   0, 0, 30, 0, 5, 0, 2, 0, 0, 10, 0, 2, 5, 0 ] gap> H := PcpGroupBySeries( UpperCentralSeries(H), "snf" ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,   0, 0, 0, 0, 0 ] gap> ucs := UpperCentralSeries( H );; gap> for i in [1..NilpotencyClassOfGroup(H)] do >  Print( ucs[i]/ucs[i+1], "\n" ); > od; Pcp-group with orders [ 0, 0 ] Pcp-group with orders [ 0 ] Pcp-group with orders [ 0, 0 ] Pcp-group with orders [ 0, 0, 0 ] Pcp-group with orders [ 0, 0, 0, 0, 0, 0 ] Pcp-group with orders [ 0, 0, 0, 0 ] Pcp-group with orders [ 0, 0 ] Pcp-group with orders [ 0, 0, 0 ]  3.1-3 NqEpimorphismNilpotentQuotient NqEpimorphismNilpotentQuotient( [output-file, ]fp-group[, id-gens][, c] )  function This function computes an epimorphism from the group G given by the finite presentation fp-group onto G/γ_c+1(G). If c is not given, then the largest nilpotent quotient of G is computed and an epimorphism from G onto the largest nilpotent quotient of G. If G does not have a largest nilpotent quotient, the function will not terminate if c is not given. The optional argument id-gens is a list of generators of the free group underlying the finitely presented group fp-group. The generators in this list are treated as identical generators. Consequently, all relations of the fp-group involving these generators are treated as identical relations for these generators. If identical generators are specified, then the epimorphism returned maps the group generated by the `non-identical' generators onto the nilpotent factor group. See the last example below. The function understands the same options as the function NilpotentQuotient (3.1-1).  Example   gap> F := FreeGroup(3);   gap> phi := NqEpimorphismNilpotentQuotient( F, 5 ); [ f1, f2, f3 ] -> [ g1, g2, g3 ] gap> Image( phi, LeftNormedComm( [F.3, F.2, F.1] ) ); g12 gap> F := FreeGroup( "a", "b" );   gap> G := F / [ F.1^2, F.2^2 ];   gap> phi := NqEpimorphismNilpotentQuotient( G, 4 );  [ a, b ] -> [ g1, g2 ] gap> Image( phi, Comm(G.1,G.2) );  g3*g4 gap> F := FreeGroup( "a", "b", "u", "v", "x" );  gap> a := F.1;; b := F.2;; u := F.3;; v := F.4;; x := F.5;; gap> G := F / [ x^5, LeftNormedComm( [u,v,v,v] ) ];  gap> phi := NqEpimorphismNilpotentQuotient( G : idgens:=[u,v,x], class:=5 ); [ a, b ] -> [ g1, g2 ] gap> U := Source(phi);  Group([ a, b ]) gap> ImageElm( phi, LeftNormedComm( [U.1*U.2, U.2^-1,U.2^-1,U.2^-1,] ) ); id   Note that the last epimorphism is a map from the group generated by a and b onto the nilpotent quotient. The identical generators are used only to formulate the identical relator. They are not generators of the group G. Also note that the left-normed commutator above is mapped to the identity as G satisfies the specified identical law. 3.1-4 LowerCentralFactors LowerCentralFactors( ... )  function This function accepts the same arguments and options as NilpotentQuotient (3.1-1) and returns a list containing the abelian invariants of the central factors in the lower central series of the specified group.  Example  gap> LowerCentralFactors( FreeGroup(2), 6 ); [ [ 0, 0 ], [ 0 ], [ 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0, 0, 0, 0 ],   [ 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ]  3.2 Expression Trees 3.2-1 ExpressionTrees ExpressionTrees( m[, prefix] )  function ExpressionTrees( str1, str2, str3, ... )  function The argument m must be a positive integer. The function returns a list with m expression tree symbols named x1, x2,... The optional parameter prefix must be a string and is used instead of x if present. Alternatively, the function can be executed with a list of strings str1, str2, .... It returns a list of symbols with these strings as names. The following operations are defined for expression trees: multiplication, inversion, exponentiation, forming commutators, forming conjugates.  Example  gap> t := ExpressionTrees( 3 );  [ x1, x2, x3 ] gap> tree := Comm( t[1], t[2] )^3/LeftNormedComm( [t[1],t[2],t[3],t[1]] ); Comm( x1, x2 )^3/Comm( x1, x2, x3, x1 ) gap> t := ExpressionTrees( "a", "b", "x" ); [ a, b, x ] gap> tree := Comm( t[1], t[2] )^3/LeftNormedComm( [t[1],t[2],t[3],t[1]] ); Comm( a, b )^3/Comm( a, b, x, a )  3.2-2 EvaluateExpTree EvaluateExpTree( tree, symbols, values )  function The argument tree is an expression tree followed by the list of those symbols symbols from which the expression tree is built up. The argument values is a list containing a constant for each symbol. The function substitutes each value for the corresponding symbol and computes the resulting value for tree.  Example   gap> F := FreeGroup( 3 );   gap> t := ExpressionTrees( "a", "b", "x" ); [ a, b, x ] gap> tree := Comm( t[1], t[2] )^3/LeftNormedComm( [t[1],t[2],t[3],t[1]] ); Comm( a, b )^3/Comm( a, b, x, a ) gap> EvaluateExpTree( tree, t, GeneratorsOfGroup(F) ); f1^-1*f2^-1*f1*f2*f1^-1*f2^-1*f1*f2*f1^-1*f2^-1*f1*f2*f1^-1*f3^-1*f2^-1*f1^ -1*f2*f1*f3*f1^-1*f2^-1*f1*f2*f1*f2^-1*f1^-1*f2*f1*f3^-1*f1^-1*f2^-1*f1*f2*f3   3.3 Auxiliary Functions 3.3-1 NqReadOutput NqReadOutput( stream )  function The only argument stream is an output stream of the ANU NQ. The function reads the stream and returns a record that has a component for each global variable used in the output of the ANU NQ, see NqGlobalVariables (3.4-3). 3.3-2 NqStringFpGroup NqStringFpGroup( fp-group[, idgens] )  function The function takes a finitely presented group fp-group and returns a string in the input format of the ANU NQ. If the list idgens is present, then it must contain generators of the free group underlying the finitely presented group FreeGroupOfFpGroup (Reference: FreeGroupOfFpGroup). The generators in idgens are treated as identical generators.  Example   gap> F := FreeGroup(2);  gap> G := F / [F.1^2, F.2^2, (F.1*F.2)^4];  gap> NqStringFpGroup( G ); "< x1, x2 |\n x1^2,\n x2^2,\n x1*x2*x1*x2*x1*x2*x1*x2\n>\n" gap> Print( last ); < x1, x2 |  x1^2,  x2^2,  x1*x2*x1*x2*x1*x2*x1*x2 > gap> PrintTo( "dihedral", last ); gap> ## The following is equivalent to:  gap> ## NilpotentQuotient( : input_file := "dihedral" ); gap> NilpotentQuotient( "dihedral" ); Pcp-group with orders [ 2, 2, 2 ] gap> Exec( "rm dihedral" ); gap> F := FreeGroup(3);  gap> H := F / [ LeftNormedComm( [F.2,F.1,F.1] ),  >  LeftNormedComm( [F.2,F.1,F.2] ), F.3^7 ];  gap> str := NqStringFpGroup( H, [F.3] );  "< x1, x2; x3 |\n x1^-1*x2^-1*x1*x2*x1^-1*x2^-1*x1^-1*x2*x1^2,\n x1^-1*x\ 2^-1*x1*x2^-1*x1^-1*x2*x1*x2,\n x3^7\n>\n" gap> NilpotentQuotient( : input_string := str ); Pcp-group with orders [ 7, 7, 7 ]   3.3-3 NqStringExpTrees NqStringExpTrees( fp-group[, idgens] )  function The function takes a finitely presented group fp-group given in terms of expression trees and returns a string in the input format of the ANU NQ. If the list idgens is present, then it must contain a sublist of the generators of the presentation. The generators in idgens are treated as identical generators.  Example   gap> x := ExpressionTrees( 2 ); [ x1, x2 ] gap> rels := [x[1]^2, x[2]^2, (x[1]*x[2])^5];  [ x1^2, x2^2, (x1*x2)^5 ] gap> NqStringExpTrees( rec( generators := x, relations := rels ) ); "< x1, x2 |\n x1^2,\n x2^2,\n (x1*x2)^5\n>\n" gap> Print( last );  < x1, x2 |  x1^2,  x2^2,  (x1*x2)^5 > gap> x := ExpressionTrees( 3 ); [ x1, x2, x3 ] gap> rels := [LeftNormedComm( [x[2],x[1],x[1]] ),  >  LeftNormedComm( [x[2],x[1],x[2]] ), x[3]^7 ]; [ Comm( x2, x1, x1 ), Comm( x2, x1, x2 ), x3^7 ] gap> NqStringExpTrees( rec( generators := x, relations := rels ) ); "< x1, x2, x3 |\n [ x2, x1, x1 ],\n [ x2, x1, x2 ],\n x3^7\n>\n" gap> Print( last ); < x1, x2, x3 |  [ x2, x1, x1 ],  [ x2, x1, x2 ],  x3^7 >   3.3-4 NqElementaryDivisors NqElementaryDivisors( int-mat )  function The function ElementaryDivisorsMat (Reference: ElementaryDivisorsMat) only returns the non-zero elementary divisors of an integer matrix. This function computes the elementary divisors of int-mat and adds the appropriate number of zeroes in order to make it easier to recognize the isomorphism type of the abelian group presented by the integer matrix. At the same time ones are stripped from the list of elementary divisors. 3.4 Global Variables 3.4-1 NqRuntime NqRuntime  global variable This variable contains the number of milliseconds of runtime of the last call of ANU NQ.  Example  gap> NilpotentEngelQuotient( FreeGroup(2), 5 ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 10,   0, 0, 30, 0, 3, 3, 10, 2, 0, 6, 0, 0, 30, 2, 0, 9, 3, 5, 2, 6, 2, 10, 5, 5,   2, 0, 3, 3, 3, 3, 3, 5, 5, 3, 3 ] gap> NqRuntime; 18200  3.4-2 NqDefaultOptions NqDefaultOptions  global variable This variable contains a list of strings which are the standard command line options passed to the ANU NQ in each call. Modifying this variable can be used to pass additional options to the ANU NQ.  Example  gap> NqDefaultOptions; [ "-g", "-p", "-C", "-s" ]  The option -g causes the ANU NQ to produce output in GAP-format. The option -p prevents the ANU NQ from listing the pc-presentation of the nilpotent quotient at the end of the calculation. The option -C invokes the combinatorial collector. The option -s is effective only in conjunction with options for computing with Engel identities and instructs the ANU NQ to use only semigroup words in the generators as instances of an Engel law. 3.4-3 NqGlobalVariables NqGlobalVariables  global variable This variable contains a list of strings with the names of the global variables that are used in the output stream of the ANU NQ. While the output stream is read, these global variables are assigned new values. To avoid overwriting these variables in case they contain values, their contents is saved before reading the output stream and restored afterwards. 3.5 Diagnostic Output While the standalone program is running it can be asked to display progress information. This is done by setting the info class InfoNQ to 1 via the function SetInfoLevel (Reference: InfoLevel).  Example  gap> NilpotentQuotient(FreeGroup(2),5); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] gap> SetInfoLevel( InfoNQ, 1 ); gap> NilpotentQuotient(FreeGroup(2),5); #I Class 1: 2 generators with relative orders 0 0 #I Class 2: 1 generators with relative orders: 0 #I Class 3: 2 generators with relative orders: 0 0 #I Class 4: 3 generators with relative orders: 0 0 0 #I Class 5: 6 generators with relative orders: 0 0 0 0 0 0 Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] gap> SetInfoLevel( InfoNQ, 0 );  nq-2.5.11/doc/chapBib.html000644 000766 000024 00000012423 14550113063 015470 0ustar00mhornstaff000000 000000 GAP (nq) - References

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

References

[EN02] Eick, B. and Nickel, W., Polycyclic, Algorithms for working with polycyclic groups (2002)
(GAP package), https://gap-packages.github.io/polycyclic/.

[GMP] GNU MP, https://gmplib.org/.

[Hig59] Higman, G., Some remarks on varieties of groups, Quart. J. Math. Oxford, 2 (10) (1959), 165–178.

[LGS90] Leedham-Green, C. R. and Soicher, L. H., Collection from the left and other strategies, J. Symbolic Comput., 9 (5–6) (1990), 665–675.

[Nic96] Nickel, W., Computing Nilpotent Quotients of Finitely Presented Groups, in Geometric and Computational Perspectives on Infinite Groups, Dimacs Series in Discrete Mathematics and Theoretical Computer Science, 25 (1996), 175–191.

[NN94] Newman, M. F. and Nickel, W., Engel elements in groups, J. Pure Appl. Algebra, 96 (1994), 39–45.

[Sim94] Sims, C. C., Computation with Finitely Presented Groups, Cambridge University Press (1994).

[VL90] Vaughan-Lee, M. R., Collection from the Left, J. Symbolic Comput., Academic Press, 9 (1990), 725–733.

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/chap0.html000644 000766 000024 00000025724 14550113063 015143 0ustar00mhornstaff000000 000000 GAP (nq) - Contents
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

nq

Nilpotent Quotients of Finitely Presented Groups

2.5.11

12 January 2024

Werner Nickel
Homepage: http://www.mathematik.tu-darmstadt.de/~nickel/

Copyright

© 1992-2007 Werner Nickel

The nq package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Acknowledgements

The author of ANU NQ is Werner Nickel.

The development of this program was started while the author was supported by an Australian National University PhD scholarship and an Overseas Postgraduate Research Scholarship.

Further development of this program was done with support from the DFG-Schwerpunkt-Projekt "Algorithmische Zahlentheorie und Algebra".

Since then, maintenance of ANU NQ has been taken over by Max Horn. All credit for creating ANU NQ still goes to Werner Nickel as sole author. However, bug reports and other inquiries should be sent to Max Horn.

The following are the original acknowledgements by Werner Nickel.

Over the years a number of people have made useful suggestions that found their way into the code: Mike Newman, Michael Vaughan-Lee, Joachim Neubüser, Charles Sims.

Thanks to Volkmar Felsch and Joachim Neubüser for their careful examination of the package prior to its release for GAP 4.

This documentation was prepared with the GAPDoc package by Frank Lübeck and Max Neunhöffer.

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/chap1.txt000644 000766 000024 00000004055 14550113056 015013 0ustar00mhornstaff000000 000000 1 Introduction This package provides an interface between GAP 4 and the Australian National University Nilpotent Quotient Program (ANU NQ). The ANU NQ was implemented as part of the author's work towards his PhD at the Australian National University, hence the name of the program. The program takes as input a finite presentation of a group and successively computes factor groups modulo the terms of the lower central series of the group. These factor groups are computed in terms of polycyclic presentations. The ANU NQ is implemented in the programming language C. The implementation has been developed in a Unix environment and Unix is currently the only operating system supported. It runs on a number of different Unix versions, e.g. Solaris and Linux. For integer matrix computations it relies on the GNU MP [GMP] package and requires this package to be installed on your system. This package relies on the functionality for polycyclic groups provided by the GAP package polycyclic [EN02] and requires the package polycyclic to be installed as a GAP package on your computer system. Comments, bug reports and suggestions are very welcome, please submit them via our issue tracker (https://github.com/gap-system/nq/issues). This manual contains references to parts of the GAP Reference Manual which are typeset in a slightly idiosyncratic way. The following example shows how such references are printed: 'For further information on creating a free group see FreeGroup (Reference: FreeGroup).' The text in bold face refers to the GAP Reference Manual. Each item in the list of references at the end of this manual is followed by a list of numbers that specify the pages of the manual where the reference occurs. nq-2.5.11/doc/chap0.txt000644 000766 000024 00000007754 14550113056 015023 0ustar00mhornstaff000000 000000  nq   Nilpotent Quotients of Finitely Presented Groups  2.5.11 12 January 2024 Werner Nickel Werner Nickel Homepage: http://www.mathematik.tu-darmstadt.de/~nickel/ ------------------------------------------------------- Copyright © 1992-2007 Werner Nickel The nq package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (https://www.fsf.org/licenses/gpl.html) as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. ------------------------------------------------------- Acknowledgements The author of ANU NQ is Werner Nickel. The development of this program was started while the author was supported by an Australian National University PhD scholarship and an Overseas Postgraduate Research Scholarship. Further development of this program was done with support from the DFG-Schwerpunkt-Projekt Algorithmische Zahlentheorie und Algebra. Since then, maintenance of ANU NQ has been taken over by Max Horn. All credit for creating ANU NQ still goes to Werner Nickel as sole author. However, bug reports and other inquiries should be sent to Max Horn. The following are the original acknowledgements by Werner Nickel. Over the years a number of people have made useful suggestions that found their way into the code: Mike Newman, Michael Vaughan-Lee, Joachim Neubüser, Charles Sims. Thanks to Volkmar Felsch and Joachim Neubüser for their careful examination of the package prior to its release for GAP 4. This documentation was prepared with the GAPDoc package by Frank Lübeck and Max Neunhöffer. ------------------------------------------------------- Contents (nq) 1 Introduction 2 General remarks 2.1 Commutators and the Lower Central Series 2.2 Nilpotent groups 2.3 Nilpotent presentations 2.4 A sketch of the algorithm 2.5 Identical Relations 2.6 Expression Trees 2.7 A word about the implementation 2.8 The input format of the standalone 3 The Functions of the Package 3.1 Nilpotent Quotients of Finitely Presented Groups 3.1-1 NilpotentQuotient 3.1-2 NilpotentEngelQuotient 3.1-3 NqEpimorphismNilpotentQuotient 3.1-4 LowerCentralFactors 3.2 Expression Trees 3.2-1 ExpressionTrees 3.2-2 EvaluateExpTree 3.3 Auxiliary Functions 3.3-1 NqReadOutput 3.3-2 NqStringFpGroup 3.3-3 NqStringExpTrees 3.3-4 NqElementaryDivisors 3.4 Global Variables 3.4-1 NqRuntime 3.4-2 NqDefaultOptions 3.4-3 NqGlobalVariables 3.5 Diagnostic Output 4 Examples 4.1 Right Engel elements 5 Installation of the Package 5.1 Configuring for compilation 5.2 Compiling the nq binary 5.3 Testing 5.4 Feedback A The nq command line interface A.1 How to use the ANU NQ A.2 The input format for presentations A.3 An example A.4 Some remarks about the algorithm  nq-2.5.11/doc/chap4_mj.html000644 000766 000024 00000022101 14550113063 015617 0ustar00mhornstaff000000 000000 GAP (nq) - Chapter 4: Examples
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

4 Examples

4.1 Right Engel elements

An old problem in the context of Engel elements is the question: Is a right \(n\)-Engel element left \(n\)-Engel? It is known that the answer is no. For details about the history of the problem, see [NN94]. In this paper the authors show that for \(n>4\) there are nilpotent groups with right \(n\)-Engel elements no power of which is a left \(n\)-Engel element. The insight was based on computations with the ANU NQ which we reproduce here. We also show the cases \(5>n\).

gap> LoadPackage( "nq" );
true
gap> ##  SetInfoLevel( InfoNQ, 1 );
gap> ##
gap> ##  setup calculation
gap> ##
gap> et := ExpressionTrees( "a", "b", "x" );
[ a, b, x ]
gap> a := et[1];; b := et[2];; x := et[3];;
gap> 
gap> ##
gap> ##  define the group for n = 2,3,4,5
gap> ##
gap> 
gap> rengel := LeftNormedComm( [a,x,x] );
Comm( a, x, x )
gap> G := rec( generators := et, relations := [rengel] );
rec( generators := [ a, b, x ], relations := [ Comm( a, x, x ) ] )
gap> ## The following is equivalent to:
gap> ##   NilpotentQuotient( : input_string := NqStringExpTrees( G, [x] ) )
gap> H := NilpotentQuotient( G, [x] );
Pcp-group with orders [ 0, 0, 0 ]
gap> LeftNormedComm( [ H.2,H.1,H.1 ] );
id
gap> LeftNormedComm( [ H.1,H.2,H.2 ] );
id

This shows that each right 2-Engel element in a finitely generated nilpotent group is a left 2-Engel element. Note that the group above is the largest nilpotent group generated by two elements, one of which is right 2-Engel. Every nilpotent group generated by an arbitrary element and a right 2-Engel element is a homomorphic image of the group \(H\).

gap> rengel := LeftNormedComm( [a,x,x,x] );
Comm( a, x, x, x )
gap> G := rec( generators := et, relations := [rengel] );
rec( generators := [ a, b, x ], relations := [ Comm( a, x, x, x ) ] )
gap> H := NilpotentQuotient( G, [x] );
Pcp-group with orders [ 0, 0, 0, 0, 0, 4, 2, 2 ]
gap> LeftNormedComm( [ H.1,H.2,H.2,H.2 ] );
id
gap> h := LeftNormedComm( [ H.2,H.1,H.1,H.1 ] );
g6^2*g7*g8
gap> Order( h );
4

The element \(h\) has order \(4\). In a nilpotent group without \(2\)-torsion a right 3-Engel element is left 3-Engel.

gap> rengel := LeftNormedComm( [a,x,x,x,x] );
Comm( a, x, x, x, x )
gap> G := rec( generators := et, relations := [rengel] );
rec( generators := [ a, b, x ], relations := [ Comm( a, x, x, x, x ) ] )
gap> H := NilpotentQuotient( G, [x] );
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 12, 0, 5, 10, 2, 0, 30, 
  5, 2, 5, 5, 5, 5 ]
gap> LeftNormedComm( [ H.1,H.2,H.2,H.2,H.2 ] );
id
gap> h := LeftNormedComm( [ H.2,H.1,H.1,H.1,H.1 ] );
g9*g10^2*g11^10*g12^5*g13^2*g14^8*g15*g16^6*g17^10*g18*g20^4*g21^4*g22^2*g23^2
gap> Order( h );
60

The previous calculation shows that in a nilpotent group without \(2,3,5\)-torsion a right 4-Engel element is left 4-Engel.

gap> rengel := LeftNormedComm( [a,x,x,x,x,x] );
Comm( a, x, x, x, x, x )
gap> G := rec( generators := et, relations := [rengel] );
rec( generators := [ a, b, x ], relations := [ Comm( a, x, x, x, x, x ) ] )
gap> H := NilpotentQuotient( G, [x], 9 );
Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 30, 
  0, 0, 30, 0, 3, 6, 0, 0, 10, 30, 0, 0, 0, 0, 30, 30, 0, 0, 3, 6, 5, 2, 0, 
  2, 408, 2, 0, 0, 0, 10, 10, 30, 10, 0, 0, 0, 3, 3, 3, 2, 204, 6, 6, 0, 10, 
  10, 10, 2, 2, 2, 0, 300, 0, 0, 18 ]
gap> LeftNormedComm( [ H.1,H.2,H.2,H.2,H.2,H.2 ] );
id
gap> h := LeftNormedComm( [ H.2,H.1,H.1,H.1,H.1,H.1 ] );;
gap> Order( h );
infinity

Finally, we see that in a torsion-free group a right 5-Engel element need not be a left 5-Engel element.

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/general.xml000644 000766 000024 00000052727 14550113041 015420 0ustar00mhornstaff000000 000000 General remarks In this chapter we define notation used throughout this manual and recollect basic facts about nilpotent groups. We also provide some background information about the functionality implemented in this package.
Commutators and the Lower Central Series commutator The commutator of two elements h_1 and h_2 of a group G is the element h_1^{-1}h_2^{-1}h_1h_2 and is denoted by [h_1,h_2]. It satisfies the equation h_1h_2 = h_2h_1[h_1,h_2] and can be interpreted as the correction term that has to be introduced into a word if two elements of a group are interchanged. Iterated commutators are written in left-normed fashion: left-normed commutator [h_1,h_2,\ldots,h_{n-1},h_n]=[[h_1,h_2,\ldots,h_{n-1}],h_n].

lower central series The lower central series of G is defined inductively as \gamma_1(G) = G, \gamma_i(G) = [\gamma_{i-1}(G),G] for i \ge 2. Each term in the lower central series is a normal (even fully invariant) subgroup of G. The factors of the lower central series are abelian groups. On each factor the induced action of G via conjugation is the trivial action.

The factor \gamma_k(G)/\gamma_{k+1}(G) is generated by the elements [g,h]\gamma_{k+1}(G), where g runs through a set of (representatives of) generators for G/\gamma_2(G) and h runs through a set of (representatives of) generators for \gamma_{k-1}(G)/\gamma_k(G). Therefore, each factor of the lower central series is finitely generated if G is finitely generated.

If one factor of the lower central series is finite, then all subsequent factors are finite. Then the exponent of the k+1-th factor is a divisor of the exponent of the k-th factor of the lower central series. In particular, the exponents of all factors of the lower central series are bounded by the exponent of the first finite factor of the lower central series.

Nilpotent groups nilpotent A group G is called nilpotent if there is a positive integer c such that all (c+1)-fold commutators are trivial in G. The smallest integer with this property is called the nilpotency classclass nilpotency class of G. In terms of the lower central series a group G \not= 1 has nilpotency class c if and only if \gamma_{c}(G) \not= 1 and \gamma_{c+1}(G) = 1.

Examples of nilpotent groups are finite p-groups, the group of unitriangular matrices over a ring with one and the factor groups of a free group modulo the terms of its lower central series.

Finiteness of a nilpotent group can be decided by the group's commutator factor group. A nilpotent group is finite if and only if its commutator factor group is finite. A group whose commutator factor group is finite can only have finite nilpotent quotient groups.

By refining the lower central series of a finitely generated nilpotent group one can obtain a (sub)normal series G_1>G_2>...>G_{k+1}=1 with cyclic (central) factors. Therefore, every finitely generated nilpotent group is polycyclicpolycyclic. Such a polycyclic series gives rise to a polycyclic generating sequence polycyclic generating sequence by choosing a generator a_i for each cyclic factor G_i/G_{i+1}. Let I be the set of indices such that G_i/G_{i+1} is finite. A simple induction argument shows that every element of the group can be written uniquely as a normal word a_1^{e_1}\ldots a_n^{e_n} with integers e_i and 0\leq e_i<m_i for i\in I.

Nilpotent presentations

From a polycyclic generating sequence one can obtain a polycyclic presentation polycyclic presentation for the group. The following set of power and commutator relations is a defining set of relations. The power relation power relations express a_i^{m_i} in terms of the generators a_{i+1},\ldots,a_n whenever G_i/G_{i+1} is finite with order m_i. The commutator relation commutator relations are obtained by expressing [a_j,a_i] for j>i as a word in the generators a_{i+1},\ldots,a_n. If the polycyclic series is obtained from refining the lower central series, then [a_j,a_i] is even a word in a_{j+1},\ldots,a_n. In this case we obtain a nilpotent presentation.

To be more precise, a nilpotent presentation nilpotent presentation is given on a finite number of generators a_1,\ldots,a_n. Let I be the set of indices such that G_i/G_{i+1} is finite. Let m_i be the order of G_i/G_{i+1} for i\in I. Then a nilpotent presentation has the form \langle a,\ldots,a_n | a_i^{m_i} = w_{ii}(a_{i+1},\ldots,a_n) \mbox{ for } i\in I;\; [a_j,a_i] = w_{ij}(a_{j+1},\ldots,a_n) \mbox{ for } 1\leq i < j\leq n\rangle Here, w_{ij}(a_k,\ldots,a_n) denotes a group word in the generators a_k,\ldots,a_n.

In a group given by a polycyclic presentation each element in the group can be written as a normal word a_1^{e_1}\ldots a_n^{e_n} with e_i \in \mathbb{Z} and 0 \leq e_i < m_i for i \in I. A procedure called collection can be used to convert an arbitrary word in the generators into an equivalent normal word. In general, the resulting normal word need not be unique. The result of collecting a word may depend on the steps chosen during the collection procedure. A polycyclic presentation with the property that two different normal words are never equivalent is called consistentconsistent. A polycyclic presentation derived from a polycyclic series as above is consistent. The following example shows an inconsistent polycyclic presentation \langle a,b\mid a^2, b^a = b^2 \rangle as b = baa = ab^2a = a^2b^4 = b^4 which implies b^3=1. Here we have the equivalent normal words b^3 and the empty word. It can be proved that consistency can be checked by collecting a finite number of words in the given generating set in two essentially different ways and checking if the resulting normal forms are the same in both cases. See Chapter 9 of the book for an introduction to polycyclic groups and polycyclic presentations.

For computations in a polycyclic group one chooses a consistent polycyclic presentation as it offers a simple solution to the word problem: Equality between two words is decided by collecting both words to their respective normal forms and comparing the normal forms. Nilpotent groups and nilpotent presentations are special cases of polycyclic groups and polycyclic presentations. Nilpotent presentations allow specially efficient collection methods. The package Polycyclic provides algorithms to compute with polycyclic groups given by a polycyclic presentation.

However, inconsistent nilpotent presentations arise naturally in the nilpotent quotient algorithm. There is an algorithm based on the test words for consistency mentioned above to modify the arising inconsistent presentations suitably to obtain a consistent one for the same group.

A sketch of the algorithm The input for the ANU NQ in its simplest form is a finite presentation \langle X|R\rangle for a group G. The first step of the algorithm determines a nilpotent presentation for the commutator quotient of G. This is a presentation of the class-1 quotient of G. Call its generators a_1,...,a_d. It also determines a homomorphism of G onto the commutator quotient and describes it by specifying the image of each generator in X as a word in the a_i.

For the general step assume that the algorithm has computed a nilpotent presentation for the class-c quotient of G and that a_1,...,a_d are the generators introduced in the first step of the algorithm. Furthermore, there is a map from X into the class-c quotient describing the epimorphism from G onto G/\gamma_{c+1}(G).

Let b_1,...b_k be the generators from the last step of the algorithm, the computation of \gamma_c(G)/\gamma_{c+1}(G). This means that b_1,...b_k generate \gamma_c(G)/\gamma_{c+1}(G). Then the commutators [b_j,a_i] generate \gamma_{c+1}(G)/\gamma_{c+2}(G). The algorithm introduces new, central generators c_{ij} into the presentation, adds the relations [b_j,a_i] = c_{ij} and modifies the existing relations by appending suitable words in the c_{ij}, called tails, to the right hand sides of the power and commutator relations. The resulting presentation is a nilpotent presentation for the nilpotent cover of G/\gamma_{c+1}(G). The nilpotent cover is the largest central extension of G/\gamma_{c+1}(G) generated by d elements. It is is uniquely determined up to isomorphism.

The resulting presentation of the nilpotent cover is in general inconsistent. Consistency is achieved by running the consistency test. This results in relations among the generators c_{ij} which can be used to eliminate some of those generators or introduce power relations. After this has been done we have a consistent nilpotent presentation for the nilpotent cover of G/\gamma_{c+1}(G).

Furthermore, the nilpotent cover need not satisfy the relations of G. In other words, the epimorphism from G onto G/\gamma_{c+1}(G) cannot be lifted to an epimorphism onto the nilpotent cover. Applying the epimorphism to each relator of G and collecting the resulting words of the nilpotent cover yields a set of words in the c_{ij}. This gives further relations between the c_{ij} which leads to further eliminations or modifications of the power relations for the c_{ij}.

After this, the inductive step of the ANU NQ is complete and a consistent nilpotent presentation for G/\gamma_{c+2}(G) is obtained together with an epimorphism from G onto the class-(c+1) quotient.

Chapter 11 of the book discusses a nilpotent quotient algorithm. A description of the implementation in the ANU NQ is contained in

Identical Relations
Expression Trees Expressions involving commutators play an important role in the context of nilpotent groups. Expanding an iterated commutator produces a complicated and long expression. For example, [x,y,z] = y^{-1}x^{-1}yxz^{-1}x^{-1}y^{-1}xyz. Evaluating a commutator [a,b] is done efficiently by computing the equation (ba)^{-1}ab. Therefore, for each commutator we need to perform two multiplications and one inversion. Evaluating [x,y,z] needs four multiplications and two inversions. Evaluation of an iterated commutator with n components takes 2n-1 multiplications and n-1 inversions. The expression on the right hand side above needs 9 multiplications and 5 inversions which is clearly much more expensive than evaluating the commutator directly.

Assuming that no cancellations occur, expanding an iterated commutator with n components produces a word with 2^{n+1}-2^{n-1}-2 factors half of which are inverses. A similar effect occurs whenever a compact expression is expanded into a word in generators and inverses, for example (ab)^{49}.

Therefore, it is important not to expand expressions into a word in generators and inverses. For this purpose we provide a mechanism which we call here expression trees expression trees. An expression tree preserves the structure of a given expression. It is a (binary) tree in which each node is assigned an operation and whose leaves are generators of a free group or integers. For example, the expression [(xy)^2, z] is stored as a tree whose top node is a commutator node. The right subtree is just a generator node (corresponding to z). The left subtree is a power node whose subtrees are a product node on the left and an integer node on the right. An expression tree can involve products, powers, conjugates and commutators. However, the list of available operations can be extended.

Evaluation of an expression tree is done recursively and requires as many operations as there are nodes in the tree. An expression tree can be evaluated in a specific group by the function .

A presentation specified by expression trees is a record with the components .generators and .relations. See section for a description of the functions that produce and manipulate expression trees. gap> LoadPackage( "nq" ); true gap> gens := ExpressionTrees( 2 ); [ x1, x2 ] gap> r1 := LeftNormedComm( [gens[1],gens[2],gens[2]] ); Comm( x1, x2, x2 ) gap> r2 := LeftNormedComm( [gens[1],gens[2],gens[2],gens[1]] ); Comm( x1, x2, x2, x1 ) gap> pres := rec( generators := gens, relations := [r1,r2] ); rec( generators := [ x1, x2 ], relations := [ Comm( x1, x2, x2 ), Comm( x1, x2, x2, x1 ) ] )

A word about the implementation The ANU NQ is written in C, but not in ANSI C. I hope to make one of the next versions ANSI compliable. However, it uses a fairly restricted subset of the language so that it should be easy to compile it in new environments. The code is 64-bit clean. If you have difficulties with porting it to a new environment, let me know and I'll be happy to assist if time permits.

The program has two collectors: a simple collector from the left as described in and a combinatorial from the left collector as described in . The combinatorial collector is always faster than the simple collector, therefore, it is the collector used by this package by default. This can be changed by modifying the global variable .

In a polycyclic group with generators that do not have power relations, exponents may become arbitrarily large. Experience shows that this happens rarely in the computations done by the ANU NQ. Exponents are represented by 32-bit integers. The collectors perform an overflow check and abort the computation if an overflow occurred. In a GNU environment the program can be compiled using the `long long' 64-bit integer type. For this uncomment the relevant line in src/Makefile and recompile the program.

As part of the step that enforces consistency and the relations of the group, the ANU NQ performs computations with integer matrices and converts them to Hermite Normal Form. The algorithm used here is a variation of the Kanan-Bachem algorithm based on the GNU multiple precision package GNU MP . Experience shows that the integer matrices are usually fairly sparse and Kanan-Bachem seems to be sufficient in this context. However, the implementation might benefit from a more efficient strategy for computing Hermite Normal Forms. This is a topic for further investigations.

As the program does not compute the Smith Normal Form for each factor of the lower central series but the Hermite Normal Form, it does not necessarily obtain a minimal generating set for each factor of the lower central series. The following is a simple example of this behaviour. We take the presentation \langle x, y | x^2 = y \rangle The group is clearly isomorphic to the additive group of the integers. Applying the ANU NQ to this presentation gives the following nilpotent presentation: \langle A,B | A^2 = B, [B,A] \rangle A nilpotent presentation on a minimal generating set would be the presentation of the free group on one generator: \langle A | \; \rangle

The input format of the standalone
nq-2.5.11/doc/nq.xml000644 000766 000024 00000001116 14550113041 014403 0ustar00mhornstaff000000 000000 $ o$-->'> nq'> ] > <#Include SYSTEM "title.xml"> &nq; <#Include SYSTEM "intro.xml"> <#Include SYSTEM "general.xml"> <#Include SYSTEM "functions.xml"> <#Include SYSTEM "examples.xml"> <#Include SYSTEM "install.xml"> <#Include SYSTEM "cli.xml"> nq-2.5.11/doc/manual.css000644 000766 000024 00000015754 14550113063 015253 0ustar00mhornstaff000000 000000 /* manual.css Frank Lübeck */ /* This is the default CSS style sheet for GAPDoc HTML manuals. */ /* basic settings, fonts, sizes, colors, ... */ body { position: relative; background: #ffffff; color: #000000; width: 70%; margin: 0pt; padding: 15pt; font-family: Helvetica,Verdana,Arial,sans-serif; text-align: justify; } /* no side toc on title page, bib and index */ body.chap0 { width: 95%; } body.chapBib { width: 95%; } body.chapInd { width: 95%; } h1 { font-size: 200%; } h2 { font-size: 160%; } h3 { font-size: 160%; } h4 { font-size: 130%; } h5 { font-size: 100%; } p.foot { font-size: 60%; font-style: normal; } a:link { color: #00008e; text-decoration: none; } a:visited { color: #00008e; text-decoration: none; } a:active { color: #000000; text-decoration: none; } a:hover { background: #eeeeee; } pre { font-family: "Courier New",Courier,monospace; font-size: 100%; color:#111111; } tt,code { font-family: "Courier New",Courier,monospace; font-size: 110%; color: #000000; } var { } /* general alignment classes */ .pcenter { text-align: center; } .pleft { text-align: left; } .pright { text-align: right; } /* layout for the definitions of functions, variables, ... */ div.func { background: #e0e0e0; margin: 0pt 0pt; } /* general and special table settings */ table { border-collapse: collapse; margin-left: auto; margin-right: auto; } td, th { border-style: none; } table.func { padding: 0pt 1ex; margin-left: 1ex; margin-right: 1ex; background: transparent; /* line-height: 1.1; */ width: 100%; } table.func td.tdright { padding-right: 2ex; } /* Example elements (for old converted manuals, now in div+pre */ table.example { background: #efefef; border-style: none; border-width: 0pt; padding: 0px; width: 100% } table.example td { border-style: none; border-width: 0pt; padding: 0ex 1ex; } /* becomes ... */ div.example { background: #efefef; padding: 0ex 1ex; /* overflow-x: auto; */ overflow: auto; } /* Links to chapters in all files at top and bottom. */ /* If there are too many chapters then use 'display: none' here. */ div.chlinktop { background: #dddddd; border-style: solid; border-width: thin; margin: 2px; text-align: center; } div.chlinktop a { margin: 3px; } div.chlinktop a:hover { background: #ffffff; } div.chlinkbot { background: #dddddd; border-style: solid; border-width: thin; margin: 2px; text-align: center; /* width: 100%; */ } div.chlinkbot a { margin: 3px; } span.chlink1 { } /* and this is for the "Top", "Prev", "Next" links */ div.chlinkprevnexttop { background: #dddddd; border-style: solid; border-width: thin; text-align: center; margin: 2px; } div.chlinkprevnexttop a:hover { background: #ffffff; } div.chlinkprevnextbot { background: #dddddd; border-style: solid; border-width: thin; text-align: center; margin: 2px; } div.chlinkprevnextbot a:hover { background: #ffffff; } /* table of contents, initially don't display subsections */ div.ContSSBlock { display: none; } div.ContSSBlock br { display: none; } /* format in separate lines */ span.tocline { display: block; width: 100%; } div.ContSSBlock a { display: block; } /* this is for the main table of contents */ div.ContChap { } div.ContChap div.ContSect:hover div.ContSSBlock { display: block; position: absolute; background: #eeeeee; border-style: solid; border-width: 1px 4px 4px 1px; border-color: #666666; padding-left: 0.5ex; color: #000000; left: 20%; width: 40%; z-index: 10000; } div.ContSSBlock a:hover { background: #ffffff; } /* and here for the side menu of contents in the chapter files */ div.ChapSects { } div.ChapSects a:hover { background: #eeeeee; } div.ChapSects a:hover { display: block; width: 100%; background: #eeeeee; color: #000000; } div.ChapSects div.ContSect:hover div.ContSSBlock { display: block; position: fixed; background: #eeeeee; border-style: solid; border-width: 1px 2px 2px 1px; border-color: #666666; padding-left: 0ex; padding-right: 0.5ex; color: #000000; left: 54%; width: 25%; z-index: 10000; } div.ChapSects div.ContSect:hover div.ContSSBlock a { display: block; margin-left: 3px; } div.ChapSects div.ContSect:hover div.ContSSBlock a:hover { display: block; background: #ffffff; } div.ContSect { text-align: left; margin-left: 1em; } div.ChapSects { position: fixed; left: 75%; font-size: 90%; overflow: auto; top: 10px; bottom: 0px; } /* Table elements */ table.GAPDocTable { border-collapse: collapse; border-style: none; border-color: black; } table.GAPDocTable td, table.GAPDocTable th { padding: 3pt; border-width: thin; border-style: solid; border-color: #555555; } caption.GAPDocTable { caption-side: bottom; width: 70%; margin-top: 1em; margin-left: auto; margin-right: auto; } td.tdleft { text-align: left; } table.GAPDocTablenoborder { border-collapse: collapse; border-style: none; border-color: black; } table.GAPDocTablenoborder td, table.GAPDocTable th { padding: 3pt; border-width: 0pt; border-style: solid; border-color: #555555; } caption.GAPDocTablenoborder { caption-side: bottom; width: 70%; margin-top: 1em; margin-left: auto; margin-right: auto; } td.tdleft { text-align: left; } td.tdright { text-align: right; } td.tdcenter { text-align: center; } /* Colors and fonts can be overwritten for some types of elements. */ /* Verb elements */ pre.normal { color: #000000; } /* Func-like elements and Ref to Func-like */ code.func { color: #000000; } /* K elements */ code.keyw { color: #770000; } /* F elements */ code.file { color: #8e4510; } /* C elements */ code.code { } /* Item elements */ code.i { } /* Button elements */ strong.button { } /* Headings */ span.Heading { } /* Arg elements */ var.Arg { color: #006600; } /* Example elements, is in tables, see above */ div.Example { } /* Package elements */ strong.pkg { } /* URL-like elements */ span.URL { } /* Mark elements */ strong.Mark { } /* Ref elements */ b.Ref { } span.Ref { } /* this contains the contents page */ div.contents { } /* this contains the index page */ div.index { } /* ignore some text for non-css layout */ span.nocss { display: none; } /* colors for ColorPrompt like examples */ span.GAPprompt { color: #000097; font-weight: normal; } span.GAPbrkprompt { color: #970000; font-weight: normal; } span.GAPinput { color: #970000; } /* Bib entries */ p.BibEntry { } span.BibKey { color: #005522; } span.BibKeyLink { } b.BibAuthor { } i.BibTitle { } i.BibBookTitle { } span.BibEditor { } span.BibJournal { } span.BibType { } span.BibPublisher { } span.BibSchool { } span.BibEdition { } span.BibVolume { } span.BibSeries { } span.BibNumber { } span.BibPages { } span.BibOrganization { } span.BibAddress { } span.BibYear { } span.BibPublisher { } span.BibNote { } span.BibHowpublished { } nq-2.5.11/doc/chap4.txt000644 000766 000024 00000013743 14550113056 015022 0ustar00mhornstaff000000 000000 4 Examples 4.1 Right Engel elements An old problem in the context of Engel elements is the question: Is a right n-Engel element left n-Engel? It is known that the answer is no. For details about the history of the problem, see [NN94]. In this paper the authors show that for n>4 there are nilpotent groups with right n-Engel elements no power of which is a left n-Engel element. The insight was based on computations with the ANU NQ which we reproduce here. We also show the cases 5>n.  Example  gap> LoadPackage( "nq" ); true gap> ## SetInfoLevel( InfoNQ, 1 ); gap> ## gap> ## setup calculation gap> ## gap> et := ExpressionTrees( "a", "b", "x" ); [ a, b, x ] gap> a := et[1];; b := et[2];; x := et[3];; gap>  gap> ## gap> ## define the group for n = 2,3,4,5 gap> ## gap>  gap> rengel := LeftNormedComm( [a,x,x] ); Comm( a, x, x ) gap> G := rec( generators := et, relations := [rengel] ); rec( generators := [ a, b, x ], relations := [ Comm( a, x, x ) ] ) gap> ## The following is equivalent to: gap> ## NilpotentQuotient( : input_string := NqStringExpTrees( G, [x] ) ) gap> H := NilpotentQuotient( G, [x] ); Pcp-group with orders [ 0, 0, 0 ] gap> LeftNormedComm( [ H.2,H.1,H.1 ] ); id gap> LeftNormedComm( [ H.1,H.2,H.2 ] ); id  This shows that each right 2-Engel element in a finitely generated nilpotent group is a left 2-Engel element. Note that the group above is the largest nilpotent group generated by two elements, one of which is right 2-Engel. Every nilpotent group generated by an arbitrary element and a right 2-Engel element is a homomorphic image of the group H.  Example  gap> rengel := LeftNormedComm( [a,x,x,x] ); Comm( a, x, x, x ) gap> G := rec( generators := et, relations := [rengel] ); rec( generators := [ a, b, x ], relations := [ Comm( a, x, x, x ) ] ) gap> H := NilpotentQuotient( G, [x] ); Pcp-group with orders [ 0, 0, 0, 0, 0, 4, 2, 2 ] gap> LeftNormedComm( [ H.1,H.2,H.2,H.2 ] ); id gap> h := LeftNormedComm( [ H.2,H.1,H.1,H.1 ] ); g6^2*g7*g8 gap> Order( h ); 4  The element h has order 4. In a nilpotent group without 2-torsion a right 3-Engel element is left 3-Engel.  Example  gap> rengel := LeftNormedComm( [a,x,x,x,x] ); Comm( a, x, x, x, x ) gap> G := rec( generators := et, relations := [rengel] ); rec( generators := [ a, b, x ], relations := [ Comm( a, x, x, x, x ) ] ) gap> H := NilpotentQuotient( G, [x] ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 12, 0, 5, 10, 2, 0, 30,   5, 2, 5, 5, 5, 5 ] gap> LeftNormedComm( [ H.1,H.2,H.2,H.2,H.2 ] ); id gap> h := LeftNormedComm( [ H.2,H.1,H.1,H.1,H.1 ] ); g9*g10^2*g11^10*g12^5*g13^2*g14^8*g15*g16^6*g17^10*g18*g20^4*g21^4*g22^2*g23^2 gap> Order( h ); 60  The previous calculation shows that in a nilpotent group without 2,3,5-torsion a right 4-Engel element is left 4-Engel.  Example  gap> rengel := LeftNormedComm( [a,x,x,x,x,x] ); Comm( a, x, x, x, x, x ) gap> G := rec( generators := et, relations := [rengel] ); rec( generators := [ a, b, x ], relations := [ Comm( a, x, x, x, x, x ) ] ) gap> H := NilpotentQuotient( G, [x], 9 ); Pcp-group with orders [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 30,   0, 0, 30, 0, 3, 6, 0, 0, 10, 30, 0, 0, 0, 0, 30, 30, 0, 0, 3, 6, 5, 2, 0,   2, 408, 2, 0, 0, 0, 10, 10, 30, 10, 0, 0, 0, 3, 3, 3, 2, 204, 6, 6, 0, 10,   10, 10, 2, 2, 2, 0, 300, 0, 0, 18 ] gap> LeftNormedComm( [ H.1,H.2,H.2,H.2,H.2,H.2 ] ); id gap> h := LeftNormedComm( [ H.2,H.1,H.1,H.1,H.1,H.1 ] );; gap> Order( h ); infinity  Finally, we see that in a torsion-free group a right 5-Engel element need not be a left 5-Engel element. nq-2.5.11/doc/chap5.txt000644 000766 000024 00000010370 14550113056 015014 0ustar00mhornstaff000000 000000 5 Installation of the Package Installation of the ANU NQ is done in two steps. 5.1 Configuring for compilation First the configure script is run:  Installation   ./configure   If you installed the package in another pkg directory than the standard pkg directory in your GAP 4 installation, then you have to do two things. Firstly during compilation you have to use the option --with-gaproot=PATH of the configure script where PATH is a path to the main GAP root directory (if not given the default ../.. is assumed). That is, run  Installation   ./configure --with-gaproot=PATH   Secondly you have to specify the path to the directory containing your pkg directory to GAP's list of directories. This can be done by starting GAP with the -l command line option followed by the name of the directory and a semicolon. Then your directory is prepended to the list of directories searched. Otherwise the package is not found by GAP. Of course, you can add this option to your GAP startup script. Another issue that can occur when running configure is that it may fail to locate the the GNU multiple precision library (GMP [GMP]) which ANU NQ requires to work. This library is also used by GAP and hence normally should be available on your system anyway. But if this is not the case for some reason, it has to be installed first. A copy of GMP can be obtained from https://gmplib.org/. In order for the configure script to find your copy of GMP, you may have tell it where to find it via --with-gmp=PATH, where PATH is the path where GMP was installed:  Installation   ./configure --with-gmp=PATH   If necessary, you may combine --with-gmp and --with-gaproot. 5.2 Compiling the nq binary If configure reports no problems, the next step is to start the compilation:  Installation   make   A compiled version of the program named nq is then placed into the directory bin/. The component encodes the operating system and the compiler used. This allows you to compile NQ on several architectures sharing the same files system. If there are any warnings or even fatal error messages during the compilation process, please submit a bug report about that following the instructions in Section 5.4 5.3 Testing After the compilation is finished you can check if the ANU NQ is running properly on your system. Simply type  Installation   make test   This runs some computations and compares their output with the output files in the directory examples. If any errors are reported, please follow the instructions below. 5.4 Feedback If you encounter problems with any of the above steps, please do not hesitate to contact us about this. You can either use the nq issue tracker (https://github.com/gap-system/nq/issues) or contact the GAP support group via mailto:support@gap-system.org. Please make sure to include information about the specific issue you encountered (e.g. steps to reproduce it, the specific error message), your operating system, the compiler you used and also the versions of GAP and this package that were involved. nq-2.5.11/doc/ragged.css000644 000766 000024 00000000231 14550113063 015207 0ustar00mhornstaff000000 000000 /* times.css Frank Lübeck */ /* Change default CSS to use Times font. */ body { text-align: left; } nq-2.5.11/doc/chap1.html000644 000766 000024 00000010540 14550113063 015132 0ustar00mhornstaff000000 000000 GAP (nq) - Chapter 1: Introduction
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

1 Introduction

This package provides an interface between GAP 4 and the Australian National University Nilpotent Quotient Program (ANU NQ). The ANU NQ was implemented as part of the author's work towards his PhD at the Australian National University, hence the name of the program. The program takes as input a finite presentation of a group and successively computes factor groups modulo the terms of the lower central series of the group. These factor groups are computed in terms of polycyclic presentations.

The ANU NQ is implemented in the programming language C. The implementation has been developed in a Unix environment and Unix is currently the only operating system supported. It runs on a number of different Unix versions, e.g. Solaris and Linux.

For integer matrix computations it relies on the GNU MP [GMP] package and requires this package to be installed on your system.

This package relies on the functionality for polycyclic groups provided by the GAP package polycyclic [EN02] and requires the package polycyclic to be installed as a GAP package on your computer system.

Comments, bug reports and suggestions are very welcome, please submit them via our issue tracker.

This manual contains references to parts of the GAP Reference Manual which are typeset in a slightly idiosyncratic way. The following example shows how such references are printed: 'For further information on creating a free group see FreeGroup (Reference: FreeGroup).' The text in bold face refers to the GAP Reference Manual.

Each item in the list of references at the end of this manual is followed by a list of numbers that specify the pages of the manual where the reference occurs.

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/chap5_mj.html000644 000766 000024 00000017313 14550113063 015631 0ustar00mhornstaff000000 000000 GAP (nq) - Chapter 5: Installation of the Package
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

5 Installation of the Package

Installation of the ANU NQ is done in two steps.

5.1 Configuring for compilation

First the configure script is run:

 ./configure  

If you installed the package in another "pkg" directory than the standard "pkg" directory in your GAP 4 installation, then you have to do two things. Firstly during compilation you have to use the option --with-gaproot=PATH of the configure script where "PATH" is a path to the main GAP root directory (if not given the default "../.." is assumed). That is, run

 ./configure --with-gaproot=PATH 

Secondly you have to specify the path to the directory containing your "pkg" directory to GAP's list of directories. This can be done by starting GAP with the "-l" command line option followed by the name of the directory and a semicolon. Then your directory is prepended to the list of directories searched. Otherwise the package is not found by GAP. Of course, you can add this option to your GAP startup script.

Another issue that can occur when running configure is that it may fail to locate the the GNU multiple precision library (GMP [GMP]) which ANU NQ requires to work. This library is also used by GAP and hence normally should be available on your system anyway. But if this is not the case for some reason, it has to be installed first. A copy of GMP can be obtained from https://gmplib.org/.

In order for the configure script to find your copy of GMP, you may have tell it where to find it via --with-gmp=PATH, where "PATH" is the path where GMP was installed:

 ./configure --with-gmp=PATH 

If necessary, you may combine --with-gmp and --with-gaproot.

5.2 Compiling the nq binary

If configure reports no problems, the next step is to start the compilation:

 make 

A compiled version of the program named nq is then placed into the directory bin/<complicated name>. The <complicated name> component encodes the operating system and the compiler used. This allows you to compile NQ on several architectures sharing the same files system.

If there are any warnings or even fatal error messages during the compilation process, please submit a bug report about that following the instructions in Section 5.4

5.3 Testing

After the compilation is finished you can check if the ANU NQ is running properly on your system. Simply type

 make test 

This runs some computations and compares their output with the output files in the directory examples. If any errors are reported, please follow the instructions below.

5.4 Feedback

If you encounter problems with any of the above steps, please do not hesitate to contact us about this. You can either use the nq issue tracker or contact the GAP support group via support@gap-system.org. Please make sure to include information about the specific issue you encountered (e.g. steps to reproduce it, the specific error message), your operating system, the compiler you used and also the versions of GAP and this package that were involved.

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/toggless.js000644 000766 000024 00000004205 14550113063 015436 0ustar00mhornstaff000000 000000 /* toggless.js Frank Lübeck */ /* this file contains two functions: mergeSideTOCHooks: this changes div.ContSect elements to the class ContSectClosed and includes a hook to toggle between ContSectClosed and ContSectOpen. openclosetoc: this function does the toggling, the rest is done by CSS */ closedTOCMarker = "▶ "; openTOCMarker = "▼ "; noTOCMarker = " "; /* merge hooks into side toc for opening/closing subsections with openclosetoc */ function mergeSideTOCHooks() { var hlist = document.getElementsByTagName("div"); for (var i = 0; i < hlist.length; i++) { if (hlist[i].className == "ContSect") { var chlds = hlist[i].childNodes; var el = document.createElement("span"); var oncl = document.createAttribute("class"); oncl.nodeValue = "toctoggle"; el.setAttributeNode(oncl); var cont; if (chlds.length > 2) { var oncl = document.createAttribute("onclick"); oncl.nodeValue = "openclosetoc(event)"; el.setAttributeNode(oncl); cont = document.createTextNode(closedTOCMarker); } else { cont = document.createTextNode(noTOCMarker); } el.appendChild(cont); hlist[i].firstChild.insertBefore(el, hlist[i].firstChild.firstChild); hlist[i].className = "ContSectClosed"; } } } function openclosetoc (event) { /* first two steps to make it work in most browsers */ var evt=window.event || event; if (!evt.target) evt.target=evt.srcElement; var markClosed = document.createTextNode(closedTOCMarker); var markOpen = document.createTextNode(openTOCMarker); var par = evt.target.parentNode.parentNode; if (par.className == "ContSectOpen") { par.className = "ContSectClosed"; evt.target.replaceChild(markClosed, evt.target.firstChild); } else if (par.className == "ContSectClosed") { par.className = "ContSectOpen"; evt.target.replaceChild(markOpen, evt.target.firstChild); } } /* adjust jscontent which is called onload */ jscontentfuncs.push(mergeSideTOCHooks); nq-2.5.11/doc/chapA.txt000644 000766 000024 00000030165 14550113056 015034 0ustar00mhornstaff000000 000000 A The nq command line interface A.1 How to use the ANU NQ If you start the ANU NQ by typing  interactive   nq -X  you will get the following message:  interactive   unknown option: -X  usage: nq [-a] [-M] [-d] [-g] [-v] [-s] [-f] [-c] [-m]  [-t ] [-l ] [-r ] [-n ] [-e ]  [-y] [-o] [-p] [-E] [] []  All parameters in square brackets are optional. The parameter has to be the name of a file that contains a finite group presentation for which a nilpotent quotient is to be calculated. This file name must not start with a digit. If it is not present, nq will read the presentation from standard input. The parameter restricts the computation of the nilpotent quotient to at most that (nilpotency) class, i.e. the program calculates the quotient group of the (c+1)-th term of the lower central series. If is omitted, the program computes successively the factor groups of the lower central series of the given group. If there is a largest nilpotent quotient, i.e., if the lower central series becomes constant, the program will eventually terminate with the largest nilpotent quotient. If there is no largest nilpotent quotient, the program will run forever (or more precisely will run out of resources). On termination the program prints a nilpotent presentation for the nilpotent quotient it has computed. The options -l, -r and -e can be used to enforce Engel conditions on the nilpotent quotient to be calculated. All these options have to be followed by a positive integer . Their meaning is the following: -n  This option forces the first k generators to be left or right Engel element if also the option -l or -r (or both) is present. Otherwise it is ignored. -l  This forces the first k generators g_1,...,g_k of the nilpotent quotient Q to be left n-Engel elements, i.e., they satisfy [x,...,x,g_i] = 1 (x occurring n-times) for all x in Q and 1 <= i <= k. If the option -n is not used, then k = 1. -r  This forces the first k generators g_1,...,g_k of the nilpotent quotient Q to be right n-Engel elements,i.e., they satisfy [g_i,x,..,x] = 1 (x occurring n-times) for all x in Q and 1 <= i <= k. If the option -n is not used, then k = 1. -e  This enforces the n-th Engel law on Q, i.e., [x,y,..,y] = 1 (y occurring n-times) for all x,y in Q. -t  This option specifies how much CPU time the program is allowed to use. It will terminate after seconds of CPU time. If is followed (without space) by one of the letters m, h or d, specifies the time in minutes, hours or days, respectively. The other options have the following meaning. Care has to be taken when the options -s or -c are used since the resulting nilpotent quotient need NOT satisfy the required Engel condition. The reason for this is that a smaller set of test words is used if one of these two options are present. Although this smaller set of test words seems to be sufficient to enforce the required Engel condition, this fact has not been proven. -a For each factor of the lower central series a file is created in the current directory that contains an integer matrix describing the factor as abelian group. The first number in that file is the number of columns of the matrix. Then the matrix follows in row major order. The matrix for the i-th factor is put into the file .abinv.. -p toggles printing of the pc presentation for the nilpotent quotient at the end of a calculation. -s This option causes the program to check only semigroup words in the generating set of the nilpotent quotient when an Engel condition is enforced. If none of the options -l, -r or -e are present, it is ignored. -f This option causes to check semiwords in the generating set of the nilpotent quotient first and then all other words that need to be checked. It is ignored if the option -s is used or none of the options -l, -r or -e are present. -c This option stops checking the Engel law at each class if all the checks of a certain weight did not yield any non-trivial instances of the law. -d Switch on debug mode and perform checks during the computation. Not yet implemented. -o In checking Engel identities, instances are process in the order of increased weight. This flag reverses the order. -y Enforce the identities x^8 and [ [x1,x2,x3], [x4,x5,x6] ] on the nilpotent quotient. -v Switch on verbose mode. -g Produce GAP output. Presently the GAP output consists only of a sequence of integer matrices whose rows are relations of the factors of the lower central series as abelian groups. This will change as soon as GAP can handle infinite polycyclic groups. -E the *last* n generators are Engel generators. This works in conjunction with option -n. -m output the relation matrix for each factor of the lower central series. The matrices are written to files with the names 'matrix.' where is replaced by the number of the factor in the lower central series. Each file contains first the number of columns of the matrix and then the rows of the matrix. The matrix is written as each relation is produced and is not in upper triangular form. -M output the relation matrix before and after relations have been enforced. This results in two groups of files with names '.nilp.' and '.mult.' where is the name of the input files and is the class. The matrices are in upper triangular form. A.2 The input format for presentations The input format for finite presentations resembles the way many people write down a presentation on paper. Here are some examples of presentations that the ANU NQ accepts: < a, b | > # free group of rank 2 < a, b, c | [a,b,c], # a left normed commutator [b,c,c,c]^6, # another one raised to a power a^2 = c^-3*a^2*c^3, # a relation a^(b*c) = a, # a conjugate relation (a*[b,(a*c)])^6 # something that looks complicated > A presentation starts with '<' followed be a list of generators separated by commas. Generator names are strings that contain only upper and lower case letters, digits, dots and underscores and that do not start with a digit. The list of generator names is separated from the list of relators/relations by the symbol '|'. Relators and relations are separated by commas and can be mixed arbitrarily. Parentheses can be used in order to group subexpressions together. Square brackets can be used in order to form left normed commutators. The symbols '*' and '^' can be used to form products and powers, respectively. The presentation finishes with the symbol '>'. A comment starts with the symbol '#' and finishes at the end of the line. The file src/presentation.c contains a complete grammar for the presentations accepted by the ANU NQ. A.3 An example Let G be the free group on two generators x and y. The input file (called free2.fp here) contains the following: < x, y | > Computing the class 3 quotient with the ANU NQ by typing nq free2.fp 3 produces the following output: # # The ANU Nilpotent Quotient Program (Version 2.3) # Calculating a nilpotent quotient # Input: free2.fp # Nilpotency class: 3 # Program: nq # Size of exponents: 8 bytes # # Calculating the abelian quotient ... # The abelian quotient has 2 generators # with the following exponents: 0 0 # # Calculating the class 2 quotient ... ## Sizes: 2 3 # Layer 2 of the lower central series has 1 generators # with the following exponents: 0 # # Calculating the class 3 quotient ... ## Sizes: 2 3 5 # Layer 3 of the lower central series has 2 generators # with the following exponents: 0 0 # # The epimorphism : # x |---> A # y |---> B # The nilpotent quotient : # Class : 3 # Nr of generators of each class : 2 1 2 # The definitions: # C := [ B, A ] # D := [ B, A, A ] # E := [ B, A, B ] # total runtime : 1 msec ## Total time spent on integer matrices: 0 Most of the comments are fairly self-explanatory. One note of caution is necessary: The number of generators for each factor of the lower central series is not the minimal number possible but is the number of generators that the ANU NQ chose to use. This will be improved in one of the future version of the program. The epimorphism from the original group onto the nilpotent quotient is printed in a somewhat confusing way. The generators on the left hand side of the arrows correspond to the generators in the original presentation but are printed with different names. This will be fixed in one of the next version. A.4 Some remarks about the algorithm The implementation of the algorithm is fairly straight forward. The program uses a weighted nilpotent presentation with definitions to represent a nilpotent group. Calculations in the nilpotent group are done using a collector from the left without combinatorial collection. Generators for the c-th lower central factor are defined as commutators of the form [y,x], where x is a generator of weight 1 and y is a generator of weight c-1. Then the program calculates the necessary changes (tails) for all relations which are not definitions, runs through the consistency check and evaluates the original relations on the polycyclic presentation. This gives a list of words, which have to be made trivial in order to obtain a consistent polycyclic presentation representing a nilpotent quotient of the given finitely presented group. This list is converted into a integer matrix, which is transformed into upper triangular form using the Kannan-Bachem algorithm. The GNU multiple precision package is used for this. nq-2.5.11/doc/chapInd_mj.html000644 000766 000024 00000014137 14550113063 016200 0ustar00mhornstaff000000 000000 GAP (nq) - Index
Goto Chapter: Top 1 2 3 4 5 A Bib Ind

Index

nq .-3
class 2.2
commutator 2.1
commutator relation 2.3
consistent 2.3
EvaluateExpTree 3.2-2
expression trees 2.6
ExpressionTrees 3.2-1
    for a list of names 3.2-1
identical generator 2.5
identical relation 2.5
law 2.5
left Engel element 2.5
left-normed commutator 2.1
License .-1
lower central series 2.1
LowerCentralFactors 3.1-4
nilpotency class 2.2
nilpotent 2.2
nilpotent presentation 2.3
Nilpotent Quotient Package 3.
NilpotentEngelQuotient 3.1-2
    for input from a file 3.1-2
NilpotentQuotient 3.1-1
    for input from a file 3.1-1
NqDefaultOptions 3.4-2
NqElementaryDivisors 3.3-4
NqEpimorphismNilpotentQuotient 3.1-3
NqGlobalVariables 3.4-3
NqReadOutput 3.3-1
NqRuntime 3.4-1
NqStringExpTrees 3.3-3
NqStringFpGroup 3.3-2
options 3.1-1
    class 3.1-1
    group 3.1-1
    idgens 3.1-1
    input\_file 3.1-1
    input\_string 3.1-1
    output\_file 3.1-1
polycyclic 2.2
polycyclic generating sequence 2.2
polycyclic presentation 2.3
power relation 2.3
right Engel element 2.5

Goto Chapter: Top 1 2 3 4 5 A Bib Ind

generated by GAPDoc2HTML

nq-2.5.11/doc/chooser.html000644 000766 000024 00000007456 14550113063 015614 0ustar00mhornstaff000000 000000 GAPDoc Style Chooser

Setting preferences for GAPDoc manuals

Unfold subsections in menus only by mouse clicks: no (default)     yes

Show GAP examples as in sessions with ColorPrompt(true): yes (default)     no

Display side of table of contents within chapters: right (default)     left

Main document font: Helvetica/sans serif (default)     Times/serif

Paragraph formatting: left-right justified (default)     ragged right

Apply settings to last page.

nq-2.5.11/m4/find_gap.m4000644 000766 000024 00000005573 14550113041 015042 0ustar00mhornstaff000000 000000 # Find the location of GAP # Sets GAPROOT, GAPARCH and GAP_CPPFLAGS appropriately # Can be configured using --with-gaproot=... ####################################################################### AC_DEFUN([FIND_GAP], [ AC_LANG_PUSH([C]) # Make sure CDPATH is portably set to a sensible value CDPATH=${ZSH_VERSION+.}: GAP_CPPFLAGS="" ###################################### # Find the GAP root directory by # checking for the sysinfo.gap file AC_MSG_CHECKING([for GAP root directory]) GAPROOT="../.." # Allow the user to specify the location of GAP AC_ARG_WITH(gaproot, [AS_HELP_STRING([--with-gaproot=], [specify root of GAP installation])], [GAPROOT="$withval"]) # Convert the path to absolute GAPROOT=`cd $GAPROOT > /dev/null 2>&1 && pwd` if test -e ${GAPROOT}/sysinfo.gap; then AC_MSG_RESULT([${GAPROOT}]) else AC_MSG_RESULT([Not found]) echo "" echo "********************************************************************" echo " ERROR" echo "" echo " Cannot find your GAP installation. Please specify the location of" echo " GAP's root directory using --with-gaproot=" echo "" echo " The GAP root directory (as far as this package is concerned) is" echo " the one containing the file sysinfo.gap" echo "********************************************************************" echo "" AC_MSG_ERROR([Unable to find GAP root directory]) fi ##################################### # Now find the architecture AC_MSG_CHECKING([for GAP architecture]) GAPARCH="Unknown" . $GAPROOT/sysinfo.gap if test "x$GAParch" != "x"; then GAPARCH=$GAParch fi AC_MSG_RESULT($GAPARCH) if test "x$GAPARCH" = "xUnknown" ; then echo "" echo "********************************************************************" echo " ERROR" echo "" echo " Found a GAP installation at $GAPROOT but could not find" echo " information about GAP's architecture in the file" echo " ${GAPROOT}/sysinfo.gap ." echo " This file should be present: please check your GAP installation." echo "********************************************************************" echo "" AC_MSG_ERROR([Unable to find plausible GAParch information.]) fi # require GAP >= 4.9 if test "x$GAP_CPPFLAGS" = x; then echo "" echo "********************************************************************" echo " ERROR" echo "" echo " This version of GAP is too old and not supported by this package." echo "********************************************************************" echo "" AC_MSG_ERROR([No GAP_CPPFLAGS is given]) fi # compatibility with GAP 4.9 (not needed in GAP >= 4.10) GAP_CPPFLAGS="$GAP_CPPFLAGS -I${GAP_LIB_DIR}/src" AC_SUBST(GAPARCH) AC_SUBST(GAPROOT) AC_SUBST(GAP_CPPFLAGS) AC_SUBST(GAP_CFLAGS) AC_SUBST(GAP_LDFLAGS) AC_LANG_POP([C]) ]) nq-2.5.11/examples/G3.out000644 000766 000024 00000035233 14550113041 015325 0ustar00mhornstaff000000 000000 # # Calculating a nilpotent quotient # Nilpotency class: 20 # Size of exponents: 8 bytes # # Calculating the abelian quotient ... # The abelian quotient has 3 generators # with the following exponents: 0 0 0 # # Calculating the class 2 quotient ... ## Sizes: 3 6 # Maximal entry: 0 # Layer 2 of the lower central series has 2 generators # with the following exponents: 0 0 # # Calculating the class 3 quotient ... ## Sizes: 3 5 12 # Maximal entry: 0 # Layer 3 of the lower central series has 1 generators # with the following exponents: 0 # # Calculating the class 4 quotient ... ## Sizes: 3 5 6 15 # Maximal entry: 0 # Layer 4 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 5 quotient ... ## Sizes: 3 5 6 7 19 # Maximal entry: 1 # Layer 5 of the lower central series has 2 generators # with the following exponents: 2 2 # # Calculating the class 6 quotient ... ## Sizes: 3 5 6 7 9 27 # Maximal entry: 4 # Layer 6 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 7 quotient ... ## Sizes: 3 5 6 7 9 10 31 # Maximal entry: 4 # Layer 7 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 8 quotient ... ## Sizes: 3 5 6 7 9 10 11 35 # Maximal entry: 5 # Layer 8 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 9 quotient ... ## Sizes: 3 5 6 7 9 10 11 12 39 # Maximal entry: 4 # Layer 9 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 10 quotient ... ## Sizes: 3 5 6 7 9 10 11 12 13 43 # Maximal entry: 18 # Layer 10 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 11 quotient ... ## Sizes: 3 5 6 7 9 10 11 12 13 14 47 # Maximal entry: 11 # Layer 11 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 12 quotient ... ## Sizes: 3 5 6 7 9 10 11 12 13 14 15 51 # Maximal entry: 12 # Layer 12 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 13 quotient ... ## Sizes: 3 5 6 7 9 10 11 12 13 14 15 16 55 # Maximal entry: 15 # Layer 13 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 14 quotient ... ## Sizes: 3 5 6 7 9 10 11 12 13 14 15 16 17 59 # Maximal entry: 20 # Layer 14 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 15 quotient ... ## Sizes: 3 5 6 7 9 10 11 12 13 14 15 16 17 18 63 # Maximal entry: 30 # Layer 15 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 16 quotient ... ## Sizes: 3 5 6 7 9 10 11 12 13 14 15 16 17 18 19 67 # Maximal entry: 44 # Layer 16 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 17 quotient ... ## Sizes: 3 5 6 7 9 10 11 12 13 14 15 16 17 18 19 20 71 # Maximal entry: 52 # Layer 17 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 18 quotient ... ## Sizes: 3 5 6 7 9 10 11 12 13 14 15 16 17 18 19 20 21 75 # Maximal entry: 175 # Layer 18 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 19 quotient ... ## Sizes: 3 5 6 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 79 # Maximal entry: 175 # Layer 19 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 20 quotient ... ## Sizes: 3 5 6 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 83 # Maximal entry: 434 # Layer 20 of the lower central series has 1 generators # with the following exponents: 2 # # The epimorphism : # e1 |---> A # e2 |---> B # e3 |---> C # The nilpotent quotient : # Class : 20 # Nr of generators of each class : 3 2 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 # The definitions: # D := [ B, A ] # E := [ C, B ] # F := [ C, B, A ] # G := [ C, B, A, B ] # H := [ C, B, A, B, A ] # I := [ C, B, A, B, C ] # J := [ C, B, A, B, C, B ] # K := [ C, B, A, B, C, B, C ] # L := [ C, B, A, B, C, B, C, B ] # M := [ C, B, A, B, C, B, C, B, C ] # N := [ C, B, A, B, C, B, C, B, C, B ] # O := [ C, B, A, B, C, B, C, B, C, B, C ] # P := [ C, B, A, B, C, B, C, B, C, B, C, B ] # Q := [ C, B, A, B, C, B, C, B, C, B, C, B, C ] # R := [ C, B, A, B, C, B, C, B, C, B, C, B, C, B ] # S := [ C, B, A, B, C, B, C, B, C, B, C, B, C, B, C ] # T := [ C, B, A, B, C, B, C, B, C, B, C, B, C, B, C, B ] # U := [ C, B, A, B, C, B, C, B, C, B, C, B, C, B, C, B, C ] # V := [ C, B, A, B, C, B, C, B, C, B, C, B, C, B, C, B, C, B ] # W := [ C, B, A, B, C, B, C, B, C, B, C, B, C, B, C, B, C, B, C ] # X := [ C, B, A, B, C, B, C, B, C, B, C, B, C, B, C, B, C, B, C, B ] nq-2.5.11/examples/G2.out000644 000766 000024 00000012202 14550113041 015313 0ustar00mhornstaff000000 000000 # # Calculating a nilpotent quotient # Nilpotency class: 11 # Size of exponents: 8 bytes # # Calculating the abelian quotient ... # The abelian quotient has 2 generators # with the following exponents: 0 0 # # Calculating the class 2 quotient ... ## Sizes: 2 3 # Layer 2 of the lower central series has 1 generators # with the following exponents: 0 # # Calculating the class 3 quotient ... ## Sizes: 2 3 5 # Maximal entry: 0 # Layer 3 of the lower central series has 1 generators # with the following exponents: 0 # # Calculating the class 4 quotient ... ## Sizes: 2 3 4 7 # Maximal entry: 0 # Layer 4 of the lower central series has 1 generators # with the following exponents: 0 # # Calculating the class 5 quotient ... ## Sizes: 2 3 4 5 9 # Maximal entry: 0 # Layer 5 of the lower central series has 1 generators # with the following exponents: 0 # # Calculating the class 6 quotient ... ## Sizes: 2 3 4 5 6 11 # Maximal entry: 0 # Layer 6 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 7 quotient ... ## Sizes: 2 3 4 5 6 7 14 # Maximal entry: 0 # Layer 7 of the lower central series has 2 generators # with the following exponents: 2 2 # # Calculating the class 8 quotient ... ## Sizes: 2 3 4 5 6 7 9 20 # Maximal entry: 2 # Layer 8 of the lower central series has 2 generators # with the following exponents: 2 2 # # Calculating the class 9 quotient ... ## Sizes: 2 3 4 5 6 7 9 11 26 # Maximal entry: 4 # Layer 9 of the lower central series has 2 generators # with the following exponents: 2 2 # # Calculating the class 10 quotient ... ## Sizes: 2 3 4 5 6 7 9 11 13 32 # Maximal entry: 4 # Layer 10 of the lower central series has 1 generators # with the following exponents: 2 # # Calculating the class 11 quotient ... ## Sizes: 2 3 4 5 6 7 9 11 13 14 35 # Integer matrix is the identity. # Maximal entry: 5 # The epimorphism : # e1 |---> A # e2 |---> B # The nilpotent quotient : # Class : 10 # Nr of generators of each class : 2 1 1 1 1 1 2 2 2 1 # The definitions: # C := [ B, A ] # D := [ B, A, B ] # E := [ B, A, B, B ] # F := [ B, A, B, B, A ] # G := [ B, A, B, B, A, B ] # H := [ B, A, B, B, A, B, A ] # I := [ B, A, B, B, A, B, B ] # J := [ B, A, B, B, A, B, A, B ] # K := [ B, A, B, B, A, B, B, A ] # L := [ B, A, B, B, A, B, A, B, A ] # M := [ B, A, B, B, A, B, B, A, B ] # N := [ B, A, B, B, A, B, A, B, A, B ] nq-2.5.11/examples/G1.out000644 000766 000024 00000456314 14550113041 015332 0ustar00mhornstaff000000 000000 # # Calculating a nilpotent quotient # Nilpotency class: 18 # Size of exponents: 8 bytes # # Calculating the abelian quotient ... # The abelian quotient has 2 generators # with the following exponents: 0 0 # # Calculating the class 2 quotient ... ## Sizes: 2 3 # Layer 2 of the lower central series has 1 generators # with the following exponents: 0 # # Calculating the class 3 quotient ... ## Sizes: 2 3 5 # Maximal entry: 0 # Layer 3 of the lower central series has 1 generators # with the following exponents: 0 # # Calculating the class 4 quotient ... ## Sizes: 2 3 4 7 # Maximal entry: 0 # Layer 4 of the lower central series has 1 generators # with the following exponents: 0 # # Calculating the class 5 quotient ... ## Sizes: 2 3 4 5 9 # Maximal entry: 0 # Layer 5 of the lower central series has 2 generators # with the following exponents: 0 0 # # Calculating the class 6 quotient ... ## Sizes: 2 3 4 5 7 13 # Maximal entry: 0 # Layer 6 of the lower central series has 2 generators # with the following exponents: 2 0 # # Calculating the class 7 quotient ... ## Sizes: 2 3 4 5 7 9 18 # Maximal entry: 0 # Layer 7 of the lower central series has 4 generators # with the following exponents: 2 2 0 0 # # Calculating the class 8 quotient ... ## Sizes: 2 3 4 5 7 9 13 28 # Maximal entry: 5 # Layer 8 of the lower central series has 4 generators # with the following exponents: 2 2 0 5 # # Calculating the class 9 quotient ... ## Sizes: 2 3 4 5 7 9 13 17 39 # Maximal entry: 9 # Layer 9 of the lower central series has 7 generators # with the following exponents: 2 2 2 3 0 5 5 # # Calculating the class 10 quotient ... ## Sizes: 2 3 4 5 7 9 13 17 24 59 # Maximal entry: 20 # Layer 10 of the lower central series has 8 generators # with the following exponents: 2 2 2 2 3 0 5 5 # # Calculating the class 11 quotient ... ## Sizes: 2 3 4 5 7 9 13 17 24 32 82 # Maximal entry: 139 # Layer 11 of the lower central series has 12 generators # with the following exponents: 2 2 2 2 2 2 3 0 0 5 5 5 # # Calculating the class 12 quotient ... ## Sizes: 2 3 4 5 7 9 13 17 24 32 44 116 # Maximal entry: 49543 # Layer 12 of the lower central series has 12 generators # with the following exponents: 2 2 2 2 2 2 2 0 3 5 5 5 # # Calculating the class 13 quotient ... ## Sizes: 2 3 4 5 7 9 13 17 24 32 44 56 151 # Maximal entry: 354578066099075971 # Layer 13 of the lower central series has 15 generators # with the following exponents: 2 2 2 2 2 2 2 2 2 50 0 5 5 5 5 # # Calculating the class 14 quotient ... ## Sizes: 2 3 4 5 7 9 13 17 24 32 44 56 71 195 # Maximal entry: 18016251070704972763000910264382716 # Layer 14 of the lower central series has 13 generators # with the following exponents: 2 2 2 2 2 2 2 2 100 5 5 5 5 # # Calculating the class 15 quotient ... ## Sizes: 2 3 4 5 7 9 13 17 24 32 44 56 71 84 234 # Maximal entry: 10361281856067876516354131477 # Layer 15 of the lower central series has 14 generators # with the following exponents: 2 2 2 2 2 2 2 2 100 5 5 5 5 5 # # Calculating the class 16 quotient ... ## Sizes: 2 3 4 5 7 9 13 17 24 32 44 56 71 84 98 276 # Maximal entry: 41339256380668970446092068342075740599349 # Layer 16 of the lower central series has 11 generators # with the following exponents: 2 2 2 2 2 2 2 100 5 5 5 # # Calculating the class 17 quotient ... ## Sizes: 2 3 4 5 7 9 13 17 24 32 44 56 71 84 98 109 309 # Maximal entry: 21480461043909098186341983695251485287273 # Layer 17 of the lower central series has 11 generators # with the following exponents: 2 2 2 2 2 2 2 25 25 5 5 # # Calculating the class 18 quotient ... ## Sizes: 2 3 4 5 7 9 13 17 24 32 44 56 71 84 98 109 120 342 # Maximal entry: 3761929186163522007005391901218721341707 # Layer 18 of the lower central series has 7 generators # with the following exponents: 2 2 2 2 2 2 5 # # The epimorphism : # e1 |---> A # e2 |---> B # The nilpotent quotient : # Class : 18 # Nr of generators of each class : 2 1 1 1 2 2 4 4 7 8 12 12 15 13 14 11 11 7 # The definitions: # C := [ B, A ] # D := [ B, A, B ] # E := [ B, A, B, B ] # F := [ B, A, B, B, A ] # G := [ B, A, B, B, B ] # H := [ B, A, B, B, A, B ] # I := [ B, A, B, B, B, A ] # J := [ B, A, B, B, A, B, A ] # K := [ B, A, B, B, A, B, B ] # L := [ B, A, B, B, B, A, A ] # M := [ B, A, B, B, B, A, B ] # N := [ B, A, B, B, A, B, A, B ] # O := [ B, A, B, B, A, B, B, A ] # P := [ B, A, B, B, B, A, B, A ] # Q := [ B, A, B, B, B, A, B, B ] # R := [ B, A, B, B, A, B, A, B, A ] # S := [ B, A, B, B, A, B, A, B, B ] # T := [ B, A, B, B, A, B, B, A, B ] # U := [ B, A, B, B, B, A, B, A, A ] # V := [ B, A, B, B, B, A, B, A, B ] # W := [ B, A, B, B, B, A, B, B, A ] # X := [ B, A, B, B, B, A, B, B, B ] # Y := [ B, A, B, B, A, B, A, B, A, B ] # Z := [ B, A, B, B, A, B, A, B, B, B ] # A1 := [ B, A, B, B, A, B, B, A, B, A ] # B1 := [ B, A, B, B, A, B, B, A, B, B ] # C1 := [ B, A, B, B, B, A, B, A, B, A ] # D1 := [ B, A, B, B, B, A, B, A, B, B ] # E1 := [ B, A, B, B, B, A, B, B, A, B ] # F1 := [ B, A, B, B, B, A, B, B, B, A ] # G1 := [ B, A, B, B, A, B, A, B, A, B, A ] # H1 := [ B, A, B, B, A, B, A, B, A, B, B ] # I1 := [ B, A, B, B, A, B, A, B, B, B, A ] # J1 := [ B, A, B, B, A, B, B, A, B, A, B ] # K1 := [ B, A, B, B, A, B, B, A, B, B, A ] # L1 := [ B, A, B, B, A, B, B, A, B, B, B ] # M1 := [ B, A, B, B, B, A, B, A, B, A, B ] # N1 := [ B, A, B, B, B, A, B, A, B, B, A ] # O1 := [ B, A, B, B, B, A, B, A, B, B, B ] # P1 := [ B, A, B, B, B, A, B, B, A, B, B ] # Q1 := [ B, A, B, B, B, A, B, B, B, A, A ] # R1 := [ B, A, B, B, B, A, B, B, B, A, B ] # S1 := [ B, A, B, B, A, B, A, B, A, B, A, B ] # T1 := [ B, A, B, B, A, B, A, B, B, B, A, B ] # U1 := [ B, A, B, B, A, B, B, A, B, A, B, A ] # V1 := [ B, A, B, B, A, B, B, A, B, A, B, B ] # W1 := [ B, A, B, B, A, B, B, A, B, B, A, B ] # X1 := [ B, A, B, B, A, B, B, A, B, B, B, A ] # Y1 := [ B, A, B, B, B, A, B, A, B, B, A, B ] # Z1 := [ B, A, B, B, B, A, B, A, B, B, B, A ] # A2 := [ B, A, B, B, B, A, B, A, B, B, B, B ] # B2 := [ B, A, B, B, B, A, B, B, A, B, B, A ] # C2 := [ B, A, B, B, B, A, B, B, B, A, B, A ] # D2 := [ B, A, B, B, B, A, B, B, B, A, B, B ] # E2 := [ B, A, B, B, A, B, A, B, A, B, A, B, A ] # F2 := [ B, A, B, B, A, B, A, B, A, B, A, B, B ] # G2 := [ B, A, B, B, A, B, A, B, B, B, A, B, A ] # H2 := [ B, A, B, B, A, B, A, B, B, B, A, B, B ] # I2 := [ B, A, B, B, A, B, B, A, B, B, A, B, A ] # J2 := [ B, A, B, B, A, B, B, A, B, B, A, B, B ] # K2 := [ B, A, B, B, A, B, B, A, B, B, B, A, B ] # L2 := [ B, A, B, B, B, A, B, A, B, B, A, B, A ] # M2 := [ B, A, B, B, B, A, B, A, B, B, A, B, B ] # N2 := [ B, A, B, B, B, A, B, A, B, B, B, A, A ] # O2 := [ B, A, B, B, B, A, B, A, B, B, B, A, B ] # P2 := [ B, A, B, B, B, A, B, B, A, B, B, A, B ] # Q2 := [ B, A, B, B, B, A, B, B, B, A, B, A, B ] # R2 := [ B, A, B, B, B, A, B, B, B, A, B, B, A ] # S2 := [ B, A, B, B, B, A, B, B, B, A, B, B, B ] # T2 := [ B, A, B, B, A, B, A, B, A, B, A, B, A, B ] # U2 := [ B, A, B, B, A, B, A, B, A, B, A, B, B, B ] # V2 := [ B, A, B, B, A, B, A, B, B, B, A, B, A, B ] # W2 := [ B, A, B, B, A, B, A, B, B, B, A, B, B, B ] # X2 := [ B, A, B, B, A, B, B, A, B, B, A, B, B, A ] # Y2 := [ B, A, B, B, A, B, B, A, B, B, B, A, B, A ] # Z2 := [ B, A, B, B, A, B, B, A, B, B, B, A, B, B ] # A3 := [ B, A, B, B, B, A, B, A, B, B, A, B, B, A ] # B3 := [ B, A, B, B, B, A, B, A, B, B, B, A, B, A ] # C3 := [ B, A, B, B, B, A, B, B, B, A, B, A, B, B ] # D3 := [ B, A, B, B, B, A, B, B, B, A, B, B, A, A ] # E3 := [ B, A, B, B, B, A, B, B, B, A, B, B, A, B ] # F3 := [ B, A, B, B, B, A, B, B, B, A, B, B, B, A ] # G3 := [ B, A, B, B, A, B, A, B, A, B, A, B, A, B, A ] # H3 := [ B, A, B, B, A, B, A, B, A, B, A, B, B, B, A ] # I3 := [ B, A, B, B, A, B, A, B, B, B, A, B, A, B, A ] # J3 := [ B, A, B, B, A, B, A, B, B, B, A, B, A, B, B ] # K3 := [ B, A, B, B, A, B, B, A, B, B, A, B, B, A, B ] # L3 := [ B, A, B, B, A, B, B, A, B, B, B, A, B, A, B ] # M3 := [ B, A, B, B, A, B, B, A, B, B, B, A, B, B, B ] # N3 := [ B, A, B, B, B, A, B, A, B, B, A, B, B, A, B ] # O3 := [ B, A, B, B, B, A, B, A, B, B, B, A, B, A, B ] # P3 := [ B, A, B, B, B, A, B, B, B, A, B, A, B, B, B ] # Q3 := [ B, A, B, B, B, A, B, B, B, A, B, B, A, B, A ] # R3 := [ B, A, B, B, B, A, B, B, B, A, B, B, A, B, B ] # S3 := [ B, A, B, B, B, A, B, B, B, A, B, B, B, A, A ] # T3 := [ B, A, B, B, B, A, B, B, B, A, B, B, B, A, B ] # U3 := [ B, A, B, B, A, B, A, B, A, B, A, B, A, B, A, B ] # V3 := [ B, A, B, B, A, B, A, B, A, B, A, B, B, B, A, B ] # W3 := [ B, A, B, B, A, B, A, B, B, B, A, B, A, B, A, B ] # X3 := [ B, A, B, B, A, B, A, B, B, B, A, B, A, B, B, B ] # Y3 := [ B, A, B, B, A, B, B, A, B, B, A, B, B, A, B, B ] # Z3 := [ B, A, B, B, A, B, B, A, B, B, B, A, B, A, B, B ] # A4 := [ B, A, B, B, B, A, B, A, B, B, A, B, B, A, B, B ] # B4 := [ B, A, B, B, B, A, B, A, B, B, B, A, B, A, B, B ] # C4 := [ B, A, B, B, B, A, B, B, B, A, B, A, B, B, B, A ] # D4 := [ B, A, B, B, B, A, B, B, B, A, B, B, A, B, B, B ] # E4 := [ B, A, B, B, B, A, B, B, B, A, B, B, B, A, B, A ] # F4 := [ B, A, B, B, A, B, A, B, A, B, A, B, A, B, A, B, A ] # G4 := [ B, A, B, B, A, B, A, B, A, B, A, B, A, B, A, B, B ] # H4 := [ B, A, B, B, A, B, A, B, A, B, A, B, B, B, A, B, A ] # I4 := [ B, A, B, B, A, B, A, B, B, B, A, B, A, B, A, B, A ] # J4 := [ B, A, B, B, A, B, A, B, B, B, A, B, A, B, A, B, B ] # K4 := [ B, A, B, B, A, B, A, B, B, B, A, B, A, B, B, B, A ] # L4 := [ B, A, B, B, A, B, B, A, B, B, B, A, B, A, B, B, B ] # M4 := [ B, A, B, B, B, A, B, A, B, B, B, A, B, A, B, B, A ] # N4 := [ B, A, B, B, B, A, B, A, B, B, B, A, B, A, B, B, B ] # O4 := [ B, A, B, B, B, A, B, B, B, A, B, B, A, B, B, B, A ] # P4 := [ B, A, B, B, B, A, B, B, B, A, B, B, B, A, B, A, B ] # Q4 := [ B, A, B, B, A, B, A, B, A, B, A, B, A, B, A, B, A, B ] # R4 := [ B, A, B, B, A, B, A, B, A, B, A, B, A, B, A, B, B, B ] # S4 := [ B, A, B, B, A, B, A, B, A, B, A, B, B, B, A, B, A, B ] # T4 := [ B, A, B, B, A, B, A, B, B, B, A, B, A, B, A, B, A, B ] # U4 := [ B, A, B, B, A, B, A, B, B, B, A, B, A, B, A, B, B, B ] # V4 := [ B, A, B, B, A, B, A, B, B, B, A, B, A, B, B, B, A, B ] # W4 := [ B, A, B, B, B, A, B, A, B, B, B, A, B, A, B, B, B, A ] nq-2.5.11/examples/G5.out000644 000766 000024 00000270775 14550113041 015343 0ustar00mhornstaff000000 000000 # # Calculating a nilpotent quotient # Nilpotency class: 12 # Size of exponents: 8 bytes # # Calculating the abelian quotient ... # The abelian quotient has 3 generators # with the following exponents: 0 0 0 # # Calculating the class 2 quotient ... ## Sizes: 3 6 # Maximal entry: 0 # Layer 2 of the lower central series has 2 generators # with the following exponents: 0 0 # # Calculating the class 3 quotient ... ## Sizes: 3 5 12 # Maximal entry: 0 # Layer 3 of the lower central series has 3 generators # with the following exponents: 0 0 0 # # Calculating the class 4 quotient ... ## Sizes: 3 5 8 21 # Maximal entry: 0 # Layer 4 of the lower central series has 3 generators # with the following exponents: 0 2 0 # # Calculating the class 5 quotient ... ## Sizes: 3 5 8 11 31 # Maximal entry: 3 # Layer 5 of the lower central series has 4 generators # with the following exponents: 0 2 0 3 # # Calculating the class 6 quotient ... ## Sizes: 3 5 8 11 15 45 # Maximal entry: 4 # Layer 6 of the lower central series has 7 generators # with the following exponents: 3 2 2 0 0 3 3 # # Calculating the class 7 quotient ... ## Sizes: 3 5 8 11 15 22 71 # Maximal entry: 7 # Layer 7 of the lower central series has 11 generators # with the following exponents: 3 2 2 2 2 0 0 3 3 3 3 # # Calculating the class 8 quotient ... ## Sizes: 3 5 8 11 15 22 33 113 # Maximal entry: 26 # Layer 8 of the lower central series has 12 generators # with the following exponents: 3 2 2 2 2 2 0 3 3 3 3 3 # # Calculating the class 9 quotient ... ## Sizes: 3 5 8 11 15 22 33 45 160 # Maximal entry: 2464 # Layer 9 of the lower central series has 14 generators # with the following exponents: 3 3 2 2 2 5 0 3 3 3 3 3 3 3 # # Calculating the class 10 quotient ... ## Sizes: 3 5 8 11 15 22 33 45 59 215 # Maximal entry: 7777938 # Layer 10 of the lower central series has 18 generators # with the following exponents: 3 3 2 2 2 5 3 3 3 3 3 3 3 3 3 3 3 3 # # Calculating the class 11 quotient ... ## Sizes: 3 5 8 11 15 22 33 45 59 77 287 # Maximal entry: 1904243 # Layer 11 of the lower central series has 22 generators # with the following exponents: 3 3 3 2 2 2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 # # Calculating the class 12 quotient ... ## Sizes: 3 5 8 11 15 22 33 45 59 77 99 375 # Maximal entry: 76633486 # Layer 12 of the lower central series has 26 generators # with the following exponents: 3 3 3 2 2 2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 # # The epimorphism : # e1 |---> A # e2 |---> B # e3 |---> C # The nilpotent quotient : # Class : 12 # Nr of generators of each class : 3 2 3 3 4 7 11 12 14 18 22 26 # The definitions: # D := [ B, A ] # E := [ C, B ] # F := [ B, A, A ] # G := [ C, B, A ] # H := [ C, B, B ] # I := [ C, B, A, A ] # J := [ C, B, A, B ] # K := [ C, B, B, A ] # L := [ C, B, A, A, B ] # M := [ C, B, A, B, A ] # N := [ C, B, B, A, A ] # O := [ C, B, B, A, B ] # P := [ C, B, A, A, B, A ] # Q := [ C, B, A, B, A, A ] # R := [ C, B, A, B, A, B ] # S := [ C, B, B, A, A, A ] # T := [ C, B, B, A, A, B ] # U := [ C, B, B, A, B, A ] # V := [ C, B, B, A, B, C ] # W := [ C, B, A, A, B, A, A ] # X := [ C, B, A, B, A, A, A ] # Y := [ C, B, A, B, A, A, B ] # Z := [ C, B, A, B, A, B, A ] # A1 := [ C, B, A, B, A, B, C ] # B1 := [ C, B, B, A, A, A, A ] # C1 := [ C, B, B, A, A, B, A ] # D1 := [ C, B, B, A, B, A, A ] # E1 := [ C, B, B, A, B, A, B ] # F1 := [ C, B, B, A, B, C, A ] # G1 := [ C, B, B, A, B, C, B ] # H1 := [ C, B, A, A, B, A, A, B ] # I1 := [ C, B, A, B, A, A, B, A ] # J1 := [ C, B, A, B, A, A, B, C ] # K1 := [ C, B, A, B, A, B, A, A ] # L1 := [ C, B, A, B, A, B, A, B ] # M1 := [ C, B, A, B, A, B, C, A ] # N1 := [ C, B, B, A, A, B, A, A ] # O1 := [ C, B, B, A, B, A, A, A ] # P1 := [ C, B, B, A, B, A, B, A ] # Q1 := [ C, B, B, A, B, C, A, B ] # R1 := [ C, B, B, A, B, C, B, A ] # S1 := [ C, B, B, A, B, C, B, B ] # T1 := [ C, B, A, A, B, A, A, B, A ] # U1 := [ C, B, A, A, B, A, A, B, C ] # V1 := [ C, B, A, B, A, A, B, A, A ] # W1 := [ C, B, A, B, A, A, B, C, B ] # X1 := [ C, B, A, B, A, B, A, A, B ] # Y1 := [ C, B, B, A, A, B, A, A, A ] # Z1 := [ C, B, B, A, A, B, A, A, B ] # A2 := [ C, B, B, A, B, A, A, A, A ] # B2 := [ C, B, B, A, B, A, B, A, A ] # C2 := [ C, B, B, A, B, C, A, B, A ] # D2 := [ C, B, B, A, B, C, B, A, A ] # E2 := [ C, B, B, A, B, C, B, A, B ] # F2 := [ C, B, B, A, B, C, B, B, A ] # G2 := [ C, B, B, A, B, C, B, B, C ] # H2 := [ C, B, A, A, B, A, A, B, A, A ] # I2 := [ C, B, A, A, B, A, A, B, C, A ] # J2 := [ C, B, A, B, A, A, B, A, A, A ] # K2 := [ C, B, A, B, A, A, B, A, A, B ] # L2 := [ C, B, A, B, A, A, B, C, B, A ] # M2 := [ C, B, B, A, A, B, A, A, A, A ] # N2 := [ C, B, B, A, A, B, A, A, B, A ] # O2 := [ C, B, B, A, A, B, A, A, B, C ] # P2 := [ C, B, B, A, B, A, A, A, A, A ] # Q2 := [ C, B, B, A, B, A, B, A, A, A ] # R2 := [ C, B, B, A, B, A, B, A, A, B ] # S2 := [ C, B, B, A, B, C, A, B, A, A ] # T2 := [ C, B, B, A, B, C, B, A, A, B ] # U2 := [ C, B, B, A, B, C, B, A, B, A ] # V2 := [ C, B, B, A, B, C, B, B, A, A ] # W2 := [ C, B, B, A, B, C, B, B, A, B ] # X2 := [ C, B, B, A, B, C, B, B, C, A ] # Y2 := [ C, B, B, A, B, C, B, B, C, B ] # Z2 := [ C, B, A, A, B, A, A, B, A, A, B ] # A3 := [ C, B, A, A, B, A, A, B, C, A, A ] # B3 := [ C, B, A, A, B, A, A, B, C, A, B ] # C3 := [ C, B, A, B, A, A, B, A, A, B, A ] # D3 := [ C, B, A, B, A, A, B, C, B, A, A ] # E3 := [ C, B, A, B, A, A, B, C, B, A, B ] # F3 := [ C, B, B, A, A, B, A, A, B, A, A ] # G3 := [ C, B, B, A, A, B, A, A, B, C, A ] # H3 := [ C, B, B, A, A, B, A, A, B, C, B ] # I3 := [ C, B, B, A, B, A, B, A, A, A, A ] # J3 := [ C, B, B, A, B, A, B, A, A, B, A ] # K3 := [ C, B, B, A, B, A, B, A, A, B, C ] # L3 := [ C, B, B, A, B, C, A, B, A, A, B ] # M3 := [ C, B, B, A, B, C, B, A, A, B, A ] # N3 := [ C, B, B, A, B, C, B, A, B, A, A ] # O3 := [ C, B, B, A, B, C, B, A, B, A, B ] # P3 := [ C, B, B, A, B, C, B, B, A, A, B ] # Q3 := [ C, B, B, A, B, C, B, B, A, B, A ] # R3 := [ C, B, B, A, B, C, B, B, A, B, C ] # S3 := [ C, B, B, A, B, C, B, B, C, A, B ] # T3 := [ C, B, B, A, B, C, B, B, C, B, A ] # U3 := [ C, B, B, A, B, C, B, B, C, B, B ] # V3 := [ C, B, A, A, B, A, A, B, A, A, B, A ] # W3 := [ C, B, A, A, B, A, A, B, C, A, A, B ] # X3 := [ C, B, A, A, B, A, A, B, C, A, B, A ] # Y3 := [ C, B, A, B, A, A, B, A, A, B, A, A ] # Z3 := [ C, B, A, B, A, A, B, C, B, A, B, A ] # A4 := [ C, B, A, B, A, A, B, C, B, A, B, C ] # B4 := [ C, B, B, A, A, B, A, A, B, C, A, A ] # C4 := [ C, B, B, A, A, B, A, A, B, C, A, B ] # D4 := [ C, B, B, A, A, B, A, A, B, C, B, A ] # E4 := [ C, B, B, A, B, A, B, A, A, B, A, A ] # F4 := [ C, B, B, A, B, A, B, A, A, B, C, A ] # G4 := [ C, B, B, A, B, A, B, A, A, B, C, B ] # H4 := [ C, B, B, A, B, C, A, B, A, A, B, A ] # I4 := [ C, B, B, A, B, C, A, B, A, A, B, C ] # J4 := [ C, B, B, A, B, C, B, A, A, B, A, A ] # K4 := [ C, B, B, A, B, C, B, A, B, A, A, B ] # L4 := [ C, B, B, A, B, C, B, B, A, A, B, A ] # M4 := [ C, B, B, A, B, C, B, B, A, A, B, C ] # N4 := [ C, B, B, A, B, C, B, B, A, B, A, A ] # O4 := [ C, B, B, A, B, C, B, B, A, B, A, B ] # P4 := [ C, B, B, A, B, C, B, B, A, B, C, A ] # Q4 := [ C, B, B, A, B, C, B, B, A, B, C, B ] # R4 := [ C, B, B, A, B, C, B, B, C, A, B, A ] # S4 := [ C, B, B, A, B, C, B, B, C, B, A, B ] # T4 := [ C, B, B, A, B, C, B, B, C, B, B, A ] # U4 := [ C, B, B, A, B, C, B, B, C, B, B, C ] nq-2.5.11/examples/G4.out000644 000766 000024 00000263015 14550113041 015327 0ustar00mhornstaff000000 000000 # # Calculating a nilpotent quotient # Nilpotency class: 12 # Size of exponents: 8 bytes # # Calculating the abelian quotient ... # The abelian quotient has 4 generators # with the following exponents: 0 0 0 0 # # Calculating the class 2 quotient ... ## Sizes: 4 10 # Maximal entry: 0 # Layer 2 of the lower central series has 3 generators # with the following exponents: 0 0 0 # # Calculating the class 3 quotient ... ## Sizes: 4 7 22 # Maximal entry: 0 # Layer 3 of the lower central series has 3 generators # with the following exponents: 0 0 0 # # Calculating the class 4 quotient ... ## Sizes: 4 7 10 34 # Maximal entry: 0 # Layer 4 of the lower central series has 3 generators # with the following exponents: 0 0 0 # # Calculating the class 5 quotient ... ## Sizes: 4 7 10 13 46 # Maximal entry: 2 # Layer 5 of the lower central series has 4 generators # with the following exponents: 0 2 3 0 # # Calculating the class 6 quotient ... ## Sizes: 4 7 10 13 17 64 # Maximal entry: 6 # Layer 6 of the lower central series has 6 generators # with the following exponents: 2 2 3 3 0 6 # # Calculating the class 7 quotient ... ## Sizes: 4 7 10 13 17 23 93 # Maximal entry: 14 # Layer 7 of the lower central series has 9 generators # with the following exponents: 2 2 2 3 3 6 2 3 6 # # Calculating the class 8 quotient ... ## Sizes: 4 7 10 13 17 23 32 138 # Maximal entry: 36 # Layer 8 of the lower central series has 13 generators # with the following exponents: 2 2 2 2 3 3 3 2 2 3 3 6 2 # # Calculating the class 9 quotient ... ## Sizes: 4 7 10 13 17 23 32 45 203 # Maximal entry: 2019 # Layer 9 of the lower central series has 16 generators # with the following exponents: 2 2 2 2 2 3 3 3 2 2 2 3 3 3 2 2 # # Calculating the class 10 quotient ... ## Sizes: 4 7 10 13 17 23 32 45 61 283 # Maximal entry: 22320 # Layer 10 of the lower central series has 21 generators # with the following exponents: 2 2 2 2 2 2 2 3 3 3 2 2 2 2 3 3 3 3 3 2 2 # # Calculating the class 11 quotient ... ## Sizes: 4 7 10 13 17 23 32 45 61 82 388 # Maximal entry: 9921 # Layer 11 of the lower central series has 28 generators # with the following exponents: 2 2 2 2 2 2 2 2 2 3 3 3 3 2 2 2 2 2 3 3 3 3 3 3 3 2 2 2 # # Calculating the class 12 quotient ... ## Sizes: 4 7 10 13 17 23 32 45 61 82 110 528 # Maximal entry: 9093 # Layer 12 of the lower central series has 36 generators # with the following exponents: 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 2 2 2 # # The epimorphism : # e1 |---> A # e2 |---> B # e3 |---> C # e4 |---> D # The nilpotent quotient : # Class : 12 # Nr of generators of each class : 4 3 3 3 4 6 9 13 16 21 28 36 # The definitions: # E := [ B, A ] # F := [ C, B ] # G := [ D, C ] # H := [ C, B, A ] # I := [ C, B, C ] # J := [ D, C, B ] # K := [ C, B, C, A ] # L := [ D, C, B, A ] # M := [ D, C, B, C ] # N := [ D, C, B, C, A ] # O := [ D, C, B, C, B ] # P := [ D, C, B, C, C ] # Q := [ D, C, B, C, D ] # R := [ D, C, B, C, A, B ] # S := [ D, C, B, C, B, C ] # T := [ D, C, B, C, C, A ] # U := [ D, C, B, C, C, B ] # V := [ D, C, B, C, D, A ] # W := [ D, C, B, C, D, C ] # X := [ D, C, B, C, A, B, A ] # Y := [ D, C, B, C, A, B, C ] # Z := [ D, C, B, C, B, C, B ] # A1 := [ D, C, B, C, C, B, A ] # B1 := [ D, C, B, C, C, B, C ] # C1 := [ D, C, B, C, D, C, A ] # D1 := [ D, C, B, C, D, C, B ] # E1 := [ D, C, B, C, D, C, C ] # F1 := [ D, C, B, C, D, C, D ] # G1 := [ D, C, B, C, A, B, C, A ] # H1 := [ D, C, B, C, A, B, C, D ] # I1 := [ D, C, B, C, B, C, B, A ] # J1 := [ D, C, B, C, B, C, B, C ] # K1 := [ D, C, B, C, C, B, A, A ] # L1 := [ D, C, B, C, C, B, C, A ] # M1 := [ D, C, B, C, C, B, C, C ] # N1 := [ D, C, B, C, D, C, A, B ] # O1 := [ D, C, B, C, D, C, B, C ] # P1 := [ D, C, B, C, D, C, C, A ] # Q1 := [ D, C, B, C, D, C, C, B ] # R1 := [ D, C, B, C, D, C, D, A ] # S1 := [ D, C, B, C, D, C, D, C ] # T1 := [ D, C, B, C, A, B, C, A, B ] # U1 := [ D, C, B, C, A, B, C, D, C ] # V1 := [ D, C, B, C, B, C, B, C, A ] # W1 := [ D, C, B, C, B, C, B, C, B ] # X1 := [ D, C, B, C, B, C, B, C, D ] # Y1 := [ D, C, B, C, C, B, C, A, A ] # Z1 := [ D, C, B, C, C, B, C, C, A ] # A2 := [ D, C, B, C, C, B, C, C, B ] # B2 := [ D, C, B, C, D, C, A, B, A ] # C2 := [ D, C, B, C, D, C, A, B, C ] # D2 := [ D, C, B, C, D, C, B, C, B ] # E2 := [ D, C, B, C, D, C, C, A, B ] # F2 := [ D, C, B, C, D, C, C, B, A ] # G2 := [ D, C, B, C, D, C, C, B, C ] # H2 := [ D, C, B, C, D, C, D, C, A ] # I2 := [ D, C, B, C, D, C, D, C, D ] # J2 := [ D, C, B, C, A, B, C, A, B, A ] # K2 := [ D, C, B, C, A, B, C, A, B, C ] # L2 := [ D, C, B, C, A, B, C, D, C, B ] # M2 := [ D, C, B, C, B, C, B, C, A, B ] # N2 := [ D, C, B, C, B, C, B, C, B, C ] # O2 := [ D, C, B, C, B, C, B, C, D, A ] # P2 := [ D, C, B, C, B, C, B, C, D, C ] # Q2 := [ D, C, B, C, C, B, C, C, A, A ] # R2 := [ D, C, B, C, C, B, C, C, A, B ] # S2 := [ D, C, B, C, C, B, C, C, B, C ] # T2 := [ D, C, B, C, D, C, A, B, C, A ] # U2 := [ D, C, B, C, D, C, A, B, C, D ] # V2 := [ D, C, B, C, D, C, B, C, B, A ] # W2 := [ D, C, B, C, D, C, B, C, B, C ] # X2 := [ D, C, B, C, D, C, C, A, B, C ] # Y2 := [ D, C, B, C, D, C, C, B, A, A ] # Z2 := [ D, C, B, C, D, C, C, B, C, A ] # A3 := [ D, C, B, C, D, C, C, B, C, C ] # B3 := [ D, C, B, C, D, C, C, B, C, D ] # C3 := [ D, C, B, C, D, C, D, C, A, B ] # D3 := [ D, C, B, C, D, C, D, C, D, C ] # E3 := [ D, C, B, C, A, B, C, A, B, C, A ] # F3 := [ D, C, B, C, A, B, C, A, B, C, D ] # G3 := [ D, C, B, C, A, B, C, D, C, B, A ] # H3 := [ D, C, B, C, A, B, C, D, C, B, C ] # I3 := [ D, C, B, C, B, C, B, C, A, B, A ] # J3 := [ D, C, B, C, B, C, B, C, A, B, C ] # K3 := [ D, C, B, C, B, C, B, C, B, C, B ] # L3 := [ D, C, B, C, B, C, B, C, D, C, A ] # M3 := [ D, C, B, C, B, C, B, C, D, C, B ] # N3 := [ D, C, B, C, C, B, C, C, A, B, A ] # O3 := [ D, C, B, C, C, B, C, C, A, B, C ] # P3 := [ D, C, B, C, C, B, C, C, B, C, C ] # Q3 := [ D, C, B, C, C, B, C, C, B, C, D ] # R3 := [ D, C, B, C, D, C, A, B, C, A, B ] # S3 := [ D, C, B, C, D, C, A, B, C, D, C ] # T3 := [ D, C, B, C, D, C, B, C, B, C, A ] # U3 := [ D, C, B, C, D, C, B, C, B, C, B ] # V3 := [ D, C, B, C, D, C, B, C, B, C, D ] # W3 := [ D, C, B, C, D, C, C, A, B, C, C ] # X3 := [ D, C, B, C, D, C, C, A, B, C, D ] # Y3 := [ D, C, B, C, D, C, C, B, C, A, A ] # Z3 := [ D, C, B, C, D, C, C, B, C, C, A ] # A4 := [ D, C, B, C, D, C, C, B, C, C, B ] # B4 := [ D, C, B, C, D, C, C, B, C, D, A ] # C4 := [ D, C, B, C, D, C, C, B, C, D, C ] # D4 := [ D, C, B, C, D, C, D, C, A, B, A ] # E4 := [ D, C, B, C, D, C, D, C, A, B, C ] # F4 := [ D, C, B, C, D, C, D, C, D, C, D ] # G4 := [ D, C, B, C, A, B, C, A, B, C, A, B ] # H4 := [ D, C, B, C, A, B, C, A, B, C, D, A ] # I4 := [ D, C, B, C, A, B, C, A, B, C, D, C ] # J4 := [ D, C, B, C, A, B, C, D, C, B, C, A ] # K4 := [ D, C, B, C, A, B, C, D, C, B, C, D ] # L4 := [ D, C, B, C, B, C, B, C, A, B, C, A ] # M4 := [ D, C, B, C, B, C, B, C, A, B, C, D ] # N4 := [ D, C, B, C, B, C, B, C, B, C, B, A ] # O4 := [ D, C, B, C, B, C, B, C, B, C, B, C ] # P4 := [ D, C, B, C, B, C, B, C, D, C, A, B ] # Q4 := [ D, C, B, C, B, C, B, C, D, C, B, A ] # R4 := [ D, C, B, C, B, C, B, C, D, C, B, C ] # S4 := [ D, C, B, C, C, B, C, C, A, B, A, A ] # T4 := [ D, C, B, C, C, B, C, C, A, B, C, A ] # U4 := [ D, C, B, C, C, B, C, C, A, B, C, C ] # V4 := [ D, C, B, C, C, B, C, C, A, B, C, D ] # W4 := [ D, C, B, C, C, B, C, C, B, C, C, B ] # X4 := [ D, C, B, C, C, B, C, C, B, C, D, C ] # Y4 := [ D, C, B, C, D, C, A, B, C, A, B, A ] # Z4 := [ D, C, B, C, D, C, A, B, C, A, B, C ] # A5 := [ D, C, B, C, D, C, A, B, C, D, C, B ] # B5 := [ D, C, B, C, D, C, B, C, B, C, A, B ] # C5 := [ D, C, B, C, D, C, B, C, B, C, B, C ] # D5 := [ D, C, B, C, D, C, B, C, B, C, D, A ] # E5 := [ D, C, B, C, D, C, B, C, B, C, D, C ] # F5 := [ D, C, B, C, D, C, C, A, B, C, D, C ] # G5 := [ D, C, B, C, D, C, C, B, C, C, A, A ] # H5 := [ D, C, B, C, D, C, C, B, C, C, A, B ] # I5 := [ D, C, B, C, D, C, C, B, C, C, B, A ] # J5 := [ D, C, B, C, D, C, C, B, C, C, B, C ] # K5 := [ D, C, B, C, D, C, C, B, C, D, A, A ] # L5 := [ D, C, B, C, D, C, C, B, C, D, C, A ] # M5 := [ D, C, B, C, D, C, C, B, C, D, C, C ] # N5 := [ D, C, B, C, D, C, D, C, A, B, C, A ] # O5 := [ D, C, B, C, D, C, D, C, A, B, C, D ] # P5 := [ D, C, B, C, D, C, D, C, D, C, D, C ] nq-2.5.11/examples/G1000644 000766 000024 00000000312 14550113041 014503 0ustar00mhornstaff000000 000000 # # Cartan matrix: # # [ 2, -1 ] # [ -4, 2 ] # < e1, e2 | [ e2, e1, e1 ], [ e1, e2, e2, e2, e2, e2 ], # additional relation: [ e2, e1, e2, e2, e2, e1, e2, e2, e1, e1 ] > nq-2.5.11/examples/G2000644 000766 000024 00000000174 14550113041 014512 0ustar00mhornstaff000000 000000 # # Cartan matrix: # # [ 2, -1 ] # [ -3, 2 ] # < e1, e2 | [ e2, e1, e1 ], [ e1, e2, e2, e2, e2 ] > nq-2.5.11/examples/G5000644 000766 000024 00000000414 14550113041 014512 0ustar00mhornstaff000000 000000 # # Cartan matrix: # # [ 2, -2, 0 ] # [ -1, 2, -2 ] # [ 0, -1, 2 ] # < e1, e2, e3 | [ e2, e1, e1, e1 ], [ e1, e2, e2 ], [ e3, e1 ], [ e3, e2, e2, e2 ], [ e2, e3, e3 ], # additional relation: [ e3, e2, e1, e2, e3 ] > nq-2.5.11/examples/G4000644 000766 000024 00000000562 14550113041 014515 0ustar00mhornstaff000000 000000 # # Cartan matrix: # # [ 2, -1, 0, 0 ] # [ -1, 2, -1, 0 ] # [ 0, -2, 2, -1 ] # [ 0, 0, -1, 2 ] # < e1, e2, e3, e4 | [ e2, e1, e1 ], [ e1, e2, e2 ], [ e3, e1 ], [ e4, e1 ], [ e3, e2, e2 ], [ e2, e3, e3, e3 ], [ e4, e2 ], [ e4, e3, e3 ], [ e3, e4, e4 ], # additional relation: [ e3, e2, e1, e2 ] > nq-2.5.11/examples/G3000644 000766 000024 00000000315 14550113041 014510 0ustar00mhornstaff000000 000000 # # Cartan matrix: # # [ 2, -1, 0 ] # [ -1, 2, -1 ] # [ 0, -1, 2 ] # < e1, e2, e3 | [ e2, e1, e1 ], [ e1, e2, e2 ], [ e3, e1 ], [ e3, e2, e2 ], [ e2, e3, e3 ] > nq-2.5.11/examples/Makefile.in000644 000766 000024 00000007541 14550113041 016371 0ustar00mhornstaff000000 000000 top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ srcdir = @srcdir@ VPATH = @srcdir@ subdir = examples NQ=../bin/@GAPARCH@/nq -S all: G1.tst G2.tst G3.tst G4.tst G5.tst clean: rm -f G?.tst *~ distclean: clean rm -f G*.old G1.tst: G1 @ echo -n Testing example: $< @ $(NQ) $< 18 | grep -v "Time\|time\|size\|Machine\|Input\|Program\|Version" > $@ @ if diff $<.out $@; then \ echo " ok."; \ rm $@; \ else \ echo " results in an error."; \ echo Please mail the file $@; \ echo " " to mhorn@rptu.de; \ fi G2.tst: G2 @ echo -n Testing example: $< @ $(NQ) $< 11 | grep -v "Time\|time\|size\|Machine\|Input\|Program\|Version" > $@ @ if diff $<.out $@; then \ echo " ok."; \ rm $@; \ else \ echo " results in an error."; \ echo Please mail the file $@; \ echo " " to mhorn@rptu.de; \ fi G3.tst: G3 @ echo -n Testing example: $< @ $(NQ) $< 20 | grep -v "Time\|time\|size\|Machine\|Input\|Program\|Version" > $@ @ if diff $<.out $@; then \ echo " ok."; \ rm $@; \ else \ echo " results in an error."; \ echo Please mail the file $@; \ echo " " to mhorn@rptu.de; \ fi G4.tst: G4 @ echo -n Testing example: $< @ $(NQ) $< 12 | grep -v "Time\|time\|size\|Machine\|Input\|Program\|Version" > $@ @ if diff $<.out $@; then \ echo " ok."; \ rm $@; \ else \ echo " results in an error."; \ echo Please mail the file $@; \ echo " " to mhorn@rptu.de; \ fi G5.tst: G5 @ echo -n Testing example: $< @ $(NQ) $< 12 | grep -v "Time\|time\|size\|Machine\|Input\|Program\|Version" > $@ @ if diff $<.out $@; then \ echo " ok."; \ rm $@; \ else \ echo " results in an error."; \ echo Please mail the file $@; \ echo " " to mhorn@rptu.de; \ fi # Recreate the comparison output recalibrate: @ for example in G?.[0-9]*; do \ echo making test example `basename $$example`; \ \ class=`echo $$example | awk -F. '{print $$2}'`; \ output=`echo $$example | awk -F. '{print $$1}'`; \ \ mv -f $$output.out $$output.old; \ echo " $(NQ) $$example $$class > $$output.out"; \ $(NQ) $$example $$class \ | grep -v "Time\|time\|size\|Machine\|Input\|Version" > $$output.out;\ done .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ .PHONY: all clean distclean test G1.tst G2.tst G3.tst G4.tst G5.tst recalibrate nq-2.5.11/gap/nq.gd000644 000766 000024 00000002054 14550113041 014201 0ustar00mhornstaff000000 000000 ############################################################################## ## #A nq.gd Oktober 2002 Werner Nickel ## ## This file contains the declaration part of the interface to my NQ program. ## DeclareGlobalFunction( "NqReadOutput" ); DeclareGlobalFunction( "NqStringFpGroup" ); DeclareGlobalFunction( "NqStringExpTrees" ); DeclareGlobalFunction( "NqInitFromTheLeftCollector" ); DeclareGlobalFunction( "NqPcpGroupByCollector" ); DeclareGlobalFunction( "NqPcpGroupByNqOutput" ); DeclareGlobalFunction( "NqPcpElementByWord" ); DeclareGlobalFunction( "NqElementaryDivisors" ); DeclareGlobalFunction( "NqEpimorphismByNqOutput" ); DeclareGlobalFunction( "NilpotentEngelQuotient" ); DeclareGlobalFunction( "LowerCentralFactors" ); DeclareOperation( "NilpotentQuotient", [ IsObject, IsPosInt ] ); DeclareOperation( "NilpotentQuotientIdentical", [ IsObject, IsObject, IsPosInt ] ); DeclareOperation( "NqEpimorphismNilpotentQuotient", [ IsObject, IsPosInt ] ); DeclareInfoClass( "InfoNQ" ); nq-2.5.11/gap/exptree.gi000644 000766 000024 00000022071 14550113041 015245 0ustar00mhornstaff000000 000000 ############################################################################## ## #A exptree.gi Oktober 2002 Werner Nickel ## ## This file contains an implementation of simple arithmetic expression that ## that avoid expanding an expression into a string of symbols. ## ExpTreeNodeTypes := rec( \* := 1, \/ := 2, \^ := 3, \= := 4, Comm := 5, Conj := 6, Variable := 7, Integer := 8 ); NewNode := function( node ) return Objectify( TYPE_EXPR_TREE, node ); end; NewLeaf := function( name ) return NewNode( rec( type := ExpTreeNodeTypes.Variable, left := ~, right := ~, name := name ) ); end; ############################################################################# ## #F ExpressionTrees . . . . . . . . . . . create leaves for expression trees ## ## The function can be called in two different ways: ## ## The first argument is a positive integer: This is the number of ## expression symbols to be created. It can be followed by a strings as an ## optional second argument specifying the prefix for the names of the ## sysmbols. ## ## All arguments are strings: These are interpreted as the name of the ## expression symbols to be created. ## ExpressionTrees := function( arg ) local prefix, m, symbols; prefix := "x"; if Length(arg) = 1 and IsInt( arg[1] ) then m := arg[1]; symbols := List( [1..m], i->Concatenation( prefix, String(i) ) ); elif Length(arg) = 2 and IsInt( arg[1] ) and IsString(arg[2]) then m := arg[1]; prefix := arg[2]; symbols := List( [1..m], i->Concatenation( prefix, String(i) ) ); elif ForAll( arg, IsString ) then symbols := arg; else Error( "Usage: ExpressionTrees( [, ] | )" ); fi; return List( symbols, NewLeaf ); end; NewIntegerLeaf := function( n ) return NewNode( rec( type := ExpTreeNodeTypes.Integer, left := ~, right := ~, value := n ) ); end; InstallMethod( \*, [IsExprTree, IsExprTree], function( l, r ) return NewNode( rec( type := ExpTreeNodeTypes.\*, left := l, right := r ) ); end ); InstallMethod( \/, [IsExprTree, IsExprTree], function( l, r ) return NewNode( rec( type := ExpTreeNodeTypes.\/, left := l, right := r ) ); end ); InstallMethod( \^, [IsExprTree, IsExprTree], function( l, r ) return NewNode( rec( type := ExpTreeNodeTypes.\^, left := l, right := r ) ); end ); InstallMethod( \^, [IsExprTree, IsInt], function( l, r ) return NewNode( rec( type := ExpTreeNodeTypes.\^, left := l, right := NewIntegerLeaf( r ) ) ); end ); InstallMethod( \=, [IsExprTree, IsExprTree], function( l, r ) return NewNode( rec( type := ExpTreeNodeTypes.\=, left := l, right := r ) ); end ); InstallMethod( Comm, [IsExprTree, IsExprTree], function( l, r ) return NewNode( rec( type := ExpTreeNodeTypes.Comm, left := l, right := r ) ); end ); InstallMethod( \<, [IsExprTree, IsExprTree], function( l, r ) if l!.type = ExpTreeNodeTypes.Variable and r!.type = ExpTreeNodeTypes.Variable then return l!.name < r!.name; fi; return fail; end ); ExpTreePrintFunctions := []; ExpTreePrintingLeftNormed := false; ExpTreePrintFunctions[ ExpTreeNodeTypes.\* ] := function( stream, t ) PrintTo( stream, String( t!.left ) ); PrintTo( stream, "*" ); PrintTo( stream, String( t!.right ) ); end; ExpTreePrintFunctions[ ExpTreeNodeTypes.\/ ] := function( stream, t ) PrintTo( stream, String( t!.left ) ); PrintTo( stream, "/" ); if t!.right!.type = ExpTreeNodeTypes.\* then PrintTo( stream, "(", String( t!.right ), ")" ); else PrintTo( stream, String( t!.right ) ); fi; end; ExpTreePrintFunctions[ ExpTreeNodeTypes.\^ ] := function( stream, t ) if t!.left!.type in [ExpTreeNodeTypes.\*, ExpTreeNodeTypes.\/, ExpTreeNodeTypes.\^] then PrintTo( stream, "(", String( t!.left ), ")" ); else PrintTo( stream, String( t!.left ) ); fi; PrintTo( stream, "^" ); if t!.right!.type in [ExpTreeNodeTypes.\*, ExpTreeNodeTypes.\/, ExpTreeNodeTypes.\^] then PrintTo( stream, "(", String( t!.right ), ")" ); else PrintTo( stream, String( t!.right ) ); fi; end; ExpTreePrintFunctions[ ExpTreeNodeTypes.Comm ] := function( stream, t ) local saveFlag; if not ExpTreePrintingLeftNormed then if NqGapOutput then PrintTo( stream, "Comm( " ); else PrintTo( stream, "[ " ); fi; fi; saveFlag := ExpTreePrintingLeftNormed; # ExpTreePrintingLeftNormed := true; PrintTo( stream, String( t!.left ) ); ExpTreePrintingLeftNormed := saveFlag; PrintTo( stream, ", " ); PrintTo( stream, String( t!.right ) ); if not ExpTreePrintingLeftNormed then if NqGapOutput then PrintTo( stream, " )" ); else PrintTo( stream, " ]" ); fi; fi; end; ExpTreePrintFunctions[ ExpTreeNodeTypes.Conj ] := function( stream, t ) if t!.left!.type in [ExpTreeNodeTypes.\*, ExpTreeNodeTypes.\/, ExpTreeNodeTypes.\^ ] then PrintTo( stream, "(", String( t!.left ), ")" ); else PrintTo( stream, String( t!.left ) ); fi; PrintTo( stream, "^" ); if t!.right!.type in [ExpTreeNodeTypes.\*, ExpTreeNodeTypes.\/, ExpTreeNodeTypes.\^ ] then PrintTo( stream, "(", String( t!.right ), ")" ); else PrintTo( stream, String( t!.right ) ); fi; end; ExpTreePrintFunctions[ ExpTreeNodeTypes.\= ] := function( stream, t ) PrintTo( stream, String( t!.left ) ); PrintTo( stream, "=" ); PrintTo( stream, String( t!.right ) ); end; ExpTreePrintFunctions[ ExpTreeNodeTypes.Integer ] := function( stream, t ) PrintTo( stream, String( t!.value ) ); end; ExpTreePrintFunctions[ ExpTreeNodeTypes.Variable ] := function( stream, t ) PrintTo( stream, String( t!.name ) ); end; InstallMethod( PrintObj, [IsExprTree], function( t ) local save; save := NqGapOutput; NqGapOutput := true; Print( String( t ) ); NqGapOutput := save; end ); InstallMethod( Display, [IsExprTree], Print ); InstallMethod( ViewObj, [IsExprTree], Print ); InstallMethod( String, [IsExprTree], function( t ) local string, stream; string := []; stream := OutputTextString( string, false ); ExpTreePrintFunctions[ t!.type ]( stream, t ); return string; end ); ExpTreeEvalFunctions := []; EvalExpTree := function( t ) return ExpTreeEvalFunctions[ t!.type ]( t!.left, t!.right ); end; ExpTreeEvalFunctions[ ExpTreeNodeTypes.\* ] := function( t1, t2 ) return EvalExpTree( t1 ) * EvalExpTree( t2 ); end; ExpTreeEvalFunctions[ ExpTreeNodeTypes.\/ ] := function( t1, t2 ) return EvalExpTree( t1 ) / EvalExpTree( t2 ); end; ExpTreeEvalFunctions[ ExpTreeNodeTypes.\^ ] := function( t1, t2 ) return EvalExpTree( t1 ) ^ EvalExpTree( t2 ); end; ExpTreeEvalFunctions[ ExpTreeNodeTypes.Comm ] := function( t1, t2 ) return Comm( EvalExpTree( t1 ), EvalExpTree( t2 ) ); end; ExpTreeEvalFunctions[ ExpTreeNodeTypes.Conj ] := function( t1, t2 ) return EvalExpTree( t1 ) ^ EvalExpTree( t2 ); end; ExpTreeEvalFunctions[ ExpTreeNodeTypes.\= ] := function( t1, t2 ) return EvalExpTree( t1 ) / EvalExpTree( t2 ); end; ExpTreeEvalFunctions[ ExpTreeNodeTypes.Variable ] := function( t1, t2 ) return t1!.value; end; ExpTreeEvalFunctions[ ExpTreeNodeTypes.Integer ] := function( t1, t2 ) return t1!.value; end; EvaluateExpTree := function( t, leaves, values ) local i, result; for i in [1..Length(leaves)] do leaves[i]!.value := values[i]; od; result := EvalExpTree( t ); for i in [1..Length(leaves)] do Unbind( leaves[i]!.value ); od; return result; end; VariablesOfExpTree := function( t ) if t!.type = ExpTreeNodeTypes.Variable then return [ t ]; elif t!.type = ExpTreeNodeTypes.Integer then return []; else return Union( VariablesOfExpTree( t!.left ), VariablesOfExpTree( t!.right ) ); fi; end; DepthOfExpTree := function( t ) if t!.type = ExpTreeNodeTypes.Variable then return 0; elif t!.type = ExpTreeNodeTypes.Integer then return 0; else return 1 + Maximum( DepthOfExpTree( t!.left ), DepthOfExpTree( t!.right ) ); fi; end; FpGroupExpTree := function( p ) local F, gens, rels; F := FreeGroup( Length( p.generators ) ); gens := GeneratorsOfGroup( F ); rels := List( p.relations, r->EvaluateExpTree( r, p.generators, gens ) ); return F / rels; end; nq-2.5.11/gap/nqpcp.gi000644 000766 000024 00000004461 14550113041 014715 0ustar00mhornstaff000000 000000 ############################################################################## ## #A nqpcp.gi Mai 1999 Werner Nickel ## ## This file contains functions for the interface to the package ## ``polycyclic''. ## ############################################################################# ## #F NqInitFromTheLeftCollector . . . . . . . . . initialise an ftl collector ## InstallGlobalFunction( NqInitFromTheLeftCollector, function( nqrec ) local ftl, g, rel; ftl := FromTheLeftCollector( nqrec.NrGenerators ); for g in [1..nqrec.NrGenerators] do SetRelativeOrder( ftl, g, nqrec.RelativeOrders[ g ] ); od; for rel in nqrec.Powers do SetPower( ftl, rel[1], rel{[2..Length(rel)]} ); od; for rel in nqrec.Conjugates do SetConjugate( ftl, rel[1], rel[2], rel{[3..Length(rel)]} ); od; SetFilterObj( ftl, IsConfluent ); UpdatePolycyclicCollector( ftl ); return ftl; end ); ############################################################################# ## #F NqPcpGroupByCollector . . . . . . . . . pcp group from collector, set lcs ## InstallGlobalFunction( NqPcpGroupByCollector, function( coll, nqrec ) local G, gens, ranks, lcs, a, z, r; G := PcpGroupByCollector( coll ); gens := GeneratorsOfGroup( G ); ranks := nqrec.Ranks; lcs := [ G ]; a := 1; z := nqrec.NrGenerators; for r in ranks do a := a + r; Add( lcs, SubgroupNC( G, gens{[a..z]} ) ); od; G!.LowerCentralFactors := List( nqrec.LowerCentralFactors, NqElementaryDivisors ); SetLowerCentralSeriesOfGroup( G, lcs ); SetIsNilpotentGroup( G, true ); return G; end ); ############################################################################# ## #F NqPcpGroupByNqOutput . . . . . . . . . pcp group from nq output, set lcs ## InstallGlobalFunction( NqPcpGroupByNqOutput, nqrec -> NqPcpGroupByCollector( NqInitFromTheLeftCollector(nqrec), nqrec ) ); ############################################################################# ## #F NqPcpElementByWord . . . . . . pcp element from generator exponent list ## InstallGlobalFunction( "NqPcpElementByWord", function( coll, w ) return PcpElementByGenExpList( coll, w ); end ); nq-2.5.11/gap/nq.gi000644 000766 000024 00000060214 14550113041 014210 0ustar00mhornstaff000000 000000 ############################################################################## ## #A nq.gi Oktober 2002 Werner Nickel ## ## This file contains the interface to my NQ program. ## ############################################################################# ## #V NqRuntime . . . . . . . . . . reports the run time used by the nq program ## ## Initialize the runtime variable. ## BindGlobal( "NqRuntime", 0 ); ############################################################################# ## #V NqGapOutput ## NqGapOutput := false; ############################################################################# ## #V NqDefaultOptions. . . . . . . . . . . default options for the nq program ## ## The default options are: ## -g Produce GAP output including a GAP readable presentation of ## the nilpotent quotient ## -p do not print the pc-presentation of the nilpotent quotient ## -C use the combinatorial collector ## -s check only instances with semigroup words - this is only ## relevant if one of the Engel options is used ## BindGlobal( "NqDefaultOptions", [ "-g", "-p", "-C", "-s" ] ); ############################################################################# ## #V NqOneTimeOptions . . . . . . . . . . one time options for the nq program ## ## This variable can be used to pass a list of options to the next call of ## the nq program. ## NqOneTimeOptions := []; ############################################################################# ## #V NqParameterStrings . . . . . . . . strings for options to the standalone ## ## This list contains strings for the options that are used by ## NilpotentQuotient(). ## NqParameterStrings := [ "group", ## These three options provide "exptrees", ## a way for specifying a "input_file", ## finitely presented group. "input_string", "output_file", ## This option is used to keep ## the output of the standalone. ## Option to specify the "class", ## nilpotency class of the ## quotient. ## Option to specify identical "idgens", ## generators. "engel", ## Specifies an Engel law "options", ## A list of options to pass to the ## standalone. ]; ## ## There are several different ways to specify the finitely presented group ## for the nilpotent quotient algorithm: ## ## As ## a finitely presented group ## a finitely presented group given by expression trees ## an input file for the standalone ## a string in the input format of the standalone ## NqPrepareInput := function( params ) local str; if IsBound( params.group ) then str := NqStringFpGroup( params.group, params.idgens ); params.input_string := str; params.input_stream := InputTextString( str ); fi; if IsBound( params.exptrees ) then str := NqStringExpTrees( params.exptrees, params.idgens ); params.input_string := str; params.input_stream := InputTextString( str ); fi; if IsBound( params.input_string ) then str := params.input_string; params.input_string := str; params.input_stream := InputTextString( str ); fi; if IsBound( params.input_file ) then params.input_stream := InputTextFile( params.input_file ); fi; end; ## ## There are several different ways to specify the output for the nilpotent ## quotient algorithm: ## ## As ## an output stream ## an output file (which is kept for later use) ## NqPrepareOutput := function( params ) if IsBound( params.output_file ) then params.output_stream := OutputTextFile( params.output_file, false ); else params.output_string := ""; params.output_stream := OutputTextString( params.output_string, false ); fi; end; NqCompleteParameters := function( params ) local opt_rec, options, opt; if OptionsStack <> [] then opt_rec := OptionsStack[ Length(OptionsStack) ]; options := RecNames( opt_rec ); for opt in options do if not opt in NqParameterStrings then continue; fi; if IsBound( params.(opt) ) then Error( "Option ", opt, " already given as argument" ); return fail; fi; if IsBound( params.(opt) ) then InfoWarning( "overwriting parameter with option '", opt, "'" ); fi; if opt = "group" and IsRecord( opt_rec.(opt) ) then params.exptrees := opt_rec.(opt); else params.(opt) := opt_rec.(opt); fi; od; fi; if not IsBound( params.idgens ) then params.idgens := []; fi; NqPrepareInput( params ); NqPrepareOutput( params ); if not IsBound( params.options ) then params.options := []; fi; if InfoLevel( InfoNQ ) > 0 then Add( params.options, "-v" ); fi; params.options := Concatenation( NqDefaultOptions, params.options, NqOneTimeOptions ); NqOneTimeOptions := []; if IsBound( params.class ) then Add( params.options, String(params.class) ); fi; if IsBound( params.engel ) then Add( params.options, "-e" ); Add( params.options, String(params.engel) ); fi; end; ############################################################################# ## #F NqCallANU_NQ . . . . . . . . . . . the function that calls the nq program ## NqCallANU_NQ := function( params ) local nq, ret; NqCompleteParameters( params ); nq := Filename( DirectoriesPackagePrograms("nq") , "nq" ); Info( InfoNQ, 3, "Calling ANU NQ with: ", params, "\n" ); ret := Process( DirectoryCurrent(), ## executing directory nq, ## executable params.input_stream, ## input stream params.output_stream, ## output stream params.options ); ## command line arguments Info( InfoNQ, 3, "ANU NQ returns ", ret, "\n" ); CloseStream( params.input_stream ); CloseStream( params.output_stream ); if IsBound( params.output_file ) then return NqReadOutput( InputTextFile( params.output_file ) ); else return NqReadOutput( InputTextString( params.output_string ) ); fi; end; ############################################################################# ## #F NqGlobalVariables . . global variables to communicate with the nq program ## BindGlobal( "NqGlobalVariables", [ "NqLowerCentralFactors", ## factors of the LCS "NqNrGenerators", "NqClass", "NqRanks", "NqRelativeOrders", "NqImages", ## the epimorphism "NqPowers", "NqConjugates", "NqRuntime", ] ); ############################################################################# ## #F NqReadOutput . . . . . . . . . . . . . . . . read output from nq program ## InstallGlobalFunction( NqReadOutput, function( stream ) local tmp, var, var2, result; tmp := "local result,"; Append(tmp, JoinStringsWithSeparator(NqGlobalVariables)); Append(tmp, ";\n"); Append(tmp, ReadAll(stream)); Append(tmp, "\n"); Append(tmp, "result:=rec();\n"); for var in NqGlobalVariables do var2 := var{[3..Length(var)]}; Append(tmp, Concatenation("if IsBound(", var, ") then\n")); Append(tmp, Concatenation(" result.", var2, " := ", var, ";\n")); Append(tmp, "else\n"); Append(tmp, Concatenation(" result.", var2, " := fail;\n")); Append(tmp, "fi;\n"); od; Append(tmp, "return result;\n"); result := ReadAsFunction( InputTextString( tmp ) ); result := result(); MakeReadWriteGlobal( "NqRuntime" ); NqRuntime := result.Runtime; MakeReadOnlyGlobal( "NqRuntime" ); if result.NrGenerators = fail then Error( "nq program terminated abnormally.\n\n", "To return the abelian invariants of the first ", Length( result.LowerCentralFactors ), " factors of the\n", "lower central series type `return;'", " and `quit;' otherwise.\n\n" ); return List( result.LowerCentralFactors, NqElementaryDivisors ); fi; return result; end ); ############################################################################# ## #F NqStringFpGroup( ) . . . . . . . finitely presented group to string ## InstallGlobalFunction( NqStringFpGroup, function( arg ) local G, idgens, F, fgens, str, newgens, pos, i, r; G := arg[1]; idgens := []; if Length( arg ) = 2 then idgens := arg[2]; fi; F := FreeGroupOfFpGroup( G ); fgens := GeneratorsOfGroup( F ); if not IsSubset( fgens, idgens ) then Error( "identical generators are not a subset of free generators" ); fi; if Length( fgens ) = 0 then # Produce a dummy presentation, since NQ cannot handle presentations # without generators. str := "< x | x >\n"; return str; fi; newgens := GeneratorsOfGroup( FreeGroup( Length( fgens ), "x" ) ); str := ""; Append( str, "< " ); pos := List( idgens, g->Position( fgens, g ) ); for i in Difference( [1..Length(fgens)], pos ) do Append( str, String( newgens[i] ) ); Append( str, ", " ); od; Unbind( str[ Length(str) ] ); Unbind( str[ Length(str) ] ); ## Insert separator between free and identical generators. Append( str, "; " ); for i in pos do Append( str, String( newgens[i] ) ); Append( str, ", " ); od; Unbind( str[ Length(str) ] ); Unbind( str[ Length(str) ] ); Append( str, " |\n" ); for r in RelatorsOfFpGroup( G ) do if Length( r ) > 0 then Append( str, " " ); Append( str, String( MappedWord( r, fgens, newgens ) ) ); Append( str, ",\n" ); fi; od; if str[ Length(str)-1 ] = ',' then Unbind( str[ Length(str) ] ); Unbind( str[ Length(str) ] ); fi; Append( str, "\n>\n" ); return str; end ); ############################################################################# ## #F NqStringExpTrees( ) . . . . . . . . . . . expression trees to string ## InstallGlobalFunction( NqStringExpTrees, function( arg ) local G, idgens, fgens, str, g, r; G := arg[1]; idgens := []; if Length( arg ) = 2 then idgens := arg[2]; fi; fgens := G.generators; if not IsSubset( fgens, idgens ) then Error( "identical generators are not a subset of free generators" ); fi; fgens := Difference( fgens, idgens ); if Length( fgens ) = 0 then # Produce a dummy presentation, since NQ cannot handle presentations # without generators. str := "< x | x >\n"; return str; fi; # Set flag to signal the print functions (which are called by String) # that we want commutators in square bracket. I don't like that hack. str := ""; Append( str, "< " ); for g in fgens do Append( str, String( g ) ); Append( str, ", " ); od; Unbind( str[ Length(str) ] ); Unbind( str[ Length(str) ] ); Append( str, "; " ); for g in idgens do Append( str, String( g ) ); Append( str, ", " ); od; Unbind( str[ Length(str) ] ); Unbind( str[ Length(str) ] ); Append( str, " |\n" ); for r in G.relations do Append( str, " " ); Append( str, String( r ) ); Append( str, ",\n" ); od; if str[ Length(str)-1 ] = ',' then Unbind( str[ Length(str) ] ); Unbind( str[ Length(str) ] ); fi; Append( str, "\n>\n" ); # reset flag return str; end ); ############################################################################# ## #F NqElementaryDivisors( ) . . . . . . . . . . . . . elementary divisors ## ## The function 'ElementaryDivisorsMat' only returns the non-zero elementary ## divisors of a matrix. Here zeroes are added in order to make it easier to ## recognize the isomorphism type of the abelian group presented by the ## integer matrix. At the same time strip 1's from the list of elementary ## divisors. ## InstallGlobalFunction( NqElementaryDivisors, function( M ) local ed, i; if M <> [ [] ] then ed := ElementaryDivisorsMat( M ); else ed := []; fi; ed := Concatenation( ed, List( [Length(ed)+1..Length(M[1])], x->0 ) ); i := 1; while i <= Length(ed) and ed[i] = 1 do i := i+1; od; ed := ed{[i..Length(ed)]}; return ed; end ); ############################################################################# ## #F NilpotentQuotient( , ) . . . . . . . nilpotent quotient of ## ## The interface to the NQ standalone. ## ## The operation has methods for the following arguments: ## ## fp-group ## outfile fp-group ## fp-group ident-gens ## outfile fp-group ident-gens ## fp-group class ## outfile fp-group class ## fp-group ident-gens class ## outfile fp-group ident-gens class ## infile ## outfile infile ## infile class ## outfile infile class ## ## If this function is called with an fp-group only, we check for options on ## the options stack. The following options are used: ## output_file ## input_string ## nilpotency_class, class ## identical_generators, idgens ## ## This should produce a quotient system and not a pcp group. ## InstallOtherMethod( NilpotentQuotient, "no argument", true, [], 0, function() return NqPcpGroupByNqOutput( NqCallANU_NQ( rec() ) ); end ); InstallOtherMethod( NilpotentQuotient, "of a finitely presented group", true, [ IsFpGroup ], 0, function( G ) return NqPcpGroupByNqOutput( NqCallANU_NQ( rec( group := G ) ) ); end ); InstallOtherMethod( NilpotentQuotient, "of a finitely presented group, keep output file", true, [ IsString, IsFpGroup ], 0, function( outfile, G ) return NqPcpGroupByNqOutput( NqCallANU_NQ( rec( group := G, output_file := outfile ) ) ); end ); InstallOtherMethod( NilpotentQuotient, "of a finitely presented group on file", true, [ IsString ], 0, function( infile ) return NqPcpGroupByNqOutput( NqCallANU_NQ( rec( input_file := infile ) ) ); end ); InstallOtherMethod( NilpotentQuotient, "of a finitely presented group on file, keep output file", true, [ IsString, IsString ], 0, function( outfile, infile ) return NqPcpGroupByNqOutput( NqCallANU_NQ( rec( input_file := infile, output_file := outfile ) ) ); end ); InstallOtherMethod( NilpotentQuotient, "of a finitely presented group", true, [ IsRecord ], 0, function( G ) return NqPcpGroupByNqOutput( NqCallANU_NQ( rec( exptrees := G ) ) ); end ); InstallOtherMethod( NilpotentQuotient, "of a finitely presented group with identical relations", true, [ IsFpGroup, IsList ], 0, function( G, idgens ) return NqPcpGroupByNqOutput( NqCallANU_NQ( rec( group := G, idgens := idgens ) ) ); end ); InstallOtherMethod( NilpotentQuotient, "of a finitely presented group with identical relations", true, [ IsRecord, IsList ], 0, function( G, idgens ) return NqPcpGroupByNqOutput( NqCallANU_NQ( rec( exptrees := G, idgens := idgens ) ) ); end ); InstallMethod( NilpotentQuotient, "of a finitely presented group", true, [ IsFpGroup, IsPosInt ], 0, function( G, cl ) return NqPcpGroupByNqOutput( NqCallANU_NQ( rec( group := G, class := cl ) ) ); end ); InstallOtherMethod( NilpotentQuotient, "of a finitely presented group, keep output file", true, [ IsString, IsFpGroup, IsPosInt ], 0, function( outfile, G, cl ) return NqPcpGroupByNqOutput( NqCallANU_NQ( rec( group := G, class := cl, output_file := outfile ) ) ); end ); InstallMethod( NilpotentQuotient, "of a finitely presented group on file", true, [ IsString, IsPosInt ], 0, function( infile, cl ) return NqPcpGroupByNqOutput( NqCallANU_NQ( rec( input_file := infile, class := cl ) ) ); end ); InstallOtherMethod( NilpotentQuotient, "of a finitely presented group on file, keep output file", true, [ IsString, IsString, IsPosInt ], 0, function( outfile, infile, cl ) return NqPcpGroupByNqOutput( NqCallANU_NQ( rec( input_file := infile, output_file := outfile, class := cl ) ) ); end ); InstallMethod( NilpotentQuotient, "of a finitely presented group", true, [ IsRecord, IsPosInt ], 0, function( G, cl ) return NqPcpGroupByNqOutput( NqCallANU_NQ( rec( exptrees := G, class := cl ) ) ); end ); InstallOtherMethod( NilpotentQuotient, "of a finitely presented group with identical relations", true, [ IsFpGroup, IsList, IsPosInt ], 0, function( G, idgens, cl ) return NqPcpGroupByNqOutput( NqCallANU_NQ( rec( group := G, idgens := idgens, class := cl ) ) ); end ); InstallOtherMethod( NilpotentQuotient, "of a finitely presented group with identical relations", true, [ IsRecord, IsList, IsPosInt ], 0, function( G, idgens, cl ) return NqPcpGroupByNqOutput( NqCallANU_NQ( rec( exptrees := G, idgens := idgens, class := cl ) ) ); end ); ############################################################################# ## #F NqEpimorphismNilpotentQuotient ## ## InstallGlobalFunction( NqEpimorphismByNqOutput, function( G, nqrec ) local coll, A, gens, freegens, images, idgens, U, phi; coll := NqInitFromTheLeftCollector( nqrec ); A := NqPcpGroupByCollector( coll, nqrec ); ## ## Now we set up the epimorphism. ## We need to be careful about identical generators. ## gens := GeneratorsOfGroup( G ); idgens := ValueOption( "idgens" ); images := List( nqrec.Images, w->NqPcpElementByWord( coll, w ) ); if idgens <> fail then freegens := List( gens, UnderlyingElement ); gens := gens{Difference( [1..Length(gens)], List( idgens, g->Position( freegens, g ) ) )}; U := Subgroup( G, gens ); phi := GroupHomomorphismByImagesNC( U, A, gens, images ); else phi := GroupHomomorphismByImagesNC( G, A, gens, images ); fi; SetFilterObj( phi, IsFromFpGroupStdGensGeneralMappingByImages ); SetIsSurjective( phi, true ); return phi; end ); InstallOtherMethod( NqEpimorphismNilpotentQuotient, "no argument", true, [ ], 0, function( ) local input_rec, nqrec, G; input_rec := rec(); nqrec := NqCallANU_NQ( input_rec ); G := input_rec.group; return NqEpimorphismByNqOutput( G, nqrec ); end ); InstallOtherMethod( NqEpimorphismNilpotentQuotient, "fp-group", true, [ IsFpGroup ], 0, function( G ) local nqrec; nqrec := NqCallANU_NQ( rec( group := G ) ); return NqEpimorphismByNqOutput( G, nqrec ); end ); InstallOtherMethod( NqEpimorphismNilpotentQuotient, "output-file, fp-group", true, [ IsString, IsFpGroup ], 0, function( outfile, G ) local nqrec; nqrec := NqCallANU_NQ( rec( group := G, output_file := outfile ) ); return NqEpimorphismByNqOutput( G, nqrec ); end ); InstallOtherMethod( NqEpimorphismNilpotentQuotient, "fp-group, class", true, [ IsFpGroup, IsPosInt ], 0, function( G, cl ) local nqrec; nqrec := NqCallANU_NQ( rec( group := G, class := cl ) ); return NqEpimorphismByNqOutput( G, nqrec ); end ); InstallOtherMethod( NqEpimorphismNilpotentQuotient, "output-file, fp group, class", true, [ IsString, IsFpGroup, IsPosInt ], 0, function( outfile, G, cl ) local nqrec; nqrec := NqCallANU_NQ( rec( group := G, class := cl, output_file := outfile ) ); return NqEpimorphismByNqOutput( G, nqrec ); end ); InstallOtherMethod( NqEpimorphismNilpotentQuotient, "fp-group, id-gens", true, [ IsFpGroup, IsList ], 0, function( G, idgens ) local nqrec; nqrec := NqCallANU_NQ( rec( group := G, idgens := idgens ) ); return NqEpimorphismByNqOutput( G, nqrec : idgens := idgens ); end ); InstallOtherMethod( NqEpimorphismNilpotentQuotient, "output-file, fp-group, idgens", true, [ IsString, IsFpGroup, IsList ], 0, function( outfile, G, idgens ) local nqrec; nqrec := NqCallANU_NQ( rec( group := G, output_file := outfile, idgens := idgens ) ); return NqEpimorphismByNqOutput( G, nqrec : idgens := idgens ); end ); InstallOtherMethod( NqEpimorphismNilpotentQuotient, "fp-group, idgens, class", true, [ IsFpGroup, IsList, IsPosInt ], 0, function( G, idgens, cl ) local nqrec; nqrec := NqCallANU_NQ( rec( group := G, class := cl, idgens := idgens ) ); return NqEpimorphismByNqOutput( G, nqrec : idgens := idgens ); end ); InstallOtherMethod( NqEpimorphismNilpotentQuotient, "output-file, fp group, idgens, class", true, [ IsString, IsFpGroup, IsList, IsPosInt ], 0, function( outfile, G, idgens, cl ) local nqrec; nqrec := NqCallANU_NQ( rec( group := G, class := cl, output_file := outfile, idgens := idgens ) ); return NqEpimorphismByNqOutput( G, nqrec : idgens := idgens ); end ); ############################################################################# ## #F LowerCentralFactors ## ## InstallGlobalFunction( LowerCentralFactors, function( arg ) local A; A := CallFuncList( NilpotentQuotient, arg ); return A!.LowerCentralFactors; end ); ############################################################################# ## #F NilpotentEngelQuotient( , , ) . . . . . Engel nq of ## InstallGlobalFunction( NilpotentEngelQuotient, function( arg ) local n, i; ## The first integer is the Engel parameter. n := First( arg, IsInt ); i := Position( arg, n ); arg := Concatenation( arg{[1..i-1]}, arg{[i+1..Length(arg)]} ); NqOneTimeOptions := [ "-e", String(n) ]; return CallFuncList( NilpotentQuotient, arg ); end ); nq-2.5.11/gap/exptree.gd000644 000766 000024 00000000371 14550113041 015237 0ustar00mhornstaff000000 000000 DeclareCategory( "IsExprTree", IsMultiplicativeElementWithInverse and IsComponentObjectRep ); BindGlobal("ExpTreeFamily", NewFamily( "ExprTreeFamily" )); BindGlobal("TYPE_EXPR_TREE", NewType( ExpTreeFamily, IsExprTree and IsMutable )); nq-2.5.11/cnf/install-sh000755 000766 000024 00000035776 14550113065 015301 0ustar00mhornstaff000000 000000 #!/bin/sh # install - install a program, script, or datafile scriptversion=2020-11-14.01; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. tab=' ' nl=' ' IFS=" $tab$nl" # Set DOITPROG to "echo" to test this script. doit=${DOITPROG-} doit_exec=${doit:-exec} # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_mkdir= # Desired mode of installed file. mode=0755 # Create dirs (including intermediate dirs) using mode 755. # This is like GNU 'install' as of coreutils 8.32 (2020). mkdir_umask=22 backupsuffix= chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false is_target_a_directory=possibly usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -p pass -p to $cpprog. -s $stripprog installed files. -S SUFFIX attempt to back up existing files, with suffix SUFFIX. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG By default, rm is invoked with -f; when overridden with RMPROG, it's up to you to specify -f if you want it. If -S is not specified, no backups are attempted. Email bug reports to bug-automake@gnu.org. Automake home page: https://www.gnu.org/software/automake/ " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -p) cpprog="$cpprog -p";; -s) stripcmd=$stripprog;; -S) backupsuffix="$2" shift;; -t) is_target_a_directory=always dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) is_target_a_directory=never;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done # We allow the use of options -d and -T together, by making -d # take the precedence; this is for compatibility with GNU install. if test -n "$dir_arg"; then if test -n "$dst_arg"; then echo "$0: target directory not allowed when installing a directory." >&2 exit 1 fi fi if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then if test $# -gt 1 || test "$is_target_a_directory" = always; then if test ! -d "$dst_arg"; then echo "$0: $dst_arg: Is not a directory." >&2 exit 1 fi fi fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? # Don't chown directories that already exist. if test $dstdir_status = 0; then chowncmd="" fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dstbase=`basename "$src"` case $dst in */) dst=$dst$dstbase;; *) dst=$dst/$dstbase;; esac dstdir_status=0 else dstdir=`dirname "$dst"` test -d "$dstdir" dstdir_status=$? fi fi case $dstdir in */) dstdirslash=$dstdir;; *) dstdirslash=$dstdir/;; esac obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false # The $RANDOM variable is not portable (e.g., dash). Use it # here however when possible just to lower collision chance. tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap ' ret=$? rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null exit $ret ' 0 # Because "mkdir -p" follows existing symlinks and we likely work # directly in world-writeable /tmp, make sure that the '$tmpdir' # directory is successfully created first before we actually test # 'mkdir -p'. if (umask $mkdir_umask && $mkdirprog $mkdir_mode "$tmpdir" && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. test_tmpdir="$tmpdir/a" ls_ld_tmpdir=`ls -ld "$test_tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null fi trap '' 0;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac oIFS=$IFS IFS=/ set -f set fnord $dstdir shift set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=${dstdirslash}_inst.$$_ rmtmp=${dstdirslash}_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && { test -z "$stripcmd" || { # Create $dsttmp read-write so that cp doesn't create it read-only, # which would cause strip to fail. if test -z "$doit"; then : >"$dsttmp" # No need to fork-exec 'touch'. else $doit touch "$dsttmp" fi } } && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # If $backupsuffix is set, and the file being installed # already exists, attempt a backup. Don't worry if it fails, # e.g., if mv doesn't support -f. if test -n "$backupsuffix" && test -f "$dst"; then $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null fi # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: nq-2.5.11/cnf/depcomp000755 000766 000024 00000056020 14550113065 014633 0ustar00mhornstaff000000 000000 #! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2018-03-07.03; # UTC # Copyright (C) 1999-2021 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: nq-2.5.11/cnf/missing000755 000766 000024 00000015336 14550113065 014662 0ustar00mhornstaff000000 000000 #! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2018-03-07.03; # UTC # Copyright (C) 1996-2021 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=https://www.perl.org/ flex_URL=https://github.com/westes/flex gnu_software_URL=https://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: nq-2.5.11/cnf/compile000755 000766 000024 00000016350 14550113065 014636 0ustar00mhornstaff000000 000000 #! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2018-03-07.03; # UTC # Copyright (C) 1999-2021 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN* | MSYS*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/* | msys/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: