GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
#Example: "2gp-SP-Rel-i" . . . based on: isom/2gp #vars: F, rels, procId; #options: OutputLevel, ClassBound, StandardPresentationFile F := FreeGroup("a", "b"); rels := ["a^4", "b^4", "[b, a, a]" ]; procId := PqStart(F : Prime := 2, Relators := rels); #comment: set a different print level by supplying <OutputLevel> #add <OutputLevel> for <value> if set and ok #PqSetOutputLevel(procId, value);; PqSPComputePcpAndPCover(procId : ClassBound := 1, OutputLevel := 3);; #comment: set a different `ClassBound' by supplying <ClassBound> #comment: also save the presentation to a file by supplying <StandardPresentationFile> PqSPStandardPresentation(procId, [ [[0,1], [1,1]], [[0,1], [1,0]] ] : # options #add <StandardPresentationFile> for <value> if set and ok # StandardPresentationFile := value, #sub <ClassBound> for <10> if set ClassBound := 10, PcgsAutomorphisms);;