  
  
                                    [1X[5Xsimpcomp[0m[1X[0m
  
  
                     [1XA [5XGAP[0m[1X toolbox for simplicial complexes[0m
  
  
                                 Version 1.3.3
  
  
                                  August 2010
  
  
                               Felix Effenberger
  
                                Jonathan Spreer
  
  
  
  Felix Effenberger
      Email:    [7Xmailto:effenberger@mathematik.uni-stuttgart.de[0m
  Jonathan Spreer
      Email:    [7Xmailto:spreer@mathematik.uni-stuttgart.de[0m
  
  
  Address: University of Stuttgart
           Department of Mathematics
           Institute of Geometry and Topology
           D-70550 Stuttgart, Germany
  
  
  -------------------------------------------------------
  [1XAbstract[0m
  [5Xsimpcomp[0m  is  a [5XGAP[0m package for working with simplicial complexes. It allows
  the  computation of many properties of simplicial complexes (such as the f-,
  g-  and  h-vectors,  the face lattice, the automorphism group, (co-)homology
  with  explicit  basis computation, intersection form, etc.) and provides the
  user  with  functions  to  compute new complexes from old (simplex links and
  stars,  connected  sums,  cartesian  products,  handle  additions, bistellar
  flips, etc.). Furthermore, [5Xsimpcomp[0m ships with an extensive library of known
  triangulations  of  manifolds  and provides the user with the possibility to
  create own complex libraries.
  [5Xsimpcomp[0m  caches  computed properties of a simplicial complex, thus avoiding
  unnecessary  computations,  internally  handles  the  vertex labeling of the
  complexes and insures the consistency of a simplicial complex throughout all
  operations.
  [5Xsimpcomp[0m  relies  on  the  [5XGAP[0m  package  [5Xhomology[0m  [DHSW04] for its homology
  computation,  but also provides the user with an own (co-)homology algorithm
  in  case  the  packacke  [5Xhomology[0m  is  not available. For automorphism group
  computation  the  [5XGAP[0m  package [5XGRAPE[0m [Soi06] is used, which in turn uses the
  program  [10Xnauty[0m  by  Brendan  McKay  [McK84].  An internal automorphism group
  calculation  algorithm  in  used  as  fallback  if  the [5XGRAPE[0m package is not
  available.
  
  
  -------------------------------------------------------
  [1XCopyright[0m
  © 2010 Felix Effenberger and Jonathan Spreer. Permission is granted to copy,
  distribute  and/or  modify  this  document  under  the terms of the GNU Free
  Documentation  License,  Version  1.2  or any later version published by the
  Free Software Foundation, see [7Xhttp://www.fsf.org/licensing/licenses/fdl.html[0m
  for a copy.
  
  [5Xsimpcomp[0m  is  free  software. The code of [5Xsimpcomp[0m is released under the GPL
  version  2  or  later  (at your preference). For the text of the GPL see the
  file [10XCOPYING[0m in the [5Xsimpcomp[0m directory or [7Xhttp://www.gnu.org/licenses/[0m.
  
  
  -------------------------------------------------------
  [1XAcknowledgements[0m
  A  few  functions  of  [5Xsimpcomp[0m  are  based  on code from other authors. The
  bistellar  flips  implementation  is  based upon work of Frank Lutz [Lut03].
  Some  functions  were carried over from the [5XHomology[0m package by Dumas et al.
  [DHSW04]  --  these functions are marked in the documentation and the source
  code. The internal (co)homology algorithms were implemented by Armin Weiss.
  
  Most  of  the complexes in the simplicial complex library are taken from the
  "Manifold Page" by Frank Lutz [ManifoldPage].
  
  The first author acknowledges support by the Deutsche Forschungsgemeinschaft
  (DFG). This work was carried out as part of the DFG project "Ku 1203/5-2".
  
  
  -------------------------------------------------------
  
  
  [1XContents (SimpComp)[0X
  
  1 Introduction
    1.1 Why [5Xsimpcomp[0m
    1.2 How to save time reading this document
    1.3 Organization of this document
    1.4 How to assure [5Xsimpcomp[0m works correctly
    1.5 How to cite [5Xsimpcomp[0m
  2 Theoretical foundations
    2.1 Polytopes and polytopal complexes
    2.2 Simplices and simplicial complexes
    2.3 From geometry to combinatorics
    2.4 Polyhedral Morse theory and slicings
    2.5 Normal surfaces as combinatorial slicings
    2.6 Tightness and tight triangulations
  3 The GAP object types SCSimplicicalComplex and SCNormalSurface
    3.1 The object types [10XSCSimplicialComplex[0m and [10XSCPropertyObject[0m
      3.1-1 SCIsSimplicialComplex
      3.1-2 SCCopy
      3.1-3 ShallowCopy (SCSimplicialComplex)
      3.1-4 SCForceRecalc
    3.2 Accessing properties of a [10XSCSimplicialComplex[0m object
    3.3 Overloaded operators of [10XSCSimplicialComplex[0m
      3.3-1 Operation + (SCSimplicialComplex, Integer)
      3.3-2 Operation - (SCSimplicialComplex, Integer)
      3.3-3 Operation mod (SCSimplicialComplex, Integer)
      3.3-4 Operation ^ (SCSimplicialComplex, Integer)
      3.3-5 Operation + (SCSimplicialComplex, SCSimplicialComplex)
      3.3-6 Operation - (SCSimplicialComplex, SCSimplicialComplex)
      3.3-7 Operation * (SCSimplicialComplex, SCSimplicialComplex)
      3.3-8 Operation = (SCSimplicialComplex, SCSimplicialComplex)
      3.3-9 Operation Union (SCSimplicialComplex, SCSimplicialComplex)
      3.3-10 Operation Difference (SCSimplicialComplex, SCSimplicialComplex)
      3.3-11 Operation Intersection (SCSimplicialComplex, SCSimplicialComplex)
    3.4 [10XSCSimplicialComplex[0m as a subtype of [10XSet[0m
      3.4-1 Size (SCSimplicialComplex)
      3.4-2 Length (SCSimplicialComplex)
      3.4-3 Operation [] (SCSimplicialComplex)
      3.4-4 IsBound (SCSimplicialComplex)
      3.4-5 Iterator (SCSimplicialComplex)
    3.5 The object type [10XSCNormalSurface[0m as a subtype of [10XSCPropertyObject[0m
    3.6 Overloaded operators of [10XSCNormalSurface[0m
      3.6-1 Operation + (SCNormalSurface, Integer)
      3.6-2 Operation - (SCNormalSurface, Integer)
      3.6-3 Operation mod (SCNormalSurface, Integer)
      3.6-4 Operation = (SCNormalSurface, SCNormalSurface)
      3.6-5 Operation Union (SCNormalSurface, SCNormalSurface)
    3.7 [10XSCNormalSurface[0m as a subtype of [10XSet[0m
  4 Functions for simplicial complexes
    4.1 Creating an [10XSCSimplicialComplex[0m object from a facet list
      4.1-1 SCFromFacets
      4.1-2 SC
      4.1-3 SCFromDifferenceCycles
      4.1-4 SCFromGenerators
    4.2 Generating some standard triangulations
      4.2-1 SCBdCrossPolytope
      4.2-2 SCBdCyclicPolytope
      4.2-3 SCBdSimplex
      4.2-4 SCEmpty
      4.2-5 SCSimplex
      4.2-6 SCFVectorBdCrossPolytope
      4.2-7 SCFVectorBdCyclicPolytope
      4.2-8 SCFVectorBdSimplex
    4.3 Generating new complexes from old
      4.3-1 SCCartesianPower
      4.3-2 SCCartesianProduct
      4.3-3 SCConnectedComponents
      4.3-4 SCConnectedProduct
      4.3-5 SCConnectedSum
      4.3-6 SCConnectedSumMinus
      4.3-7 SCDifferenceCycleCompress
      4.3-8 SCDifferenceCycleExpand
      4.3-9 SCStronglyConnectedComponents
    4.4 Simplicial complexes from transitive permutation groups
      4.4-1 SCsFromGroupExt
      4.4-2 SCsFromGroupByTransitivity
    4.5 Vertex labelings and label operations
      4.5-1 SCLabelMax
      4.5-2 SCLabelMin
      4.5-3 SCLabels
      4.5-4 SCRelabel
      4.5-5 SCRelabelStandard
      4.5-6 SCRelabelTransposition
      4.5-7 SCRename
      4.5-8 SCSortComplex
      4.5-9 SCUnlabelFace
    4.6 Computing properties of simplicial complexes
      4.6-1 SCAltshulerSteinberg
      4.6-2 SCAutomorphismGroup
      4.6-3 SCAutomorphismGroupInternal
      4.6-4 SCBoundary
      4.6-5 SCDehnSommervilleCheck
      4.6-6 SCDehnSommervilleMatrix
      4.6-7 SCDim
      4.6-8 SCDualGraph
      4.6-9 SCEulerCharacteristic
      4.6-10 SCFVector
      4.6-11 SCFaceLattice
      4.6-12 SCFaceLatticeEx
      4.6-13 SCFaces
      4.6-14 SCFacesEx
      4.6-15 SCFacets
      4.6-16 SCFacetsEx
      4.6-17 SCFpBettiNumbers
      4.6-18 SCFundamentalGroup
      4.6-19 SCGVector
      4.6-20 SCGenerators
      4.6-21 SCGeneratorsEx
      4.6-22 SCHVector
      4.6-23 SCHasBoundary
      4.6-24 SCHasInterior
      4.6-25 SCHomology
      4.6-26 SCIncidences
      4.6-27 SCIncidencesEx
      4.6-28 SCInterior
      4.6-29 SCIsCentrallySymmetric
      4.6-30 SCIsConnected
      4.6-31 SCIsEmpty
      4.6-32 SCIsEulerianManifold
      4.6-33 SCIsFlag
      4.6-34 SCIsHomologySphere
      4.6-35 SCIsInKd
      4.6-36 SCIsKNeighborly
      4.6-37 SCIsOrientable
      4.6-38 SCIsPseudoManifold
      4.6-39 SCIsPure
      4.6-40 SCIsShellable
      4.6-41 SCIsStronglyConnected
      4.6-42 SCMinimalNonFaces
      4.6-43 SCMinimalNonFacesEx
      4.6-44 SCName
      4.6-45 SCNeighborliness
      4.6-46 SCNumFaces
      4.6-47 SCOrientation
      4.6-48 SCSkel
      4.6-49 SCSkelEx
      4.6-50 SCSpanningTree
      4.6-51 SCVertices
      4.6-52 SCVerticesEx
    4.7 Operations on simplicial complexes
      4.7-1 SCAlexanderDual
      4.7-2 SCCollapseGreedy
      4.7-3 SCCone
      4.7-4 SCDeletedJoin
      4.7-5 SCDifference
      4.7-6 SCHandleAddition
      4.7-7 SCIntersection
      4.7-8 SCIsIsomorphic
      4.7-9 SCIsSubcomplex
      4.7-10 SCIsomorphism
      4.7-11 SCIsomorphismEx
      4.7-12 SCJoin
      4.7-13 SCLink
      4.7-14 SCLinks
      4.7-15 SCNeighbors
      4.7-16 SCNeighborsEx
      4.7-17 SCShelling
      4.7-18 SCShellingExt
      4.7-19 SCShellings
      4.7-20 SCSpan
      4.7-21 SCStar
      4.7-22 SCStars
      4.7-23 SCSuspension
      4.7-24 SCUnion
      4.7-25 SCVertexIdentification
      4.7-26 SCWedge
  5 (Co-)Homology of simplicial complexes
    5.1 Homology computation
      5.1-1 SCBoundaryOperatorMatrix
      5.1-2 SCBoundarySimplex
      5.1-3 SCHomologyBasis
      5.1-4 SCHomologyBasisAsSimplices
      5.1-5 SCHomologyInternal
    5.2 Cohomology computation
      5.2-1 SCCoboundaryOperatorMatrix
      5.2-2 SCCohomology
      5.2-3 SCCohomologyBasis
      5.2-4 SCCohomologyBasisAsSimplices
      5.2-5 SCCupProduct
      5.2-6 SCIntersectionForm
      5.2-7 SCIntersectionFormParity
      5.2-8 SCIntersectionFormDimensionality
      5.2-9 SCIntersectionFormSignature
  6 Bistellar flips
    6.1 Theory
    6.2 Functions for bistellar flips
      6.2-1 SCBistellarOptions
      6.2-2 SCEquivalent
      6.2-3 SCExamineComplexBistellar
      6.2-4 SCIntFunc.SCChooseMove
      6.2-5 SCIsKStackedSphere
      6.2-6 SCIsManifold
      6.2-7 SCIsMovableComplex
      6.2-8 SCMove
      6.2-9 SCMoves
      6.2-10 SCRMoves
      6.2-11 SCRandomize
      6.2-12 SCReduceAsSubcomplex
      6.2-13 SCReduceComplex
      6.2-14 SCReduceComplexEx
  7 Polyhedral Morse theory
    7.1 Polyhedral Morse theory related functions
      7.1-1 SCIsTight
      7.1-2 SCMorseIsPerfect
      7.1-3 SCSlicing
      7.1-4 SCMorseMultiplicityVector
      7.1-5 SCMorseNumberOfCriticalPoints
  8 Functions for normal surfaces
    8.1 Creating an [10XSCNormalSurface[0m object
      8.1-1 SCNSEmpty
      8.1-2 SCNSFromFacets
      8.1-3 SCNS
      8.1-4 SCNSSlicing
    8.2 Generating new objects from normal surfaces
      8.2-1 SCNSCopy
      8.2-2 SCNSSubdivision
    8.3 Properties of [10XSCNormalSurface[0m objects
      8.3-1 SCNSDim
      8.3-2 SCNSEulerCharacteristic
      8.3-3 SCNSFVector
      8.3-4 SCNSFaceLattice
      8.3-5 SCNSFaceLatticeEx
      8.3-6 SCNSFpBettiNumbers
      8.3-7 SCNSGenus
      8.3-8 SCNSHomology
      8.3-9 SCNSSkel
      8.3-10 SCNSSkelEx
      8.3-11 SCNSTopologicalType
    8.4 Polyhedral Morse theory for normal surfaces
  9 Library and I/O
    9.1 Simplicial complex library
      9.1-1 SCIsLibRepository
      9.1-2 SCLib
      9.1-3 SCLibAdd
      9.1-4 SCLibAllComplexes
      9.1-5 SCLibDelete
      9.1-6 SCLibDetermineTopologicalType
      9.1-7 SCLibFlush
      9.1-8 SCLibInit
      9.1-9 SCLibIsLoaded
      9.1-10 SCLibSearchByAttribute
      9.1-11 SCLibSearchByName
      9.1-12 SCLibSize
      9.1-13 SCLibUpdate
      9.1-14 SCLibStatus
    9.2 [5Xsimpcomp[0m input / output functions
      9.2-1 SCLoad
      9.2-2 SCSave
      9.2-3 SCExportMacaulay2
      9.2-4 SCExportPolymake
      9.2-5 SCImportPolymake
      9.2-6 SCExportLatexTable
      9.2-7 SCExportJavaView
  10 Miscellaneous functions
    10.1 [5Xsimpcomp[0m error handling
      10.1-1 SCErrorBreak
      10.1-2 SCErrorMail
    10.2 Email notification system
      10.2-1 SCMailClearPending
      10.2-2 SCMailIsEnabled
      10.2-3 SCMailIsPending
      10.2-4 SCMailSend
      10.2-5 SCMailSendPending
      10.2-6 SCMailSetAddress
      10.2-7 SCMailSetEnabled
      10.2-8 SCMailSetMinInterval
    10.3 Testing the functionality of [5Xsimpcomp[0m
      10.3-1 SCRunTest
  11 Property handlers
    11.1 Property handlers of a [10XSCSimplicialComplex[0m
    11.2 Property handlers of a [10XSCNormalSurface[0m
  12 A demo session with [5Xsimpcomp[0m
    12.1 Creating a [10XSCSimplicialComplex[0m object
    12.2 Working with a [10XSCSimplicialComplex[0m object
    12.3 Calculating properties of a [10XSCSimplicialComplex[0m object
    12.4 Creating new complexes from a [10XSCSimplicialComplex[0m object
    12.5 Homology related calculations
    12.6 Bistellar flips
  13 [5Xsimpcomp[0m internals
    13.1 Example of a common property handler
    13.2 Writing a property handler
  
  
  -------------------------------------------------------
