GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
12[1X[5Xsimpcomp[105X[101X345[1XA [5XGAP[105X toolbox for simplicial complexes[101X678Version 2.1.791011September 2017121314Felix Effenberger1516Jonathan Spreer17181920Felix Effenberger21Email: [7Xmailto:[email protected][107X22Address: [33X[0;14YMax Planck Institute for Mathematics in the Sciences[133X23[33X[0;14YInselstr. 22[133X24[33X[0;14YD-04103 Leipzig, Germany[133X252627Jonathan Spreer28Email: [7Xmailto:[email protected][107X29Address: [33X[0;14YUniversity of Queensland[133X30[33X[0;14YSchool of Mathematics and Physics[133X31[33X[0;14YBrisbane QLD 4072 Australia[133X32333435-------------------------------------------------------36[1XAbstract[101X37[33X[0;0Y[5Xsimpcomp[105X is an extension (a so called package) to [5XGAP[105X for working with38simplicial complexes in the context of combinatorial topology. The package39enables the user to compute numerous properties of (abstract) simplicial40complexes (such as the [22Xf[122X-, [22Xg[122X- and [22Xh[122X-vectors, the face lattice, the41fundamental group, the automorphism group, (co-)homology with explicit basis42computation, etc.). It provides functions to generate simplicial complexes43from facet lists, orbit representatives or difference cycles. Moreover, a44variety of infinite series of combinatorial manifolds and pseudomanifolds45(such as the simplex, the cross polytope, transitive handle bodies and46sphere bundles, etc.) is given and it is possible to create new complexes47from existing ones (links and stars, connected sums, simplicial cartesian48products, handle additions, bistellar flips, etc.). [5Xsimpcomp[105X ships with an49extensive library of known triangulations of manifolds and a census of all50combinatorial [22X3[122X-manifolds with transitive cyclic symmetry up to [22X22[122X vertices.51Furthermore, it provides the user with the possibility to create own complex52libraries. In addition, functions related to slicings and polyhedral Morse53theory as well as a combinatorial version of algebraic blowups and the54possibility to resolve isolated singularities of [22X4[122X-manifolds are55implemented.[133X56[33X[0;0Y[5Xsimpcomp[105X caches computed properties of a simplicial complex, thus avoiding57unnecessary computations, internally handles the vertex labeling of the58complexes and insures the consistency of a simplicial complex throughout all59operations.[133X60[33X[0;0YIf possible, [5Xsimpcomp[105X makes use of the [5XGAP[105X package [5Xhomology[105X [DHSW11] for its61homology computation but also provides the user with own (co-)homology62algorithms. For automorphism group computation the [5XGAP[105X package [5XGRAPE[105X [Soi12]63is used, which in turn uses the program [10Xnauty[110X by Brendan McKay [MP14]. An64internal automorphism group calculation algorithm is used as fallback if the65[5XGRAPE[105X package is not available.[133X666768-------------------------------------------------------69[1XCopyright[101X70[33X[0;0Y© 2017 Felix Effenberger and Jonathan Spreer. Permission is granted to copy,71distribute and/or modify this document under the terms of the GNU Free72Documentation License, Version 1.2 or any later version published by the73Free Software Foundation, see [7Xhttp://www.fsf.org/licensing/licenses/fdl.html[107X74for a copy.[133X7576[33X[0;0Y[5Xsimpcomp[105X is free software. The code of [5Xsimpcomp[105X is released under the GPL77version 2 or later (at your preference). For the text of the GPL see the78file [10XCOPYING[110X in the [5Xsimpcomp[105X directory or [7Xhttp://www.gnu.org/licenses/[107X.[133X798081-------------------------------------------------------82[1XAcknowledgements[101X83[33X[0;0YA few functions of [5Xsimpcomp[105X are based on code from other authors. The84bistellar flips implementation, the algorithm to collapse bounded simplicial85complexes as well as the classification algorithm for transitive86triangulations is based upon work of Frank Lutz (see [Lut03] and the [5XGAP[105X87programs BISTELLAR and MANIFOLD_VT from [ManifoldPage]). Some functions were88carried over from the [5Xhomology[105X package by Dumas et al. [DHSW11] -- these89functions are marked in the documentation and the source code. The internal90(co-)homology algorithms were implemented by Armin Weiss.[133X9192[33X[0;0YMost of the complexes in the simplicial complex library are taken from the93"Manifold Page" by Frank Lutz [ManifoldPage].[133X9495[33X[0;0YThe authors acknowledge support by the Deutsche Forschungsgemeinschaft96(DFG): [5Xsimpcomp[105X has been developed within the DFG projects Ku 1203/5-2 and97Ku 1203/5-3.[133X9899100-------------------------------------------------------101102103[1XContents (simpcomp)[101X1041051 [33X[0;0YIntroduction[133X1061.1 [33X[0;0YWhat is new[133X1071.2 [33X[0;0Y[5Xsimpcomp[105X benefits[133X1081.3 [33X[0;0YHow to save time reading this document[133X1091.4 [33X[0;0YOrganization of this document[133X1101.5 [33X[0;0YHow to assure [5Xsimpcomp[105X works correctly[133X1111.6 [33X[0;0YControlling [5Xsimpcomp[105X log messages[133X1121.7 [33X[0;0YHow to cite [5Xsimpcomp[105X[133X1132 [33X[0;0YTheoretical foundations[133X1142.1 [33X[0;0YPolytopes and polytopal complexes[133X1152.2 [33X[0;0YSimplices and simplicial complexes[133X1162.3 [33X[0;0YFrom geometry to combinatorics[133X1172.4 [33X[0;0YDiscrete Normal surfaces[133X1182.5 [33X[0;0YPolyhedral Morse theory and slicings[133X1192.6 [33X[0;0YDiscrete Morse theory[133X1202.7 [33X[0;0YTightness and tight triangulations[133X1212.8 [33X[0;0YSimplicial blowups[133X1223 [33X[0;0YThe new GAP object types of [5Xsimpcomp[105X[133X1233.1 [33X[0;0YAccessing properties of a [10XSCPolyhedralComplex[110X object[133X1244 [33X[0;0YFunctions and operations for the GAP object type [10XSCPolyhedralComplex[110X[133X1254.1 [33X[0;0YComputing properties of objects of type [10XSCPolyhedralComplex[110X[133X1264.1-1 SCFacets1274.1-2 SCFacetsEx1284.1-3 SCVertices1294.1-4 SCVerticesEx1304.2 [33X[0;0YVertex labelings and label operations[133X1314.2-1 SCLabelMax1324.2-2 SCLabelMin1334.2-3 SCLabels1344.2-4 SCName1354.2-5 SCReference1364.2-6 SCRelabel1374.2-7 SCRelabelStandard1384.2-8 SCRelabelTransposition1394.2-9 SCRename1404.2-10 SCSetReference1414.2-11 SCUnlabelFace1424.3 [33X[0;0YOperations on objects of type [10XSCPolyhedralComplex[110X[133X1434.3-1 SCAntiStar1444.3-2 SCLink1454.3-3 SCLinks1464.3-4 SCStar1474.3-5 SCStars1485 [33X[0;0YThe GAP object types [10XSCSimplicialComplex[110X and [10XSCNormalSurface[110X[133X1495.1 [33X[0;0YThe object type [10XSCSimplicialComplex[110X[133X1505.1-1 SCIsSimplicialComplex1515.1-2 SCCopy1525.1-3 ShallowCopy (SCSimplicialComplex)1535.1-4 SCPropertiesDropped1545.2 [33X[0;0YOverloaded operators of [10XSCSimplicialComplex[110X[133X1555.2-1 Operation + (SCSimplicialComplex, Integer)1565.2-2 Operation - (SCSimplicialComplex, Integer)1575.2-3 Operation mod (SCSimplicialComplex, Integer)1585.2-4 Operation ^ (SCSimplicialComplex, Integer)1595.2-5 Operation + (SCSimplicialComplex, SCSimplicialComplex)1605.2-6 Operation - (SCSimplicialComplex, SCSimplicialComplex)1615.2-7 Operation * (SCSimplicialComplex, SCSimplicialComplex)1625.2-8 Operation = (SCSimplicialComplex, SCSimplicialComplex)1635.3 [33X[0;0Y[10XSCSimplicialComplex[110X as a subtype of [10XSet[110X[133X1645.3-1 Operation Union (SCSimplicialComplex, SCSimplicialComplex)1655.3-2 Operation Difference (SCSimplicialComplex, SCSimplicialComplex)1665.3-3 Operation Intersection (SCSimplicialComplex, SCSimplicialComplex)1675.3-4 Size (SCSimplicialComplex)1685.3-5 Length (SCSimplicialComplex)1695.3-6 Operation [] (SCSimplicialComplex)1705.3-7 Iterator (SCSimplicialComplex)1715.4 [33X[0;0YThe object type [10XSCNormalSurface[110X[133X1725.5 [33X[0;0YOverloaded operators of [10XSCNormalSurface[110X[133X1735.5-1 Operation + (SCNormalSurface, Integer)1745.5-2 Operation - (SCNormalSurface, Integer)1755.5-3 Operation mod (SCNormalSurface, Integer)1765.6 [33X[0;0Y[10XSCNormalSurface[110X as a subtype of [10XSet[110X[133X1775.6-1 Operation Union (SCNormalSurface, SCNormalSurface)1786 [33X[0;0YFunctions and operations for [10XSCSimplicialComplex[110X[133X1796.1 [33X[0;0YCreating an [10XSCSimplicialComplex[110X object from a facet list[133X1806.1-1 SCFromFacets1816.1-2 SC1826.1-3 SCFromDifferenceCycles1836.1-4 SCFromGenerators1846.2 [33X[0;0YIsomorphism signatures[133X1856.2-1 SCExportToString1866.2-2 SCExportIsoSig1876.2-3 SCFromIsoSig1886.3 [33X[0;0YGenerating some standard triangulations[133X1896.3-1 SCBdCyclicPolytope1906.3-2 SCBdSimplex1916.3-3 SCEmpty1926.3-4 SCSimplex1936.3-5 SCSeriesTorus1946.3-6 SCSurface1956.3-7 SCFVectorBdCrossPolytope1966.3-8 SCFVectorBdCyclicPolytope1976.3-9 SCFVectorBdSimplex1986.4 [33X[0;0YGenerating infinite series of transitive triangulations[133X1996.4-1 SCSeriesAGL2006.4-2 SCSeriesBrehmKuehnelTorus2016.4-3 SCSeriesBdHandleBody2026.4-4 SCSeriesBid2036.4-5 SCSeriesC2n2046.4-6 SCSeriesConnectedSum2056.4-7 SCSeriesCSTSurface2066.4-8 SCSeriesD2n2076.4-9 SCSeriesHandleBody2086.4-10 SCSeriesHomologySphere2096.4-11 SCSeriesK2106.4-12 SCSeriesKu2116.4-13 SCSeriesL2126.4-14 SCSeriesLe2136.4-15 SCSeriesLensSpace2146.4-16 SCSeriesPrimeTorus2156.4-17 SCSeriesSeifertFibredSpace2166.4-18 SCSeriesS2xS22176.5 [33X[0;0YA census of regular and chiral maps[133X2186.5-1 SCChiralMap2196.5-2 SCChiralMaps2206.5-3 SCChiralTori2216.5-4 SCNrChiralTori2226.5-5 SCNrRegularTorus2236.5-6 SCRegularMap2246.5-7 SCRegularMaps2256.5-8 SCRegularTorus2266.5-9 SCSeriesSymmetricTorus2276.6 [33X[0;0YGenerating new complexes from old[133X2286.6-1 SCCartesianPower2296.6-2 SCCartesianProduct2306.6-3 SCConnectedComponents2316.6-4 SCConnectedProduct2326.6-5 SCConnectedSum2336.6-6 SCConnectedSumMinus2346.6-7 SCDifferenceCycleCompress2356.6-8 SCDifferenceCycleExpand2366.6-9 SCStronglyConnectedComponents2376.7 [33X[0;0YSimplicial complexes from transitive permutation groups[133X2386.7-1 SCsFromGroupExt2396.7-2 SCsFromGroupByTransitivity2406.8 [33X[0;0YThe classification of cyclic combinatorial 3-manifolds[133X2416.8-1 SCNrCyclic3Mflds2426.8-2 SCCyclic3MfldTopTypes2436.8-3 SCCyclic3Mfld2446.8-4 SCCyclic3MfldByType2456.8-5 SCCyclic3MfldListOfGivenType2466.9 [33X[0;0YComputing properties of simplicial complexes[133X2476.9-1 SCAltshulerSteinberg2486.9-2 SCAutomorphismGroup2496.9-3 SCAutomorphismGroupInternal2506.9-4 SCAutomorphismGroupSize2516.9-5 SCAutomorphismGroupStructure2526.9-6 SCAutomorphismGroupTransitivity2536.9-7 SCBoundary2546.9-8 SCDehnSommervilleCheck2556.9-9 SCDehnSommervilleMatrix2566.9-10 SCDifferenceCycles2576.9-11 SCDim2586.9-12 SCDualGraph2596.9-13 SCEulerCharacteristic2606.9-14 SCFVector2616.9-15 SCFaceLattice2626.9-16 SCFaceLatticeEx2636.9-17 SCFaces2646.9-18 SCFacesEx2656.9-19 SCFacets2666.9-20 SCFacetsEx2676.9-21 SCFpBettiNumbers2686.9-22 SCFundamentalGroup2696.9-23 SCGVector2706.9-24 SCGenerators2716.9-25 SCGeneratorsEx2726.9-26 SCHVector2736.9-27 SCHasBoundary2746.9-28 SCHasInterior2756.9-29 SCHeegaardSplittingSmallGenus2766.9-30 SCHeegaardSplitting2776.9-31 SCHomologyClassic2786.9-32 SCIncidences2796.9-33 SCIncidencesEx2806.9-34 SCInterior2816.9-35 SCIsCentrallySymmetric2826.9-36 SCIsConnected2836.9-37 SCIsEmpty2846.9-38 SCIsEulerianManifold2856.9-39 SCIsFlag2866.9-40 SCIsHeegaardSplitting2876.9-41 SCIsHomologySphere2886.9-42 SCIsInKd2896.9-43 SCIsKNeighborly2906.9-44 SCIsOrientable2916.9-45 SCIsPseudoManifold2926.9-46 SCIsPure2936.9-47 SCIsShellable2946.9-48 SCIsStronglyConnected2956.9-49 SCMinimalNonFaces2966.9-50 SCMinimalNonFacesEx2976.9-51 SCNeighborliness2986.9-52 SCNumFaces2996.9-53 SCOrientation3006.9-54 SCSkel3016.9-55 SCSkelEx3026.9-56 SCSpanningTree3036.10 [33X[0;0YOperations on simplicial complexes[133X3046.10-1 SCAlexanderDual3056.10-2 SCClose3066.10-3 SCCone3076.10-4 SCDeletedJoin3086.10-5 SCDifference3096.10-6 SCFillSphere3106.10-7 SCHandleAddition3116.10-8 SCIntersection3126.10-9 SCIsIsomorphic3136.10-10 SCIsSubcomplex3146.10-11 SCIsomorphism3156.10-12 SCIsomorphismEx3166.10-13 SCJoin3176.10-14 SCNeighbors3186.10-15 SCNeighborsEx3196.10-16 SCShelling3206.10-17 SCShellingExt3216.10-18 SCShellings3226.10-19 SCSpan3236.10-20 SCSuspension3246.10-21 SCUnion3256.10-22 SCVertexIdentification3266.10-23 SCWedge3277 [33X[0;0YFunctions and operations for [10XSCNormalSurface[110X[133X3287.1 [33X[0;0YCreating an [10XSCNormalSurface[110X object[133X3297.1-1 SCNSEmpty3307.1-2 SCNSFromFacets3317.1-3 SCNS3327.1-4 SCNSSlicing3337.2 [33X[0;0YGenerating new objects from discrete normal surfaces[133X3347.2-1 SCCopy3357.2-2 SCNSTriangulation3367.3 [33X[0;0YProperties of [10XSCNormalSurface[110X objects[133X3377.3-1 SCConnectedComponents3387.3-2 SCDim3397.3-3 SCEulerCharacteristic3407.3-4 SCFVector3417.3-5 SCFaceLattice3427.3-6 SCFaceLatticeEx3437.3-7 SCFpBettiNumbers3447.3-8 SCGenus3457.3-9 SCHomology3467.3-10 SCIsConnected3477.3-11 SCIsEmpty3487.3-12 SCIsOrientable3497.3-13 SCSkel3507.3-14 SCSkelEx3517.3-15 SCTopologicalType3527.3-16 SCUnion3538 [33X[0;0Y(Co-)Homology of simplicial complexes[133X3548.1 [33X[0;0YHomology computation[133X3558.1-1 SCBoundaryOperatorMatrix3568.1-2 SCBoundarySimplex3578.1-3 SCHomologyBasis3588.1-4 SCHomologyBasisAsSimplices3598.1-5 SCHomologyInternal3608.2 [33X[0;0YCohomology computation[133X3618.2-1 SCCoboundaryOperatorMatrix3628.2-2 SCCohomology3638.2-3 SCCohomologyBasis3648.2-4 SCCohomologyBasisAsSimplices3658.2-5 SCCupProduct3668.2-6 SCIntersectionForm3678.2-7 SCIntersectionFormParity3688.2-8 SCIntersectionFormDimensionality3698.2-9 SCIntersectionFormSignature3709 [33X[0;0YBistellar flips[133X3719.1 [33X[0;0YTheory[133X3729.2 [33X[0;0YFunctions for bistellar flips[133X3739.2-1 SCBistellarOptions3749.2-2 SCEquivalent3759.2-3 SCExamineComplexBistellar3769.2-4 SCIntFunc.SCChooseMove3779.2-5 SCIsKStackedSphere3789.2-6 SCBistellarIsManifold3799.2-7 SCIsMovableComplex3809.2-8 SCMove3819.2-9 SCMoves3829.2-10 SCRMoves3839.2-11 SCRandomize3849.2-12 SCReduceAsSubcomplex3859.2-13 SCReduceComplex3869.2-14 SCReduceComplexEx3879.2-15 SCReduceComplexFast38810 [33X[0;0YSimplicial blowups[133X38910.1 [33X[0;0YTheory[133X39010.2 [33X[0;0YFunctions related to simplicial blowups[133X39110.2-1 SCBlowup39210.2-2 SCMappingCylinder39311 [33X[0;0YPolyhedral Morse theory[133X39411.1 [33X[0;0YPolyhedral Morse theory related functions[133X39511.1-1 SCIsTight39611.1-2 SCMorseIsPerfect39711.1-3 SCSlicing39811.1-4 SCMorseMultiplicityVector39911.1-5 SCMorseNumberOfCriticalPoints40012 [33X[0;0YForman's discrete Morse theory[133X40112.1 [33X[0;0YFunctions using discrete Morse theory[133X40212.1-1 SCCollapseGreedy40312.1-2 SCCollapseLex40412.1-3 SCCollapseRevLex40512.1-4 SCHasseDiagram40612.1-5 SCMorseEngstroem40712.1-6 SCMorseRandom40812.1-7 SCMorseRandomLex40912.1-8 SCMorseRandomRevLex41012.1-9 SCMorseSpec41112.1-10 SCMorseUST41212.1-11 SCSpanningTreeRandom41312.1-12 SCHomology41412.1-13 SCHomologyEx41512.1-14 SCIsSimplyConnected41612.1-15 SCIsSimplyConnectedEx41712.1-16 SCIsSphere41812.1-17 SCIsManifold41912.1-18 SCIsManifoldEx42013 [33X[0;0YLibrary and I/O[133X42113.1 [33X[0;0YSimplicial complex library[133X42213.1-1 SCIsLibRepository42313.1-2 SCLib42413.1-3 SCLibAdd42513.1-4 SCLibAllComplexes42613.1-5 SCLibDelete42713.1-6 SCLibDetermineTopologicalType42813.1-7 SCLibFlush42913.1-8 SCLibInit43013.1-9 SCLibIsLoaded43113.1-10 SCLibSearchByAttribute43213.1-11 SCLibSearchByName43313.1-12 SCLibSize43413.1-13 SCLibUpdate43513.1-14 SCLibStatus43613.2 [33X[0;0Y[5Xsimpcomp[105X input / output functions[133X43713.2-1 SCLoad43813.2-2 SCLoadXML43913.2-3 SCSave44013.2-4 SCSaveXML44113.2-5 SCExportMacaulay244213.2-6 SCExportPolymake44313.2-7 SCImportPolymake44413.2-8 SCExportLatexTable44513.2-9 SCExportJavaView44613.2-10 SCExportPolymake44713.2-11 SCExportSnapPy44814 [33X[0;0YInterfaces to other software packages[133X44914.1 [33X[0;0YInterface to the [5XGAP[105X-package [5Xhomalg[105X[133X45014.1-1 SCHomalgBoundaryMatrices45114.1-2 SCHomalgCoboundaryMatrices45214.1-3 SCHomalgHomology45314.1-4 SCHomalgHomologyBasis45414.1-5 SCHomalgCohomology45514.1-6 SCHomalgCohomologyBasis45615 [33X[0;0YMiscellaneous functions[133X45715.1 [33X[0;0Y[5Xsimpcomp[105X logging[133X45815.1-1 SCInfoLevel45915.2 [33X[0;0YEmail notification system[133X46015.2-1 SCMailClearPending46115.2-2 SCMailIsEnabled46215.2-3 SCMailIsPending46315.2-4 SCMailSend46415.2-5 SCMailSendPending46515.2-6 SCMailSetAddress46615.2-7 SCMailSetEnabled46715.2-8 SCMailSetMinInterval46815.3 [33X[0;0YTesting the functionality of [5Xsimpcomp[105X[133X46915.3-1 SCRunTest47016 [33X[0;0YProperty handlers[133X47116.1 [33X[0;0YProperty handlers of [10XSCPolyhedralComplex[110X[133X47216.2 [33X[0;0YProperty handlers of [10XSCSimplicialComplex[110X[133X47316.3 [33X[0;0YProperty handlers of [10XSCNormalSurface[110X[133X47416.4 [33X[0;0YProperty handlers of [10XSCLibRepository[110X[133X47517 [33X[0;0YA demo session with [5Xsimpcomp[105X[133X47617.1 [33X[0;0YCreating a [10XSCSimplicialComplex[110X object[133X47717.2 [33X[0;0YWorking with a [10XSCSimplicialComplex[110X object[133X47817.3 [33X[0;0YCalculating properties of a [10XSCSimplicialComplex[110X object[133X47917.4 [33X[0;0YCreating new complexes from a [10XSCSimplicialComplex[110X object[133X48017.5 [33X[0;0YHomology related calculations[133X48117.6 [33X[0;0YBistellar flips[133X48217.7 [33X[0;0YSimplicial blowups[133X48317.8 [33X[0;0YDiscrete normal surfaces and slicings[133X48418 [33X[0;0Y[5Xsimpcomp[105X internals[133X48518.1 [33X[0;0YThe [5XGAP[105X object type [10XSCPropertyObject[110X[133X48618.1-1 SCProperties48718.1-2 SCPropertiesFlush48818.1-3 SCPropertiesManaged48918.1-4 SCPropertiesNames49018.1-5 SCPropertiesTmp49118.1-6 SCPropertiesTmpNames49218.1-7 SCPropertyByName49318.1-8 SCPropertyDrop49418.1-9 SCPropertyHandlersSet49518.1-10 SCPropertySet49618.1-11 SCPropertySetMutable49718.1-12 SCPropertyTmpByName49818.1-13 SCPropertyTmpDrop49918.1-14 SCPropertyTmpSet50018.2 [33X[0;0YExample of a common attribute[133X50118.3 [33X[0;0YWriting a method for an attribute[133X502503504[32X505506507