
TL;DR
This paper establishes a connection between Segal spaces, category objects in $ $-categories, and associative algebras in spans, demonstrating that identities are a property rather than additional structure in non-unital higher categories.
Contribution
It reveals that Segal spaces and category objects in $ $-categories correspond to associative algebras in spans, and shows identities are a property in non-unital $( )$-categories.
Findings
Segal spaces are equivalent to associative algebras in spans.
Having identities is a property, not extra structure, in non-unital $( )$-categories.
Category objects in an $ $-category can be characterized via algebraic structures in spans.
Abstract
We show that Segal spaces, and more generally category objects in an -category , can be identified with associative algebras in the double -category of spans in . We use this observation to prove that "having identities" is a property of a non-unital -category.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Segal Spaces, Spans, and Semicategories
Rune Haugseng
Norwegian University of Science and Technology (NTNU), Trondheim, Norway http://folk.ntnu.no/runegha/
(Date: . This paper was written while the author was employed at the IBS Center for Geometry and Physics in a position funded by grant IBS-R003-D1 of the Institute for Basic Science, Republic of Korea.)
Segal Spaces, Spans, and Semicategories
Rune Haugseng
Norwegian University of Science and Technology (NTNU), Trondheim, Norway http://folk.ntnu.no/runegha/
(Date: . This paper was written while the author was employed at the IBS Center for Geometry and Physics in a position funded by grant IBS-R003-D1 of the Institute for Basic Science, Republic of Korea.)
Abstract.
We show that Segal spaces, and more generally category objects in an -category , can be identified with associative algebras in the double -category of spans in . We use this observation to prove that “having identities” is a property of a non-unital -category.
Contents
- 1 Introduction
- 2 Preliminaries
- 3 Category Objects as Algebras in Spans
- 4 Quasi-Unital Category Objects
1. Introduction
A “semicategory” or non-unital category is a category without identity morphisms. It is an easy exercise to show that “having identities” is a property of a semicategory, and “preserving identities” is a property of functors of semicategories. More precisely, the forgetful functor gives an equivalence between Cat and a subcategory of Semicat.
The analogues of this statement for higher categories turn out to be very useful: To define particular examples of higher categories or functors between them, it can be extremely convenient to first ignore the identities and then at the end check that the resulting non-unital structure has the required property. For -categories (which we will refer to as -categories), such a result is already known: it is due to Harpaz [HarpazQUnital] in the context of Segal spaces111See 4.22 for the precise relation of our result to that of Harpaz., and for quasicategories it is a combination of work of Tanaka [TanakaUnital] and Steimle [SteimleDeg]. Similar results have also been proved for other higher-categorical structures, including -categories (see [LyubashenkoManzyukUnital] for a comparison of different notions of weak units in this setting) and monoidal 2-categories [JoyalKockUnits].
The goal of the present paper is to show that “having identities” is also a property of -categories for all :
Theorem 1.1**.**
Let denote the -category of -fold Segal spaces and its non-unital analogue. Then the forgetful functor induces an equivalence
[TABLE]
where is a subcategory of quasi-unital -fold Segal spaces and quasi-unital functors between them.
We will prove this in Section 4 by first proving the case for category objects (or internal -categories) in any -category with finite limits; the general statement then follows easily by iterating this case.
In the case we will deduce the theorem from the analogous statement for non-unital associative algebras in monoidal -categories, which has been proved by Lurie [HA]. To do so, we must first identify category objects as certain associative algebras. For ordinary categories, it seems to have been first observed by Bénabou [BenabouBicat] that a category can be viewed as an associative algebra (or monad) in a 2-category of spans of sets; this has
- •
sets as objects,
- •
spans as 1-morphisms from to , with composition given by taking pullbacks, i.e.
[TABLE]
- •
and morphisms of spans
[TABLE]
as 2-morphisms, composing in the obvious way.
In particular, a category with as its set of objects is the same thing as an associative algebra in the “double slice” with the tensor product defined by pullbacks over . However, functors are not the same thing as morphisms of algebras in . To remedy this, we can upgrade to a double category whose objects are sets, vertical morphisms are functions, horizontal morphisms are spans, and whose squares are diagrams of the form
[TABLE]
(This example of a double category is discussed in some detail in [GrandisPareLimits]*§3.2; the earliest reference is perhaps [BurroniTCat]*Remarque on p. 294.) We can then consider associative algebras (also known as monoids or monads) in the double category , which are the same thing as algebras in its horizontal 2-category and so again give categories. However, the vertical morphisms give a new notion of morphisms of algebras, which in this case recovers functors betwen categories; thus Cat is equivalent to the category of associative algebras in . (This observation can be found in [LeinsterHigherOpds]*Example 5.3.5, [ShulmanFramed]*Example 11.2, and [FioreGambinoKock]*Example 2.6.) In Section 3 we prove an -categorical version of this statement, using the double -category of spans constructed in [spans]:
Theorem 1.2**.**
Let be an -category with finite limits. There is an equivalence of -categories
[TABLE]
between category objects in and associative algebras in the double -category of spans in .
2. Preliminaries
In this section we briefly review the higher-algebraic structures we will make use of below.
Notation 2.1**.**
We write for the simplex category of ordered sets . A morphism is called inert if it is the inclusion of a subinterval, i.e. for . For we write for the inert morphism with , .
Definition 2.2**.**
Let be an -category with pullbacks. A category object in is a simplicial object such that for all the morphism
[TABLE]
induced by the morphisms and , is an equivalence. We write for the full subcategory of spanned by the category objects. Category objects in the -category of spaces are called Segal spaces [RezkCSS].
Remark 2.3**.**
Category objects in model the algebraic structure of a (homotopy-coherent) category internal to : If we think of as the objects of and as the morphisms then we have:
- •
, assigning source and target objects to morphisms,
- •
, assigning identity morphisms to objects,
- •
, assigning composites to composable pairs of morphisms.
The remaining structure in the simplicial object ensures that the composition is homotopy-coherently associative and unital.
Remark 2.4**.**
If has a terminal object , we can identify the category objects such that with associative monoids in .
Definition 2.5**.**
A double -category is a cocartesian fibration such that the corresponding functor is a category object. A monoidal -category is a double -category such that is contractible, corresponding to an associative monoid in .
A double -category is thus an -categorical analogue of a category internal to categories, or a double category. This notion has a useful generalization:
Definition 2.6**.**
A generalized non-symmetric -operad is a functor such that:
- (i)
For every object in , and every inert morphism in , there exists a -cocartesian morphism lying over . 2. (ii)
For every object , the functor
[TABLE]
induced by the cocartesian morphisms over the maps and , is an equivalence. 3. (iii)
Given in , choose compatible cocartesian lifts over . Then for any , the commutative square
[TABLE]
is cartesian.
Remark 2.7**.**
Generalized non-symmetric -operads are an -categorical analogue of the virtual double categories of [CruttwellShulman] or fc-multicategories** of [LeinsterGenEnr]; see [enr]*§2 for further discussion and motivation. We can identify the double -categories as the generalized non-symmetric -operads that are cocartesian fibrations.
Definition 2.8**.**
A non-symmetric -operad is a generalized non-symmetric -operad such that is contractible.
Definition 2.9**.**
Let be a generalized non-symmetric -operad, and suppose is an -category with pullbacks. A Segal -object in is a functor such that for all the natural map
[TABLE]
is an equivalence, where is a cocartesian morphism over . We write for the full subcategory of spanned by the Segal -objects.
Lemma 2.10**.**
Let be an -category with finite limits and a generalized non-symmetric -operad, and let denote the inclusion . Then right Kan extension along gives a functor
[TABLE]
right adjoint to the restriction .
Proof.
For and , we have
[TABLE]
provided this limit exists in . If is a cocartesian morphism over then the discrete set is a coinitial subcategory of , and so we have
[TABLE]
which exists provided has finite limits and clearly gives a Segal object. Since the right Kan extension is the right adjoint to , it follows that the adjunction restricts to the full subcategory . ∎
Remark 2.11**.**
The object is the terminal Segal -object whose restriction to is . For , we can think of the object as the space of “labels” over that a Segal -object in with would assign to points of (with the assignment of such given by the unit map ). For example, when is (where is just a point) we have for that ; if is a Segal space with then we can think of as a space of strings of composable morphisms, and the unit map assigns to such a string the list of objects appearing in it.
Proposition 2.12**.**
Let be an -category with finite limits and a generalized non-symmetric -operad, and let denote the inclusion . Then the functor
[TABLE]
is a cartesian fibration. For and , the cartesian morphism over is given by the pullback
[TABLE]
in .
Proof.
The functor has a right adjoint by Lemma 2.10. To see that is a cartesian fibration, we apply the criterion of [nmorita, Corollary 4.52]. We must check that for and , if we define by the pullback square above, then the composite is an equivalence.
Since is fully faithful we have and as preserves limits we see that is the pullback
[TABLE]
whence is indeed an equivalence. The characterization of cartesian morphisms follows from [nmorita, Proposition 4.51]. ∎
Definition 2.13**.**
A morphism of generalized non-symmetric -operads is a commutative triangle
[TABLE]
where preserves cocartesian morphisms over inert maps in . We write for the -category of generalized non-symmetric -operads, defined as a subcategory of . A morphism of generalized non-symmetric -operads from to is also called an -algebra in , and we write for the -category of -algebras in , defined as a full subcategory of .
Definition 2.14**.**
For the terminal (generalized) non-symmetric -operad , we refer to -algebras in a generalized non-symmetric -operad as associative algebras, and write
[TABLE]
Definition 2.15**.**
For an -category, we write for the cocartesian fibration corresponding to the right Kan extension . Lemma 2.10 shows that is a double -category.
If is any double -category then there is a canonical morphism over , corresponding to the unit morphism where is the functor associated to . This preserves all cocartesian morphisms, and so is in particular a morphism of generalized non-symmetric -operads.
Lemma 2.16**.**
For any generalized non-symmetric -operad , we have a natural equivalence
[TABLE]
given by restriction to the fibre over .
Proof.
Since we can replace by , it suffices to show that we have a natural equivalence of mapping spaces
[TABLE]
The generalized non-symmetric -operad has an enveloping double -category (see [nmorita]*§A.8) with a morphism of generalized non-symmetric -operads such that composition with this gives an equivalence between -algebras in a double -category and functors that preserve all cocartesian morphisms. Moreover, . It therefore suffices to prove that the natural map
[TABLE]
is an equivalence, where is now a double -category. If is the corresponding functor , then we can rewrite this as
[TABLE]
as required. ∎
Remark 2.17**.**
Let be a double -category and an object of . Then induces a functor over (corresponding to the morphism of right Kan extensions ), which preserves cocartesian morphisms. We can then define a monoidal -category as the pullback
[TABLE]
of -categories, which is also a pullback of cocartesian fibrations over . If we think of objects of as “horizontal morphisms” in the double -category, then this gives a monoidal structure on the -category of horizontal endomorphisms of , given by composition of horizontal morphisms.
3. Category Objects as Algebras in Spans
In this section we will prove that category objects in an -category can be identified with associative algebras in the double -category of spans in . We first recall the construction of this double -category, following [spans] (see also [BarwickMackey, DyckerhoffKapranovTwoSeg, GaitsgoryRozenblyum1] for alternative approaches).
Definition 3.1**.**
Let denote the partially ordered set of pairs with , where if . These give a functor , where for the functor takes to . If is an -category, we write for the cocartesian fibration corresponding to the functor
[TABLE]
If is an -category with pullbacks, we write for the full subcategory of spanned by the objects such that the canonical morphism
[TABLE]
is an equivalence for all .
Proposition 3.2** ([spans]*Proposition 5.14).**
For any -category with pullbacks, the restricted functor is a double -category.
Definition 3.3**.**
For , we can define a monoidal -category as in Remark 2.17. This gives a monoidal structure on the -category of objects of equipped with two maps to . The tensor product of and is defined by the pullback , and the unit is .
Definition 3.4**.**
Let denote the cartesian fibration for the functor . We can identify objects of with pairs where and ; a morphism is given by a morphism in such that in the partially ordered set . Note that this morphism is cartesian precisely when .
Proposition 3.5**.**
For any -category over , there is a natural equivalence
[TABLE]
A functor takes a morphism in to a cocartesian morphism in if and only if the corresponding functor (which satisfies ) takes all morphisms where in is cartesian to equivalences in .
Proof.
The equivalence follows from [freepres]*Proposition 7.3, which identifies with the cocartesian fibration defined in [HTT]*Corollary 3.2.2.13(1) by this universal property. The second statement then follows from the description of the cocartesian morphisms in [HTT]*Corollary 3.2.2.13(2). ∎
Definition 3.6**.**
We define a functor by setting and sending a map lying over to the map given by . (In other words, we restrict to a map .)
Definition 3.7**.**
We can define another functor by sending to and a morphism in to the morphism lying over . Observe that we have . We can also define a natural transformation by taking to be the map lying over . We also have , and a natural transformation given by the natural maps .
Proposition 3.8**.**
The functor exhibits as the localization of at the set of cartesian morphisms that lie over inert maps in .
Proof.
Let be the set of morphisms in that are mapped to isomorphisms (i.e. identity morphisms) by . A morphism over is in if and only if we have and for . In this case we have a commutative triangle
[TABLE]
where the two diagonal morphisms are in . Thus by the 2-of-3 property for equivalences, any functor that takes the maps in to equivalences takes all the maps in to equivalences. The localizations of at and are therefore the same. On the other hand, the components of the natural transformation are all in , so using we see that composition with is an inverse to
[TABLE]
for any -category , where denotes the full subcategory of functors that take the morphisms in to equivalences. In other words, exhibits as the localization of at . ∎
Proposition 3.9**.**
Suppose is a functor such that has -cocartesian morphisms over inert maps in . Then there is a functor (where the fibre product is over ) lying over , which exhibits as the localization of at the set of morphisms such that is inert, is cocartesian, and is cartesian.
Proof.
The functor satisfies , and so induces a functor . If is the projection (which lies over ), then we have an equivalence , and we also get a natural transformation over .
Since the components of lie over inert morphisms in , there is a unique cocartesian lift of to a natural transformation , where is the identity and is where is a cocartesian morphism over . (This follows from the lifting property obtained by combining [HTT]*Propositions 3.1.1.6 and 3.1.2.3.) We define to be the composite . Then lies over , which is as . We can identify with since
[TABLE]
is an equivalence. Moreover, is an equivalence, being given by cocartesian morphisms over identities, hence .
Let be the set of morphisms in that are sent to equivalences by . If is such a morphism, then we have a commutative square
[TABLE]
where the vertical maps are in . By the 2-of-3 property for equivalences, this means that any functor that takes the morphisms in to equivalences must take all morphisms in to equivalences. Thus the localizations of at and are the same. The same argument as in the proof of 3.8 now shows that is exhibits as the localization of at . ∎
Combining 3.5 with 3.9, we get:
Corollary 3.10**.**
Suppose is a functor such that has -cocartesian morphisms over inert maps in . Then there is a fully faithful functor of -categories
[TABLE]
that identifies with the functors that preserve cocartesian morphisms over inert morphisms in . ∎
Under this equivalence, functors over that preserve cocartesian morphisms over inert maps correspond to functors such that for all over , the morphism
[TABLE]
is an equivalence, where denotes the cocartesian morphism over . In particular, we have:
Corollary 3.11**.**
Let be a (generalized) non-symmetric -operad and an -category with pullbacks. Then there is a natural equivalence of -categories
[TABLE]
Proposition 3.12**.**
For , the fibre of at the constant functor with value is naturally equivalent to .
Proof.
Combining the equivalences of 3.11 and Lemma 2.16, we can identify with the functor ; the constant functor corresponds to the composite where the second morphism is the associative algebra in associated to . Since preserves limits, the fibre we want is given by the pullback square
[TABLE]
as required. ∎
4. Quasi-Unital Category Objects
Our goal in this section is to prove that “having identities” is a property of a category object. We will prove this by using the results of the previous section to reduce to the case of associative algebras, which has already been proved by Lurie. We begin by recalling Lurie’s result, which requires introducing some notation:
Definition 4.1**.**
Let denote the subcategory of containing only the injective maps; this is a non-symmetric -operad, and its algebras are non-unital associative algebras. If is a generalized non-symmetric -operad, we write for the -category of non-unital associative algebras in . The inclusion is a morphism of non-symmetric -operads, and induces the expected forgetful functor .
Definition 4.2**.**
Let be a monoidal -category. If is a non-unital associative algebra in , a quasi-unit for is a morphism such that the composite
[TABLE]
where is the algebra multiplication, is equivalent to , and similarly for the map with on the other side. We say that a non-unital algebra is quasi-unital if there exists a quasi-unit for . If and are quasi-unital algebras, we say that a morphism in is quasi-unital if is a quasi-unit for , where is a quasi-unit for .
Warning 4.3**.**
We emphasize that being quasi-unital is a property of a non-unital algebra. In particular, the data of a quasi-unit is not part of the structure of a quasi-unital algebra, we are merely asserting that it is possible to choose one.
Definition 4.4**.**
Let denote the subcategory of whose objects are the quasi-unital algebras, and whose morphisms are the quasi-unital ones.
Theorem 4.5** (Lurie, [HA]*Theorem 5.4.3.5).**
If is a monoidal -category, then the functor induces an equivalence
[TABLE]
onto the quasi-unital subcategory.
For the rest of this section we fix an -category with finite limits. We can then extend the definitions above to category objects in :
Definition 4.6**.**
A non-unital category object in is a Segal -object, i.e. a functor satisfing the same limit condition as a category object. We write for the -category of non-unital category objects.
Definition 4.7**.**
Let be a non-unital category object. A quasi-unit for is a commutative diagram
[TABLE]
such that the composite
[TABLE]
is equivalent to the identity, and similarly for the morphism with on the other side. We say a non-unital category object is quasi-unital if there exists a quasi-unit for .
Remark 4.8**.**
A non-unital category object in is quasi-unital if and only if is quasi-unital when viewed as a non-unital associative algebra in . Any two quasi-units are therefore equivalent, by [HA]*Remark 5.4.3.2.
Remark 4.9**.**
The functor is a cartesian fibration by 2.12. Suppose is a non-unital category object and is a quasi-unit for . For in , let denote the cartesian morphism in over . Then we have a diagram
[TABLE]
where the morphism exists since the bottom square is cartesian. The morphism is then a quasi-unit for . In other words, if is quasi-unital then so is for any .
Definition 4.10**.**
Suppose and are quasi-unital. A morphism is quasi-unital if there exists a commutative diagram
[TABLE]
where and are quasi-units for and , respectively. We write for the subcategory of containing the quasi-unital objects and the quasi-unital morphisms between them.
Remark 4.11**.**
From Remark 4.9 and the uniqueness of quasi-units we see that a morphism is quasi-unital if and only if is quasi-unital. Moreover, the latter is quasi-unital if and only if it corresponds to a quasi-unital morphism between non-unital algebras in .
Proposition 4.12**.**
Suppose is a cartesian fibration, and is a subcategory of such that
- (i)
for and in , the cartesian morphism lies in . 2. (ii)
if and are objects of then a morphism in lies in if and only if lies in .
Then is a cartesian fibration, and a morphism in is cartesian if and only if its image in is cartesian.
Proof.
Given and we must show that the cartesian morphism in is cartesian when viewed as a morphism in . For we have a commutative diagram
[TABLE]
Here the top square is cartesian by assumption (ii) and the bottom square is cartesian since is cartesian. It follows that the composite square is cartesian, which completes the proof. ∎
Combined with Remark 4.11 and 2.12, this gives:
Corollary 4.13**.**
The functor is a cartesian fibration; a morphism in is cartesian if and only if its image in is cartesian. ∎
Theorem 4.14**.**
The functor induces an equivalence
[TABLE]
onto the quasi-unital subcategory.
Proof.
We have a commutative triangle
[TABLE]
Here the diagonal functors are both cartesian fibrations by 2.12. We claim that also preserves cartesian morphisms. Using the description of the cartesian morphisms in 2.12, this amounts to observing that the canonical natural transformation is clearly an equivalence. The functor obviously factors through the subcategory , so by 4.13 we get a commutative triangle
[TABLE]
where the diagonal functors are cartesian fibrations, and the horizontal functor preserves cartesian morphisms. To prove that is an equivalence, it therefore suffices to prove that for every object the functor
[TABLE]
on fibres over is an equivalence. But by Remark 4.11 and 3.12 we can identify this with the restriction of to a functor
[TABLE]
which is an equivalence by 4.5. ∎
We can inductively define the -category of -uple category objects in as
[TABLE]
this corresponds to a full subcategory of . Similarly, we can define and . Applying 4.14 inductively, we get:
Corollary 4.15**.**
The restriction functor factors through an equivalence
[TABLE]
The -uple category objects in the -category of spaces are known as -uple Segal spaces. By imposing constancy conditions, we can restrict to the class of -fold Segal spaces [BarwickThesis], which model (the algebraic structure of) -categories. This notion makes sense more generally:
Definition 4.16**.**
A 1-fold Segal object in is a category object. For , an -fold Segal object is an -uple category object such that is constant and is an -fold Segal object for all .
If we write for the full subcategory of spanned by the -fold Segal objects, and for the analogously defined non-unital -fold Segal objects, restricting the equivalence of 4.15 gives:
Corollary 4.17**.**
The restriction functor factors through an equivalence
[TABLE]
where is the subcategory of non-unital -fold Segal spaces that are quasi-unital (when viewed as -uple category objects) and quasi-unital morphisms between them.
The -category of -categories can be described as the full subcategory consisting of the complete -fold Segal spaces. The equivalence of 4.17 thus identifies this with a certain full subcategory of . This full subcategory can also be described without reference to this equivalence, as follows:
Definition 4.18**.**
If is a non-unital Segal space, we write for the fibre of at ; we refer to the points of as morphisms from to , and denote these in the usual way. If is quasi-unital with quasi-unit we say that a morphism is an equivalence in if there exists such that and . Let denote the subspace of containing those components that correspond to equivalences. It is clear from the definition of a quasi-unit that restricts to a map , and we say that is complete if this map is an equivalence in .
Remark 4.19**.**
More generally, we can define an equivalence in a non-unital Segal space to be a morphism such that the morphisms
[TABLE]
given by composition with are equivalences in for all . It is easy to see that this is equivalent to the previous definition when is quasi-unital. Moreover, if is quasi-unital then is complete if and only if either (or both) of the face maps is an equivalences, since the quasi-unit is always a section of both. Thus we can characterize the complete quasi-unital Segal spaces without explicitly referring to the quasi-unit.
Definition 4.20**.**
Suppose is an -fold quasi-unital Segal space. Then is complete if
- •
the quasi-unital Segal space is complete,
- •
the quasi-unital -fold Segal space is complete.
Equivalently, is complete if the quasi-unital Segal spaces of the form are all complete. We write for the full subcategory of spanned by the complete quasi-unital -fold Segal spaces.
Corollary 4.21**.**
The restriction functor restricts to an equivalence
[TABLE]
Proof.
This is immediate from 4.17, since the definition of completeness for a quasi-unital -fold Segal space clearly restricts to the usual notion of completeness for an -fold Segal space. ∎
Warning 4.22**.**
Our notion of a quasi-unital Segal space is not quite the same as that studied by Harpaz [HarpazQUnital]. Let us say that a morphism in a non-unital Segal space is a quasi-identity if there are equivalences for in and for in , natural in and (more precisely, for all the maps and are equivalent to the corresponding identities). We can then call weakly quasi-unital if for every object there exists a quasi-identity ; these objects correspond to those called quasi-unital in [HarpazQUnital]. In general this seems to be a strictly weaker notion than ours, which essentially requires there to exist a choice of quasi-identities that is continuous in ; we expect that this stronger condition is needed to get an equivalence between Segal spaces and quasi-unital Segal spaces (whereas Harpaz only gets an equivalence between the subcategories of complete objects).
Remark 4.23**.**
We can define a non-unital Segal space to be complete if the two face maps are both equivalences, following Remark 4.19 and [HarpazQUnital]*§3; it is easy to see that if is complete then it is also weakly quasi-unital. It follows from Harpaz’s work that every complete non-unital Segal space is in the image of the restriction functor from complete Segal spaces, and thus is in particular quasi-unital in our sense. Similarly, a morphism of complete non-unital Segal spaces is quasi-unital if and only if it preserves quasi-identities.
References
