CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
#############################################################################
####
##
#W  doM11.g             ACE Research Example                      Greg Gamble
##
##  Provides some easy applications of the pgrelfind.g functions,  using  the
##  perfect simple group M_11.
##
#Y  Copyright (C) 2001  Centre for Discrete Mathematics and Computing
#Y                      Department of Computer Science & Electrical Eng.
#Y                      University of Queensland, Australia.
##

ACEResExample := rec(filename := "doM11.g", print := false);
if IsBound(IsACEResExampleOK) and IsACEResExampleOK() then
  Print("gap> Print(\"M11:\\n\", M11, \"\\n\");\n");
  Print("M11:\n", M11, "\n");
  M11t := 
      ACE_PRINT_AND_EVAL(
        "M11t", 
        "TranslatePresentation([a,b], M11.rels, M11.sgens, [a, a*b])"
        );
  M11n := ACE_PRINT_AND_EVAL("M11n",
                             "PGRelFind(M11t.fgens, M11t.rels, M11t.sgens)");
elif ACEResExample.print then
## Begin
Print("M11:\n", M11, "\n");
M11t := TranslatePresentation([a,b], M11.rels, M11.sgens, [a, a*b]);
M11n := PGRelFind(M11t.fgens, M11t.rels, M11t.sgens); 
## End
elif not IsBound(IsACEResExampleOK) then
  Print("Error, ACEReadResearchExample: functions and variables undefined.\n",
        "Please type: 'ACEReadResearchExample();'\n",
        "and try again.\n");
fi;

#E  doM11.g . . . . . . . . . . . . . . . . . . . . . . . . . . . . ends here