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
5 Category 2-Cells
3
4
5
5.1 Attributes for the Type of 2-Cells
6
7
5.1-1 Source
8
9
Source( c )  attribute
10
Returns: a morphism
11
12
The argument is a 2-cell c: \alpha \rightarrow \beta. The output is its
13
source \alpha.
14
15
5.1-2 Range
16
17
Range( c )  attribute
18
Returns: a morphism
19
20
The argument is a 2-cell c: \alpha \rightarrow \beta. The output is its
21
range \beta.
22
23
24
5.2 Identity 2-Cell and Composition of 2-Cells
25
26
5.2-1 IdentityTwoCell
27
28
IdentityTwoCell( alpha )  attribute
29
Returns: a 2-cell
30
31
The argument is a morphism \alpha. The output is its identity 2-cell
32
\mathrm{id}_{\alpha}: \alpha \rightarrow \alpha.
33
34
5.2-2 AddIdentityTwoCell
35
36
AddIdentityTwoCell( C, F )  operation
37
Returns: nothing
38
39
The arguments are a category C and a function F. This operations adds the
40
given function F to the category for the basic operation IdentityTwoCell. F:
41
\alpha \mapsto \mathrm{id}_{\alpha}.
42
43
5.2-3 HorizontalPreCompose
44
45
HorizontalPreCompose( c, d )  operation
46
Returns: a 2-cell
47
48
The arguments are two 2-cells c: \alpha \rightarrow \beta, d: \gamma
49
\rightarrow \delta between morphisms \alpha, \beta: a \rightarrow b and
50
\gamma, \delta: b \rightarrow c. The output is their horizontal composition
51
d \ast c: (\gamma \circ \alpha) \rightarrow (\delta \circ \beta).
52
53
5.2-4 AddHorizontalPreCompose
54
55
AddHorizontalPreCompose( C, F )  operation
56
Returns: nothing
57
58
The arguments are a category C and a function F. This operations adds the
59
given function F to the category for the basic operation
60
HorizontalPreCompose. F: (c,d) \mapsto d \ast c.
61
62
5.2-5 HorizontalPostCompose
63
64
HorizontalPostCompose( d, c )  operation
65
Returns: a 2-cell
66
67
The arguments are two 2-cells d: \gamma \rightarrow \delta, c: \alpha
68
\rightarrow \beta between morphisms \alpha, \beta: a \rightarrow b and
69
\gamma, \delta: b \rightarrow c. The output is their horizontal composition
70
d \ast c: (\gamma \circ \alpha) \rightarrow (\delta \circ \beta).
71
72
5.2-6 AddHorizontalPostCompose
73
74
AddHorizontalPostCompose( C, F )  operation
75
Returns: nothing
76
77
The arguments are a category C and a function F. This operations adds the
78
given function F to the category for the basic operation
79
HorizontalPostCompose. F: (d,c) \mapsto d \ast c.
80
81
5.2-7 VerticalPreCompose
82
83
VerticalPreCompose( c, d )  operation
84
Returns: a 2-cell
85
86
The arguments are two 2-cells c: \alpha \rightarrow \beta, d: \beta
87
\rightarrow \gamma between morphisms \alpha, \beta, \gamma: a \rightarrow b.
88
The output is their vertical composition d \circ c: \alpha \rightarrow
89
\gamma.
90
91
5.2-8 AddVerticalPreCompose
92
93
AddVerticalPreCompose( C, F )  operation
94
Returns: nothing
95
96
The arguments are a category C and a function F. This operations adds the
97
given function F to the category for the basic operation VerticalPreCompose.
98
F: (c,d) \mapsto d \circ c.
99
100
5.2-9 VerticalPostCompose
101
102
VerticalPostCompose( d, c )  operation
103
Returns: a 2-cell
104
105
The arguments are two 2-cells d: \beta \rightarrow \gamma, c: \alpha
106
\rightarrow \beta between morphisms \alpha, \beta, \gamma: a \rightarrow b.
107
The output is their vertical composition d \circ c: \alpha \rightarrow
108
\gamma.
109
110
5.2-10 AddVerticalPostCompose
111
112
AddVerticalPostCompose( C, F )  operation
113
Returns: nothing
114
115
The arguments are a category C and a function F. This operations adds the
116
given function F to the category for the basic operation
117
VerticalPostCompose. F: (d,c) \mapsto d \circ c.
118
119
120
5.3 Well-Definedness for 2-Cells
121
122
5.3-1 IsWellDefinedForTwoCells
123
124
IsWellDefinedForTwoCells( c )  operation
125
Returns: a boolean
126
127
The argument is a 2-cell c. The output is true if c is well-defined,
128
otherwise the output is false.
129
130
5.3-2 AddIsWellDefinedForTwoCells
131
132
AddIsWellDefinedForTwoCells( C, F )  operation
133
Returns: nothing
134
135
The arguments are a category C and a function F. This operations adds the
136
given function F to the category for the basic operation
137
IsWellDefinedForTwoCells. F: c \mapsto \mathtt{IsWellDefinedForMorphisms}( c
138
).
139
140
141