-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patharrow29.mp
More file actions
200 lines (151 loc) · 5.48 KB
/
arrow29.mp
File metadata and controls
200 lines (151 loc) · 5.48 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
% tex/conc/mp/arrow29.mp 2012-4-2 Alan U. Kennington.
% $Id: tex/conc/mp/arrow29.mp 592234290e 2012-04-02 10:13:07Z Alan U. Kennington $
% Sets and operations for single-set algebraic structures and modules.
input mapmax.mp
verbatimtex
\input akmath
etex
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
beginfig(1);
path pat[];
pair w[];
aa := 3.3cm;
bb := 1.6cm;
by := 2bb - 20pt;
qq := 0.38cm;
cr := 5pt;
theta := 1;
da := 12pt;
rat := 0.45;
db := 4pt;
dc := 1.75da;
dd := 1.485da;
de := 8pt;
df := de + 12pt;
penA := 0.5bp;
w0 := (0,0);
w1 := w0 + (0,-bb);
w2 := w0 + (aa,0);
w3 := w2 + (0,-bb);
w4 := w2 + (aa,0);
w5 := w4 + (0,-bb);
w6 := w4 + (aa,0);
w7 := w6 + (0,-bb);
w10 := w0 + (0.5aa,by);
w11 := w10 + (0,-bb);
w12 := w10 + (aa,0);
w13 := w12 + (0,-bb);
w14 := w12 + (aa,0);
w15 := w14 + (0,-bb);
pat1 := subpath (8-theta, theta) of fullcircle scaled da;
pat2 := fullcircle scaled cr;
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Group.
label(btex $G$ etex, w10);
label.top(btex \strut group, monoid, etex, w10+(0,df));
label.top(btex \strut semigroup etex, w10+(0,de));
pickup pencircle scaled penA;
drawarrow reverse pat1 rotated 0 shifted (w10+(-da,0));
draw pat2 shifted (w10+(-dd,0));
label.lft(btex \strut$\sigma$ etex, w10+(-dc,0));
% label.bot(btex \strut group, monoid, etex, w11+(0,-de));
% label.bot(btex \strut semigroup etex, w11+(0,-df));
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Ring.
label(btex $R$ etex, w12);
label.top(btex \strut ring, field etex, w12+(0,df));
pickup pencircle scaled penA;
drawarrow reverse pat1 rotated 0 shifted (w12+(-da,0));
draw pat2 shifted (w12+(-dd,0));
label.lft(btex \strut$\sigma$ etex, w12+(-dc,0));
drawarrow pat1 rotated 180 shifted (w12+(da,0));
draw pat2 shifted (w12+(dd,0));
label.rt(btex $\tau$ etex, w12+(dc,0));
% label.bot(btex \strut ring, field etex, w13+(0,-de));
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Transformation group.
label(btex $G$ etex, w14);
label(btex $M$ etex, w15);
label.top(btex \strut transformation etex, w14+(0,df));
label.top(btex \strut group/semigroup etex, w14+(0,de));
pickup pencircle scaled penA;
S_arrowspaces(w14,w15,qq,qq,1,black);
draw pat2 shifted rat[w14,w15];
label.lft(btex \strut$\mu$ etex, rat[w14,w15]+(-db,0));
drawarrow reverse pat1 rotated 0 shifted (w14+(-da,0));
draw pat2 shifted (w14+(-dd,0));
label.lft(btex \strut$\sigma$ etex, w14+(-dc,0));
% label.bot(btex \strut transformation etex, w15+(0,-de));
% label.bot(btex \strut group etex, w15+(0,-df));
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Module over a set.
label(btex $A$ etex, w0);
label(btex $M$ etex, w1);
pickup pencircle scaled penA;
S_arrowspaces(w0,w1,qq,qq,1,black);
draw pat2 shifted rat[w0,w1];
label.lft(btex \strut$\mu$ etex, rat[w0,w1]+(-db,0));
drawarrow reverse pat1 rotated 0 shifted (w1+(-da,0));
draw pat2 shifted (w1+(-dd,0));
label.lft(btex $\sigma_M$ etex, w1+(-dc,0));
label.bot(btex \strut module etex, w1+(0,-de));
label.bot(btex \strut over a set etex, w1+(0,-df));
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Module over a group.
label(btex $G$ etex, w2);
label(btex $M$ etex, w3);
pickup pencircle scaled penA;
S_arrowspaces(w2,w3,qq,qq,1,black);
draw pat2 shifted rat[w2,w3];
label.lft(btex \strut$\mu$ etex, rat[w2,w3]+(-db,0));
drawarrow reverse pat1 rotated 0 shifted (w2+(-da,0));
draw pat2 shifted (w2+(-dd,0));
label.lft(btex $\sigma_G$ etex, w2+(-dc,0));
drawarrow reverse pat1 rotated 0 shifted (w3+(-da,0));
draw pat2 shifted (w3+(-dd,0));
label.lft(btex $\sigma_M$ etex, w3+(-dc,0));
label.bot(btex \strut module etex, w3+(0,-de));
label.bot(btex \strut over a group etex, w3+(0,-df));
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Module over a ring.
label(btex $R$ etex, w4);
label(btex $M$ etex, w5);
pickup pencircle scaled penA;
S_arrowspaces(w4,w5,qq,qq,1,black);
draw pat2 shifted rat[w4,w5];
label.lft(btex \strut$\mu$ etex, rat[w4,w5]+(-db,0));
drawarrow pat1 rotated 180 shifted (w4+(da,0));
draw pat2 shifted (w4+(dd,0));
label.rt(btex $\tau_R$ etex, w4+(dc,0));
drawarrow reverse pat1 rotated 0 shifted (w4+(-da,0));
draw pat2 shifted (w4+(-dd,0));
label.lft(btex $\sigma_R$ etex, w4+(-dc,0));
drawarrow reverse pat1 rotated 0 shifted (w5+(-da,0));
draw pat2 shifted (w5+(-dd,0));
label.lft(btex $\sigma_M$ etex, w5+(-dc,0));
label.bot(btex \strut module over a ring, etex, w5+(0,-de));
label.bot(btex \strut linear space etex, w5+(0,-df));
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Algebra
label(btex $K$ etex, w6);
label(btex $A$ etex, w7);
pickup pencircle scaled penA;
S_arrowspaces(w6,w7,qq,qq,1,black);
draw pat2 shifted rat[w6,w7];
label.lft(btex \strut$\mu$ etex, rat[w6,w7]+(-db,0));
drawarrow pat1 rotated 180 shifted (w6+(da,0));
draw pat2 shifted (w6+(dd,0));
label.rt(btex $\tau_K$ etex, w6+(dc,0));
drawarrow reverse pat1 rotated 0 shifted (w6+(-da,0));
draw pat2 shifted (w6+(-dd,0));
label.lft(btex $\sigma_K$ etex, w6+(-dc,0));
drawarrow reverse pat1 rotated 0 shifted (w7+(-da,0));
draw pat2 shifted (w7+(-dd,0));
label.lft(btex $\sigma_A$ etex, w7+(-dc,0));
drawarrow pat1 rotated 180 shifted (w7+(da,0));
draw pat2 shifted (w7+(dd,0));
label.rt(btex $\tau_A$ etex, w7+(dc,0));
label.bot(btex \strut associative algebra, etex, w7+(0,-de));
label.bot(btex \strut Lie algebra etex, w7+(0,-df));
endfig;
end