Skip to content

Commit 887a6a7

Browse files
author
Marc Bezem
committed
wip: ring and altring
1 parent c881bc5 commit 887a6a7

File tree

1 file changed

+62
-41
lines changed

1 file changed

+62
-41
lines changed

fields.tex

Lines changed: 62 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -122,69 +122,90 @@ \section{Rings, abstract and concrete}
122122
\end{enumerate}
123123
Moreover, the following equations should hold:
124124
\begin{enumerate}
125-
\item $\ev\circ(\USym(\mu\circ{1_R})(\Sloop)) = \B\id_R \approx \MB{TBD}$
125+
\item\label{ring:unit-laws}
126+
$\ev\circ(\USym(\mu\circ{1_R})(\Sloop)) = \B\id_R \approx \MB{TBD}$
126127
(the \emph{multiplicative unit laws})\footnote{%
127128
\MB{Not great:} $\USym(\mu\circ{1_R})$ is an abstract homomorphism
128129
from $\USym\ZZ$ to $\USym\Hom(R,R)$ and the latter type
129130
is equivalent to $(\BR\ptdto\loops\BB R)$. Finally by postcomposition
130131
with $\ev$, we get equivalence with $(\BR\ptdto\BR)$.
131132
The other unit law is probably worse.}
132-
\item \MB{TBD} (the \emph{associative law}). %for all $z : \BR$
133+
\item\label{ring:assoc-law} \MB{TBD} (the \emph{associative law}). %for all $z : \BR$
133134
\end{enumerate}
135+
The properties \ref{ring:unit-laws}-\ref{ring:assoc-law}
136+
are together denoted by $\RingProps(R,1_R,\mu)$.
134137
The ring $R$ is called \emph{commutative} if \MB{TBD},
135138
and \emph{non-trivial} if $1_R$ is not trivial.\footnote{%
136139
A homomorphism is trivial if it classified by the constant function
137140
at the shape to the target group. Or, equivalently, if it factors
138141
through the trivial group.}
139142
\end{definition}
140143

141-
\begin{xca}\label{xca:UR-abstractring}
142-
Let $(R,1_r,\mu)$ be a ring. Show that $\USymR$ is an abstract ring with
143-
multiplicative unit $\USym 1_R$ and multiplication $\USym\mu$. \MB{TBD}
144-
\end{xca}
145-
%Solution:
144+
\begin{definition}\label{def:typering}
145+
The type of rings is defined as
146+
\[
147+
\typering\defeq\sum_{R:\AbGroup}\sum_{1_R:\Hom(\ZZ,R)}
148+
\sum_{\mu:\Hom(R,\Hom(R,R))} \RingProps(R,1_R,\mu).
149+
\]
150+
The type $\typecommring$ of commutative rings is similar to the type
151+
of rings but with $\RingProps(R,1_R,\mu) \times \MB{TBD}$.
152+
\end{definition}
146153

147154
We proceed by giving the standard example of the integers as a ring
148155
in the sense of \cref{def:ring}.
149156

150157
%\MB{CURSOR}
151158

152159
\begin{example}
153-
Consider the abelian group $\ZZ$ of the integers classified by the circle.
154-
We use the same notation $\ZZ$ also for the ring of the integers.
160+
We take the group $\ZZ$ of the integers classified by the circle
161+
as the abelian group for the ring of the integers.
162+
We take $1_\ZZ \defeq \id_\ZZ$, the identity homomorphism.
163+
For defining $\mu$ we first elaborate $\Hom(\ZZ,\ZZ)$ as a group.
155164
Unfolding the definition we get (leaving the points implicit)
156165
$\B\Hom(\ZZ,\ZZ) \jdeq(\Sc\ptdto\sum_{X:\UU}\setTrunc{\Sc\eqto X})$.
157166
The shape of $\Hom(\ZZ,\ZZ)$ is the constant map
158167
that sends any $z:\Sc$ to $(\Sc,\settrunc{\id_{\Sc}})$, pointed by reflexivity.
159168

160-
For defining $1_\ZZ$, we
161-
recall \cref{xca:(S1->S1)_(f)-eqv-S1,xca:S1=S1-components},
162-
which give an equivalence $e:\Sc\to(\Sc\eqto\Sc)_{\id_\Sc}$
163-
which maps $\base$ to $\id_\Sc$.%
164-
\footnote{\MB{Isn't this $\inv\ev$ as $\ZZ$ is $Z(\ZZ)$?}}
165-
We take $1_\ZZ$ to be the homomorphism from $\ZZ$ to $\Hom(\ZZ,\ZZ)$
166-
classified by the map $\B 1_\ZZ$ sending $\base$ to $\sh_{\Hom(\ZZ,\ZZ)}$
167-
and $\Sloop$ to
168-
and $\ell: (\base\eqto\base)\to\Hom(\ZZ,\ZZ)$ defined as follows.
169-
For every $g:\base\eqto\base$, let $\ell_g$ be the homomorphism
170-
classified by the map $\B\ell_g(\base)\defeq\base$,
171-
$\B\ell_g(\Sloop)\defis g$, and pointed by reflexivity.\footnote{%
172-
The reader may recognize the degree $m$
173-
map from \cref{def:mfoldS1cover} as a special case.}
174-
Take $r\defeq\ell$. Now the unit laws, the coherence law and
175-
the associativity law can easily be verified. It follows that
169+
Recall that $\BB\ZZ \jdeq \sum_{X:\UU}\setTrunc{\Sc\eqto X})$,
170+
pointed at $\sh_{\BB\ZZ}\jdeq (\Sc,\settrunc{\id_\Sc})$.
171+
For $\mu: \Hom(\ZZ,\Hom(\ZZ,\ZZ))$ we take,\footnote{\MB{Exercise material?}
172+
Define $s:\id_\Sc\eqto\id_\Sc$ by function extensionality,
173+
setting $s(\base)\defeq\Sloop$, $s(\Sloop)\defis {!}$.
174+
Now define $e_z: \Sc\eqto\Sc$ by $e_z(\base)\defeq z$,
175+
$e_z(\Sloop) \defis s(z) : (z\eqto z)$. Indeed, $e_\base = \id_\Sc$
176+
and, by path induction $e_p(\base)=p$ for all $p:\base\eqto z$,
177+
so $e_{\Sloop} = s$.}
178+
with $\ve$ from \cref{lem:freeloopspace},
179+
\[
180+
\B\mu \defeq (z:\Sc) \mapsto \ve_{\BB\ZZ}(\sh_{\BB\ZZ},(e_z,!)).
181+
\]
182+
In this succint definition, $\ve_{\BB\ZZ}(\sh_{\BB\ZZ},\settrunc{e_z})$
183+
can be identified as the function from $\Sc$ to $\BB\ZZ$ that sends
184+
$\base$ to $\Sc$ and $\Sloop$ to $(e_z,!)$ where $e_z:(\Sc\eqto\Sc)$,
185+
$!: \Trunc{e_z\eqto\id_\Sc}$. In the following we focus on first components,
186+
that is, on $\Sc$ and $e_z$, analyzing how $\B\mu$ applies to paths.
187+
188+
For any $z:\Sc$ and $k:\zet$ we have that
189+
$\B\mu(z,{\Sloop}^k)= e_z^k : (\Sc\eqto\Sc)$.
190+
Hence for any $j:\zet$ we have that
191+
$\B\mu({\Sloop}^j,{\Sloop}^k )= e_{{\Sloop}^j}^k = s^{jk}: (\Sc\eqto\Sc)$.
192+
\MB{Almost there! Use $\ev$ to get to $\USym\ZZ$?}
193+
194+
195+
196+
197+
%\cref{xca:(S1->S1)_(f)-eqv-S1,xca:S1=S1-components},
198+
%which give an equivalence $e:\Sc\to(\Sc\eqto\Sc)_{\id_\Sc}$
199+
%which maps $\base$ to $\id_\Sc$.%
200+
It follows that
176201
$(\ZZ,1_\ZZ,\mu)$ is a non-trivial commutative ring.
177202
\end{example}
178203

179-
\begin{definition}\label{def:typering}
180-
The type of rings is defined as
181-
\[
182-
\typering\defeq\sum_{R:\AbGroup}\sum_{1_R:\Hom(\ZZ,R)}
183-
\sum_{\mu:\Hom(R,\Hom(R,R))} \RingProps(R,1_R,\mu).
184-
\]
185-
The type $\typecommring$ of commutative rings is similar to the type
186-
of rings but with $\RingProps(R,1_R,\mu) \times \MB{TBD}$.
187-
\end{definition}
204+
\begin{xca}\label{xca:UR-abstractring}
205+
Let $(R,1_r,\mu)$ be a ring. Show that $\USymR$ is an abstract ring with
206+
multiplicative unit $\USym 1_R$ and multiplication $\USym\mu$. \MB{TBD}
207+
\end{xca}
208+
%Solution:
188209

189210
\subsection{Yet another \MB{(experimental)} definition of rings}
190211
\label{ssec:altring}
@@ -199,7 +220,7 @@ \subsection{Yet another \MB{(experimental)} definition of rings}
199220
abstract homomorphisms
200221
of the additive group $(R,0,+,-)$ of $\mathscr R$ to itself.\footnote{%
201222
These functions provide two ways to write the product $a\cdot b$,
202-
see the coherence law in \cref{def:altring}\ref{ring:lr-coherence-law}.}
223+
see the coherence law in \cref{def:altring}\ref{altring:lr-coherence-law}.}
203224
There are two ways to compose them: $(a\cdot(\blank\cdot b))$
204225
and $((a\cdot\blank)\cdot b)$. Equality of the latter two functions is
205226
an elegant way of expressing associativity.
@@ -217,25 +238,25 @@ \subsection{Yet another \MB{(experimental)} definition of rings}
217238
$r_g$ for $r(g)$.
218239
Moreover, the following equations should hold.
219240
\begin{enumerate}
220-
\item\label{ring:unit-laws} $\ell_{1_R} = \id_G = r_{1_R}$ (the \emph{multiplicative unit laws})
221-
\item\label{ring:lr-coherence-law} $(\USym\ell_g)(h) = (\USymr_h)(g)$,
241+
\item\label{altring:unit-laws} $\ell_{1_R} = \id_G = r_{1_R}$ (the \emph{multiplicative unit laws})
242+
\item\label{altring:lr-coherence-law} $(\USym\ell_g)(h) = (\USymr_h)(g)$,
222243
for all $g,h : \USymR$ (the \emph{coherence law})
223-
\item\label{ring:associativity-law} $\ell\circ r= r\circ\ell$ (the \emph{associativity law})
244+
\item\label{altring:assoc-law} $\ell\circ r= r\circ\ell$ (the \emph{associativity law})
224245
\end{enumerate}
225-
The properties \ref{ring:unit-laws}-\ref{ring:associativity-law}
246+
The properties \ref{altring:unit-laws}-\ref{altring:assoc-law}
226247
are together denoted by $\RingProps(R,1_R,\ell,r)$.
227248
The ring $R$ is called \emph{commutative} if $\ell=r$,
228249
and \emph{non-trivial} if $1_R \neq \refl{R}$.
229250
\end{definition}
230251

231-
The coherence law \ref{ring:lr-coherence-law} allows us to abbreviate both
252+
The coherence law \ref{altring:lr-coherence-law} allows us to abbreviate both
232253
$(\USym\ell_g)(h)$ and $(\USymr_h)(g)$ by $g\cdot h$. We will do this when
233254
no confusion can occur. Then, $\ell=r$
234255
amounts to $g\cdot h = h\cdot g$, for all $g,h : \USymG$,
235256
as could be expected from the abstract case.
236257

237258
We proceed by giving the standard example of the integers as a ring
238-
in the sense of \cref{def:ring}.
259+
in the sense of \cref{def:altring}.
239260
\begin{example}
240261
Consider the group $\ZZ$ classified by the circle.
241262
Using the same notation $\ZZ$ also for the ring, take $1_\ZZ \defeq\Sloop$

0 commit comments

Comments
 (0)