forked from ScriptRaccoon/CatDat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path002_isomorphisms.sql
More file actions
365 lines (362 loc) · 7.01 KB
/
002_isomorphisms.sql
File metadata and controls
365 lines (362 loc) · 7.01 KB
1
2
3
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
CREATE TEMP TABLE isomorphisms (
category_id TEXT NOT NULL,
description TEXT NOT NULL,
reason TEXT NOT NULL
);
INSERT INTO isomorphisms (
category_id,
description,
reason
)
VALUES
(
'0',
'none',
'This is trivial.'
),
(
'1',
'every morphism',
'This is trivial.'
),
(
'2',
'every morphism',
'This is trivial.'
),
(
'Ab',
'bijective homomorphisms',
'This characterization holds in every algebraic category.'
),
(
'Ab_fg',
'bijective homomorphisms',
'This follows exactly as for abelian groups.'
),
(
'Alg(R)',
'bijective ring homomorphisms',
'This characterization holds in every algebraic category.'
),
(
'B',
'every morphism',
'It is a groupoid by construction.'
),
(
'Ban',
'bijective linear isometries',
'This is easy.'
),
(
'BG_c',
'every morphism',
'It is a groupoid.'
),
(
'BG_f',
'every morphism',
'It is a groupoid.'
),
(
'BN',
'only the number $0$',
'The $0$ is the only natural number which has an additive inverse, since for $n > 0$ we have $n + m > 0$ for all $m$.'
),
(
'BOn',
'only the ordinal $0$',
'The $0$ is the only ordinal which has an additive inverse, since for $\alpha > 0$ we have $\alpha + \beta > 0$ for all $\beta$.'
),
(
'Cat',
'functors that are bijective on objects and morphisms',
'This is easy.'
),
(
'CAlg(R)',
'bijective homomorphisms',
'This characterization holds in every algebraic category.'
),
(
'CMon',
'bijective homomorphisms',
'This characterization holds in every algebraic category.'
),
(
'CRing',
'bijective ring homomorphisms',
'This characterization holds in every algebraic category.'
),
(
'Delta',
'bijective order-preserving maps',
'This is easy. Notice that bijective order-preserving maps automatically also reflect the order (because we work with totally ordered sets).'
),
(
'FI',
'bijective maps',
'This follows exactly as for sets.'
),
(
'FinAb',
'bijective homomorphisms',
'This follows exactly as for abelian groups.'
),
(
'FinGrp',
'bijective homomorphisms',
'This follows exactly as for groups.'
),
(
'FinOrd',
'bijective order-preserving maps',
'This works as for posets, using that injective order-preserving maps must be order-reflecting.'
),
(
'FinSet',
'bijective maps',
'This follows exactly as for sets.'
),
(
'Fld',
'bijective field homomorphisms',
'This is easy.'
),
(
'FreeAb',
'bijective homomorphisms',
'This follows exactly as for abelian groups.'
),
(
'FS',
'bijective maps',
'This follows exactly as for sets.'
),
(
'Grp',
'bijective homomorphisms',
'This characterization holds in every algebraic category.'
),
(
'Haus',
'homeomorphisms',
'This is easy.'
),
(
'LRS',
'pairs $(f,f^{\sharp})$ consisting of a homeomorphism $f$ and an isomorphism of sheaves $f^{\sharp}$',
'This is easy.'
),
(
'M-Set',
'bijective $M$-maps',
'This characterization holds in every algebraic category.'
),
(
'Man',
'diffeomorphisms',
'This holds by definition.'
),
(
'Meas',
'bijective measurable maps that map measurable sets to measurable sets',
'This is easy.'
),
(
'Met',
'bijective isometries',
'This is easy.'
),
(
'Met_c',
'homeomorphisms',
'This works as for topological spaces.'
),
(
'Met_oo',
'bijective isometries',
'This is easy.'
),
(
'Mon',
'bijective homomorphisms',
'This characterization holds in every algebraic category.'
),
(
'N',
'only the identity morphisms',
'This is true for every poset (regarded as a category).'
),
(
'N_oo',
'only the identity morphisms',
'This is true for every poset (regarded as a category).'
),
(
'On',
'only the identities',
'This is true for every poset (regarded as a category).'
),
(
'PMet',
'bijective isometries',
'This is easy.'
),
(
'Pos',
'bijective functions that are order-preserving and order-reflecting',
'This is easy.'
),
(
'Prost',
'bijective functions that are order-preserving and order-reflecting',
'This is easy.'
),
(
'R-Mod',
'bijective $R$-linear maps',
'This characterization holds in every algebraic category.'
),
(
'R-Mod_div',
'bijective $R$-linear maps',
'This characterization holds in every algebraic category.'
),
(
'real_interval',
'only the identity morphisms',
'This is true for every poset (regarded as a category).'
),
(
'Rel',
'bijective functions',
'For the non-trivial direction, assume that $R : A \to B$ is a relation which has an inverse relation $S : B \to A$. For every $a \in A$ we have $(a,a) \in \mathrm{id}_A = S \circ R$, so there is some $b \in B$ with $(a,b) \in R$ (and $(b,a) \in S$). This shows that $R$ is left-total, and for right-total the argument is similar. By symmetry, this also holds for $S$. To show that $R$ is a function, assume $(a,b_1), (a,b_2) \in R$. Choose some $b_3 \in B$ with $(b_3,a) \in S$. It follows $(b_3,b_1) \in S \circ R = \mathrm{id}_A$, so $b_3 = b_1$. Similarly, $(b_3,b_2) \in S \circ R = \mathrm{id}_A$, so $b_3 = b_2$. This shows that $R$ is a function, i.e. left-unique. That $R$ is injective, i.e. right-unique, follows by symmetry. Finally, $R$ is surjective since it is right-total.'
),
(
'Ring',
'bijective ring homomorphisms',
'This characterization holds in every algebraic category.'
),
(
'Rng',
'bijective rng homomorphisms',
'This characterization holds in every algebraic category.'
),
(
'Sch',
'pairs $(f,f^{\sharp})$ consisting of a homeomorphism $f$ and an isomorphism of sheaves $f^{\sharp}$',
'This is easy.'
),
(
'Set',
'bijective maps',
'This is easy.'
),
(
'Set*',
'bijective pointed maps',
'This characterization holds in every algebraic category.'
),
(
'Setne',
'bijective maps',
'This follows exactly as for sets.'
),
(
'SetxSet',
'pairs of bijective maps',
'This is easy.'
),
(
'Sh(X)',
'morphisms of sheaves that are bijective on every open set',
'This is easy.'
),
(
'Sh(X,Ab)',
'morphisms of abelian sheaves that are bijective on every open set',
'This is easy.'
),
(
'Sp',
'natural isomorphisms',
'This is the for every functor category.'
),
(
'sSet',
'natural isomorphisms',
'This is true for all functor categories.'
),
(
'Top',
'homeomorphisms',
'This is easy.'
),
(
'Top*',
'pointed homeomorphisms',
'This is easy.'
),
(
'Vect',
'bijective linear maps',
'This characterization holds in every algebraic category.'
),
(
'walking_composable_pair',
'the three identities',
'This is trivial.'
),
(
'walking_commutative_square',
'the four identities',
'This is trivial.'
),
(
'walking_fork',
'the three identities',
'This is trivial.'
),
(
'walking_idempotent',
'the identity',
'This is trivial.'
),
(
'walking_isomorphism',
'every morphism',
'This is trivial.'
),
(
'walking_morphism',
'the two identities',
'This is trivial.'
),
(
'walking_pair',
'the two identities',
'This is trivial.'
),
(
'walking_span',
'the three identities',
'This is trivial.'
),
(
'Z',
'natural isomorphisms',
'This is true for all functor categories.'
),
(
'Z_div',
'the identities $(a,a) : a \to a$ and the isomorphisms $(a,-a) : a \to -a$ for $a \in \mathbb{Z}$',
'This is trivial.'
);
INSERT INTO special_morphisms
(category_id, description, reason, type)
SELECT
category_id, description, reason, 'isomorphisms'
FROM isomorphisms;
DROP TABLE isomorphisms;