Lemma 88.25.2. Let $\mathcal{F}$ be category cofibered in groupoids over a category $\mathcal{C}$. Let $U : \mathcal{C} \to \textit{Sets}$ be a functor. Let $f : U \to \mathcal{F}$ be a morphism of categories cofibered in groupoids over $\mathcal{C}$. Define $R, s, t, c$ as follows:

1. $R : \mathcal{C} \to \textit{Sets}$ is the functor $U \times _{f, \mathcal{F}, f} U$.

2. $t, s : R \to U$ are the first and second projections, respectively.

3. $c : R \times _{s, U, t} R \to R$ is the morphism given by projection onto the first and last factors of $U \times _{f, \mathcal{F}, f} U \times _{f, \mathcal{F}, f} U$ under the canonical isomorphism $R \times _{s, U, t} R \to U \times _{f, \mathcal{F}, f} U \times _{f, \mathcal{F}, f} U$.

Then $(U, R, s, t, c)$ is a groupoid in functors on $\mathcal{C}$.

Proof. Omitted. $\square$

In your comment you can use Markdown and LaTeX style mathematics (enclose it like $\pi$). A preview option is available if you wish to see how it works out (just click on the eye in the toolbar).