-
Notifications
You must be signed in to change notification settings - Fork 23
/
actions.tex
1972 lines (1736 loc) · 89.2 KB
/
actions.tex
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
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
\chapter{Group actions}
\label{ch:actions}
Historically, groups have appeared because they can ``act'' on a set
(or more general objects), that is to say, they collect some of the
symmetries of the set. This is a point of view that we will return to
many times and we give the basic theory in \cref{sec:gsets}.
This section should remind the reader of the material in \cref{cha:circle},
where we dealt with the special case of the group of integers.
More generally, connected \coverings now reappear in the guise of
``transitive $G$-sets'', and these are intimately related to
the set of subgroups of a group.
Also discussed in \cref{sec:gsets} is the notion of ``$G$-torsor''.
A $G$-torsor is a $G$-set that is merely equal to the universal \covering.
The type of $G$-torsors recovers the classifying type of the group $G$,
and this idea is used in~\cref{ch:absgroup} to build the equivalence between our definition of a group and the abstract version taught in most algebra classes.
\section{Brief overview of the chapter}
After setting things up in~\cref{sec:gsets}, and
studying subgroups in~\cref{sec:subgroups},
we introduce the important
operations of taking \emph{invariant maps} and \emph{orbits} of an action
in~\cref{sec:fixpts-orbits}.
We then construct in~\cref{sec:torsors}
the fundamental equivalence between the classifying type $\BG$ of a group $G$
and the type of $G$-torsors.
In~\cref{sec:orbit-stabilizer-theorem,sec:burnsides-lemma} we
begin the study of the combinatorics of group actions.
This allows us to count for instance how many ways there are of ``coloring''
objects acted on by groups,
and it lays the groundwork for the combinatorics of finite groups
we'll be looking at in~\cref{ch:fingp}.
\section{Group actions ($G$-sets)}
\label{sec:gsets}
One of the goals of \cref{sec:Gsetforabstract} below
is to prove that the types of groups and abstract groups are equivalent.
In doing that, we are invited to explore how elements of
abstract groups should be
thought of as symmetries and introduce the notion of a $G$-set.
However, this takes a pleasant detour where we have to explore a
most important feature of groups: they can \emph{act} on things
(giving rise to manifestations of symmetries)!
%\MB{Before we handle the more complex case of abstract groups,
%let us see what this looks like for groups. Leave out?}
\begin{definition}\label{def:Gset}
For $G$ a group, a \emph{$G$-set} is a function
\index{group!acting on a set}\index{group action!of $G$-set}
\[
X : \BG\to\Set,
\]
and $X(\sh_G)$ is referred to as the \emph{underlying set}.
If $p:x\eqto y$ in $\BG$,
then the transport function $X(x)\to X(y)$ induced
by $X(p)\defeq\trp{X}(p) : X(x)\eqto X(y)$ is also denoted by $X(p)$.
We denote $X(p)(a)$ by $p\cdot_X a$.
The operation $\cdot_X$ is called the \emph{group action} of $X$.
When $X$ is clear from the context we may leave out the
subscript $X$.\footnote{%
Note that in this case $\cdot: (x\eqto y) \to X(x) \to X(y)$.
See \cref{def:principaltorsor} for a special case
where $\cdot_X$ is indeed path composition.}
In particular, if $g:\USymG$,
then $X(g)$ is a permutation of the underlying set of $X$.
The type of $G$-sets is
\glossary{GSet}{\protect{$\GSet$}}{type of $G$-sets}
\[
\GSet\defequi(\BG\to\Set).\qedhere
\]
\end{definition}
\marginnote{
Much of what follows will work equally well for $\infty$-groups;
if $G$ is (a group or) an infinity group,
a \emph{$G$-type} is a function $X : \BG\to\UU$,
with \emph{underlying type} $X(\sh_G)$.
More generally, an action of $G$ on an element of type $A$
is a function $X : \BG\to A$, see~\cref{sec:actions} below.}
\begin{remark}
The reader will notice that the type of $G$-sets is equivalent to the
type of \coverings over $\BG$.
The reason we have allowed ourselves two names is that our focus is different: for a $G$-set $X:\BG\to\Set$ we focus on the sets $X(z)$, whereas when talking about \coverings the first projection $\sum_{z:\BG}X(z)\to \BG$ takes center stage. Each focus has its advantages.
\end{remark}
\begin{example}\label{def:principaltorsor}
If $G$ is a group, then
\[
\princ G:\BG\to\Set,
\qquad\princ G(z)\defequi\pathsp{\sh_G}(z)\defequi(\sh_G \eqto z)
\]
is a $G$-set called the \emph{principal $G$-torsor}.\footnote{%
The term ``$G$-torsor'' will reappear several times and will mean nothing but a $G$-set in the component of $\princ G$ -- a ``twisted'' version of $\princ G$.}
We've seen this family before in the guise of the (preimages of the) ``universal \covering'' of \cref{def:universalcover}!
There is nothing sacred about starting the identification
$\sh_G \eqto z$ at $\sh_G$.
Define more generally
\begin{equation}\label{eq:pathsp}
\pathsp{\blank}:\BG\to\GSet,
\qquad
\pathsp{y} \defeq (z \mapsto (y\eqto z)),
\end{equation}
Applying $\pathsp{\blank}$ to a path $q:y\eqto y'$
induces an equivalence from $\pathsp y$ to $\pathsp {y'}$ that sends $p:y \eqto z$
to $pq^{-1}:y'\eqto z$.
As a matter of fact, \cref{lem:BGbytorsor} will identify $\BG$ with the type of
$G$-torsors via the map $\pathsp{\blank}$, simply denoted as $\pathsp{}$,
using the full transport structure of the identity type $\pathsp y(z)\jdeq(y \eqto z)$.
\end{example}
Note that the underlying set of $\princ G$ is
\[
\princ G(\sh_G) \jdeq
\pathsp{\sh_G}(\sh_G) \jdeq
(\sh_G \eqto \sh_G) \jdeq \USymG,
\]
the underlying symmetries of $G$.
If we vary both ends of the identifications simultaneously,
we get another $G$-set:
\begin{example}\label{def:adjointrep}
If $G$ is a group, then
\[
\Ad_G:\BG\to\UU,\qquad\Ad_G(z)\defequi(z\eqto z)
\]
is a $G$-set (or $G$-type) called
the \emph{adjoint $G$-set (or $G$-type)}.\footnote{%
Note that $\Ad_G$ also makes sense for $\infty$-groups.
The name ``adjoint'' comes from how transport works in this case; if $p:y \eqto z$,
then $\Ad_G(p):(y\eqto y) \equivto (z\eqto z)$ is given by conjugation:
\[
\Ad_G(p)(q)\eqto pqp^{-1} \text{ in } z \eqto z.
\]
The picture
\[
\begin{tikzcd}[ampersand replacement=\&]
y \ar[r,eqr,"p"]\ar[d,eql,"q"'] \& z \ar[d,eqr,"\Ad_G(p)(q)"] \\
y \ar[r,eql,"p"'] \& z
\end{tikzcd}
\]
is a mnemonic device illustrating that it couldn't have been different,
and should be contrasted with the picture for
$\princ G (p):(\sh_G\eqto y)\equivto (\sh_G\eqto z)$:
\[
\begin{tikzcd}[ampersand replacement=\&]
\sh_G \ar[r,eqr,"{\refl{\sh_G}}"]\ar[d,eql,"q"']
\& \sh_G \ar[d,eqr,"\princ G(p)(q)"] \\
y \ar[r,eql,"p"'] \& z.
\end{tikzcd}
\]
}\label{ft:adjoint-transport}
Notice that by the induction principle for the circle,
\[
\sum_{z:\BG}\Ad_G(z) \jdeq \sum_{z:\BG}(z \eqto z)
\]
is equivalent to the type of (unpointed!) maps $\Sc\to\BG$,
known in other contexts as the \emph{free loop space} of $\BG$,
an apt name given that it is the type of ``all symmetries in $\BG$.''
The first projection $\sum_{z:\BG}\Ad_G(z)\to \BG$ correspond to the function $(\Sc\to\BG)\to\BG$ given by evaluating at $\base$.
\end{example}
\begin{example}
\label{ex:HomHGasGset}
Let $G$ and $H$ be groups. Recall that $\Hom(H,G)$ is a set
(\cref{lem:hom-is-set}). We will define group actions on such
sets of homomorphisms by moving the shapes of $G$ and $H$ as
in \cref{exa:conj-concrete}. Reusing the notation
$\Hom(H,G)$, define for any $x:\BH$ and $y:\BG$
\[
\Hom(H,G)(x,y)\defequi \Hom(\mkgroup(\BH_\div,x),\mkgroup(\BG_\div,y)).
\]
Alternatively, by \cref{def:pointedtypes} and
\cref{def:grouphomomorphism}, we have
\[
\Hom(H,G)(x,y)\jdeq
%\Copy_{\mkgroup}((\BH_\div,x) \ptdto (\BG_\div,y)).
\Copy_{\mkgroup}\bigl(\sum_{f:\BH_\div\to \BG_\div}(y\eqto f(x))\bigr).
\]
Thus the type $\Hom(H,G)$ may also be considered to be a $(H\times G)$-set
\[
\Hom(H,G) : (\BH\times \BG)\to\Set.
\]
We shall be particularly interested in the restriction to $G$,
giving a $G$-set for which we again reuse the notation:
\[
\Hom(H,G)(y)\defequi\Hom(H,G)(\sh_H,y) %\jdeq avoid overflow
%\Copy_{\mkgroup}(\sum_{f:\BH_\div\to \BG_\div}(y \eqto f(\sh_H)))
.\qedhere
\]
\end{example}
\begin{xca}
\label{xca:HomZGvsAdG}
Provide an identification between the $G$-sets
$\Ad_G$ and $\Hom(\ZZ,G)$
of \cref{def:adjointrep,ex:HomHGasGset}.\footnote{%
Hint: This is similar to \cref{ex:Zinitial}:
identify $\Hom(\ZZ,G)(y)$ with $\sum_{z:\BG}\sum_{p:z\eqto z}(y \eqto z)$
and use~\cref{lem:contract-away}.}
\end{xca}
\begin{definition}\label{def:map-of-Gsets}
If $G$ is a group and $X,Y$ are $G$-sets, then a
\emph{map from $X$ to $Y$} is an element of the type\footnote{%
Note that, if $f$ is a map from $X$ to $Y$,
then $f_w(g\cdot_X x) = g\cdot_Y f_z(x)$ for all $z,w:\BG$,
$x:X(z)$, $y:X(w)$, $g:z\eqto w$. \MB{Make picture.}}
\[
\prod_{z:\BG}(X(z)\to Y(z)).
\]
\index{map!of $G$-sets}\index{$G$-subset}
A \emph{$G$-subset of $X$} is a map from $X$ to the $G$-set that is
constant $\Prop$.\footnote{%
Note that, if $P$ is a $G$-subset of $X$,
then $P_z(x) = P_w(g\cdot_X x)$ for all $z,w:\BG$,
$x:X(z)$, $y:X(w)$, $g:z\eqto w$.}
The type of all such maps is denoted by
\[
\Sub^G_X\defeq \prod_{z:\BG}(X(z)\to\Prop).
\]
%\glossary(Gsubsets){\protect{$\Sub^G_X$}}{set of $G$-subsets of $X$} ERROR
Similarly to \cref{cor:subtype-same-level}, $\Sub^G_X$ is a set.
If $P$ is a $G$-subset of $X$, then the \emph{underlying $G$-set of $P$},
denoted by $X_P$, is defined by
\[
X_P(z) \defeq \setof{x:X(z)}{P(z)(x)},\quad\text{for all $z:\BG$}.\qedhere
\]
\glossary(Gset){$X_P$}{underlying $G$-set of $P$}
\end{definition}
\begin{example}\label{def:trivGset}
If $G$ is a group and $X$ is a set, then
\[\triv_G X(z)\defequi X\]
is a $G$-set.
Examples of this sort (regardless of $X$) are called \emph{trivial $G$-sets}.
\end{example}
\begin{remark}
\label{remark:GsetsareGsets}
A $G$-set $X$ is often presented by focusing on the underlying set $X(\sh_G)$
and providing it with a structure relating it to $G$ determining
the entire function $X : \BG\to\Set$.
More precisely, since $\BG$ is connected, a $G$-set $X : \BG\to\Set$ factors
through the component
$\conncomp \Set {X(\sh_G)} \jdeq \sum_{Y:\Set}\Trunc{X(\sh_G) \eqto Y}$
that contains the point $X(\sh_G)$.
Since $\BSG_{X(\sh_G)}\jdeq(\conncomp \Set {X(\sh_G)},X(\sh_G))$,
the $G$-set $X$ can,
without loss of information, be considered as a homomorphism from $G$ to
the permutation group $\SG_{X(\sh_G)}$ of $X(\sh_G)$,
classified by a pointed map
\[
\BG\ptdto\BSG_{X(\sh_G)}.
\]
The constructions in the previous two paragraphs yields the following equivalences:
\[
\GSet \equivto \sum_{X:\Set} (\BG \ptdto \BSG_X)
\equivto \sum_{X:\Set}\Hom(G,\SG_X).\qedhere
\]
\end{remark}
\begin{xca}
Show that if $X$ is a type family with parameter type $\BG$ and $X(\sh_G)$ is a set,
then $X$ is a $G$-set.
\end{xca}
\begin{xca}\label{xca:Ad-triv-abelian}
Prove that a group $G$ is abelian if and only if the $G$-sets $\Ad_G$ and
$\triv_G(\USymG)$ are identical.
\end{xca}
\begin{xca}\label{xca:Ad-princ-trivial}
Prove that a group $G$ is the trivial group if and only if the $G$-sets $\Ad_G$ and
$\princ G$ are identical.
\end{xca}
\subsection{Transitive $G$-sets}
\label{sec:transitiveGsets}
We saw in~\cref{cha:circle} that connected \coverings play a special role:
In the case of the circle, classifying the group of integers $\ZZ$,
they correspond to cycles (\cref{thm:cycset-connS1cover}).
We hinted there that they are connected to subgroups, so
we now study them over a general group $G$.
As $G$-sets they are called transitive $G$-sets.
Classically, a $\abstr(G)$-set (a notion \emph{we} have yet not defined) $\mathcal X$ is said to be \emph{transitive} if there exists some $x:\mathcal X$ such that for all $y:\mathcal X$ there exists a $g:\mathcal X$ with $x=g\cdot y$. In our world this translates to:
\begin{definition}\label{def:transitiveGset}
A $G$-set $X:\BG\to\Set$ is \emph{transitive}\index{transitive $G$-set} if the proposition
\[
\istrans(X) \defequi
\exists_{x:X(\sh_G)} \prod_{y:X(\sh_G)} \exists_{g:\USymG} x=g\cdot y
\]
holds.
\end{definition}
\begin{remark}
In other words, $X$ is transitive if and only if there exists
some $x:X(\sh_G)$ such that the map $\blank\cdot x:\USymG\to X(\sh_G)$ is
surjective.
Note also that by connectedness (cf.~\cref{xca:component-connected})
it is equivalent to demand this over all $z:\BG$:
\begin{equation}\label{eq:Gset-trans-gen}
\prod_{z:\BG}\exists_{x:X(\sh_G)}
\prod_{y:X(\sh_G)}\exists_{g:z\eqto z}a=g\cdot b.
\end{equation}
Yet another equivalent way of expressing that $X$ is transitive is to say
that $X(\sh_G)$ is nonempty and for any $x,y:X(\sh_G)$ there
exists some $g:\USymG$ with $x = g\cdot y$.
\end{remark}
\begin{lemma}
\label{lem:conistrans}
A $G$-set is transitive if and only if the associated \covering is connected.
\end{lemma}
\begin{proof}
Consider a $G$-set $X:\BG\to\Set$ and the associated \covering
$f:\tilde X\to\BG$ where $\tilde X\defequi\sum_{y:\BG}X(y)$ and $f$
is the first projection. Now, $\tilde X$ is connected if and only
if there exists a $z:\BG$ and a $x:X(z)$ such that for
all $w:\BG$ and $y:X(w)$ there exists some $g:z\eqto w$ such that $y=g\cdot x$.
Since $\BG$ is connected, this is equivalent to asserting that there
exists some $x:X(\sh_G)$ such that for all $y:X(\sh_G)$ there exists
some $g:\USymG$ such that $x=g\cdot y$.
\end{proof}
The next lemma is an analog of~\cref{cor:ConnCycles},
but for a general group and transitive \covering
we only get injectivity, not an equivalence.
\Cref{fig:not-normal} illustrates what can go wrong.
We'll study exactly when we get surjectivity in~\cref{sec:normal}
on ``normal'' subgroups.
\begin{marginfigure}
\noindent\begin{tikzpicture}[scale=.1]
\node[dot,label=above:$x$] (two) at (0,10) {};
\node[dot] (one) at (0, 6) {};
\node[dot] (zero) at (0, 2) {};
\node[dot] (base) at (0,-5) {};
\pgfmathsetmacro\cc{.55228475}% = 4/3*tan(pi/8)
\pgfmathsetmacro\cy{2*\cc}%
\pgfmathsetmacro\cx{10*\cc}%
\pgfmathsetmacro\intx{3.5}%
\pgfmathsetmacro\inty{1.5}%
\pgfmathsetmacro\ay{.35165954}%
% right 3-cycle
\draw (zero.center) .. controls ++(0,-\cy+\ay) and ++(-\cx,-\ay)
.. (10,1) .. controls ++(\cx,+\ay) and ++(0,-\cy-\ay)
.. (20,4)
\foreach \y in {4,8} {
.. controls ++(0,\cy + \ay) and ++(\cx,-\ay)
.. (10,3 + \y) .. controls ++(-\cx,\ay) and ++(0,\cy-\ay)
.. (0,2 + \y) .. controls ++(0,-\cy+\ay) and ++(-\cx,-\ay)
.. (10,1 + \y) .. controls ++(\cx,\ay) and ++(0,-\cy-\ay)
.. (20,4 + \y) }
.. controls ++(0,+\cc) and ++(\cx,\ay)
.. (10+\intx,12 + \inty) .. controls ++(-\cx,-\ay) and ++(\cx,\ay)
.. (10-\intx,2 + \inty) .. controls ++(-\cx,-\ay) and ++(0,\cc)
.. (zero.center);
% left 2-cycle
\draw (one.center) .. controls ++(0,-\cy+\ay) and ++(\cx,-\ay)
.. (-10,5) .. controls ++(-\cx,+\ay) and ++(0,-\cy-\ay)
.. (-20,8) .. controls ++(0,\cy + \ay) and ++(-\cx,-\ay)
.. (-10,11) .. controls ++(+\cx,\ay) and ++(0,\cy-\ay)
.. (two.center) .. controls ++(0,-\cy+\ay) and ++(\cx,-\ay)
.. (-10,9) .. controls ++(-\cx,\ay) and ++(0,-\cy-\ay)
.. (-20,12) .. controls ++(0,+\cc) and ++(-\cx,\ay)
.. (-10-\intx,12 + \inty) .. controls ++(\cx,-\ay) and ++(-\cx,\ay)
.. (-10+\intx,6 + \inty) .. controls ++(\cx,-\ay) and ++(0,\cc)
.. (one.center);
% left 1-cycle
\draw (zero.center) .. controls ++(0,\cy) and ++(\cx,0)
.. (-10,4) .. controls ++(-\cx,0) and ++(0,\cy)
.. (-20,2) .. controls ++(0,-\cy) and ++(-\cx,0)
.. (-10,0) .. controls ++(\cx,0) and ++(0,-\cy)
.. (zero.center);
% base right
\draw (base.center) .. controls (0,-5+\cy) and ++(-\cx,0)
.. (10,-3) .. controls ++(\cx,0) and ++(0,\cy)
.. (20,-5) .. controls ++(0,-\cy) and ++(\cx,0)
.. (10,-7) .. controls ++(-\cx,0) and ++(0,-\cy) .. (base.center);
% base left
\draw (base.center) .. controls (0,-5 + \cy) and (-10+\cx,-3)
.. (-10,-3) .. controls (-10-\cx,-3) and (-20,-5 + \cy)
.. (-20,-5) .. controls (-20,-5 - \cy) and (-10-\cx,-7)
.. (-10,-7) .. controls (-10+\cx,-7) and (0,-5 - \cy)
.. (base.center);
\end{tikzpicture}
\caption{A $\mkgroup(\Sc\vee\Sc)$-set for which $\protect\ev_x$ is not
surjective. At the bottom the type $\Sc\vee\Sc$ is visualized as
two circles with a common base point. }
\label{fig:not-normal}
\end{marginfigure}
\begin{lemma}
\label{lem:evisinjwhentransitive}
Let $X,X':\BG\to\Set$ be $G$-sets. Let $z:\BG$ and $x:X(z)$.
Suppose that $X$ is transitive. Then the evaluation map
\[
\ev_x:(X \eqto X')\to X'(z),\qquad \ev_x(f)\defequi f_z(x)
\]
is injective.\footnote{%
Recall that for type families $X,X':T\to\UU$, and
$f:\prod_{y:T}(X(y)\to X'(y))$, we may write $f_y:(X(y)\to X'(y))$
(instead of the more correct $f(y)$) for its evaluation at $y:T$.}
\end{lemma}
\begin{proof}
In view of function extensionality, our claim is that the evaluation
map $\ev_x:(\prod_{s:\BG}(X(s)\eqto X'(s)))\to X'(z)$ given by the
same formula is injective; that is all $f$s with the same
value $f_z(x)$ are identical.
Fix a value $a:X'(z)$, and consider an $f:X\eqto X'$ with $f_z(x)=a$.
We will show that $f$ is uniquely determined by $f_z(x)=a$.
Let $s:\BG$ and $y:X(s)$. It suffices to show that the value
of $f_s(y)$ is independent of $f$.
For any $g:z=s$ such that $g\cdot_X x=y$ (which exists by the
transitivity of $X$, using \cref{lem:conistrans}) we have
$f_s(y)=f_s(g\cdot_X x)=g \cdot_{X'} f_z(x)=g \cdot_{X'} a$,
and the latter value does indeed not depend on $f$.
Since we try to prove a proposition we are done.
\end{proof}
\begin{xca}\label{xca:not-normal}
Reverse engineer the $\mkgroup(\Sc\vee\Sc)$-set in \cref{fig:not-normal}.
Let's call it $X$. Show that $X\eqto X$ is contractible.
Conclude that $\ev_x$ cannot be surjective.
(Hint: the induction principle for $\Sc\vee\Sc$ is a generalization
of the induction principle for the circle to two loops.)
\end{xca}
\subsection{Actions in a type}
\label{sec:actions}
Oftentimes it is interesting not to have an action on a set, but on an element in any given type (not necessarily the type of sets). For instance, a group can act on another, giving rise to the notion of the semidirect product in \cref{sec:Semidirect-products}. We will return these more general types of actions many times.
\begin{definition}\label{action}
If $G$ is any group\footnote{%
Even an $\infty$-group in the sense of \cref{sec:inftygps}.}
and $A$ is any type of objects,
then we define an \emph{action} by $G$ in %the world of elements of
$A$ as a function
\[
X : \BG \to A.\qedhere
\]
\end{definition}
The particular object of type $A$ being acted on is $X(\sh_G):A$,
and the action itself is given by transport.
This generalizes our earlier definition of $G$-sets, $X : \BG \to \Set$.
\begin{definition}\label{std-action}
The \emph{standard action} of $G$ on its designated shape $\sh_G$ is obtained by
taking $A \defeq \BG$ and $X \defeq \id_{\BG}$.
\end{definition}
\begin{example}
By composing constructions we can build new actions
starting from simple building blocks.
For example, the standard action of symmetric group $\SG_n$
is to permute the elements of the standard $n$-element set $\bn n$.
Composing with the projection $\BSG_n \to \Set$,
we get the corresponding standard $\SG_n$-set.\footnote{%
Check that this action is transitive for $n>0$.}
Composing further with the operation $\blank \to \bool : \Set \to \Set$,
we get the action of $\SG_n$ on the set of decidable subsets of $\bn n$.
\end{example}
Generalizing~\cref{remark:GsetsareGsets},
notice that the type $\BG \to A$ is equivalent to the type
\[
\sum_{a:A}\Hom(G,\Aut_A(a)),
\]
that is, the type of pairs of an element $a : A$,
and a homomorphism from $G$ to the automorphism group of $A$.
This equivalence maps an action $X:\BG\to A$
to the pair consisting of $a \defeq X(\sh_G)$
and the homomorphism represented by the pointed map
from $\BG$ to the pointed component $\conncomp A a$ given by $X$.
Because of this equivalence,
we define a \emph{$G$-action on $a:A$}
to be a homomorphism from $G$ to $\Aut_A(a)$.
\section{Subgroups}
\label{sec:subgroups}
In our discussion of the group $\ZZ\defequi\Aut_{\Sc}(\base)$ of integers
in \cref{cha:circle} we discovered that some of the symmetries of $\base$
were picked out by the degree $m$ function $\dg{m}: \Sc\to\Sc$
(for some particular natural number $m>0$, see \cref{def:mfoldS1cover}).
On the level of the set $\base\eqto{}\base$, the symmetries picked out are
all the iterates (positive or negative or even zero-fold) of $\Sloop^m$.
The important thing is that we can compose or invert any of the iterates
of $\Sloop^m$ and get new symmetries of the same sort (because of
distributivity $mn_1+mn_2=m(n_1+n_2)$). So, while we do not get all
symmetries of $\base$ (unless $m=1$), we get what we'd like to call
a subgroup of the group of integers.
The case of $m=0$ is special. The iterates of $\Sloop^0$, \ie of
$\refl{\base}$, can also be composed and inverted, never to give
something else than $\Sloop^0$ itself. This is what we'd like to call
the trivial subgroup of the group of integers.
We can pick out the single symmetry $\Sloop^0$
by the constant map $\cst{\base} : \bn 1 \to \Sc$.
Both $\dg{m}$ and $\cst{\base}$ can trivially be pointed to make them
into classifying maps of homomorphisms that are injections on the
respective sets of symmetries. Using \cref{cor:dgm-conncov},
each $\dg{m}$ is a pointed connected \covering over the circle, and
$\cst{\base}$ is even the universal \covering by
\cref{lem:univ-cover-of-groupoid}. Finally, \cref{lem:conistrans}
gives yet another equivalent view, namely the of pointed transitive
$G$-sets. This view will now be used for our first formal definition
of the notion of a subgroup of a group $G$.
\subsection{Subgroups through $G$-sets}
The idea is that a $G$-set $X$ picks out those symmetries in $G$
that keep the point of $X(\sh_G)$ in place. For this to work well
we need to point $X(\sh_G)$ and $X$ must be transitive.
%so that the set of symmetries that are picked out is closed under composition and reverse.
\begin{definition}\label{def:set-of-subgroups}
For any group $G$, define the type of \emph{subgroups of $G$} as
\index{type!of subgroups of a group}
% \glossary(SubG){$\protect{\Sub_G}$}{type of subgroups of $G$} ERROR???
$$\typesubgroup_G\defequi\sum_{X:\BG\to\Set}{\,}X(\sh_G)
\times\istrans(X).$$
The \emph{underlying group} of the subgroup $(X,x,!) : \Sub_G$ is
$$\mkgroup \bigl(\sum_{z:BG}X(z),(\sh_G,x)\bigr).\qedhere$$
\end{definition}
\begin{xca}\label{xca:group-Xx!}
Show that $\sum_{z:BG}X(z)$ above is a connected groupoid.
Hint: use \cref{lem:conistrans}.
\end{xca}
As an example, recall from \cref{def:RmtoS1} the $\Sc$-set
$R_m : \Sc\to\Set$ defined by $R_m(\base) \defeq \bn m$ and
$R_m(\Sloop) \defis \etop\zs$. Here $m>0$ so that we can point
$R_m$ by $0: R_m(\base)$.\footnote{Any element of $\bn m$ would do.}
Transitivity of $R_m$ is obvious.
Which symmetries $p: \base\eqto\base$ are picked out by $R_m$?
Those that keep the point $0: R_m(\base)$ in place, that is,
those that satisfy $R_m(p)(0)=0$, \ie $p=\Sloop^{mk}$ for some integer $k$.
Given $\alpha_m$ in \cref{con:psi-alpha-m}, it should not come as a
surprise that these are precisely the symmetries picked out by $\dg{m}$.
The case of $m=0$ connects to another old friend, the $\Sc$-set
$R : \Sc\to\Set$ defined by $R(\base) \defeq \zet$ and
$R(\Sloop) \defis \etop\zs$, see \cref{def:RtoS1}.
Again we point by $0: R(\base)$ and transitivity of $R$ is obvious.
The only symmetry that keeps $0$ in place is $\refl{\base}$,
since $R(\Sloop)= \zs$ iff $k=0$.
Again, no surprise in view of the results in \cref{sec:symcirc}
identifying $R$ as the universal \covering over $\Sc$.
The following result is analogous to the fact that $\Sub_T$ is
a set for any type $T$, see \cref{xca:subtypes-set}. It captures
that the essence of picking out symmetries (or picking out elements
of a type), is a predicate, like $R_m(p)(0)=0$ above.
\begin{lemma}
\label{lem:SubGisset}%
The type $\typesubgroup_G$ is a set, for any group $G$.
\end{lemma}
\begin{proof}
Let $G$ be a group, and let $X$ and $X'$ be transitive $G$-sets with
points $x:X(\sh_G)$ and $x':X'(\sh_G)$. If $f,f': X\eqto X'$,
then both $f$ and $f'$ can be viewed as families of equivalences of
type $X(z) \equivto X'(z)$, parameterized by $z:\BG$,
with $f_{\sh_G}$ and $f'_{\sh_G}$ mapping $x$ to $x'$.
Now \cref{lem:evisinjwhentransitive} applies and we get $f=f'$.
Hence $X\eqto X'$ is a proposition and the lemma is proved.
\end{proof}
\begin{example}
\label{exa:fix1subSGn}%
Consider the group $\SG_n$ (\cref{ex:groups}\ref{ex:permgroup})
for given $n>0$. For any $k:\bn n$, define
the $\SG_n$-set $X_k : \BSG_n \to\Set$ by $X_k(A,!)\defeq A$ for any
$A:\FinSet_n$. Then $X_k$ is obviously transitive. We point $X_k$ by
$k: X_k(\sh_{\SG_n}) \jdeq \bn n$.\footnote{Here the choice of the point
does matter for the symmetries that are picked out.}
Thus we have $(X_k,k,!):\Sub_{\SG_n}$.
The symmetries that are picked out are those $\pi : \bn n \eqto \bn n$
that satisfy $(\pi \cdot_{X_k}k) = k$.\footnote{%
This uses the alternative notation for the group action of $X_k$
introduced in \cref{def:Gset}.}
In other words, $\pi$ keeps $k$ in place and can be any permutation
of the other elements of $\bn n$. From the next \cref{xca:n-is-ptd-n+1}
we get that the underlying group of each $(X_k,k,!)$
is isomorphic to $\SG_{n-1}$.
\end{example}
\begin{xca} \label{xca:n-is-ptd-n+1}
Give an equivalence from the type of
$n$-element sets to the type of pointed $(n{+}1)$-element sets.
Hint: use \cref{xca:finsets-decidable}.
\end{xca}
\begin{xca} \label{xca:A-is-A-1+1}
For any set $A$ with decidable equality,
give an equivalence from $A$ to $\sum_{B:\UU}(A\eqto(B+\bn1))$.
\end{xca}
For yet another example, consider the cyclic group $\CG_6$ of order $6$; perhaps visualized as the rotational symmetries of a regular hexagon, \ie the rotations by $2\pi\cdot m /6$, where $m=0,1,2,3,4,5$.
The symmetries of the regular triangle (rotations by $2\pi\cdot m/3$, where $m=0,1,2$) can also be viewed as symmetries of the hexagon.
Thus there is a subgroup of $\CG_6$ which, as a group, is isomorphic to $\CG_3$.\marginnote{Make a TikZ drawing of the hexagon and triangle inscribe in it.}
\begin{example}
\label{exa:C3subC6}%
Recall from \cref{ex:cyclicgroups} the definition
$\CG_6\defeq\Aut_\Cyc(\bn6,\zs)$.
In order to obtain $\CG_3$ as a subgroup we can define
$F : \CG_6 \to \Set$ defined by $F(X,t) \defeq X/2$ for all $(X,t):\BCG_6$,
where $X/2$ is defined in \cref{sec:mthroot} as the quotient of $X$
modulo identifying elements that are an even power of $t$ away from each other.
Clearly, $F$ is a transitive $G$-set.
On symmetries, $F$ maps $\pi : (\bn6,\zs) \eqto (\bn6,\zs)$ to
$([k] \mapsto [\pi(k)]) : (\bn6,\zs)/2 \eqto (\bn6,\zs)/2$.\footnote{%
The function $[k] \mapsto [\pi(k)]$ is well-defined since
permutations that commute with $\zs$ preserve distance.}
The symmetries $\pi$ satisfying $F(\pi)([0])=[0]$ are the
even powers of $\zs$.\footnote{%
In view of \cref{cor:id-m-cycle}, these symmetries can be visualized
by the vertices of the regular triangle above.
The same is true for the symmetries picked out by $F(\pi)([1])=[1]$.
Both $F(\pi)([0])=[1]$ and $F(\pi)([1])=[0]$ give the other inscribed
regular triangle.}
The subgroup that we have defined above is $(F,[0],!) : \Sub_{\CG_6}$.
The underlying group of $(F,[0],!)$ is
$\mkgroup(\sum_{(X,t):\Cyc_6} X/2, ((\bn6,\zs),[0]))$.
Using $\rho_2: \BCG_3 \ptdto \BCG_6$ from \cref{lem:deg-m-on-Cyc},
and the equivalence between $X/2$ and $\inv\rho_2 (X,t)$ from
\cref{thm:fiber-cdg}, and the equivalence from \cref{lem:sum-of-fibers},
we get an equivalence of the underlying group of $(F,[0],!)$ and $\CG_3$.
\end{example}
There are other subgroups of $\CG_6$, and in this example they are accounted for simply by the various factorizations of the number $6$.
\subsection{Subgroups as monomorphisms}
We now give a second, equivalent definition of a subgroup,
generalizing the examples $\dg{m}$ and $\cst{\base}$ from
the introduction of this chapter. Recall that both
$\USym\dg{m}$ and $\USym\cst{\base}$ are injective.
Also recall \cref{cor:fib-vs-path}\ref{set-fib-vs-path-point},
which implies that $\USymf$ is injective iff $\Bf$ is a \covering,
for any homomorphism $f$.
%\newcommand{\typemono}{Mono}
\begin{definition}
\label{def:typeofmono}
Let $G$ and $H$ be groups. A homomorphism $i: \Hom(H,G)$ is
a \emph{monomorphism},\index{monomorphism} denoted by $\ismono(i)$,
%\glossary(isMono){$\protect{\ismono(i)}$}{proposition stating that
%$i$ is a monomorphism of groups} gives error: culprit \ismono(i)?
if $\USymi:\USymH\to \USymG$ is an injection
(all preimages of $\USymi$ are propositions).
The \emph{type of monomorphisms into $G$}\footnote{%
The similarity of this type with the type of subtypes
$\Sub_T \defeq \sum_{S:\UU}\sum_{f:S\to T}\isinj(f)$ in
\cref{def:subtype} is not coincidental, and the remarks made
there in \cref{ft:incl-vs-inj} apply here as well.
In particular, the identity type of $\typemono_G$
identifies precisely the triples that define the same subgroup,
namely when their homomorphisms differ by precomposition by an
identification of their underlying groups.
\MB{We should add in \cref{ch:absgroup} an equivalence between
$\typemono_G$ and the subsets of $\USymG$ with the usual closure
properties --- the ultimate proof that we have the right
notion of concrete subgroup.}
}
\index{type! of monomorphisms into a group}
\glossary(MonoG){$\protect{\typemono_G}$}{type of monomorphisms%
into the group $G$}
is
\[
\typemono_G\defequi\sum_{H:\typegroup}\sum_{i:\Hom(H,G)}\ismono(i).
\]
We call $H$ the \emph{underlying group} of $(H,i,!) : \typemono_G$.
A monomorphism $(H,i,!)$ into $G$ is:
\begin{enumerate}
\item \emph{trivial}\index{trivial monomorphism}
if $H$ is the trivial group;\footnote{This amounts to $Bi$
being the universal \covering over $BG$, see \cref{def:univ-cover}}
%.contractible (or, equivalently, if $\USymH$ is contractible),
\item \emph{proper}\index{proper monomorphism} if $i$ is
not an isomorphism.\qedhere
\end{enumerate}
\end{definition}
\begin{example}
\label{ex:SGninSGn+1}
\marginnote{
That $i:\SG_2\to\SG_3$ is a monomorphism can visualized as follows:
if $\SG_3$ represent all symmetries of an equilateral triangle in the
plane (with vertices $1$, $2$, $3$), then $i$ is represented by the
inclusion of the symmetries leaving $3$ fixed; \ie reflection through
the line marked with dots in the picture.
$$\xymatrix{&3\ar@{.}[dd]&\\&&\\
1\ar@{-}[uur]\ar@{-}[rr]& &2\ar@{-}[uul]}$$}
We will present the subgroups from \cref{exa:fix1subSGn} with
monomorphisms. For each $n:\NN$, consider the homomorphism
$i_n:\Sigma_n\to\SG_{n+1}$ of permutation groups
with $\Bi_n$ sending $A:\BSG_n\defequi \FinSet_n$ to $A+\true:\BSG_{n+1}$.
As pointing path we take the reflexivity path.
This is a monomorphism since $\USymi_n:\USym\SG_n\to\USym\SG_{n+1}$
is an injection, extending any permutation $\pi$ of $\bn{n}$ to
a permutation of $\bn{n}+\bn1$ by adding the last element as a
fixed point.
In the picture in the margin we have taken $n=3$ and
$\set{1,2,3}$ for $\bn{3}$. How can we obtain the other proper,
non-trivial subgroups of $\SG_3$? First of all, one should not
expect to find all subgroups through monomorphisms $j:\SG_2\to\SG_3$,
see \cref{xca:C3subSG3}. Using only $\SG_2$, the
two other subgroups can be obtained by varying the pointing
path of $i_3$. These pointing paths are induced by the permutations
of $\bn{3}$. In \cref{xca:SG2subSG3} you are asked to elaborate each case.
\end{example}
\begin{xca}\label{xca:SG2subSG3}
Calculate $\im(\USymi_3)$ for each pointing path $\pi:\bn{3}\eqto\bn{3}$.
\end{xca}
\begin{xca}\label{xca:C3subSG3}
Define monomorphisms $j,j':\CG_3\to\SG_3$ such that $\USymj\neq \USymj'$
while $(\CG_3,j,!)$ and $(\CG_3,j',!)$ can be identified.
\end{xca}
\begin{example}
\label{ex:prodinclismono}
If $G$ and $H$ are groups, then $i_G : G \ptdto (G\times H)$ with
$\Bi_G(z) \defeq (z,\sh_H)$, pointed by reflexivity, is a monomorphism:
$\USymi_G$ maps $g:\USymG$ to $(g,\sh_H)$ and is obviously injective.
We call $i_G$ the \emph{first inclusion} and we have a similar
\emph{second inclusion} $i_H : H \ptdto (G\times H)$.
% More generally, if $i:\Hom(H,G)$ is a homomorphism for which there (merely) exists a homomorphism $f:\Hom(G,H)$ such that $\id_H=fi$, then $i$ is a monomorphism.
\end{example}
\begin{lemma}\label{lem:SubG=MonoG}
Let $G$ be a group.
The map sending $(X,\pt,!) : \Sub_G$ to the monomorphism classified by
$\fst: (\sum_{z:\BG}X(z),(\sh_G,\pt))\ptdto\BG$, pointed by
reflexivity, yields an equivalence from $\Sub_G$ to $\typemono_G$.
\end{lemma}
\begin{proof}
The inverse equivalence is $E$ defined as follows:
$$E:\typemono_G\to\Sub_G,\qquad
(H,i,!)\mapsto E(H,i,!)\defequi (\Bi_\div^{-1},(\sh_H,\Bi_\pt),!),$$
%\glossary(E){$E$}{equivalence from $\typemono_G$ to $\\Sub_G$}
where the monomorphism $i:\Hom(H,G)$ is given by
the pointed map $(\Bi_\div,\Bi_\pt):\BH\ptdto\BG$.
The preimage function $\Bi_\div^{-1}:\BG\to\Set$ is a transitive $G$-set
since $i$ is a monomorphism, and $(\sh_H,\Bi_\pt):\Bi_\div^{-1}(\sh_G)
\defequi \sum_{x:\BH}(\sh_G\eqto{}\Bi_\div(x))$.
\end{proof}
\begin{example}\label{exa:EforSG3}
In this example we explain how the equivalence between
$\typemono_G$ and $\Sub_G$ works in the special case
$G\jdeq\SG_3$ and with two versions of the same subgroup,
both elaborated above.
Recall $(\SG_2,i_3,!):\typemono_{\SG_3}$ with
$i_3: \SG_2\ptdto\SG_3 : B\mapsto (B+\true)$ from \cref{ex:SGninSGn+1}.
The preimage function $\inv\Bi_3$ maps any $A:\BSG_3$
to $\sum_{B:\BSG_2}(A\eqto{}(B+\true))$.
In particular we have $(\bn2,\refl{\bn3}):\inv\Bi_3(\bn3)$
(recall that $i_3$ is pointed by reflexivity).
We have $E(\SG_2,i_3,!)\jdeq(\inv\Bi_3,(\bn2,\refl{\bn3}),!)$.
Going back as in \cref{lem:SubG=MonoG} we get
$(\sum_{A:\BSG_3}\inv\Bi_3(A),\fst,!)$. Using \cref{lem:sum-of-fibers}
one sees that, indeed, the latter monomorphism
can be identified with $(\SG_2,i_3,!)$.
Why do we say that $(X_3,3,!):\Sub_{\SG_3}$ from \cref{exa:fix1subSGn}
defines the same subgroup as $(\SG_2,i_3,!):\typemono_{\SG_3}$
from \cref{ex:SGninSGn+1}? The reason is that they pick out
the same symmetries in $\SG_3$, as argued in these examples.
Moreover, $(X_3,3,!)$ and $E(\SG_2,i_3,!)$ can be identified.
Note that $X_3(A,!) \jdeq A$ and
$\inv\Bi_3 \jdeq \sum_{B:\BSG_2}(A\eqto{}(B+\true))$.
Now apply \cref{xca:A-is-A-1+1} and verify that the points correspond.
\cref{lem:E-preserves-symms} below offers a general result of this kind.
\end{example}
\begin{xca}\label{xca:SubG=MonoG}
Complete the details of the proof of \cref{lem:SubG=MonoG} above using
\cref{cor:fib-vs-path}\ref{set-fib-vs-path-point},
\cref{lem:sum-of-fibers},
\cref{lem:conistrans}.
\end{xca}
\begin{corollary}\label{lem:setofsubgroups}
Let $G$ be a group. Then $\typemono_G$ is a set since $\Sub_G$ is.
\end{corollary}
The following lemma states that the equivalences in \cref{lem:SubG=MonoG} preserve the subsets of symmetries that are picked out.
\begin{lemma}\label{lem:E-preserves-symms}
Let $G$ be a group and $g:\USymG$ a symmetry.
For all $(X,\pt,!) : \Sub_G$ and $(H,i,!) : \typemono_G$
that correspond via the equivalences in \cref{lem:SubG=MonoG},
we have $X(g)(\pt) = \pt$ if and only if there exists $h:\USymH$
such that $g = \USymi(h)$.
\end{lemma}
\begin{proof}
It suffices to prove this for one of the equivalences.
We choose $\inv E$, that is, the equivalence in the statement
of \cref{lem:SubG=MonoG}, so we take
$(H,i,!) \jdeq ((\sum_{z:\BG}X(z),(\sh_G,\pt)),\fst,!)$.
Now we have to prove: $X(g)(\pt)=\pt$ iff there exists an
$h:(\sh_G,\pt)\eqto(\sh_G,\pt)$ such that $g = \USym\fst(h)$.
If $X(g)(\pt)=\pt$, then we can simply take $h\defeq(g,\pt)$.
For the converse, assume there exists an
$h:(\sh_G,\pt)\eqto(\sh_G,\pt)$ such that $g = \USym\fst(h)$.
Then $h = (g,p)$ for some $p: X(g)(\pt)=\pt$.
\end{proof}
\marginnote{%
Which of the equivalent sets $\typemono_G$ and $\Sub_G$ is allowed to be called ``the set of subgroups of $G$'' is, of course, a choice. It could easily have been the other way around and we informally refer to elements in either sets as ``subgroups'' and use the given equivalence $E$ as needed.
}%
\marginnote{%
An argument for our choice can be
as follows. In set-based mathematics one has two options for defining subgroup: either as a certain subset (uniquely given by its characteristic function to $\Prop$) or as an equivalence class of injections (taking care of size issues since the class of monomorphisms will not form a small set). The former is the usual choice and is the one we model here with $\Sub_G$, whereas the other corresponds to $\typemono_G$.
% that the identity type in $\typesubgroup_G$ seems more transparent than the one in $\typemono_G$ (``more things are equal'' in $\typemono_G$?), just as $A\to\Prop$ gives more the intuition of picking out a subset by means of a characteristic function than what you get when considering the equivalent type of injections into $A$.
}
Through the equivalence $E$ we can translate the concepts in
\cref{def:typeofmono} to subgroups in $\Sub_G$.
First, observe that the underlying groups correspond.
Then, we say that a subgroup $(X,\pt,!):\Sub_G$ is:
\begin{enumerate}
\item \emph{trivial}\index{trivial subgroup} if the underlying subgroup
$(\sum_{z:\BG}X(z),(\sh_G,\pt))$ is trivial;
\item \emph{proper}\index{proper subgroup} if $X(\sh_G)$ is not
contractible.
\end{enumerate}
\begin{remark}
\label{rem:notationsubgroup}
A note on classical notation is in order.
If $(X,\pt,!)$ is a subgroup corresponding to a monomorphism $(H,i,!)$ into a group $G$, tradition would permit us to relax the burden of notation and we could write ``a subgroup $i:H\subseteq G$'', or, if we didn't need the name of $i:\Hom(H,G)$, simply ``a subgroup $H\subseteq G$'' or ``a subgroup $H$ of $G$''.
\end{remark}
{\large cursor 1}
\subsection{Move to better place}
% the ``subsymmetries'' formed a very organized structure.
% For each natural number $n$ we obtained a set of subsymmetries in the identity type $\base=\base$, namely the set of all the iterates $(\Sloop^{n})^m$ where $m$ varies over the integers.
% When $n$ was positive this was realized as the $n$-fold \covering of $S^1$, when $n=0$ this was given by the universal \covering.
The other extreme of the idea of a subgroup was exposed in \cref{sec:groupssubperm} in the form of the slogan ``any symmetry is a symmetry in $\Set$''.
By this we meant that, if $G \defequi \Aut_A(a)$ is a group, we produced a monomorphism $\rho_G:\Hom(G,\Aut_{\USymG}(\Set))$,
\ie any symmetry of $a$ is uniquely given by a symmetry (``permutation'') of the set $\USymG\defequi (a\eqto{}a)$.
For many purposes it is useful to define ``subgroups'' slightly differently.
A monomorphism into $G$ is given by a pointed connected groupoid $\BH=(\BH_\div,\pt_H)$, a function $F:\BH_\div\to\BG_\div$ whose fibers are sets (a \covering) and an identification $p_f:\sh_G\eqto{}F(\sh_H)$. There is really no need to specify that $\BH_\div$ is a groupoid: if $F:T\to \BG$ is a \covering, then $T$ is automatically a groupoid.
On the other hand, the type of \coverings over $\BG$ is equivalent to the type of $G$-sets: if $X:\BG\to\Set$ is a $G$-set, then the \covering is given by the first projection $\tilde X\to \BG$ where $\tilde X\defequi\sum_{y:\BG}X(y)$ and the inverse is obtained by considering the fibers of a \covering. Furthermore, we saw in \cref{lem:conistrans} that $\tilde X$ being connected is equivalent to the condition $\istrans(X)$ of \cref{def:transitiveGset} claiming that the $G$-set $X$ is transitive.
Hence, the type (set, really) $\typemono_G$ of monomorphisms into $G$ is equivalent to the type of pointed connected \coverings over $\BG$, which again is equivalent to the type $\typesubgroup_G$ of transitive $G$-sets $X:\BG\to\Set$ together with a point in $X(\sh_G)$.
and the \emph{type of epimorphisms from $G$}\index{type! of epimorphisms from a groups}\glossary(EpiG){$\protect{\typeepi_G}$}{type of epimorphisms from the group $G$} is
$$\typeepi_G\defequi\sum_{H:\typegroup}\sum_{f:\Hom(G,G')}\isepi(f).$$
\begin{exercise}
\begin{enumerate}
\item Show that $i:\Hom(H,G)$ is a monomorphism if and only if $\USymi$ is an injection of sets and that $i$ is proper if and only $Ui$ is not a bijection.
\item Show that $f:\Hom(G,G')$ is an epimorphism if and only if $\USymf$ is an surjection of sets.
\item Consider a composite $f=f_0f_2$ of homomorphisms. Show that $f_0$ is an epimorphism if $f$ is and $f_2$ is a monomorphism if $f$ is.\qedhere
\end{enumerate}
\end{exercise}
If $G_1$ and $G_2$ are groups, then the first projection from $G_1\times G_2$ is an epimorphism
\begin{xca}
\label{xca:SG2=SG2contractible} \MB{Move or shorten?}
Show that $\Iso(\SG_2,\SG_2)$ is contractible. Hint: use
\cref{xca:CG2isSG2}. Here comes another interesting solution.
Let $f:\Iso(\SG_2,\SG_2)$. Then $\USym f: (\bn2\eqto\bn2)\equivto_*
(\bn2\eqto\bn2)$. There is exactly one such pointed equivalence,
namely the identity on $\bn2\eqto\bn2$. Now show that
\[
\sum_{p:A\eqto \Bf(A)}\,\prod_{q: A\eqto\bn{2}}
(\Bf^{-1}_\pt\cdot \ap{\Bf}(q)\cdot p) = q
\]
is contractible for all $A:\FinSet_2$, which induces an
identification of type $\id_{\SG_2}\eqto f$.
This argument is a special case of a technique that we
will develop in \cref{sec:homabsisconcr} and which is called `delooping'.
\end{xca}
\begin{example}
\label{ex:prodinclisGset}
We saw in \cref{ex:prodinclismono} that the first inclusion $i_1:G\to G\times G'$ is a monomorphism.
The corresponding $G\times G'$-set is the composite of the first projection $\mathrm{proj}_1:\BG_\div\times\BG'_\div\to \BG_\div$ followed by the principal $G$-torsor $\princ G:\BG\to\Set$.\MB{Later!}
More generally, if $i:\Hom(H,G)$ and $f:\Hom(G,H)$, and $fi\eqto{}\id_H$, then $(H,i,!):\typemono_G$, corresponding to the subgroup with $G$-set given by the composite of $\Bf$ with the princial $H$-torsor $\princ H$.
\end{example}
{\large cursor 2}
% commented out by BID 211117 Some examples and references should be included when the cyclic subgroups are fully developed
% \subsection{The geometry of subgroups: some small examples}\footnote{this subsection is not touched: it needs attention}
% \label{smallsubgpex}
% As a teaser, and in order to get a geometric feel for the subgroups and their intricate interplay, it can be useful to have some fairly manageable examples to stare at.
% Some of the main tools for analyzing the geometry of subgroups are collected in \cref{sec:fingp} on finite groups, and we hope the reader will be intrigued by our mysterious claims and go on to study \cref{sec:fingp}.
% That said, the examples we'll present are possible to muddle through by hand without any fancy machinery, but brute force is generally not an option and even for the present examples it is not something you want to show publicly.
% When presenting the subgroups of a group $G$, three types are especially revealing: the set of subgroups $\typesubgroup_G(\sh_G)$, the \emph{groupoid of subgroups} $\typesubgroup(G)\defequi\sum_{y:\BG}\typesubgroup_G(y)$ and what we for now call the ``set of normal subgroups'' $\prod_{y:\BG}\typesubgroup_G(y)$. Our local use of ``normal subgroup'' is equivalent to the official definition to come.
% The first projection $\typesubgroup(G)\to \BG$ is referred to as the \emph{\covering of subgroups}.
% \footnote{Write out and fix the concrete examples (cyclic groups and $\Sigma_3$) commented out}
% % \begin{remark}
% % In \cref{cha:circle} we studied the subgroups of the group of integers $G\eqto{}\ZZ$ through \coverings over the circle $S^1$ (which we showed was equivalent to $B\ZZ$).
% % We discovered a subgroup $n\ZZ$ for each natural number $n:\NN$ and in the groupoid $\typesubgroup({\ZZ})$ these sit as elements in separate components. Each of these components are contractible (because addition is commutative: $\ZZ$ is an abelian group).
% % In general, a component $K$ of the groupoid $\sum_{y:\BG}\typesubgroup_G(y)$ of subgroups of a group $G$ may be much more interesting. For one thing the, $K$ can contain many subgroups in the sense that the preimage of the first projection $K\to \BG$ is a set that may have many different elements; each representing a subgroup. However, this set of subgroup will be a \emph{conjugacy class} of subgroups: the different subgroups are related by the conjugation action of $G$.
% % If $G$ is abelian this action is trivial, and $\sum_{y:\BG}\typesubgroup_G(y)$ consists of contractible components indexed over the subgroups of $G$. Otherwise different subgroups may live in the same component of the groupoid of subgroups -- we'll see examples in a moment.
% % In addition, the components will not in general be contractible, revealing the symmetries of the subgroups under the conjugation action.
% % \end{remark}
% % \begin{example}
% % The trivial group only has itself as a subgroup; the groupoid of subgroups and the set of normal subgroups are singletons.
% % \end{example}
% % \begin{example}
% % The cyclic group $C_p$ of prime order $p$ has only two subgroups, the trivial and the full subgroup itself and both are normal. In fact, all subgroups of abelian groups are normal.
% % In general, the cyclic group $C_n$ of order $n$ has exactly one subgroup for each divisor $i$ of $n$.
% % \end{example}
% % \begin{example}
% % The group $C_2\times C_2$ has has no less than five subgroups: the trivial one, three subgroups that as groups (as opposed as \emph{sub}groups) are equivalent to $C_2$ and the full group $C_4$ itself.
% % \end{example}
% % \begin{remark}
% % The permutation group $\Sigma_3$ has four nontrivial proper subgroups. Three conjugate subgroups isomorphic as groups to $C_2$ and one normal one which is as a group is isomorphic to $C_3$. The component containing the copies of $C_2$ is equivalent to a circle.
% % \end{remark}
\section{Invariant maps and orbits}
\label{sec:fixpts-orbits}
We now return to some important constructions involving $G$-sets for a group $G$.
However, since they make equally good sense for \emph{$G$-types} for \aninftygp
$G$, we'll mostly work in that generality.\footnote{\MB{MB is for
moving all $\infty$ stuff to the margin, not having to worry
about $\USymG$, $=$, \cref{lem:conistrans}, ...}}
\begin{definition}
\label{def:actiontype}
If $X : \BG\to\UU$, then the \emph{action type}\index{action type}
is the total type of $X$, denoted\footnote{%
The superscripts and subscripts are decorated with ``$hG$'',
following a convention in homotopy theory.
This helps to distinguish them from other uses, such as powers.
The action type is sometimes denoted $X \dblslash G$.}
\[
X_{hG} \defeq \sum_{z:\BG} X(z).
\]
The type of \emph{invariant maps}\footnote{%
These are dependent functions $f$ and the reason for the new name
in this context is that $(g \cdot f(z))\eqto f(z)$ for any $z:\BG$
and $g:z\eqto z$.}