Goto Chapter: Top 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Bib Ind
 Top of Book   Previous Chapter   Next Chapter 

9 Functions for discrete normal surfaces
 9.1 Creating an SCNormalSurface object
  9.1-1 SCNSEmpty

  9.1-2 SCNSFromFacets

  9.1-3 SCNS

  9.1-4 SCNSSlicing
 9.2 Generating new objects from discrete normal surfaces
  9.2-1 SCNSCopy

  9.2-2 SCNSTriangulation
 9.3 Properties of SCNormalSurface objects
  9.3-1 SCNSDim

  9.3-2 SCNSEulerCharacteristic

  9.3-3 SCNSFVector

  9.3-4 SCNSFaceLattice

  9.3-5 SCNSFaceLatticeEx

  9.3-6 SCNSFpBettiNumbers

  9.3-7 SCNSGenus

  9.3-8 SCNSHomology

  9.3-9 SCNSSkel

  9.3-10 SCNSSkelEx

  9.3-11 SCNSTopologicalType

9 Functions for discrete normal surfaces

9.1 Creating an SCNormalSurface object

This section contains functions to construct discrete normal surfaces that are slicings from a list of 2-dimensional facets (triangles and quadrilaterals) or combinatorial 3-manifolds.

For a very short introduction to the theory of discrete normal surfaces and slicings see Section 2.4 and Section 2.5, for an introduction to the GAP object type SCNormalSurface see 3.5, for more information see the article [Spr10b].

9.1-1 SCNSEmpty
> SCNSEmpty( )( function )

Returns: discrete normal surface of type SCNormalSurface upon success, fail otherwise.

Generates an empty complex (of dimension -1), i. e. an object of type SCNormalSurface with empty facet list.

 gap> SCNSEmpty();
 [NormalSurface
 
  Properties known: Dim, Faces, Facets, Name, VertexLabels.
 
  Name="empty discrete normal surface"
  Dim=-1
 
 /NormalSurface]
 gap> 
 

9.1-2 SCNSFromFacets
> SCNSFromFacets( facets )( function )

Returns: discrete normal surface of type SCNormalSurface upon success, fail otherwise.

Constructor for a discrete normal surface from a facet list, see SCFromFacets (4.1-1) for details.

 gap> sl:=SCNSFromFacets([[1,2,3],[1,2,4,5],[1,3,4,6],[2,3,5,6],[4,5,6]]);
 [NormalSurface
 
  Properties known: Dim, Facets, Name, VertexLabels.
 
  Name="unnamed discrete normal surface m"
  Dim=2
 
 /NormalSurface]
 gap> 
 

9.1-3 SCNS
> SCNS( facets )( function )

Returns: discrete normal surface of type SCNormalSurface upon success, fail otherwise.

Internally calls SCNSFromFacets (9.1-2).

 gap> sl:=SCNS([[1,2,3],[1,2,4,5],[1,3,4,6],[2,3,5,6],[4,5,6]]);
 [NormalSurface
 
  Properties known: Dim, Facets, Name, VertexLabels.
 
  Name="unnamed discrete normal surface n"
  Dim=2
 
 /NormalSurface]
 gap> 
 

9.1-4 SCNSSlicing
> SCNSSlicing( complex, slicing )( function )

Returns: discrete normal surface of type SCNormalSurface upon success, fail otherwise.

Computes a slicing defined by a partition slicing of the set of vertices of the 3-dimensional combinatorial pseudomanifold complex. In particular, slicing has to be a pair of lists of vertex labels and has to contain all vertex labels of complex.

 gap> SCLib.SearchByAttribute("F=[6,15,18,9]");
 [ [ 4, "S^3 (VT)" ] ]
 gap> c:=SCLib.Load(4);;                       
 gap> sl:=SCNSSlicing(c,[[1,2,3],[4,5,6]]);    
 [NormalSurface
 
  Properties known: Chi, ConnectedComponents, Dim, F, Facets, Genus, IsConnect\
 ed, Name, Oriented, Subdivision, TopologicalType, VertexLabels, Vertices.
 
  Name="slicing [ [ 1, 2, 3 ], [ 4, 5, 6 ] ] of S^3 (VT)"
  Dim=2
  Chi=2
  F=[ 9, 16, 4, 5 ]
  IsConnected=true
  TopologicalType="S^2"
 
 /NormalSurface]
 gap> sl.Facets;
 [ [ [ 1, 4 ], [ 2, 4 ], [ 3, 4 ] ], 
   [ [ 1, 6 ], [ 2, 6 ], [ 3, 6 ] ], 
   [ [ 1, 4 ], [ 1, 5 ], [ 2, 4 ], [ 2, 5 ] ], 
   [ [ 1, 5 ], [ 1, 6 ], [ 2, 5 ], [ 2, 6 ] ], 
   [ [ 1, 4 ], [ 1, 6 ], [ 3, 4 ], [ 3, 6 ] ], 
   [ [ 1, 4 ], [ 1, 5 ], [ 1, 6 ] ], 
   [ [ 2, 4 ], [ 2, 5 ], [ 3, 4 ], [ 3, 5 ] ], 
   [ [ 2, 5 ], [ 2, 6 ], [ 3, 5 ], [ 3, 6 ] ], 
   [ [ 3, 4 ], [ 3, 5 ], [ 3, 6 ] ] ]
 gap> sl:=SCNSSlicing(c,[[1,3,5],[2,4,6]]);    
 [NormalSurface
 
  Properties known: Chi, ConnectedComponents, Dim, F, Facets, Genus, IsConnect\
 ed, Name, Oriented, Subdivision, TopologicalType, VertexLabels, Vertices.
 
  Name="slicing [ [ 1, 3, 5 ], [ 2, 4, 6 ] ] of S^3 (VT)"
  Dim=2
  Chi=0
  F=[ 9, 18, 0, 9 ]
  IsConnected=true
  TopologicalType="T^2"
 
 /NormalSurface]
 gap> sl.Facets;                           
 [ [ [ 1, 2 ], [ 1, 4 ], [ 3, 2 ], [ 3, 4 ] ], 
   [ [ 1, 2 ], [ 1, 6 ], [ 3, 2 ], [ 3, 6 ] ], 
   [ [ 1, 2 ], [ 1, 4 ], [ 5, 2 ], [ 5, 4 ] ], 
   [ [ 1, 2 ], [ 1, 6 ], [ 5, 2 ], [ 5, 6 ] ], 
   [ [ 1, 4 ], [ 1, 6 ], [ 3, 4 ], [ 3, 6 ] ], 
   [ [ 1, 4 ], [ 1, 6 ], [ 5, 4 ], [ 5, 6 ] ], 
   [ [ 3, 2 ], [ 3, 4 ], [ 5, 2 ], [ 5, 4 ] ], 
   [ [ 3, 2 ], [ 3, 6 ], [ 5, 2 ], [ 5, 6 ] ], 
   [ [ 3, 4 ], [ 3, 6 ], [ 5, 4 ], [ 5, 6 ] ] ]
 gap> 
 

9.2 Generating new objects from discrete normal surfaces

simpcomp provides the possibility to copy and / or triangulate normal surfaces. Note that other constructions like the connected sum or the cartesian product do not make sense for (embedded) normal surfaces in general.

9.2-1 SCNSCopy
> SCNSCopy( complex )( function )

Returns: discrete normal surface of type SCNormalSurface upon success, fail otherwise.

Copies a GAP object of type SCNormalSurface (cf. SCCopy (3.1-2)).

 gap> sl:=SCNSSlicing(SCBdSimplex(4),[[1],[2..5]]);
 [NormalSurface
 
  Properties known: Chi, ConnectedComponents, Dim, F, Facets, Genus, IsConnect\
 ed, Name, Oriented, Subdivision, TopologicalType, VertexLabels, Vertices.
 
  Name="slicing [ [ 1 ], [ 2, 3, 4, 5 ] ] of S^3_5"
  Dim=2
  Chi=2
  F=[ 4, 6, 4 ]
  IsConnected=true
  TopologicalType="S^2"
 
 /NormalSurface]
 gap> sl_2:=SCNSCopy(sl);                          
 [NormalSurface
 
  Properties known: Chi, ConnectedComponents, Dim, F, Facets, Genus, IsConnect\
 ed, Name, Oriented, Subdivision, TopologicalType, VertexLabels, Vertices.
 
  Name="slicing [ [ 1 ], [ 2, 3, 4, 5 ] ] of S^3_5"
  Dim=2
  Chi=2
  F=[ 4, 6, 4 ]
  IsConnected=true
  TopologicalType="S^2"
 
 /NormalSurface]
 gap> IsIdenticalObj(sl,sl_2);                     
 false
 gap> 
 

9.2-2 SCNSTriangulation
> SCNSTriangulation( sl )( function )

Returns: simplicial complex of type SCSimplicialComplex upon success, fail otherwise.

Computes a simplicial subdivision of a slicing sl without introducing new vertices. The subdivision is stored as a property of sl. Note that symmetry may be lost during the computation.

 gap> SCLib.SearchByAttribute("F=[6,15,18,9]");
 [ [ 4, "S^3 (VT)" ] ]
 gap> c:=SCLib.Load(4);;
 gap> sl:=SCNSSlicing(c,[[1,3,5],[2,4,6]]);;
 gap> sl.F; 
 [ 9, 18, 0, 9 ]
 gap> sc:=SCNSTriangulation(sl);;
 gap> sc.F;
 [ 9, 27, 18 ]
 gap> 
 

9.3 Properties of SCNormalSurface objects

Although some properties of a discrete normal surface can be computed by using the functions for simplicial complexes, there is a variety of properties needing specially designed functions. See below for a list.

9.3-1 SCNSDim
> SCNSDim( sl )( function )

Returns: an integer upon success, fail otherwise.

Computes the dimension of a discrete normal surface (which is always 2 if the slicing sl is not empty).

 gap> sl:=SCNSEmpty();;                                                    
 gap> SCNSDim(sl);                                                         
 -1
 gap> sl:=SCNSFromFacets([[1,2,3],[1,2,4,5],[1,3,4,6],[2,3,5,6],[4,5,6]]);;
 gap> SCNSDim(sl);                                                         
 2
 gap> 
 

9.3-2 SCNSEulerCharacteristic
> SCNSEulerCharacteristic( sl )( function )

Returns: an integer upon success, fail otherwise.

Computes the Euler characteristic of a discrete normal surface sl, cf. SCEulerCharacteristic (4.7-9).

 gap> SCLib.SearchByName("S^2xS^1");  
 [ [ 24, "S^2xS^1 (VT)" ], [ 33, "S^2xS^1 (VT)" ], [ 68, "S^2xS^1 (VT)" ], 
 [ 81, "S^2xS^1 (VT)" ], [ 82, "S^2xS^1 (VT)" ], [ 83, "S^2xS^1 (VT)" ], ... 
 ]
 gap> c:=SCLib.Load(24);;             
 gap> sl:=c.Slicing([[1..5],[6..10]]);;
 gap> SCNSEulerCharacteristic(sl);                 
 4
 gap> 
 

9.3-3 SCNSFVector
> SCNSFVector( sl )( function )

Returns: a 1, 3 or 4 tuple of (non-negative) integer values upon success, fail otherwise.

Computes the f-vector of a discrete normal surface, i. e. the number of vertices, edges, triangles and quadrilaterals of sl, cf. SCFVector (4.7-10).

 gap> SCLib.SearchByName("S^2xS^1");  
 [ [ 24, "S^2xS^1 (VT)" ], [ 33, "S^2xS^1 (VT)" ], [ 68, "S^2xS^1 (VT)" ], 
 [ 81, "S^2xS^1 (VT)" ], [ 82, "S^2xS^1 (VT)" ], [ 83, "S^2xS^1 (VT)" ], ... 
 ]
 gap> c:=SCLib.Load(24);;             
 gap> sl:=c.Slicing([[1..5],[6..10]]);;
 gap> SCNSFVector(sl);                 
 [ 20, 40, 16, 8 ]
 gap> 
 

9.3-4 SCNSFaceLattice
> SCNSFaceLattice( complex )( function )

Returns: a list of facet lists upon success, fail otherwise.

Computes the face lattice of a discrete normal surface sl in the original labeling. Triangles and quadrilaterals are stored separately (cf. SCNSSkel (9.3-9)).

 gap> c:=SCBdSimplex(4);;              
 gap> sl:=SCNSSlicing(c,[[1,2],[3..5]]);;
 gap> SCNSFaceLattice(sl);                            
 [ [ [ [ 1, 3 ] ], [ [ 1, 4 ] ], [ [ 1, 5 ] ], [ [ 2, 3 ] ], [ [ 2, 4 ] ], 
       [ [ 2, 5 ] ] ], 
   [ [ [ 1, 3 ], [ 1, 4 ] ], [ [ 1, 3 ], [ 1, 5 ] ], [ [ 1, 3 ], [ 2, 3 ] ], 
     [ [ 1, 4 ], [ 1, 5 ] ], [ [ 1, 4 ], [ 2, 4 ] ], [ [ 1, 5 ], [ 2, 5 ] ],
     [ [ 2, 3 ], [ 2, 4 ] ], [ [ 2, 3 ], [ 2, 5 ] ], [ [ 2, 4 ], [ 2, 5 ] ] ], 
   [ [ [ 1, 3 ], [ 1, 4 ], [ 1, 5 ] ], [ [ 2, 3 ], [ 2, 4 ], [ 2, 5 ] ] ], 
   [ [ [ 1, 3 ], [ 1, 4 ], [ 2, 3 ], [ 2, 4 ] ], 
     [ [ 1, 3 ], [ 1, 5 ], [ 2, 3 ], [ 2, 5 ] ], 
     [ [ 1, 4 ], [ 1, 5 ], [ 2, 4 ], [ 2, 5 ] ] ] ]
 gap> sl.F;
 [ 6, 9, 2, 3 ]
 gap> 
 

9.3-5 SCNSFaceLatticeEx
> SCNSFaceLatticeEx( complex )( function )

Returns: a list of face lists upon success, fail otherwise.

Computes the face lattice of a discrete normal surface sl in the standard labeling. Triangles and quadrilaterals are stored separately (cf. SCNSSkelEx (9.3-10)).

 gap> c:=SCBdSimplex(4);;              
 gap> sl:=SCNSSlicing(c,[[1,2],[3..5]]);;
 gap> SCNSFaceLatticeEx(sl);                            
 [ [ [ 1 ], [ 2 ], [ 3 ], [ 4 ], [ 5 ], [ 6 ] ], 
   [ [ 1, 2 ], [ 1, 3 ], [ 1, 4 ], [ 2, 3 ], [ 2, 5 ], 
     [ 3, 6 ], [ 4, 5 ], [ 4, 6 ], [ 5, 6 ] ], 
   [ [ 1, 2, 3 ], [ 4, 5, 6 ] ], 
   [ [ 1, 2, 4, 5 ], [ 1, 3, 4, 6 ], [ 2, 3, 5, 6 ] ] ]
 gap> sl.F;
 [ 6, 9, 2, 3 ]
 gap> 
 

9.3-6 SCNSFpBettiNumbers
> SCNSFpBettiNumbers( sl, p )( function )

Returns: a list of non-negative integers upon success, fail otherwise.

Computes the Betti numbers modulo p of a slicing sl. Internally, sl is triangulated (using SCNSTriangulation (9.2-2)) and the Betti numbers are computed via SCFpBettiNumbers (4.7-17) using the triangulation.

 gap> SCLib.SearchByName("(S^2xS^1)#20");       
 [ [ 688, "(S^2xS^1)#20" ] ]
 gap> c:=SCLib.Load(688);;
 gap> c.F;
 [ 27, 298, 542, 271 ]
 gap> sl:=c.Slicing([[1..13],[14..27]]);;
 gap> SCNSFpBettiNumbers(sl,2);
 [ 2, 14, 2 ]
 gap>
 

9.3-7 SCNSGenus
> SCNSGenus( sl )( function )

Returns: a non-negative integer upon success, fail otherwise.

Computes the genus of a discrete normal surface sl.

 gap> SCLib.SearchByName("(S^2xS^1)#20");
 [ [ 688, "(S^2xS^1)#20" ] ]
 gap> c:=SCLib.Load(688);;               
 gap> c.F;                               
 [ 27, 298, 542, 271 ]
 gap> sl:=c.Slicing([[1..12],[13..27]]);;
 gap> SCIsConnected(sl);
 true
 gap> SCNSGenus(sl);                     
 7
 gap> 
 

9.3-8 SCNSHomology
> SCNSHomology( sl )( function )

Returns: a list of homology groups upon success, fail otherwise.

Computes the homology of a slicing sl. Internally, sl is triangulated (cf. SCNSTriangulation (9.2-2)) and simplicial homology is computed via SCHomology (4.7-25) using the triangulation.

 gap> SCLib.SearchByName("(S^2xS^1)#20");       
 [ [ 688, "(S^2xS^1)#20" ] ]
 gap> c:=SCLib.Load(688);;
 gap> c.F;
 [ 27, 298, 542, 271 ]
 gap> sl:=c.Slicing([[1..12],[13..27]]);;   
 gap> sl.Homology;
 [ [ 0, [  ] ], [ 14, [  ] ], [ 1, [  ] ] ]
 gap> sl:=c.Slicing([[1..13],[14..27]]);;
 gap> sl.Homology;                       
 [ [ 1, [  ] ], [ 14, [  ] ], [ 2, [  ] ] ]
 gap> 
 

9.3-9 SCNSSkel
> SCNSSkel( sl, k )( function )

Returns: a face list (of k+1tuples) or a list of face lists upon success, fail otherwise.

Computes all faces of cardinality k+1 in the original labeling: k = 0 computes the vertices, k = 1 computes the edges, k = 2 computes the triangles, k = 3 computes the quadrilaterals.

If k is a list (necessarily a sublist of [ 0,1,2,3 ]) all faces of all cardinalities contained in k are computed.

 gap> c:=SCBdSimplex(4);;              
 gap> sl:=SCNSSlicing(c,[[1],[2..5]]);;
 gap> SCNSSkel(sl,1);                            
 [ [ [ 1, 2 ], [ 1, 3 ] ], [ [ 1, 2 ], [ 1, 4 ] ], [ [ 1, 2 ], [ 1, 5 ] ], 
   [ [ 1, 3 ], [ 1, 4 ] ], [ [ 1, 3 ], [ 1, 5 ] ], [ [ 1, 4 ], [ 1, 5 ] ] ]
 gap> 
 
 gap> c:=SCBdSimplex(4);;              
 gap> sl:=SCNSSlicing(c,[[1],[2..5]]);;
 gap> SCNSSkel(sl,3);                            
 [ ]
 gap> sl:=SCNSSlicing(c,[[1,2],[3..5]]);;
 gap> SCNSSkelEx(sl,3);                            
 [ [ [ 1, 3 ], [ 1, 4 ], [ 2, 3 ], [ 2, 4 ] ], 
   [ [ 1, 3 ], [ 1, 5 ], [ 2, 3 ], [ 2, 5 ] ], 
   [ [ 1, 4 ], [ 1, 5 ], [ 2, 4 ], [ 2, 5 ] ] ]
 gap> 
 

9.3-10 SCNSSkelEx
> SCNSSkelEx( sl, k )( function )

Returns: a face list (of k+1tuples) or a list of face lists upon success, fail otherwise.

Computes all faces of cardinality k+1 in the standard labeling: k = 0 computes the vertices, k = 1 computes the edges, k = 2 computes the triangles, k = 3 computes the quadrilaterals.

If k is a list (necessarily a sublist of [ 0,1,2,3 ]) all faces of all cardinalities contained in k are computed.

 gap> c:=SCBdSimplex(4);;              
 gap> sl:=SCNSSlicing(c,[[1],[2..5]]);;
 gap> SCNSSkelEx(sl,1);                            
 [ [ 1, 2 ], [ 1, 3 ], [ 1, 4 ], [ 2, 3 ], [ 2, 4 ], [ 3, 4 ] ]
 gap> 
 
 gap> c:=SCBdSimplex(4);;              
 gap> sl:=SCNSSlicing(c,[[1],[2..5]]);;
 gap> SCNSSkelEx(sl,3);                            
 [ ]
 gap> sl:=SCNSSlicing(c,[[1,2],[3..5]]);;
 gap> SCNSSkelEx(sl,3);                            
 [ [ 1, 2, 4, 5 ], [ 1, 3, 4, 6 ], [ 2, 3, 5, 6 ] ]
 gap> 
 

9.3-11 SCNSTopologicalType
> SCNSTopologicalType( sl )( function )

Returns: a string upon success, fail otherwise.

Determines the topological type of sl via the classification theorem for closed compact surfaces. If sl is not connected, the topological type of each connected component is computed.

 gap> SCLib.SearchByName("(S^2xS^1)#20");      
 [ [ 688, "(S^2xS^1)#20" ] ]
 gap> c:=SCLib.Load(688);;
 gap> c.F;
 [ 27, 298, 542, 271 ]
 gap> for i in [1..26] do 
 > sl:=SCNSSlicing(c,[[1..i],[i+1..27]]); 
 > Print(sl.TopologicalType,"\n"); 
 > od;                                           
 S^2
 S^2
 S^2
 S^2
 S^2 U S^2
 S^2 U S^2
 S^2
 (T^2)#3
 (T^2)#5
 (T^2)#4
 (T^2)#3
 (T^2)#7
 (T^2)#7 U S^2
 (T^2)#7 U S^2
 (T^2)#7 U S^2
 (T^2)#8 U S^2
 (T^2)#7 U S^2
 (T^2)#8
 (T^2)#6
 (T^2)#6
 (T^2)#5
 (T^2)#3
 (T^2)#2
 T^2
 S^2
 S^2
 gap> 
 
 Top of Book   Previous Chapter   Next Chapter 
Goto Chapter: Top 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Bib Ind

generated by GAPDoc2HTML