Skip to content

Commit 536efb2

Browse files
author
marcbezem
committed
Merge branch 'master' of github.com:UniMath/SymmetryBook
2 parents 731b664 + 8492a41 commit 536efb2

File tree

4 files changed

+173
-76
lines changed

4 files changed

+173
-76
lines changed

actions.tex

Lines changed: 164 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ \section{Group actions ($G$-sets)}
8080
if $G$ is (a group or) an infinity group,
8181
a \emph{$G$-type} is a function $X : \BG\to\UU$,
8282
with \emph{underlying type} $X(\sh_G)$.
83-
More generally, an action of $G$ on an element of type $A$
83+
This is an \emph{action in $\UU$}, and
84+
more generally, an action of $G$ on an element of type $A$
8485
is a function $X : \BG\to A$, see~\cref{sec:actions} below.}
8586

8687
\begin{example}\label{def:trivGset}
@@ -229,14 +230,14 @@ \section{Group actions ($G$-sets)}
229230
$x:X(z)$, $g:z\eqto w$. In other words, the following diagram commutes:
230231
\[
231232
\begin{tikzcd}
232-
z\ar[d,eqr,"g"] &X(z) \ar[r,"f_z"] \ar[d,eql,"X(g)"']
233-
&Y(z) \ar[d,eqr,"Y(g)"] \\
233+
z\ar[d,eql,"g"'] &X(z) \ar[r,"f_z"] \ar[d,eql,"g\cdot_X\blank"']
234+
&Y(z) \ar[d,eqr,"g\cdot_Y\blank"] \\
234235
w &X(w) \ar[r,"f_w"'] & Y(w)
235236
\end{tikzcd}
236237
\]
237238
An important special case is when $Y$ is the $G$-set that
238239
is constant $\Prop$: Given a map $P$ from $X$ to $\triv_G\Prop$,
239-
we have $P_w(g\cdot x)$ iff $g\cdot P_z(x)$
240+
we have $P_w(g\cdot x)$ if and only if $g\cdot P_z(x)$
240241
for all $z,w:\BG$, $x:X(z)$, $g:z\eqto w$.
241242
This applies to the following definition.
242243
\end{remark}
@@ -294,6 +295,15 @@ \section{Group actions ($G$-sets)}
294295
\]
295296
\end{remark}
296297

298+
\begin{definition}\label{def:Gaction}
299+
If $G$ is a group and $X$ is a set, then an \emph{action}
300+
of $G$ on $X$
301+
is a homomorphism from $G$ to the permutation group of $\SG_X$ of $X$.%
302+
\index{actions!of a group on a set}
303+
\end{definition}
304+
By the construction in~\cref{remark:GsetsareGsets} we identify $G$-sets
305+
and sets with an action of $G$ on a set.
306+
297307
\begin{xca}
298308
Show that if $X$ is a type family with parameter type $\BG$ and $X(\sh_G)$ is a set,
299309
then $X$ is a $G$-set.
@@ -362,15 +372,16 @@ \subsection{Transitive $G$-sets}
362372
The next lemma is an analog of~\cref{cor:ConnCycles},
363373
but for a general group and transitive \covering
364374
we only get injectivity, not an equivalence.
365-
\Cref{fig:not-normal} illustrates what can go wrong.
375+
The action in \cref{fig:not-normal,fig:not-normal-graph}
376+
illustrates what can go wrong.
366377
We'll study exactly when we get surjectivity in~\cref{sec:normal}
367378
on ``normal'' subgroups.
368379
\begin{marginfigure}
369380
\noindent\begin{tikzpicture}[scale=.1]
370-
\node[dot,label=above:$x$] (two) at (0,10) {};
371-
\node[dot] (one) at (0, 6) {};
372-
\node[dot] (zero) at (0, 2) {};
373-
\node[dot] (base) at (0,-5) {};
381+
\coordinate (two) at (0, 10);
382+
\coordinate (one) at (0, 6);
383+
\coordinate (zero) at (0, 2);
384+
\coordinate (base) at (0,-5);
374385

375386
\pgfmathsetmacro\cc{.55228475}% = 4/3*tan(pi/8)
376387
\pgfmathsetmacro\cy{2*\cc}%
@@ -380,7 +391,7 @@ \subsection{Transitive $G$-sets}
380391
\pgfmathsetmacro\ay{.35165954}%
381392

382393
% right 3-cycle
383-
\draw (zero.center) .. controls ++(0,-\cy+\ay) and ++(-\cx,-\ay)
394+
\draw[casblue] (zero) .. controls ++(0,-\cy+\ay) and ++(-\cx,-\ay)
384395
.. (10,1) .. controls ++(\cx,+\ay) and ++(0,-\cy-\ay)
385396
.. (20,4)
386397
\foreach \y in {4,8} {
@@ -392,76 +403,113 @@ \subsection{Transitive $G$-sets}
392403
.. controls ++(0,+\cc) and ++(\cx,\ay)
393404
.. (10+\intx,12 + \inty) .. controls ++(-\cx,-\ay) and ++(\cx,\ay)
394405
.. (10-\intx,2 + \inty) .. controls ++(-\cx,-\ay) and ++(0,\cc)
395-
.. (zero.center);
406+
.. (zero);
396407

397408
% left 2-cycle
398-
\draw (one.center) .. controls ++(0,-\cy+\ay) and ++(\cx,-\ay)
409+
\draw[casred] (one) .. controls ++(0,-\cy+\ay) and ++(\cx,-\ay)
399410
.. (-10,5) .. controls ++(-\cx,+\ay) and ++(0,-\cy-\ay)
400411
.. (-20,8) .. controls ++(0,\cy + \ay) and ++(-\cx,-\ay)
401412
.. (-10,11) .. controls ++(+\cx,\ay) and ++(0,\cy-\ay)
402-
.. (two.center) .. controls ++(0,-\cy+\ay) and ++(\cx,-\ay)
413+
.. (two) .. controls ++(0,-\cy+\ay) and ++(\cx,-\ay)
403414
.. (-10,9) .. controls ++(-\cx,\ay) and ++(0,-\cy-\ay)
404415
.. (-20,12) .. controls ++(0,+\cc) and ++(-\cx,\ay)
405416
.. (-10-\intx,12 + \inty) .. controls ++(\cx,-\ay) and ++(-\cx,\ay)
406417
.. (-10+\intx,6 + \inty) .. controls ++(\cx,-\ay) and ++(0,\cc)
407-
.. (one.center);
418+
.. (one);
408419

409420
% left 1-cycle
410-
\draw (zero.center) .. controls ++(0,\cy) and ++(\cx,0)
421+
\draw[casred] (zero) .. controls ++(0,\cy) and ++(\cx,0)
411422
.. (-10,4) .. controls ++(-\cx,0) and ++(0,\cy)
412423
.. (-20,2) .. controls ++(0,-\cy) and ++(-\cx,0)
413424
.. (-10,0) .. controls ++(\cx,0) and ++(0,-\cy)
414-
.. (zero.center);
425+
.. (zero);
415426

416427
% base right
417-
\draw (base.center) .. controls (0,-5+\cy) and ++(-\cx,0)
428+
\draw (base) .. controls (0,-5+\cy) and ++(-\cx,0)
418429
.. (10,-3) .. controls ++(\cx,0) and ++(0,\cy)
419430
.. (20,-5) .. controls ++(0,-\cy) and ++(\cx,0)
420-
.. (10,-7) .. controls ++(-\cx,0) and ++(0,-\cy) .. (base.center);
431+
.. (10,-7) .. controls ++(-\cx,0) and ++(0,-\cy) .. (base);
421432
% base left
422-
\draw (base.center) .. controls (0,-5 + \cy) and (-10+\cx,-3)
433+
\draw (base) .. controls (0,-5 + \cy) and (-10+\cx,-3)
423434
.. (-10,-3) .. controls (-10-\cx,-3) and (-20,-5 + \cy)
424435
.. (-20,-5) .. controls (-20,-5 - \cy) and (-10-\cx,-7)
425436
.. (-10,-7) .. controls (-10+\cx,-7) and (0,-5 - \cy)
426-
.. (base.center);
437+
.. (base);
438+
439+
% draw dots last
440+
\node[dot,label=above:$x$] (ntwo) at (two) {};
441+
\node[dot] (none) at (one) {};
442+
\node[dot] (nzero) at (zero) {};
443+
\node[dot] (nbase) at (base) {};
427444
\end{tikzpicture}
428445
\caption{A $\mkgroup(\Sc\vee\Sc)$-set for which $\protect\ev_x$ is not
429446
surjective. At the bottom the type $\Sc\vee\Sc$ is visualized as
430447
two circles with a common base point. }
431448
\label{fig:not-normal}
432449
\end{marginfigure}
433450

451+
\begin{marginfigure}
452+
\noindent\begin{tikzpicture}
453+
\pgfmathsetmacro{\len}{1}
454+
\node[vertex,label=above:$x$] (n1) at (0:\len) {};
455+
\node[vertex] (n2) at (120:\len) {};
456+
\node[vertex] (n3) at (240:\len) {};
457+
\begin{scope}[every to/.style={bend right=22}]
458+
% generator a
459+
\draw[gena] (n1) to (n2);
460+
\draw[gena] (n2) to (n3);
461+
\draw[gena] (n3) to (n1);
462+
\end{scope}
463+
% generator b
464+
\draw[genb] (n1) to[out=-30,in=30,looseness=25] (n1);
465+
\draw[genb,out=205,in=155] (n2) to (n3);
466+
\draw[genb,out=45,in=-45] (n3) to (n2);
467+
\end{tikzpicture}
468+
\caption{Alternative representation of the $\mkgroup(\Sc\vee\Sc)$-set
469+
from~\cref{fig:not-normal},
470+
using colors and arrows to represent which
471+
parts lies over which circle in which orientation.}
472+
\label{fig:not-normal-graph}
473+
\end{marginfigure}
474+
434475
\begin{lemma}
435476
\label{lem:evisinjwhentransitive}
436-
Let $X,X':\BG\to\Set$ be $G$-sets. Let $z:\BG$ and $x:X(z)$.
437-
Suppose that $X$ is transitive. Then the evaluation map
477+
Let $X,Y:\BG\to\Set$ be $G$-sets. Let $z:\BG$ and $x:X(z)$.
478+
If $X$ is transitive, then the evaluation map
438479
\[
439-
\ev_x:(X \eqto X')\to X'(z),\qquad \ev_x(f)\defequi f_z(x)
480+
\ev_x:\Hom_G(X, Y)\to Y(z),\qquad \ev_x(f)\defequi f_z(x)
440481
\]
441482
is injective.\footnote{%
442-
Recall that for type families $X,X':T\to\UU$, and
443-
$f:\prod_{y:T}(X(y)\to X'(y))$, we may write $f_y:(X(y)\to X'(y))$
444-
(instead of the more correct $f(y)$) for its evaluation at $y:T$.}
483+
Recall that for type families $X,Y:T\to\UU$, and
484+
$f:\prod_{z:T}(X(z)\to Y(z))$, we may write $f_z:(X(z)\to Y(z))$
485+
(instead of the more correct $f(z)$) for its evaluation at $z:T$.}
445486
\end{lemma}
446487
\begin{proof}
447-
In view of function extensionality, our claim is that the evaluation
448-
map $\ev_x:(\prod_{s:\BG}(X(s)\eqto X'(s)))\to X'(z)$ given by the
449-
same formula is injective; that is all $f$s with the same
450-
value $f_z(x)$ are identical.
451-
452-
Fix a value $a:X'(z)$, and consider an $f:X\eqto X'$ with $f_z(x)=a$.
453-
We will show that $f$ is uniquely determined by $f_z(x)=a$.
454-
Let $s:\BG$ and $y:X(s)$. It suffices to show that the value
455-
of $f_s(y)$ is independent of $f$.
456-
For any $g:z=s$ such that $g\cdot_X x=y$ (which exists by the
457-
transitivity of $X$, using \cref{lem:conistrans}) we have
458-
$f_s(y)=f_s(g\cdot_X x)=g \cdot_{X'} f_z(x)=g \cdot_{X'} a$,
459-
and the latter value does indeed not depend on $f$.
460-
Since we try to prove a proposition we are done.
488+
Fix a value $y:Y(z)$, and consider an $f:\Hom_G(X,Y)$ with $f_z(x)=y$.
489+
We will show that $f$ is uniquely determined by this.
490+
Let $w:\BG$ and $x':X(w)$. It suffices to show that the value
491+
of $f_w(x')$ is independent of $f$.
492+
For any $g:z\eqto w$ such that $g\cdot_X x=x'$
493+
(which exists by the transitivity of $X$, using \cref{lem:conistrans})
494+
we have
495+
\[
496+
f_w(x')=f_w(g\cdot_X x)=g \cdot_Y f_z(x)=g \cdot_Y y,
497+
\]
498+
using~\cref{rem:map-of-Gsets},
499+
and the latter value indeed doesn't depend on $f$.
500+
Since we're proving a proposition, we are done.
461501
\end{proof}
462502

503+
Via function extensionality,
504+
the identity type $X \eqto Y$, for $G$-sets $X,Y$
505+
is a subtype of the type $\Hom_G(X,Y)$.
506+
Hence we likewise have that evaluation at some $x:X(z)$ is an
507+
injection
508+
\[
509+
\ev_x:(X \eqto Y)\to Y(z).
510+
\]
463511
\begin{xca}\label{xca:not-normal}
464-
Reverse engineer the $\mkgroup(\Sc\vee\Sc)$-set in \cref{fig:not-normal}.
512+
Reverse engineer the $\mkgroup(\Sc\vee\Sc)$-set in \cref{fig:not-normal,fig:not-normal-graph}.
465513
Let's call it $X$. Show that $X\eqto X$ is contractible.
466514
Conclude that $\ev_x$ cannot be surjective.
467515
(Hint: the induction principle for $\Sc\vee\Sc$ is a generalization
@@ -474,24 +522,90 @@ \subsection{Actions in a type}
474522

475523
\begin{definition}\label{action}
476524
If $G$ is any group\footnote{%
477-
Even an $\infty$-group in the sense of \cref{sec:inftygps}.}
525+
Even an $\infty$-group in the sense of \cref{sec:inftygps}.}
478526
and $A$ is any type of objects,
479-
then we define an \emph{action} by $G$ in %the world of elements of
480-
$A$ as a function
527+
then we define an \emph{action of $G$ in $A$} as a function
481528
\[
482-
X : \BG \to A.\qedhere
529+
X : \BG \to A.
483530
\]
531+
The particular object of type $A$ being acted on is $X(\sh_G):A$,
532+
the \emph{underlying object},
533+
and the action itself is given by transport.%
534+
\index{action!of a group in a type}
535+
536+
Fixing $a:A$ as the underlying object, we define an \emph{action of $G$ on $a$}
537+
to be a homomorphism from $G$ to $\Aut_A(a)$.%
538+
\index{action!of a group on an element}
484539
\end{definition}
485-
486-
The particular object of type $A$ being acted on is $X(\sh_G):A$,
487-
and the action itself is given by transport.
488-
This generalizes our earlier definition of $G$-sets, $X : \BG \to \Set$.
540+
This generalizes our earlier definition of $G$-sets
541+
from~\cref{def:Gset}, $X : \BG \to \Set$,
542+
and harmonizes with~\cref{remark:GsetsareGsets}, relating $G$-sets and
543+
actions of $G$ on a set.
544+
Indeed, we identify
545+
an action of $G$ in $A$ with a pair of an underlying object
546+
$a:A$ and an action of $G$ on $a$:
547+
\[
548+
(\BG \to A) \equivto \sum_{a:A}\Hom(G,\Aut_A(a))
549+
\]
550+
This equivalence maps an action $X:\BG\to A$
551+
to the pair consisting of $a \defeq X(\sh_G)$
552+
and the homomorphism represented by the pointed map
553+
from $\BG$ to the pointed component $\conncomp A a$ given by $X$.
489554

490555
\begin{definition}\label{std-action}
491556
The \emph{standard action} of $G$ on its designated shape $\sh_G$ is obtained by
492557
taking $A \defeq \BG$ and $X \defeq \id_{\BG}$.
493558
\end{definition}
494559

560+
\begin{example}\label{ex:S2-acts-on-C3}
561+
The symmetric group $\SG_2$ acts on the cyclic group $\CG_3$ as follows.
562+
Given a $2$-element set $S$ consider the
563+
type $\sum_{X:\Set}S \to X\to X$ of pairs $(X,f)$ of a set $X$
564+
and a ``pair'' of functions $f_s:X\to X$ (one for each $s:S$).
565+
Within this type we have the pair $(\bn 1 \amalg S,f)$,
566+
where
567+
\begin{align*}
568+
f_s(\inl 0) &\defeq \inr s,\\
569+
f_s(\inr s) &\defeq \inr{\swap(s)},\\
570+
f_s(\inr{\swap(s)}) &\defeq \inl 0.
571+
\end{align*}
572+
Then $G(S) \defeq \Aut_{\sum_{X:\Set}S\to X\to X}(\bn1\amalg S,f)$ defines an action
573+
$\BSG_2 \to \Group$.\footnote{%
574+
If $S$ is $\set{s,s'}$, then we can picture the
575+
designated shape as follows,
576+
where the blue and red arrows denote $f_s$ and $f_{s'}$,
577+
respectively:\par
578+
\begin{tikzpicture}
579+
\draw (-.1,1) ellipse (.35 and .35);
580+
\node (X) at (0,1.5) {$\bn 1$};
581+
\draw (1,1) ellipse (.4 and 1);
582+
\node (Y) at (.9,2.2) {$S$};
583+
\node[dot,label=left:$0$] (x) at (0,1) {};
584+
\node[dot,label=above:$s$] (s1) at (1,1.5) {};
585+
\node[dot,label=below:$s'$] (s2) at (1,.5) {};
586+
\draw[dashed] (0.6,1.1) ellipse (1.2 and 1.6);
587+
\begin{scope}[every to/.style={bend left=30}]
588+
% generator a
589+
\draw[gena] (x) to (s1);
590+
\draw[gena] (s1) to (s2);
591+
\draw[gena] (s2) to (x);
592+
\end{scope}
593+
% generator b
594+
\draw[genb] (x) to (s2);
595+
\draw[genb] (s2) to (s1);
596+
\draw[genb] (s1) to (x);
597+
\node (XY) at (-0.75,2.35) {$\bn1\amalg S$};
598+
\end{tikzpicture}}
599+
Furthermore, we identify $G(\bool)$ with $\BCG_3$ by mapping
600+
a shape $(X,f)$ in $\BG(\bool)$ to the $3$-cycle $(X,f_\yes)$
601+
and identifying the $3$-cycle $(\bn1\amalg\bool,f_\yes)$, for the $f$ defined above,
602+
with the standard $3$-cycle $(\bn3,\zs)$, correlating $\inl 0$ with $0:\bn 3$.
603+
\end{example}
604+
\begin{xca}\label{xca:AutC3}
605+
Show that action of $\SG_2$ on $\CG_3$ from~\cref{ex:S2-acts-on-C3}
606+
gives an identification $\SG_2 \eqto \Aut(\CG_3)$.
607+
\end{xca}
608+
495609
\begin{example}
496610
By composing constructions we can build new actions
497611
starting from simple building blocks.
@@ -504,22 +618,6 @@ \subsection{Actions in a type}
504618
we get the action of $\SG_n$ on the set of decidable subsets of $\bn n$.
505619
\end{example}
506620

507-
Generalizing~\cref{remark:GsetsareGsets},
508-
notice that the type $\BG \to A$ is equivalent to the type
509-
\[
510-
\sum_{a:A}\Hom(G,\Aut_A(a)),
511-
\]
512-
that is, the type of pairs of an element $a : A$,
513-
and a homomorphism from $G$ to the automorphism group of $A$.
514-
This equivalence maps an action $X:\BG\to A$
515-
to the pair consisting of $a \defeq X(\sh_G)$
516-
and the homomorphism represented by the pointed map
517-
from $\BG$ to the pointed component $\conncomp A a$ given by $X$.
518-
519-
Because of this equivalence,
520-
we define a \emph{$G$-action on $a:A$}
521-
to be a homomorphism from $G$ to $\Aut_A(a)$.
522-
523621
\section{Subgroups}
524622
\label{sec:subgroups}
525623
In our discussion of the group $\ZZ\defequi\Aut_{\Sc}(\base)$ of integers
@@ -589,7 +687,7 @@ \subsection{Subgroups through $G$-sets}
589687
$R(\Sloop) \defis \etop\zs$, see \cref{def:RtoS1}.
590688
Again we point by $0: R(\base)$ and transitivity of $R$ is obvious.
591689
The only symmetry that keeps $0$ in place is $\refl{\base}$,
592-
since $R(\Sloop)= \zs$ iff $k=0$.
690+
since $R(\Sloop)= \zs$ if and only if $k=0$.
593691
Again, no surprise in view of the results in \cref{sec:symcirc}
594692
identifying $R$ as the universal \covering over $\Sc$.
595693

fggroups.tex

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,6 @@ \section{Graphs and Cayley graphs}
174174
In this case, then, $G$ can be identified with the automorphism group of $\rho_S(\sh_G)$
175175
in the type $\sum_{X:\UU}(S \to X \to X)$, or even in the larger type (of which it's a subtype), $\sum_{X:\UU}(S \to X \to X \to \UU)$.
176176

177-
178-
\tikzset{vertex/.style={circle,fill=black,inner sep=0pt,minimum size=4pt}}
179-
\tikzset{gena/.style={draw=casblue,-stealth}}
180-
\tikzset{genb/.style={draw=casred,-stealth}}
181-
182177
\begin{figure}
183178
\begin{sidecaption}%
184179
{Cayley graph for {$\protect\SG_3$} with respect to $S = \{(1\;2),(2\;3)\}$.}[fig:cayley-s3]
@@ -191,7 +186,7 @@ \section{Graphs and Cayley graphs}
191186
\node[vertex,label=210:$e$] (ne) at (210:\len) {};
192187
\node[vertex,label=270:$(2\;3)$] (n23) at (270:\len) {};
193188
\node[vertex,label=330:$(1\;2\;3)$] (n123) at (330:\len) {};
194-
\begin{scope}[every to/.style={bend left=22}]
189+
\begin{scope}[every to/.style={bend right=22}]
195190
% generator a is (12)
196191
\draw[gena] (ne) to (n12);
197192
\draw[gena] (n12) to (ne);

intro-uf.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,7 @@ \subsection{Binary sums}
17961796
\glossary(2amalg){$\amalg$}{sum of two types}$X \amalg Y$,
17971797
is an inductive type with two constructors: $\inl{} : X \to X \amalg Y$ and
17981798
$\inr{} : Y \to X \amalg Y$.\footnote{%
1799-
Be aware that in a picture, the same point may refer
1799+
Beware that in a picture, the same point may refer
18001800
either to $x$ in $X$ or to $\inl x$ in the sum $X \amalg Y$:\par
18011801
\begin{tikzpicture}
18021802
\draw (0,0.9) ellipse (.25 and 1);

0 commit comments

Comments
 (0)