As mentioned in Section 2.4 and 2.5 the theory of polyhedral Morse theory and slicings are closely related. In this chapter we present some useful functions dealing with polyhedral Morse theory. Note: this is not to be confused with Robin Forman's discrete Morse theory for cell complexes [For95].
If M is a combinatorial d-manifold with n-vertices an rsl-function is, if not stated otherwise, represented as an ordering on the set of vertices, i. e. a list of length n which is a permutation of the set of vertices.
> SCIsTight( complex ) | ( operation ) |
Returns: true / false upon success, fail otherwise.
Checks, whether complex is a tight triangulation or not. A simplicial complex with n vertices is said to be a tight triangulation if it can be tightly embedded into the (n-1)-simplex. See Section 2.6 for a short introduction to the field of tightness.
First, if complex is a (k+1)-neighborly 2k-manifold (cf. [K{\95], Corollary 4.7) or if complex is of dimension d>= 4, 2-neighborly and all its vertex links are stacked spheres (i.e. the complex is in Walkup's class K(d), see [Eff09]), true is returned as the complex is a tight triangulation in these cases. Note, that it is not computed whether or not complex is a combinatorial manifold as this computation might take a long time. Hence, only if the manifold flag of the complex is set (this can be achieved by calling SCIsManifold (6.2-6) and the complex indeed is a combinatorial manifold) these checks are performed. In a second step, the algorithm first checks certain rsl-functions allowing slicings between minimal non faces and the rest of the complex. In most cases where complex is not tight at least one of these rsl-functions is not perfect and thus false is returned as the complex is not a tight triangulation.
If the complex passed all checks so far, the remaining rsl-functions are checked for being perfect functions. As there are ``only'' 2^n different multiplicity vectors, but n! different rsl-functions, a lookup table containing all possible multiplicity vectors is computed first. Note, that nonetheless the complexity of this algorithm is O(n!).
In order to reduce the number of rsl-functions that need to be checked, the automorphism group of complex is computed first using SCAutomorphismGroup (4.6-2). In case it is k-transitive, the complexity is reduced by the factor of n * (n-1) * dots * (n-k+1).
gap> list:=SCLib.SearchByName("S^2~S^1 (VT)");;
gap> s2s1:=SCLib.Load(list[1][1]);
[SimplicialComplex
Properties known: AltshulerSteinberg, AutomorphismGroup,
AutomorphismGroupSize, AutomorphismGroupStructure,
AutomorphismGroupTransitivity, Boundary, Chi,
ConnectedComponents, Dim, DualGraph, F, Faces, Facets, G,
Generators, H, HasBoundary, HasInterior, Homology,
Interior, IsCentrallySymmetric, IsConnected,
IsEulerianManifold, IsOrientable, IsPM, IsPure,
MinimalNonFaces, Name, Neighborliness, Orientation,
Reference, StronglyConnected, VertexLabels, Vertices.
Name="S^2~S^1 (VT)"
Dim=3
AutomorphismGroupSize=18
AutomorphismGroupStructure="D18"
AutomorphismGroupTransitivity=1
Chi=0
F=[ 9, 36, 54, 27 ]
G=[ 4, 10 ]
H=[ 5, 15, 5, 1 ]
HasBoundary=false
HasInterior=true
Homology=[ [ 0, [ ] ], [ 1, [ ] ], [ 0, [ 2 ] ], [ 0, [ ] ] ]
IsCentrallySymmetric=false
IsConnected=true
IsEulerianManifold=true
IsOrientable=false
IsPM=true
IsPure=true
Neighborliness=2
/SimplicialComplex]
gap> SCInfoLevel(2); # print information while running
gap> SCIsTight(s2s1); time;
#I SCIsTight: checking non faces...
#I SCIsTight: found no contradiction so far.
#I SCIsTight: generating lookup table...
#I SCIsTight: lookup table done, size = 2304.
#I SCIsTight: computing automorphism group...
#I SCIsTight: automorphism group done, transitivity = 1.
#I SCIsTight: checking rsl-functions...
#I SCIsTight: processed 10000 of 40320 rsl-functions so far, all perfect.
#I SCIsTight: processed 20000 of 40320 rsl-functions so far, all perfect.
#I SCIsTight: processed 30000 of 40320 rsl-functions so far, all perfect.
#I SCIsTight: processed 40000 of 40320 rsl-functions so far, all perfect.
true
11217
gap>
|
gap> SCLib.SearchByAttribute("F[1] > 30");
[ [ 656, "Bd(600-cell)" ] ]
gap> c:=SCLib.Load(656);;
gap> SCIsTight(c); time;
#I SCIsTight: checking non faces...
#I SCIsTight: found non perfect rsl-function:
[ 1, 3, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
113, 114, 115, 116, 117, 118, 119, 120 ], complex not tight.
false
28
gap> c:=SCLib.Load(655);;
gap> SCIsTight(c); time;
#I SCIsTight: checking non faces...
#I SCIsTight: found non perfect rsl-function:
[ 1, 20, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21,
22, 23, 24, 25, 26, 27 ], complex not tight.
false
8
gap>
|
gap> SCInfoLevel(0);
gap> SCLib.SearchByName("K3");
[ [ 551, "K3 surface" ] ]
gap> c:=SCLib.Load(last[1][1]);;
gap> SCIsManifold(c);
true
gap> SCInfoLevel(2);
gap> c.IsTight;
#I SCIsTight: complex is (k+1)-neighborly 2k-manifold and thus tight.
true
gap>
|
gap> list:=SCLib.SearchByName("S^3xS^1");;
gap> c:=SCLib.Load(list[1][1]);
[SimplicialComplex
Properties known: AltshulerSteinberg, AutomorphismGroup,
AutomorphismGroupSize, AutomorphismGroupStructure,
AutomorphismGroupTransitivity, Boundary, Chi,
ConnectedComponents, Dim, DualGraph, F, Faces, Facets, G,
Generators, H, HasBoundary, HasInterior, Homology,
Interior, IsCentrallySymmetric, IsConnected,
IsEulerianManifold, IsOrientable, IsPM, IsPure,
MinimalNonFaces, Name, Neighborliness, Orientation,
Reference, StronglyConnected, VertexLabels, Vertices.
Name="S^3xS^1 (VT)"
Dim=4
AutomorphismGroupSize=22
AutomorphismGroupStructure="D22"
AutomorphismGroupTransitivity=1
Chi=0
F=[ 11, 55, 110, 110, 44 ]
G=[ 5, 15, -20 ]
H=[ 6, 21, 1, 16, -1 ]
HasBoundary=false
HasInterior=true
Homology=[ [ 0, [ ] ], [ 1, [ ] ], [ 0, [ ] ], [ 1, [ ] ], [ 1, [ ] ] ]
IsCentrallySymmetric=false
IsConnected=true
IsEulerianManifold=true
IsOrientable=true
IsPM=true
IsPure=true
Neighborliness=2
/SimplicialComplex]
gap> SCInfoLevel(0);
gap> SCIsManifold(c);
true
gap> SCInfoLevel(2);
gap> c.IsTight;
#I SCIsInKd: checking link 1/11
#I SCIsKStackedSphere: try 1/50
#I round 0: [ 9, 26, 34, 17 ]
#I round 1: [ 8, 22, 28, 14 ]
#I round 2: [ 7, 18, 22, 11 ]
#I round 3: [ 6, 14, 16, 8 ]
#I round 4: [ 5, 10, 10, 5 ]
#I SCReduceComplexEx: computed locally minimal complex after 5 rounds.
#I SCIsInKd: complex has transitive automorphism group, all links are
1-stacked.
#I SCIsTight: complex is in class K(1) and 2-neighborly, thus tight.
true
gap>
|
> SCMorseIsPerfect( c, f ) | ( operation ) |
Returns: true / false upon success, fail otherwise.
Checks whether the rsl-function f is perfect on c or not. An rsl-function is said to be perfect, if it has the minimum number of critical points, i. e. if the sum of its critical points equal the sum of the Betti numbers of c.
gap> c:=SCBdCyclicPolytope(4,6);; gap> SCMinimalNonFaces(c); [ [ ], [ ], [ [ 1, 3, 5 ], [ 2, 4, 6 ] ] ] gap> SCMorseIsPerfect(c,[1..6]); true gap> SCMorseIsPerfect(c,[1,3,5,2,4,6]); false gap> |
> SCSlicing( complex, slicing ) | ( operation ) |
Returns: a list / a SCNormalSurface object upon success, fail otherwise.
Returns the pre-image f^-1 (alpha ) of an rsl-function f on complex where f is given in the second argument slicing by a partition of the set of vertices slicing=[ V_1 , V_2 ] such that f(v_1) (f(v_2)) is smaller (greater) than alpha for all v_1 in V_1 (v_2 in V_2). If complex is of dimension 3, a GAP object of type SCNormalSurface is returned. Otherwise only the facet list is returned. See also SCNSSlicing (8.1-4).
gap> c:=SCBdCyclicPolytope(4,6);;
gap> v:=SCVertices(c);
[ 1, 2, 3, 4, 5, 6 ]
gap> SCMinimalNonFaces(c);
[ [ ], [ ], [ [ 1, 3, 5 ], [ 2, 4, 6 ] ] ]
gap> ns:=SCSlicing(c,[v{[1,3,5]},v{[2,4,6]}]);
[NormalSurface
Properties known: Chi, ConnectedComponents, Dim, F, Facets, Genus, IsConnecte\
d, Name, Oriented, Subdivision, TopologicalType, VertexLabels, Vertices.
Name="slicing [ [ 1, 3, 5 ], [ 2, 4, 6 ] ] of Bd(C_4(6))"
Dim=2
Chi=0
F=[ 9, 18, 0, 9 ]
IsConnected=true
TopologicalType="T^2"
/NormalSurface]
gap>
|
gap> c:=SCBdSimplex(5);;
gap> v:=SCVertices(c);
[ 1, 2, 3, 4, 5, 6 ]
gap> slicing:=SCSlicing(c,[v{[1,3,5]},v{[2,4,6]}]);
[ [ [ 1, 2 ], [ 1, 4 ], [ 3, 2 ], [ 3, 4 ], [ 5, 2 ], [ 5, 4 ] ],
[ [ 1, 2 ], [ 1, 4 ], [ 1, 6 ], [ 3, 2 ], [ 3, 4 ], [ 3, 6 ] ],
[ [ 1, 2 ], [ 1, 6 ], [ 3, 2 ], [ 3, 6 ], [ 5, 2 ], [ 5, 6 ] ],
[ [ 1, 2 ], [ 1, 4 ], [ 1, 6 ], [ 5, 2 ], [ 5, 4 ], [ 5, 6 ] ],
[ [ 1, 4 ], [ 1, 6 ], [ 3, 4 ], [ 3, 6 ], [ 5, 4 ], [ 5, 6 ] ],
[ [ 3, 2 ], [ 3, 4 ], [ 3, 6 ], [ 5, 2 ], [ 5, 4 ], [ 5, 6 ] ] ]
gap>
|
> SCMorseMultiplicityVector( c, f ) | ( operation ) |
Returns: a list of (d+1)-tuples if c is a d-dimensional simplicial complex upon success, fail otherwise.
Computes all multiplicity vectors of an rsl-function f on c. f is given as an ordered list (v_1 , ... v_n) of all vertices of c where f is defined by f(v_i) = fraci-1n-1. The i-th entry of the returned list denotes the multiplicity vector of vertex v_i.
gap> SCLib.SearchByName("K3");
[ [ 550, "K3 surface" ] ]
gap> c:=SCLib.Load(last[1][1]);;
gap> f:=SCVertices(c);
[ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ]
gap> SCMorseMultiplicityVector(c,f);
[ [ 1, 0, 0, 0, 0 ], [ 0, 0, 0, 0, 0 ], [ 0, 0, 0, 0, 0 ],
[ 0, 0, 1, 0, 0 ], [ 0, 0, 2, 0, 0 ], [ 0, 0, 1, 0, 0 ],
[ 0, 0, 4, 0, 0 ], [ 0, 0, 3, 0, 0 ], [ 0, 0, 3, 0, 0 ],
[ 0, 0, 4, 0, 0 ], [ 0, 0, 1, 0, 0 ], [ 0, 0, 2, 0, 0 ],
[ 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 0 ], [ 0, 0, 0, 0, 0 ],
[ 0, 0, 0, 0, 1 ] ]
gap>
|
> SCMorseNumberOfCriticalPoints( c, f ) | ( operation ) |
Returns: an integer and a list upon success, fail otherwise.
Computes the number of critical points of an rsl-function f on c and the total number of critical points.
gap> SCLib.SearchByName("K3");
[ [ 550, "K3 surface" ] ]
gap> c:=SCLib.Load(last[1][1]);;
gap> f:=SCVertices(c);
[ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ]
gap> SCMorseNumberOfCriticalPoints(c,f);
[ 24, [ 1, 0, 22, 0, 1 ] ]
gap>
|
generated by GAPDoc2HTML