  
  [1X10 Simplicial blowups[0X
  
  
  [1X10.1 Theory[0X
  
  In this chapter functions are provided to perform simplicial blowups as well
  as   the   resolution   of   isolated  singularities  of  certain  types  of
  combinatorial  4-manifolds.  As  of  today  singularities  where the link is
  homeomorphic  to  RP^3, S^2 x S^1, S^2 dtimes S^1 and the lens spaces L(k,1)
  are  supported.  In  addition,  the program provides the possibility to hand
  over  additional  types  of  mapping  cylinders  to  cover  other  types  of
  singularities.
  
  Please  note  that  the  program  is  based  on  a heuristic algorithm using
  bistellar  moves.  Hence,  the  search  for a suitable sequence of bistellar
  moves  to  perform the blowup does not always terminate. However, especially
  in the case of ordinary double points (singularities of type RP^3), a lot of
  blowups  have  already  been  successful.  For  a very short introduction to
  simplicial blowups see [14X2.7[0m, for further information see [SK11].
  
  
  [1X10.2 Functions related to simplicial blowups[0X
  
  [1X10.2-1 SCBlowup[0m
  
  [2X> SCBlowup( [0X[3Xpseudomanifold, singularity[, mappingCyl][0X[2X ) ____________[0Xproperty
  [6XReturns:[0X  simplicial  complex of type [10XSCSimplicialComplex[0m upon success, [9Xfail[0m
            otherwise.
  
  If   [10Xsingularity[0m   is   an   ordinary   double   point  of  a  combinatorial
  4-pseudomanifold  [3Xpseudomanifold[0m  (lk([10Xsingularity[0m)  =  RP^3)  the  blowup of
  [10Xpseudomanifold[0m  at  [10Xsingularity[0m  is computed. If it is a singularity of type
  S^2  x  S^1,  S^2  dtimes S^1 or L(k,1), k <= 4, the canonical resolution of
  [10Xsingularity[0m  is  computed using the bounded complexes provided in the source
  code below.
  
  If  the optional argument [10XmappingCyl[0m of type [10XSCIsSimplicialComplex[0m is given,
  this complex will be used to to resolve the singularity [10Xsingularity[0m.
  
  Note that bistellar moves do not necessarily preserve any orientation. Thus,
  the  orientation  of  the  blowup has to be checked in order to verify which
  type of blowup was performed. Normally, repeated computation results in both
  versions.
  
  [4X---------------------------  Example  ----------------------------[0X
    [4X gap> SCLib.SearchByName("Kummer variety");[0X
    [4X [ [ 7493, "4-dimensional Kummer variety (VT)" ] ][0X
    [4X gap> c:=SCLib.Load(last[1][1]);;                [0X
    [4X gap> d:= 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 = [ 15, 73, 116, 58 ].[0X
    [4X #I  SCBlowup: found complex with smaller boundary: f = [ 15, 72, 114, 57 ].[0X
    [4X #I  SCBlowup: found complex with smaller boundary: f = [ 14, 68, 108, 54 ].[0X
    [4X #I  SCBlowup: found complex with smaller boundary: f = [ 14, 67, 106, 53 ].[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 = [ 12, 55, 86, 43 ].[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 3122 \ star([ 1 ]) in unnamed complex 3122 cup unnamed \[0X
    [4X complex 3126 cup unnamed complex 3124"[0X
    [4X  Dim=4[0X
    [4X [0X
    [4X /SimplicialComplex][0X
    [4X [0X
  [4X------------------------------------------------------------------[0X
  
  [4X---------------------------  Example  ----------------------------[0X
    [4X gap> # resolving the singularities of a 4 dimensional Kummer variety[0X
    [4X gap> SCLib.SearchByName("Kummer variety");[0X
    [4X [ [ 7488, "4-dimensional Kummer variety (VT)" ] ][0X
    [4X gap> c:=SCLib.Load(last[1][1]);;[0X
    [4X gap> for i in [1..16] do[0X
    [4X        for j in SCLabels(c) do [0X
    [4X          lk:=SCLink(c,j);[0X
    [4X          if lk.Homology = [[0],[0],[0],[1]] then continue; fi; [0X
    [4X          singularity := j; break;[0X
    [4X        od;[0X
    [4X        c:=SCBlowup(c,singularity); [0X
    [4X      od;[0X
    [4X gap> d.IsManifold;[0X
    [4X true[0X
    [4X gap> d.Homology;[0X
    [4X [ [ 0, [ ] ], [ 0, [ ] ], [ 22, [ ] ], [ 0, [ ] ], [ 1, [ ] ] ][0X
    [4X [0X
  [4X------------------------------------------------------------------[0X
  
  [1X10.2-2 SCMappingCylinder[0m
  
  [2X> SCMappingCylinder( [0X[3Xk[0X[2X ) ___________________________________________[0Xfunction
  [6XReturns:[0X  simplicial  complex of type [10XSCSimplicialComplex[0m upon success, [9Xfail[0m
            otherwise.
  
  Generates  a  bounded  version  of  CP^2 (a so-called mapping cylinder for a
  simplicial blowup, compare [SK11]) with boundary L([10Xk[0m,1).
  
  [4X---------------------------  Example  ----------------------------[0X
    [4X gap> mapCyl:=SCMappingCylinder(3);;[0X
    [4X gap> mapCyl.Homology;              [0X
    [4X [ [ 0, [  ] ], [ 0, [  ] ], [ 1, [  ] ], [ 0, [  ] ], [ 0, [  ] ] ][0X
    [4X gap> l31:=SCBoundary(mapCyl);;[0X
    [4X gap> l31.Homology;[0X
    [4X [ [ 0, [  ] ], [ 0, [ 3 ] ], [ 0, [  ] ], [ 1, [  ] ] ][0X
    [4X [0X
  [4X------------------------------------------------------------------[0X
  
