forked from ScriptRaccoon/CatDat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path003_terminal_objects.sql
More file actions
67 lines (64 loc) · 2 KB
/
003_terminal_objects.sql
File metadata and controls
67 lines (64 loc) · 2 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
CREATE TEMP TABLE terminal_objects (
category_id TEXT NOT NULL,
description TEXT NOT NULL
);
INSERT INTO terminal_objects (category_id, description)
VALUES
('1', 'the unique object'),
('Ab', 'trivial group'),
('Ab_fg', 'trivial group'),
('Alg(R)', 'trivial algebra'),
('Ban', 'trivial Banach space'),
('CAlg(R)', 'trivial algebra'),
('Cat', '<a href="/category/1">trivial category</a>'),
('CMon', 'trivial monoid'),
('CRing', 'zero ring'),
('FinAb', 'trivial group'),
('FinGrp', 'trivial group'),
('FinOrd', 'singleton ordered set'),
('FinSet', 'singleton set'),
('FreeAb', 'trivial group'),
('Grp', 'trivial group'),
('Haus', 'singleton space'),
('LRS', '$\mathrm{Spec}(\mathbb{Z})$'),
('M-Set', 'singleton set with the unique action'),
('Man', 'singleton manifold of dimension $0$'),
('Meas', 'singleton set with the unique $\sigma$-algebra'),
('Met', 'singleton space'),
('Met_c', 'singleton space'),
('Met_oo', 'singleton space'),
('Mon', 'trivial monoid'),
('N_oo', '$\infty$'),
('PMet', 'singleton space'),
('Pos', 'singleton poset'),
('Prost', 'singleton proset'),
('R-Mod', 'zero module'),
('R-Mod_div', 'zero module'),
('real_interval', '$1$'),
('Rel', 'empty set'),
('Ring', 'zero ring'),
('Rng', 'zero ring'),
('Sch', '$\mathrm{Spec}(\mathbb{Z})$'),
('Set', 'singleton set'),
('Set*', 'singleton pointed set'),
('Setne', 'singleton set'),
('SetxSet', '$(1,1)$'),
('Sh(X)', 'constant sheaf with value a singleton'),
('Sh(X,Ab)', 'trivial abelian sheaf'),
('Sp', 'species $X$ with $X_n = 1$'),
('sSet', 'simplicial set $X$ with $X_n = 1$'),
('Top', 'singleton space'),
('Top*', 'singleton space with the unique base point'),
('Vect', 'trivial vector space'),
('walking_commutative_square', '$d$'),
('walking_isomorphism', 'both objects'),
('walking_morphism', '$1$'),
('Z', 'constant functor with value $1$'),
('Z_div', '$0$'),
('walking_composable_pair', '$2$');
INSERT INTO special_objects
(category_id, description, type)
SELECT
category_id, description, 'terminal object'
FROM terminal_objects;
DROP TABLE terminal_objects;