That is, elements of $C_l\underset{C_k}{\times}C_l$ are pairs $(x,y)$ of $l$-cells such that $s_k(x)=t_k(y)$. We say that two $l$-cells $x$ and $y$ are \emph{$k$-composable} if the pair $(x,y)$ belongs to $C_l\times_{C_k}C_l$.
Let $C$ and $C'$ be two $\oo$-graphs. A \emph{morphism of $\oo$-graphs}$f : C \to C'$ is a sequence $(f_k : C_k \to D_k)_{0\leq k \leq n}$of maps such that for every $0< k \leq n$, the squares
Let $C$ and $C'$ be two $n$-graphs. A \emph{morphism of $n$-graphs}$f : C \to C'$ is a sequence of maps $(f_k : C_k \to D_k)_{0\leq k \leq n}$ such that for every $0< k \leq n$, the squares
\[
\begin{tikzcd}
C_k \ar[d,"s"]\ar[r,"f_k"]&C'_k \ar[d,"s"]\\
...
...
@@ -71,8 +71,148 @@
\[
\nGrph\to(n\shortminus1)\Grph
\]
that simply forgets the $n$-cells. We define the category $\oo\Grph$ as the limit of the diagram
that simply forgets the $n$-cells. We define the category $\oo\Grph$of $\omega$-graphs as the limit of the diagram
More concretely, the definitions of $\omega$-graph and morphism of $\omega$-graphs are the same as the definitions of $n$-graph and morphisms of $n$-graphs with $n$ finite but with the condition ``$\leq n$'' dropped everywhere. For example, an $\omega$-graph has an infinite sequence of cells $(C_k)_{k\in\mathbb{N}}$.
\remtt{Est-ce que je devrais plus détailler la définition de $\oo$-graphe ?}
\end{remark}
\begin{paragr}
Let $n \in\mathbb{N}$. An \emph{$n$-magma} consists of:
\item[-] for all $k,l \in\mathbb{N}$ with $k<l\leq n$ and every $k$-composable $l$-cells $x$ and $y$,
\[
s(x\underset{k}{\ast} y)=
\begin{cases}
s(y)&\text{ when }k=l-1,\\
s(x)\underset{k}{\ast} s(y)&\text{ otherwise,}
\end{cases}
\]
and
\[
t(x\underset{k}{\ast} y)=
\begin{cases}
t(x)&\text{ when }k=l-1,\\
t(x)\underset{k}{\ast} t(y)&\text{ otherwise.}
\end{cases}
\]
\item[-]for every $k \in\mathbb{N}$ with $k\leq n$ and every $k$-cell,
\[
s(1_x)=t(1_x)=x.
\]
\end{itemize}
We will use the same letter to denote an $n$-magma and its underlying $n$-graph.
For two $k$-composable $l$-cells $x$ and $y$, we refer to $x\ast_ky$ as the \emph{$k$-composition} of $x$ and $y$.
For a $k$-cell $x$, we refer to $1_{x}$ as the \emph{unit on $x$}.
\remtt{Je n'aime pas trop les notations et définitions des unités itérées qui suivent.}
More generally, for any $l \in\mathbb{N}$ with $k < l\leq n$, we define $\1^{l}_{(\shortminus)} : C_k \to C_l$ as
\[
\1^{l}_{(\shortminus)} :=\underbrace{1_{(\shortminus)}\circ\dots\circ1_{(\shortminus)}}_{l-k \text{ times }} : C_k \to C_l.
\]
Let $x$ be a $k$-cell, $\1^l_x$ is the \emph{$l$-dimensional unit on $x$}, and for consistency, we also set
\[
\1^{k}_x := x.
\]
A cell is \emph{degenerate} if it is a unit on a strictly lower dimensional cell.
Let $C$ and $C'$ be $n$-magmas. A \emph{morphism of $n$-magmas}$f : C \to C'$ is a morphism of $n$-graphs that is compatible with compositions and units. This means:
\begin{itemize}
\item[-]for all $k,l \in\mathbb{N}$ with $k<l\leq n$ and every $k$-composable $l$-cells $x$ and $y$,
\item for all $k,l \in\mathbb{N}$ with $k<l \leq n$, for every $l$-cell $x$, we have
\[
\1^l_{t_k(x)}\comp_k x =x= x \comp_k\1^l_{s_k(x)},
\]
\item for all $k,l \in\mathbb{N}$ with $k<l\leq n$, for all $l$-cells $x, y$ and $z$ such that $x$ and $y$ are $k$-composable, and $y$ and $z$ are $k$-composable, we have
\[
(x\comp_{k}y)\comp_{k}z=x\comp_k(y\comp_kz),
\]
\item for all $k, l \in\mathbb{N}$, for all $n$-cells $x,x',y$ and $y'$ such that
\begin{itemize}
\item[-]$x$ and $y$ are $l$-composable, $x'$ and $y'$ are $l$-composable,
\item[-]$x$ and $x'$ are $k$-composable, $y$ and $y'$ are $k$-composable,
We will use the same letter to denote an $n$-category and its underlying $n$-magma. Let $C$ and $C'$ be $n$-categories, a \emph{morphism of $n$-categories} (or $n$-functor) $f : C \to C'$ is simply a morphism of $n$-magmas. We denote by $n\Cat$ the category of $n$-categories and morphisms of $n$-categories.
\end{paragr}
\begin{paragr}
Once again, for any $n>0$ there is a canonical ``truncation'' functor
\[
n\Cat\to(n \shortminus1)\Cat
\]
that simply forgets the $n$-cells. We define the category $\oo\Cat$ of $\oo$-categories as the limit of the diagram