CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
1
2
3 Examples
3
4
Although there are some small examples embedded in chapter 4, we will give
5
some complete examples in this chapter. Most of these could easily be called
6
with the example script mentioned in chapter 2, but we will do them step by
7
step for best reproducability.
8
9
10
3.1 Example 1: Klein Bottle
11
12
Suppose we want to calculate the cohomology of the Klein Bottle. First, we
13
need a triangulation. It could look like this:
14
15

16
1--2--3--1
17
|\ |\ |\ |
18
| \| \| \|
19
4--5--6--4
20
|\ |\ |\ |
21
| \| \| \|
22
7--8--9--7
23
|\ |\ |\ |
24
| \| \| \|
25
1--3--2--1
26

27
28
This results in the following list of maximum simplices:
29
30
 Example 
31
gap> M := [ [1,2,4], [1,2,7], [1,3,6], [1,3,8], [1,4,6], [1,7,8],
32
> [2,3,5], [2,3,9], [2,4,5], [2,7,9], [3,5,6], [3,8,9],
33
> [4,5,7], [4,6,9], [4,7,9], [5,6,8], [5,7,8], [6,8,9] ];;
34

35
36
As there is no isotropy and therefore no μ-map, we can continue with the
37
orbifold triangulation and simplicial set:
38
39
 Example 
40
gap> ot := OrbifoldTriangulation( M, "Klein Bottle" );
41
<OrbifoldTriangulation "Klein Bottle" of dimension 2. 18 simplices on 9 vertic\
42
es without Isotropy>
43
gap> ss := SimplicialSet( ot );
44
<The simplicial set of the orbifold triangulation "Klein Bottle", computed up \
45
to dimension 0 with Length vector [ 18 ]>
46

47
48
Now we will need a homalg ring. As this is a small example we can compute
49
directly over ℤ, so we can use GAP. In case you have RingsForHomalg
50
installed you might want to try computing in another computer algebra system
51
with the command HomalgRingOfIntegersInCAS(), replacing "CAS" with the
52
corresponding system.
53
54
 Example 
55
gap> R := HomalgRingOfIntegers();
56
Z
57

58
59
We are almost there. Let us create some coboundary matrices and compute
60
their cohomology:
61
62
 Example 
63
gap> c := CreateCoboundaryMatrices( ss, 4, R );;
64
gap> C := Cohomology( c, R );
65
----------------------------------------------->>>> Z^(1 x 1)
66
----------------------------------------------->>>> Z^(1 x 1)
67
----------------------------------------------->>>> Z/< 2 >
68
----------------------------------------------->>>> 0
69
----------------------------------------------->>>> 0
70
<A graded cohomology object consisting of 5 left modules at degrees
71
[ 0 .. 4 ]>
72

73
74
This is the cohomology of the Klein Bottle.
75
76
77
3.2 Example 2: V_4
78
79
SCO can also be used to compute group cohomology, as every group can be
80
represented as an orbifold with just a single point. For V_4, it would look
81
like this:
82
83
 Example 
84
gap> M := [ [1] ];;
85
gap> V4 := Group( (1,2), (3,4) );;
86
gap> iso := rec( 1 := V4 );;
87
gap> ot := OrbifoldTriangulation( M, iso, "V4" );
88
<OrbifoldTriangulation "V4" of dimension 0. 1 simplex on 1 vertex with Isotrop\
89
y on 1 vertex>
90
gap> ss := SimplicialSet( ot );
91
<The simplicial set of the orbifold triangulation "V4", computed up to dimensi\
92
on 0 with Length vector [ 1 ]>
93
gap> R := HomalgRingOfIntegers();
94
Z
95
gap> c := CreateCoboundaryMatrices( ss, 4, R );;
96
gap> C := Cohomology( c, R );
97
----------------------------------------------->>>> Z^(1 x 1)
98
----------------------------------------------->>>> 0
99
----------------------------------------------->>>> Z/< 2 > + Z/< 2 >
100
----------------------------------------------->>>> Z/< 2 >
101
----------------------------------------------->>>> Z/< 2 > + Z/< 2 > + Z/< 2\
102
 >
103
<A graded cohomology object consisting of 5 left modules at degrees
104
[ 0 .. 4 ]>
105

106
107
This is the V_4 group cohomology up to degree 4.
108
109
110
3.3 Example 3: The "Teardrop" orbifold
111
112
You have seen a manifold in example 1, and group cohomology in example 2.
113
Now we will meet our first proper orbifold, the Teardrop. This is the
114
example Moerdijk and Pronk used in their paper [MP99] on which my work is
115
based. It is an easy example, but includes both nontrivial isotropy and
116
μ-maps. We take the isotropy at the top to be C_2. The triangulation looks
117
like this, with the gluing being at [1,3].
118
119

120
 3=====1=====3
121
 / \ / \ / \
122
 / \ / \ / \
123
5-----2-----4-----5
124
 \ /
125
 \ /
126
 5
127

128
129
The source code:
130
131
 Example 
132
gap> M := [ [1,2,3], [1,2,4], [1,3,4], [2,3,5], [2,4,5], [3,4,5] ];;
133
gap> iso := rec( 1 := Group( (1,2) ) );;
134
gap> mu := [
135
>  [ [3], [1,3], [1,2,3], [1,3,4], x -> (1,2) ],
136
>  [ [3], [1,3], [1,3,4], [1,2,3], x -> (1,2) ]
137
>  ];;
138
gap> ot := OrbifoldTriangulation( M, iso, mu, "Teardrop" );
139
<OrbifoldTriangulation "Teardrop" of dimension 2. 6 simplices on 5 vertices wi\
140
th Isotropy on 1 vertex and nontrivial mu-maps>
141
gap> ss := SimplicialSet( ot );
142
<The simplicial set of the orbifold triangulation "Teardrop", computed up to d\
143
imension 0 with Length vector [ 6 ]>
144
gap> R := HomalgRingOfIntegers();
145
Z
146
gap> c := CreateCoboundaryMatrices( ss, 6, R );;
147
gap> C := Cohomology( c, R );
148
----------------------------------------------->>>> Z^(1 x 1)
149
----------------------------------------------->>>> 0
150
----------------------------------------------->>>> Z^(1 x 1)
151
----------------------------------------------->>>> 0
152
----------------------------------------------->>>> Z/< 2 >
153
----------------------------------------------->>>> 0
154
----------------------------------------------->>>> Z/< 2 >
155
<A graded cohomology object consisting of 7 left modules at degrees
156
[ 0 .. 6 ]>
157

158
159
This is the Teardrop cohomology.
160
161
162