  
  [1X16 A demo session with [5Xsimpcomp[1X[0X
  
  This chapter contains the transcript of a demo session with [5Xsimpcomp[0m that is
  intended to give an insight into what things can be done with this package.
  
  Of  course  this  only  scratches  the  surface of the functions provided by
  [5Xsimpcomp[0m.  See  Chapters  [14X4[0m  through  [14X14[0m  for  further functions provided by
  [5Xsimpcomp[0m.
  
  
  [1X16.1 Creating a [10XSCSimplicialComplex[1X object[0X
  
  Simplicial  complex objects can either be created from a facet list (complex
  [10Xc1[0m  below), orbit representatives together with a permutation group (complex
  [10Xc2[0m)  or  difference  cycles  (complex  [10Xc3[0m, see Section [14X6.1[0m), from a function
  generating  triangulations  of  standard  complexes (complex [10Xc4[0m, see Section
  [14X6.2[0m)  or  from  a  function  constructing  infinite series for combinatorial
  (pseudo)manifolds  (complexes  [10Xc5[0m,  [10Xc6[0m, [10Xc7[0m, see Section [14X6.3[0m and the function
  prefix  [10XSCSeries...[0m).  There  are  also  functions  creating  new simplicial
  complexes  from  old,  see  Section [14X6.4[0m, which will be described in the next
  sections.
  
  [4X---------------------------  Example  ----------------------------[0X
    [4Xgap> #first run functionality test on simpcomp[0X
    [4Xgap> SCRunTest();[0X
    [4X+ test simpcomp package, version 1.5.3[0X
    [4X+ GAP4stones: 69988[0X
    [4Xtrue[0X
    [4Xgap> #all ok[0X
    [4Xgap> c1:=SCFromFacets([[1,2],[2,3],[3,1]]);[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Dim, Facets, Name, VertexLabels.[0X
    [4X[0X
    [4X Name="unnamed complex 1"[0X
    [4X Dim=1[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> G:=Group([(2,12,11,6,8,3)(4,7,10)(5,9),(1,11,6,4,5,3,10,8,9,7,2,12)]);[0X
    [4XGroup([ (2,12,11,6,8,3)(4,7,10)(5,9), (1,11,6,4,5,3,10,8,9,7,2,12) ])[0X
    [4Xgap> StructureDescription(G);[0X
    [4X"S4 x S3"[0X
    [4Xgap> Size(G);[0X
    [4X144[0X
    [4Xgap> c2:=SCFromGenerators(G,[[1,2,3]]);;[0X
    [4Xgap> c2.IsManifold;                    [0X
    [4Xtrue[0X
    [4Xgap> SCLibDetermineTopologicalType(c2);[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: AutomorphismGroup, AutomorphismGroupSize, [0X
    [4X                   AutomorphismGroupStructure, AutomorphismGroupTransitivity,\[0X
    [4X [0X
    [4X                   Boundary, Dim, Faces, Facets, Generators, HasBoundary, [0X
    [4X                   IsManifold, IsPM, Name, TopologicalType, VertexLabels, [0X
    [4X                   Vertices.[0X
    [4X[0X
    [4X Name="complex from generators under group S4 x S3"[0X
    [4X Dim=2[0X
    [4X AutomorphismGroupSize=144[0X
    [4X AutomorphismGroupStructure="S4 x S3"[0X
    [4X AutomorphismGroupTransitivity=1[0X
    [4X HasBoundary=false[0X
    [4X IsPM=true[0X
    [4X TopologicalType="T^2"[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> c3:=SCFromDifferenceCycles([[1,1,6],[3,3,2]]);[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Dim, Facets, Name, VertexLabels.[0X
    [4X[0X
    [4X Name="complex from diffcycles [ [ 1, 1, 6 ], [ 3, 3, 2 ] ]"[0X
    [4X Dim=2[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> c4:=SCBdSimplex(2);[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: AutomorphismGroup, AutomorphismGroupOrder, [0X
    [4X                   AutomorphismGroupStructure, AutomorphismGroupTransitivity, [0X
    [4X                   Chi, Dim, F, Facets, Generators, HasBounday, Homology, [0X
    [4X                   IsConnected, IsStronglyConnected, Name, TopologicalType, [0X
    [4X                   VertexLabels.[0X
    [4X[0X
    [4X Name="S^1_3"[0X
    [4X Dim=1[0X
    [4X AutomorphismGroupStructure="S3"[0X
    [4X AutomorphismGroupTransitivity=3[0X
    [4X Chi=0[0X
    [4X F=[ 3, 3 ][0X
    [4X Homology=[ [ 0, [ ] ], [ 1, [ ] ] ][0X
    [4X IsConnected=true[0X
    [4X IsStronglyConnected=true[0X
    [4X TopologicalType="S^1"[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> c5:=SCSeriesCSTSurface(2,16);;    [0X
    [4Xgap> SCLibDetermineTopologicalType(c5);[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Boundary, Dim, Faces, Facets, HasBoundary, IsPM, Name, [0X
    [4X                   TopologicalType, VertexLabels.[0X
    [4X[0X
    [4X Name="cst surface S_{(2,16)} = { (2:2:12),(6:6:4) }"[0X
    [4X Dim=2[0X
    [4X HasBoundary=false[0X
    [4X IsPM=true[0X
    [4X TopologicalType="T^2 U T^2"[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> c6:=SCSeriesD2n(22);;[0X
    [4Xgap> c6.Homology;[0X
    [4X[ [ 0, [  ] ], [ 1, [  ] ], [ 0, [ 2 ] ], [ 0, [  ] ] ][0X
    [4Xgap> c6.F;[0X
    [4X[ 44, 264, 440, 220 ][0X
    [4Xgap> SCSeriesAGL(17);[0X
    [4X[ AGL(1,17), [ [ 1, 2, 4, 8, 16 ] ] ][0X
    [4Xgap> c7:=SCFromGenerators(last[1],last[2]);;[0X
    [4Xgap> c7.AutomorphismGroupTransitivity;[0X
    [4X2[0X
  [4X------------------------------------------------------------------[0X
  
  
  [1X16.2 Working with a [10XSCSimplicialComplex[1X object[0X
  
  As  described  in  Section  [14X3.1[0m  there  are two several ways of accessing an
  object  of  type [10XSCSimplicialComplex[0m. An example for the two equivalent ways
  is given below. The preference will be given to the object oriented notation
  in this demo session. The code listed below
  
  [4X---------------------------  Example  ----------------------------[0X
    [4Xgap> c:=SCBdSimplex(3);; # create a simplicial complex object[0X
    [4Xgap> SCFVector(c);[0X
    [4X[ 4, 6, 4 ][0X
    [4Xgap> SCSkel(c,0);[0X
    [4X[ [ 1 ], [ 2 ], [ 3 ], [ 4 ] ][0X
  [4X------------------------------------------------------------------[0X
  
  is equivalent to
  
  [4X---------------------------  Example  ----------------------------[0X
    [4Xgap> c:=SCBdSimplex(3);; # create a simplicial complex object[0X
    [4Xgap> c.F;[0X
    [4X[ 4, 6, 4 ][0X
    [4Xgap> c.Skel(0);[0X
    [4X[ [ 1 ], [ 2 ], [ 3 ], [ 4 ] ][0X
  [4X------------------------------------------------------------------[0X
  
  
  [1X16.3 Calculating properties of a [10XSCSimplicialComplex[1X object[0X
  
  [5Xsimpcomp[0m  provides  a  variety  of  functions  for calculating properties of
  simplicial  complexes,  see  Section  [14X6.6[0m.  All  these  properties  are only
  calculated once and stored in the [10XSCSimplicialComplex[0m object.
  
  [4X---------------------------  Example  ----------------------------[0X
    [4Xgap> c1.F;     [0X
    [4X[ 3, 3 ][0X
    [4Xgap> c1.FaceLattice;[0X
    [4X[ [ [ 1 ], [ 2 ], [ 3 ] ], [ [ 1, 2 ], [ 1, 3 ], [ 2, 3 ] ] ][0X
    [4Xgap> c1.AutomorphismGroup;[0X
    [4XS3[0X
    [4Xgap> c1.Generators;[0X
    [4X[ [ [ 1, 2 ], 3 ] ][0X
    [4Xgap> c3.Facets;[0X
    [4X[ [ 1, 2, 3 ], [ 1, 2, 8 ], [ 1, 3, 6 ], [ 1, 4, 6 ], [ 1, 4, 7 ], [0X
    [4X  [ 1, 7, 8 ], [ 2, 3, 4 ], [ 2, 4, 7 ], [ 2, 5, 7 ], [ 2, 5, 8 ], [0X
    [4X  [ 3, 4, 5 ], [ 3, 5, 8 ], [ 3, 6, 8 ], [ 4, 5, 6 ], [ 5, 6, 7 ], [0X
    [4X  [ 6, 7, 8 ] ][0X
    [4Xgap> c3.F;[0X
    [4X[ 8, 24, 16 ][0X
    [4Xgap> c3.G;[0X
    [4X[ 4 ][0X
    [4Xgap> c3.H;[0X
    [4X[ 5, 11, -1 ][0X
    [4Xgap> c3.ASDet;[0X
    [4X186624[0X
    [4Xgap> c3.Chi;[0X
    [4X0[0X
    [4Xgap> c3.Generators;[0X
    [4X[ [ [ 1, 2, 3 ], 16 ] ][0X
    [4Xgap> c3.HasBoundary;[0X
    [4Xfalse[0X
    [4Xgap> c3.IsConnected;[0X
    [4Xtrue[0X
    [4Xgap> c3.IsCentrallySymmetric;[0X
    [4Xtrue[0X
    [4Xgap> c3.Vertices;[0X
    [4X[ 1, 2, 3, 4, 5, 6, 7, 8 ][0X
    [4Xgap> c3.ConnectedComponents;[0X
    [4X[ [SimplicialComplex[0X
    [4X    [0X
    [4X     Properties known: Dim, Facets, Name, VertexLabels.[0X
    [4X    [0X
    [4X     Name="Connected component #1 of complex from diffcycles [ [ 1, 1, 6 ], [ \[0X
    [4X3, 3, 2 ] ]"[0X
    [4X     Dim=2[0X
    [4X    [0X
    [4X    /SimplicialComplex] ][0X
    [4Xgap> c3.UnknownProperty;[0X
    [4X#I  SCPropertyObject: unhandled property 'UnknownProperty'. Handled properties\[0X
    [4X are [ "Equivalent", "IsKStackedSphere", "IsManifold", "IsMovable", "Move", [0X
    [4X  "Moves", "RMoves", "ReduceAsSubcomplex", "Reduce", "ReduceEx", "Copy", [0X
    [4X  "Recalc", "ASDet", "AutomorphismGroup", "AutomorphismGroupInternal", [0X
    [4X  "Boundary", "ConnectedComponents", "Dim", "DualGraph", "Chi", "F", [0X
    [4X  "FaceLattice", "FaceLatticeEx", "Faces", "FacesEx", "Facets", "FacetsEx", [0X
    [4X  "FpBetti", "FundamentalGroup", "G", "Generators", "GeneratorsEx", "H", [0X
    [4X  "HasBoundary", "HasInterior", "Homology", "Incidences", "IncidencesEx", [0X
    [4X  "Interior", "IsCentrallySymmetric", "IsConnected", "IsEmpty", [0X
    [4X  "IsEulerianManifold", "IsHomologySphere", "IsInKd", "IsKNeighborly", [0X
    [4X  "IsOrientable", "IsPM", "IsPure", "IsShellable", "IsStronglyConnected", [0X
    [4X  "MinimalNonFaces", "MinimalNonFacesEx", "Name", "Neighborliness", [0X
    [4X  "Orientation", "Skel", "SkelEx", "SpanningTree", [0X
    [4X  "StronglyConnectedComponents", "Vertices", "VerticesEx", [0X
    [4X  "BoundaryOperatorMatrix", "HomologyBasis", "HomologyBasisAsSimplices", [0X
    [4X  "HomologyInternal", "CoboundaryOperatorMatrix", "Cohomology", [0X
    [4X  "CohomologyBasis", "CohomologyBasisAsSimplices", "CupProduct", [0X
    [4X  "IntersectionForm", "IntersectionFormParity", [0X
    [4X  "IntersectionFormDimensionality", "Load", "Save", "ExportPolymake", [0X
    [4X  "ExportLatexTable", "ExportJavaView", "LabelMax", "LabelMin", "Labels", [0X
    [4X  "Relabel", "RelabelStandard", "RelabelTransposition", "Rename", [0X
    [4X  "SortComplex", "UnlabelFace", "AlexanderDual", "CollapseGreedy", "Cone", [0X
    [4X  "DeletedJoin", "Difference", "HandleAddition", "Intersection", [0X
    [4X  "IsIsomorphic", "IsSubcomplex", "Isomorphism", "IsomorphismEx", "Join", [0X
    [4X  "Link", "Links", "Neighbors", "NeighborsEx", "Shelling", "ShellingExt", [0X
    [4X  "Shellings", "Span", "Star", "Stars", "Suspension", "Union", [0X
    [4X  "VertexIdentification", "Wedge", "DetermineTopologicalType", "Dim", [0X
    [4X  "Facets", "VertexLabels", "Name", "Vertices", "IsConnected", [0X
    [4X  "ConnectedComponents" ].[0X
    [4X[0X
    [4Xfail[0X
  [4X------------------------------------------------------------------[0X
  
  
  [1X16.4 Creating new complexes from a [10XSCSimplicialComplex[1X object[0X
  
  As  already  mentioned,  there is the possibility to generate new objects of
  type  [10XSCSimplicialComplex[0m  from  existing ones using standard constructions.
  The  functions  used in this section are described in more detail in Section
  [14X6.4[0m.
  
  [4X---------------------------  Example  ----------------------------[0X
    [4Xgap> d:=c3+c3;[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Dim, Facets, Name, VertexLabels, Vertices.[0X
    [4X[0X
    [4X Name="complex from diffcycles [ [ 1, 1, 6 ], [ 3, 3, 2 ] ]#+-complex from dif\[0X
    [4Xfcycles [ [ 1, 1, 6 ], [ 3, 3, 2 ] ]"[0X
    [4X Dim=2[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> SCRename(d,"T^2#T^2");[0X
    [4Xtrue[0X
    [4Xgap> SCLink(d,1);[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Dim, Facets, Name, VertexLabels.[0X
    [4X[0X
    [4X Name="lk(1) in T^2#T^2"[0X
    [4X Dim=1[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> SCStar(d,[1,2]);[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Dim, Facets, Name, VertexLabels.[0X
    [4X[0X
    [4X Name="star([ 1, 2 ]) in T^2#T^2"[0X
    [4X Dim=2[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> SCRename(c3,"T^2");[0X
    [4Xtrue[0X
    [4Xgap> SCConnectedProduct(c3,4);[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Dim, Facets, Name, VertexLabels, Vertices.[0X
    [4X[0X
    [4X Name="T^2#+-T^2#+-T^2#+-T^2"[0X
    [4X Dim=2[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> SCCartesianProduct(c4,c4);[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Dim, Facets, Name, TopologicalType, VertexLabels.[0X
    [4X[0X
    [4X Name="S^1_3xS^1_3"[0X
    [4X Dim=2[0X
    [4X TopologicalType="S^1xS^1"[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> SCCartesianPower(c4,3);[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Dim, Facets, Name, TopologicalType, VertexLabels.[0X
    [4X[0X
    [4X Name="(S^1_3)^3"[0X
    [4X Dim=3[0X
    [4X TopologicalType="(S^1)^3"[0X
    [4X[0X
    [4X/SimplicialComplex][0X
  [4X------------------------------------------------------------------[0X
  
  
  [1X16.5 Homology related calculations[0X
  
  [5Xsimpcomp[0m  relies  on  the  GAP  package  homology  [DHSW04] for its homology
  computations  but  provides  further  (co-)homology  related  functions, see
  Chapter [14X8[0m.
  
  [4X---------------------------  Example  ----------------------------[0X
    [4Xgap> s2s2:=SCCartesianProduct(SCBdSimplex(3),SCBdSimplex(3));[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Dim, Facets, Name, TopologicalType, VertexLabels.[0X
    [4X[0X
    [4X Name="S^2_4xS^2_4"[0X
    [4X Dim=4[0X
    [4X TopologicalType="S^2xS^2"[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> SCHomology(s2s2);[0X
    [4X[ [ 0, [  ] ], [ 0, [  ] ], [ 2, [  ] ], [ 0, [  ] ], [ 1, [  ] ] ][0X
    [4Xgap> SCHomologyInternal(s2s2);[0X
    [4X[ [ 0, [  ] ], [ 0, [  ] ], [ 2, [  ] ], [ 0, [  ] ], [ 1, [  ] ] ][0X
    [4Xgap> SCHomologyBasis(s2s2,2);[0X
    [4X[ [ 1, [ [ 1, 70 ], [ -1, 12 ], [ 1, 2 ], [ -1, 1 ] ] ], [0X
    [4X  [ 1, [ [ 1, 143 ], [ -1, 51 ], [ 1, 29 ], [ -1, 25 ] ] ] ][0X
    [4Xgap> SCHomologyBasisAsSimplices(s2s2,2);[0X
    [4X[ [ 1, [0X
    [4X      [ [ 1, [ 2, 3, 4 ] ], [ -1, [ 1, 3, 4 ] ], [ 1, [ 1, 2, 4 ] ], [ -1, [ 1[0X
    [4X                    , 2, 3 ] ] ] ], [0X
    [4X  [ 1, [ [ 1, [ 5, 9, 13 ] ], [ -1, [ 1, 9, 13 ] ], [ 1, [ 1, 5, 13 ] ], [0X
    [4X          [ -1, [ 1, 5, 9 ] ] ] ] ][0X
    [4Xgap> SCCohomologyBasis(s2s2,2);[0X
    [4X[ [ 1, [0X
    [4X      [ [ 1, 122 ], [ 1, 115 ], [ 1, 112 ], [ 1, 111 ], [ 1, 93 ], [ 1, 90 ], [0X
    [4X          [ 1, 89 ], [ 1, 84 ], [ 1, 83 ], [ 1, 82 ], [ 1, 46 ], [ 1, 43 ], [0X
    [4X          [ 1, 42 ], [ 1, 37 ], [ 1, 36 ], [ 1, 35 ], [ 1, 28 ], [ 1, 27 ], [0X
    [4X          [ 1, 26 ], [ 1, 25 ] ] ], [0X
    [4X  [ 1, [ [ 1, 213 ], [ 1, 201 ], [ 1, 192 ], [ 1, 189 ], [ 1, 159 ], [0X
    [4X          [ 1, 150 ], [ 1, 147 ], [ 1, 131 ], [ 1, 128 ], [ 1, 125 ], [0X
    [4X          [ 1, 67 ], [ 1, 58 ], [ 1, 55 ], [ 1, 39 ], [ 1, 36 ], [ 1, 33 ], [0X
    [4X          [ 1, 10 ], [ 1, 7 ], [ 1, 4 ], [ 1, 1 ] ] ] ][0X
    [4Xgap> SCCohomologyBasisAsSimplices(s2s2,2);[0X
    [4X[ [ 1, [ [ 1, [ 4, 8, 12 ] ], [ 1, [ 3, 8, 12 ] ], [ 1, [ 3, 7, 12 ] ], [0X
    [4X          [ 1, [ 3, 7, 11 ] ], [ 1, [ 2, 8, 12 ] ], [ 1, [ 2, 7, 12 ] ], [0X
    [4X          [ 1, [ 2, 7, 11 ] ], [ 1, [ 2, 6, 12 ] ], [ 1, [ 2, 6, 11 ] ], [0X
    [4X          [ 1, [ 2, 6, 10 ] ], [ 1, [ 1, 8, 12 ] ], [ 1, [ 1, 7, 12 ] ], [0X
    [4X          [ 1, [ 1, 7, 11 ] ], [ 1, [ 1, 6, 12 ] ], [ 1, [ 1, 6, 11 ] ], [0X
    [4X          [ 1, [ 1, 6, 10 ] ], [ 1, [ 1, 5, 12 ] ], [ 1, [ 1, 5, 11 ] ], [0X
    [4X          [ 1, [ 1, 5, 10 ] ], [ 1, [ 1, 5, 9 ] ] ] ], [0X
    [4X  [ 1, [ [ 1, [ 13, 14, 15 ] ], [ 1, [ 9, 14, 15 ] ], [ 1, [ 9, 10, 15 ] ], [0X
    [4X          [ 1, [ 9, 10, 11 ] ], [ 1, [ 5, 14, 15 ] ], [ 1, [ 5, 10, 15 ] ], [0X
    [4X          [ 1, [ 5, 10, 11 ] ], [ 1, [ 5, 6, 15 ] ], [ 1, [ 5, 6, 11 ] ], [0X
    [4X          [ 1, [ 5, 6, 7 ] ], [ 1, [ 1, 14, 15 ] ], [ 1, [ 1, 10, 15 ] ], [0X
    [4X          [ 1, [ 1, 10, 11 ] ], [ 1, [ 1, 6, 15 ] ], [ 1, [ 1, 6, 11 ] ], [0X
    [4X          [ 1, [ 1, 6, 7 ] ], [ 1, [ 1, 2, 15 ] ], [ 1, [ 1, 2, 11 ] ], [0X
    [4X          [ 1, [ 1, 2, 7 ] ], [ 1, [ 1, 2, 3 ] ] ] ] ][0X
    [4Xgap> PrintArray(SCIntersectionForm(s2s2));[0X
    [4X[ [  0,  1 ],[0X
    [4X  [  1,  0 ] ][0X
    [4Xgap> c:=s2s2+s2s2;[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Dim, Facets, Name, VertexLabels, Vertices.[0X
    [4X[0X
    [4X Name="S^2_4xS^2_4#+-S^2_4xS^2_4"[0X
    [4X Dim=4[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> PrintArray(SCIntersectionForm(c));[0X
    [4X[ [   0,  -1,   0,   0 ],[0X
    [4X  [  -1,   0,   0,   0 ],[0X
    [4X  [   0,   0,   0,  -1 ],[0X
    [4X  [   0,   0,  -1,   0 ] ][0X
  [4X------------------------------------------------------------------[0X
  
  
  [1X16.6 Bistellar flips[0X
  
  For  a  more detailed description of functions related to bistellar flips as
  well as a very short introduction into the topic, see Chapter [14X9[0m.
  
  [4X---------------------------  Example  ----------------------------[0X
    [4Xgap> beta4:=SCBdCrossPolytope(4);;    [0X
    [4Xgap> s3:=SCBdSimplex(4);;             [0X
    [4Xgap> SCEquivalent(beta4,s3);[0X
    [4X#I  round 0, move: [ [ 2, 6, 7 ], [ 3, 4 ] ][0X
    [4X[ 8, 25, 34, 17 ][0X
    [4X#I  round 1, move: [ [ 2, 7 ], [ 3, 4, 5 ] ][0X
    [4X[ 8, 24, 32, 16 ][0X
    [4X#I  round 2, move: [ [ 2, 5 ], [ 3, 4, 8 ] ][0X
    [4X[ 8, 23, 30, 15 ][0X
    [4X#I  round 3, move: [ [ 2 ], [ 3, 4, 6, 8 ] ][0X
    [4X[ 7, 19, 24, 12 ][0X
    [4X#I  round 4, move: [ [ 6, 8 ], [ 1, 3, 4 ] ][0X
    [4X[ 7, 18, 22, 11 ][0X
    [4X#I  round 5, move: [ [ 8 ], [ 1, 3, 4, 5 ] ][0X
    [4X[ 6, 14, 16, 8 ][0X
    [4X#I  round 6, move: [ [ 5 ], [ 1, 3, 4, 7 ] ][0X
    [4X[ 5, 10, 10, 5 ][0X
    [4X#I  SCReduceComplexEx: complexes are bistellarly equivalent.[0X
    [4Xtrue[0X
    [4Xgap> SCBistellarOptions.WriteLevel;   [0X
    [4X0[0X
    [4Xgap> SCBistellarOptions.WriteLevel:=1;[0X
    [4X1[0X
    [4Xgap> SCEquivalent(beta4,s3);          [0X
    [4X#I  SCLibInit: made directory "~/PATH" for user library.[0X
    [4X#I  SCIntFunc.SCLibInit: index not found -- trying to reconstruct it.[0X
    [4X#I  SCLibUpdate: rebuilding index for ~/PATH.[0X
    [4X#I  SCLibUpdate: rebuilding index done.[0X
    [4X[0X
    [4X#I  round 0, move: [ [ 2, 4, 6 ], [ 7, 8 ] ][0X
    [4X[ 8, 25, 34, 17 ][0X
    [4X#I  round 1, move: [ [ 2, 4 ], [ 5, 7, 8 ] ][0X
    [4X[ 8, 24, 32, 16 ][0X
    [4X#I  round 2, move: [ [ 4, 5 ], [ 1, 7, 8 ] ][0X
    [4X[ 8, 23, 30, 15 ][0X
    [4X#I  round 3, move: [ [ 4 ], [ 1, 6, 7, 8 ] ][0X
    [4X[ 7, 19, 24, 12 ][0X
    [4X#I  SCLibAdd: saving complex to file "complex_ReducedComplex_7_vertices_3_2009\[0X
    [4X-10-27_11-40-00.sc".[0X
    [4X#I  round 4, move: [ [ 2, 6 ], [ 3, 7, 8 ] ][0X
    [4X[ 7, 18, 22, 11 ][0X
    [4X#I  round 5, move: [ [ 2 ], [ 3, 5, 7, 8 ] ][0X
    [4X[ 6, 14, 16, 8 ][0X
    [4X#I  SCLibAdd: saving complex to file "complex_ReducedComplex_6_vertices_5_2009\[0X
    [4X-10-27_11-40-00.sc".[0X
    [4X#I  round 6, move: [ [ 5 ], [ 1, 3, 7, 8 ] ][0X
    [4X[ 5, 10, 10, 5 ][0X
    [4X#I  SCLibAdd: saving complex to file "complex_ReducedComplex_5_vertices_6_2009\[0X
    [4X-10-27_11-40-00.sc".[0X
    [4X#I  SCLibAdd: saving complex to file "complex_ReducedComplex_5_vertices_7_2009\[0X
    [4X-10-27_11-40-00.sc".[0X
    [4X#I  SCReduceComplexEx: complexes are bistellarly equivalent.[0X
    [4Xtrue[0X
    [4Xgap> myLib:=SCLibInit("~/PATH"); # copy path from above             [0X
    [4X[Simplicial complex library. Properties:[0X
    [4XCalculateIndexAttributes=true[0X
    [4XNumber of complexes in library=4[0X
    [4XIndexAttributes=[ "Name", "Date", "Dim", "F", "G", "H", "Chi", "Homology" ][0X
    [4XLoaded=true[0X
    [4XPath="/home/spreerjn/reducedComplexes/2009-10-27_11-40-00/"[0X
    [4X][0X
    [4Xgap> s3:=myLib.Load(3);[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Chi, Date, Dim, F, Faces, Facets, G, H, Homology, [0X
    [4X                   IsConnected, Name, VertexLabels.[0X
    [4X[0X
    [4X Name="ReducedComplex_5_vertices_6"[0X
    [4X Dim=3[0X
    [4X Chi=0[0X
    [4X F=[ 5, 10, 10, 5 ][0X
    [4X G=[ 0, 0 ][0X
    [4X H=[ 1, 1, 1, 1 ][0X
    [4X Homology=[ [ 0, [ ] ], [ 0, [ ] ], [ 0, [ ] ], [ 1, [ ] ] ][0X
    [4X IsConnected=true[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> s3:=myLib.Load(2);[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Chi, Date, Dim, F, Faces, Facets, G, H, Homology, [0X
    [4X                   IsConnected, Name, VertexLabels.[0X
    [4X[0X
    [4X Name="ReducedComplex_6_vertices_5"[0X
    [4X Dim=3[0X
    [4X Chi=0[0X
    [4X F=[ 6, 14, 16, 8 ][0X
    [4X G=[ 1, 0 ][0X
    [4X H=[ 2, 2, 2, 1 ][0X
    [4X Homology=[ [ 0, [ ] ], [ 0, [ ] ], [ 0, [ ] ], [ 1, [ ] ] ][0X
    [4X IsConnected=true[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> t2:=SCCartesianProduct(SCBdSimplex(2),SCBdSimplex(2));;[0X
    [4Xgap> t2.F;[0X
    [4X[ 9, 27, 18 ][0X
    [4Xgap> SCBistellarOptions.WriteLevel:=0;[0X
    [4X0[0X
    [4Xgap> SCBistellarOptions.LogLevel:=0;  [0X
    [4X0[0X
    [4Xgap> mint2:=SCReduceComplex(t2);    [0X
    [4X[ true, [SimplicialComplex[0X
    [4X    [0X
    [4X     Properties known: Dim, Facets, Name, VertexLabels.[0X
    [4X    [0X
    [4X     Name="unnamed complex 85"[0X
    [4X     Dim=2[0X
    [4X    [0X
    [4X    /SimplicialComplex], 32 ][0X
    [4X			[0X
  [4X------------------------------------------------------------------[0X
  
  
  [1X16.7 Simplicial blowups[0X
  
  For  a  more detailed description of functions related to simplicial blowups
  see Chapter [14X10[0m.
  
  [4X---------------------------  Example  ----------------------------[0X
    [4Xgap> list:=SCLib.SearchByName("Kummer");[0X
    [4X[ [ 7493, "4-dimensional Kummer variety (VT)" ] ][0X
    [4Xgap> c:=SCLib.Load(7493);[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: AltshulerSteinberg, AutomorphismGroup, [0X
    [4X                   AutomorphismGroupSize, AutomorphismGroupStructure, [0X
    [4X                   AutomorphismGroupTransitivity, [0X
    [4X                   ConnectedComponents, Date, Dim, DualGraph, [0X
    [4X                   EulerCharacteristic, FacetsEx, GVector, [0X
    [4X                   GeneratorsEx, HVector, HasBoundary, HasInterior, [0X
    [4X                   Homology, Interior, IsCentrallySymmetric, [0X
    [4X                   IsConnected, IsEulerianManifold, IsManifold, [0X
    [4X                   IsOrientable, IsPseudoManifold, IsPure, [0X
    [4X                   IsStronglyConnected, MinimalNonFacesEx, Name, [0X
    [4X                   Neighborliness, NumFaces[], Orientation, [0X
    [4X                   SkelExs[], Vertices.[0X
    [4X[0X
    [4X Name="4-dimensional Kummer variety (VT)"[0X
    [4X Dim=4[0X
    [4X AltshulerSteinberg=45137758519296000000000000[0X
    [4X AutomorphismGroupSize=1920[0X
    [4X AutomorphismGroupStructure="((C2 x C2 x C2 x C2) : A5) : C2"[0X
    [4X AutomorphismGroupTransitivity=1[0X
    [4X EulerCharacteristic=8[0X
    [4X GVector=[ 10, 55, 60 ][0X
    [4X HVector=[ 11, 66, 126, -19, 7 ][0X
    [4X HasBoundary=false[0X
    [4X HasInterior=true[0X
    [4X Homology=[ [0, [ ] ], [0, [ ] ], [6, [2,2,2,2,2] ], [0, [ ] ], [1, [ ] ] ][0X
    [4X IsCentrallySymmetric=false[0X
    [4X IsConnected=true[0X
    [4X IsEulerianManifold=true[0X
    [4X IsOrientable=true[0X
    [4X IsPseudoManifold=true[0X
    [4X IsPure=true[0X
    [4X IsStronglyConnected=true[0X
    [4X Neighborliness=2[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> lk:=SCLink(c,1);[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Dim, FacetsEx, Name, Vertices.[0X
    [4X[0X
    [4X Name="lk([ 1 ]) in 4-dimensional Kummer variety (VT)"[0X
    [4X Dim=3[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> SCHomology(lk);[0X
    [4X[ [ 0, [  ] ], [ 0, [ 2 ] ], [ 0, [  ] ], [ 1, [  ] ] ][0X
    [4Xgap> SCLibDetermineTopologicalType(lk);[0X
    [4X[ 45, 113, 2426, 2502, 7470 ][0X
    [4Xgap> d:=SCLib.Load(45);;[0X
    [4Xgap> d.Name;[0X
    [4X"RP^3"[0X
    [4Xgap> SCEquivalent(lk,d);[0X
    [4X#I  SCReduceComplexEx: complexes are bistellarly equivalent.[0X
    [4Xtrue[0X
    [4Xgap> e:=SCBlowup(c,1);[0X
    [4X#I  SCBlowup: checking if singularity is a combinatorial manifold...[0X
    [4X#I  SCBlowup: ...true[0X
    [4X#I  SCBlowup: checking type of singularity...[0X
    [4X#I  SCReduceComplexEx: complexes are bistellarly equivalent.[0X
    [4X#I  SCBlowup: ...ordinary double point (supported type).[0X
    [4X#I  SCBlowup: starting blowup...[0X
    [4X#I  SCBlowup: map boundaries...[0X
    [4X#I  SCBlowup: boundaries not isomorphic, initializing bistellar moves...[0X
    [4X#I  SCBlowup: found complex with smaller boundary: f = [ 15, 74, 118, 59 ].[0X
    [4X#I  SCBlowup: found complex with smaller boundary: f = [ 14, 70, 112, 56 ].[0X
    [4X#I  SCBlowup: found complex with smaller boundary: f = [ 14, 69, 110, 55 ].[0X
    [4X#I  SCBlowup: found complex with smaller boundary: f = [ 14, 68, 108, 54 ].[0X
    [4X#I  SCBlowup: found complex with smaller boundary: f = [ 13, 64, 102, 51 ].[0X
    [4X#I  SCBlowup: found complex with smaller boundary: f = [ 13, 63, 100, 50 ].[0X
    [4X#I  SCBlowup: found complex with smaller boundary: f = [ 13, 62, 98, 49 ].[0X
    [4X#I  SCBlowup: found complex with smaller boundary: f = [ 12, 58, 92, 46 ].[0X
    [4X#I  SCBlowup: found complex with smaller boundary: f = [ 12, 57, 90, 45 ].[0X
    [4X#I  SCBlowup: found complex with smaller boundary: f = [ 12, 56, 88, 44 ].[0X
    [4X#I  SCBlowup: found complex with smaller boundary: f = [ 11, 52, 82, 41 ].[0X
    [4X#I  SCBlowup: found complex with smaller boundary: f = [ 11, 51, 80, 40 ].[0X
    [4X#I  SCBlowup: found complex with isomorphic boundaries.[0X
    [4X#I  SCBlowup: ...boundaries mapped succesfully.[0X
    [4X#I  SCBlowup: build complex...[0X
    [4X#I  SCBlowup: ...done.[0X
    [4X#I  SCBlowup: ...blowup completed.[0X
    [4X#I  SCBlowup: You may now want to reduce the complex via 'SCReduceComplex'.[0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Dim, FacetsEx, Name, Vertices.[0X
    [4X[0X
    [4X Name="unnamed complex 6315 \ star([ 1 ]) in unnamed complex 6315 cup unnamed\[0X
    [4X complex 6319 cup unnamed complex 6317"[0X
    [4X Dim=4[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> SCHomology(c);[0X
    [4X[ [ 0, [  ] ], [ 0, [  ] ], [ 6, [ 2, 2, 2, 2, 2 ] ], [ 0, [  ] ], [ 1, [  ] ] ][0X
    [4Xgap> SCHomology(e);[0X
    [4X[ [ 0, [  ] ], [ 0, [  ] ], [ 7, [ 2, 2, 2, 2 ] ], [ 0, [  ] ], [ 1, [  ] ] ][0X
    [4X			[0X
  [4X------------------------------------------------------------------[0X
  
  
  [1X16.8 Discrete normal surfaces and slicings[0X
  
  For  a  more  detailed  description  of functions related to discrete normal
  surfaces and slicings see the Sections [14X2.4[0m and [14X2.5[0m.
  
  [4X---------------------------  Example  ----------------------------[0X
    [4X		[0X
    [4Xgap> # the boundary of the cyclic 4-polytope with 6 vertices		[0X
    [4Xgap> c:=SCBdCyclicPolytope(4,6); [0X
    [4X[SimplicialComplex[0X
    [4X[0X
    [4X Properties known: Dim, EulerCharacteristic, FacetsEx, HasBoundary, Homology,\[0X
    [4X IsConnected, IsStronglyConnected, Name, NumFaces[], TopologicalType, Vertices.[0X
    [4X[0X
    [4X Name="Bd(C_4(6))"[0X
    [4X Dim=3[0X
    [4X EulerCharacteristic=0[0X
    [4X HasBoundary=false[0X
    [4X Homology=[ [ 0, [ ] ], [ 0, [ ] ], [ 0, [ ] ], [ 1, [ ] ] ][0X
    [4X IsConnected=true[0X
    [4X IsStronglyConnected=true[0X
    [4X TopologicalType="S^3"[0X
    [4X[0X
    [4X/SimplicialComplex][0X
    [4Xgap> # slicing in between the odd and the even vertex labels, a polyhedral torus[0X
    [4Xgap> sl:=SCSlicing(c,[[2,4,6],[1,3,5]]);   [0X
    [4X[NormalSurface[0X
    [4X[0X
    [4X Properties known: ConnectedComponents, Dim, EulerCharacteristic, FVector,\[0X
    [4X FacetsEx, Genus, IsConnected, IsOrientable, NSTriangulation, Name,\[0X
    [4X TopologicalType, Vertices.[0X
    [4X[0X
    [4X Name="slicing [ [ 2, 4, 6 ], [ 1, 3, 5 ] ] of Bd(C_4(6))"[0X
    [4X Dim=2[0X
    [4X FVector=[ 9, 18, 0, 9 ][0X
    [4X EulerCharacteristic=0[0X
    [4X IsOrientable=true[0X
    [4X TopologicalType="T^2"[0X
    [4X[0X
    [4X/NormalSurface][0X
    [4Xgap> sl.Homology;[0X
    [4X[ [ 0, [  ] ], [ 2, [  ] ], [ 1, [  ] ] ][0X
    [4Xgap> sl.Genus;[0X
    [4X1[0X
    [4Xgap> sl.F; # the slicing constists of 9 quadrilaterals and 0 triangles[0X
    [4X[ 9, 18, 0, 9 ][0X
    [4Xgap> PrintArray(sl.Facets);[0X
    [4X[ [  [ 2, 1 ],  [ 2, 3 ],  [ 4, 1 ],  [ 4, 3 ] ],[0X
    [4X  [  [ 2, 1 ],  [ 2, 3 ],  [ 6, 1 ],  [ 6, 3 ] ],[0X
    [4X  [  [ 2, 1 ],  [ 2, 5 ],  [ 4, 1 ],  [ 4, 5 ] ],[0X
    [4X  [  [ 2, 1 ],  [ 2, 5 ],  [ 6, 1 ],  [ 6, 5 ] ],[0X
    [4X  [  [ 2, 3 ],  [ 2, 5 ],  [ 4, 3 ],  [ 4, 5 ] ],[0X
    [4X  [  [ 2, 3 ],  [ 2, 5 ],  [ 6, 3 ],  [ 6, 5 ] ],[0X
    [4X  [  [ 4, 1 ],  [ 4, 3 ],  [ 6, 1 ],  [ 6, 3 ] ],[0X
    [4X  [  [ 4, 1 ],  [ 4, 5 ],  [ 6, 1 ],  [ 6, 5 ] ],[0X
    [4X  [  [ 4, 3 ],  [ 4, 5 ],  [ 6, 3 ],  [ 6, 5 ] ] ][0X
  [4X------------------------------------------------------------------[0X
  
  Further  example  computations  can  be found in the slides of various talks
  about     [5Xsimpcomp[0m,     available     from     the     [5Xsimpcomp[0m     homepage
  ([10Xhttp://www.igt.uni-stuttgart.de/LstDiffgeo/simpcomp/[0m), and in Appendix A of
  [Spr10a].
  
