category object in an (∞,1)-category, groupoid object
A Segal space is a pre-category object in ∞Grpd.
A genuine category object in ∞Grpd is a complete Segal space. This is a way of speaking of (∞,1)-categories.
A Segal space $X_\bullet$ is a simplicial topological space or bisimplicial set $X_\bullet : \Delta^{op} \to Top$ which satisfies the Segal conditions:
for all $m,n \in \mathbb{N}$ the square
is a homotopy pullback square.
A Segal space for which $X_0$ is a discrete space is called a Segal category. See there for more dicussion.
For $\mathcal{C}$ a (small) category we may regard its ordinary nerve simplicial set $N(\mathcal{C}) \in Set^{\Delta^{op}}$ as a Segal space, under the canonical inclusion $Set \hookrightarrow \infty Grpd$,
In fact, the classical “nerve theorem” about the Segal conditions says that a simplicial set is the nerve of a category precisely if it is a Segal space.
Notice that $Equiv(N(\mathcal{C})_1) \hookrightarrow N(\mathcal{C})_1$ is precisely the subset of isomorphisms in all morphisms of $\mathcal{C}$.
Therefore under this identification, $N(\mathcal{C})$ is a complete Segal space precisely if $\mathcal{C}$ is a gaunt category, hence precisely if the only isomorphisms in $\mathcal{C}$ are the identities.
In particular if $\mathcal{C}$ is a (0,1)-category, hence a preordered set, then $N(\mathcal{C})$ is complete Segal precisely if $\mathcal{C}$ is in fact an partially ordered set.
Let $\mathcal{C}$ be an ordinary category. We discuss how Segal spaces are associated with this.
Let $\mathcal{K}$ be a groupoid and $p \colon \mathcal{K} \to \mathcal{C}$ a functor which is essentially surjective.
Then let $X_1 \coloneqq (p/p)\in Grpd$ be the “lax fiber product” of $p$ with itself, or rather the comma object of $p$ with itself, hence the comma category, sitting in the universal square
Next let $X_2 = (p/p/p)$ be the “3-fold comma category”, hence the comma category in
and so forth: $X_n \coloneqq p^{/^{n+1}}$.
This way an object of $X_n$ is an $(n+1)$-tuple of objects $(x_0,x_1, \cdots, x_n) \in \mathcal{K}$ together with a sequence of $n$ composable morphisms $p(x_0) \to p(x_1) \to \cdots \to p(x_n)$, and a morphism is an $(n+1)$-tuple of morphisms $(f_0,f_1, \cdots, f_n) \in \mathcal{K}$ and a pasting commuting diagram
in $\mathcal{C}$.
By direct inspection, the maps $X_n \to X^{\partial \Delta^n}$ obtained this way are isofibrations, hence fibrations in the canonical model structure on Grpd and so the homotopy pullbacks that enter the Segal conditions for $X_\bullet$ are given by ordinary fiber products. These clearly satisfy the Segal conditions, hence
constructed this way is a Segal space.
Two special case of the functor $p$ are important:
if $\mathcal{K} \simeq core(\mathcal{C})$ is the core of $\mathcal{C}$ and $p$ is the canonical core inclusion, one finds that $Equiv(X_1) \hookrightarrow X_1$ by the above construction is $Equiv(X_1) = Core(\mathcal{C})^{\Delta^1}$, the arrow category of the core of $\mathcal{C}$. This is equivalent to $\mathcal{C}$ by, for instance, the source or restriction map. Hence for $p$ the core inclusion, the above construction gives the complete Segal space corresponding to the category $\mathcal{C}$.
if $p \colon \pi_0(\mathcal{C}) \to \mathcal{C}$ is a choice of basepoints in each isomorphism class of $\mathcal{C}$, then $X_\bullet$ is the Segal category incarnation of the category $\mathcal{C}$.
We consider the situation of From a category, but now conversely, starting with a Segal space in groupoids and then extracting a category from it.
Consider a Segal space that is degreewise just a 1-groupoid, hence a simplicial object in the inclusion
Choosing this to be Reedy fibrant, the map $(\partial_0,\partial_1) \colon X_1 \to X_0 \times X_0$ is an isofibration.
We may write an object $K \in X_1$ as a horizontal morphism
and a morphism $\lambda \colon L \to K$ in $X_1$ as a vertical double category arrow:
Then the fact that $(\partial_1,\partial_0)$ is an isofibration means that for every “niche”
namely for every pair of morphisms $f_0, f_1$ in $X_0$ and lift of its codomain to an object $K \in X_1$, there is a “niche filler”
namely a lift of the whole pair $(f_0,f_1)$ to a morphism $\lambda$ in $X_1$, and this is necessarily universal in that any other such lift uniquely factors through this one (because $X_1$ is a groupoid).
Comparison with the definition of a 2-category equipped with proarrows in the incarnation as a double category shows that this is the beginning of the construction of a pseudo double category whose vertical category is $X_0$ and whose weak horizontal composition is that induced by the Segal maps.
Assume next that $X_3 \to X^{\partial \Delta^2}$ is a 1-monomorphism, as are all the higher $X^n \to X^{\partial \Delta^n }$, for $n \geq 3$, hence that $X_\bullet$ is 2-coskeletal as a simplicial object. This means that the horizontal composition in this pseudo double category has unique composites, hence that the horizontal category is an ordinary category. If then furthermore the composite $Equiv(X_1) \to X_1 \stackrel{\partial_0}{\to} X_0$ is an equivalence, hence is the Segal space is a complete Segal space this means that $X_\bullet$ arises from this horizontal category by the construction above.
See generally the references at complete Segal space.
The “Segal conditions” are first discussed in
where it is attributed to Alexander Grothendieck.
The term “Segal space” is due to
The invertible case of Segal spaces, hence models for groupoid objects in an (infinity,1)-category are discussed in section 3 of