Abstract Introduction 1 -categories 2 -categorical models of linear logic 3 Models of linear logic in 1-categories 4 Models in -categories with colimits 5 Spectra 6 Future work References Appendix A Appendix

-Categorical Models of Linear Logic

Eliès Harington ORCID LIX, CNRS, École polytechnique, Institut Polytechnique de Paris, 91120 Palaiseau, France Samuel Mimram ORCID LIX, CNRS, École polytechnique, Institut Polytechnique de Paris, 91120 Palaiseau, France
Abstract

The notion of categorical model of linear logic is now well studied and established around the notion of linear-non-linear adjunction, which encompasses the earlier notions of Seely categories, Lafont categories and linear categories. These categorical structures have counterparts in the realm of -categories, which can thus be thought of as weak forms of models of linear logic. The goal of this article is to formally introduce them and study their relationships. We show that -linear-non-linear adjunctions still play the role of a unifying notion of model in this setting. Moreover, we provide a sufficient condition for a symmetric monoidal -category to be Lafont. Finally, we illustrate our constructions by providing models: we construct linear-non-linear adjunctions that generalize well-known models in relations (and variants based on profunctors or spans), domains and vector spaces. In particular, we introduce a model based on spectra, a homotopical variant of abelian groups.

Keywords and phrases:
linear logic, linear-non-linear adjunction, -category, spectrum
Copyright and License:
[Uncaptioned image] © Eliès Harington and Samuel Mimram; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Linear logic
Editors:
Maribel Fernández

Introduction

Toward higher-dimensional models of linear logic.

The introduction of linear logic [20] was motivated by the study of semantics of λ-calculus [21] and many instances of such semantics have been considered for this logic (phase semantics, coherence spaces, domains, game semantics, etc.). In order to structure and unify their study, categorical axiomatizations of what a model of linear logic should be have been proposed: Lafont categories [34], Seely categories [45], linear categories [26] and linear-non-linear adjunctions [7], as well as -autonomous [45, 5] variants for the classical case, see [11, 41, 38] for surveys on the topic and the relationships between them. More recently, the study of several categorical structures has prompted higher-categorical generalizations of the notion of model: even though those do not form categories, but rather bicategories, we can recognize there variants of the familiar structures that are usually found in models of linear logic. We can for instance name generalized species of structures [16, 14], or polynomial functors [32, 18, 13]. Those have motivated the recent introduction of bicategorical models for (differential) linear logic [15]. More recently, higher-dimensional generalizations of those models, polynomial/analytic functors in particular, have been considered in the settings of -categories [19] and homotopy type theory [23]. Those are a motivation for the introduction of -categorical models of linear logic in this paper.

-categories.

The notion of -category originates in the study of homotopy theory, and it has recently garnered an interest from computer science because of its tight relationship with homotopy type theory [47]. It can be thought of as a generalization of the notion of category where we take higher-dimensional coherences into account: this means that, when introducing a structure, we should ask for isomorphisms instead of equalities, those isomorphisms should satisfy coherences, themselves satisfying further coherences, and so on. Because of this, usual structures (such as the very definition of -category) require specifying an infinite amount of data. There are various formalisms making this idea precise, we consider here the one of quasicategories developed by Joyal [29]. It was considerably expanded by Lurie [35, 36], up to the point that we can nowadays almost work as in the 1-categorical setting, justifying every step by preexisting -categorical results.

-categorical models of linear logic.

In this article, we introduce -categorical variants of the main categorical models of linear logic: linear-non-linear adjunctions, Lafont categories, Seely categories, and linear categories. We also show that, as advocated by Melliès in the 1-categorical setting [38], linear-non-linear adjunctions play a unifying role for those various structures. Although, there is no formal connection (yet) to the syntax of linear logic (in the usual sense of denotational semantics), we consider that those relationships are a good indication that we are considering the relevant structures. This has allowed us to come up with new models of linear logic, which generalize already known 1-categorical ones, but are of a quite different nature and exhibit interesting new phenomena: cocomplete -categories and cocontinuous functors (generalizing complete semilattices), -categories and profunctors (generalizing relations), spectra (generalizing abelian groups).

Plan of the paper.

After recalling basic notions of -categories (Section 1), we introduce and compare the various -categorical generalizations of models of linear logic: linear-non-linear adjunctions, among which Seely and linear categories (Section 2.1), Lafont categories (Section 2.2), and -autonomous categories (Section 2.3). We then recall 1-categorical models of linear logic: polynomials (Section 3.1), domains (Section 3.2) and modules (Section 3.3). We then construct -categorical generalizations of those models in cocomplete -categories (Section 4) and spectra (Section 5).

1 -categories

We very briefly recall the setting of -categories, in the formalism of quasi-categories [29]. Providing a complete introduction is out of the scope of this paper, and we refer to the foundational books of Lurie [35, 36] for a complete reference. Our main goal here is to provide reference to -categorical generalizations of well-known constructions and properties in the 1-categorical world, which we will use in the following.

Simplicial sets.

Given a natural number n, we write [n] for the partial order {0<<n}. We write Δ for the category of simplices whose objects are natural numbers and morphisms f:mn are monotone functions f:[m][n]. The category Δ^ of presheaves over this category has simplicial sets as objects. Given an object nΔ, we write Δn for the simplicial set obtained as the image of n under the Yoneda embedding, and Λkn for the k-th horn, which is the simplicial set obtained from Δn by removing the k-th face and its top-dimensional cell, with 0kn; an inner horn being a horn with 0<k<n. Writing I:ΔCat for the functor which to n associates the totally ordered set [n], any category 𝒞 induces a simplicial set, called its nerve, defined by N(𝒞)=Cat(I,𝒞), which will allow considering a 1-category as an -category, which we sometimes leave implicit.

-categories.

An -category 𝒞 is a simplicial set such that every inner horn has a filler [35, Def 1.1.2.4] (and -groupoids are defined similarly by requiring that every horn has a filler). It can be thought of as a weak variant of the notion of category where the expected laws, such as associativity, hold only up to coherent higher cells (the 0-cells correspond to the objects and the 1-cell to the morphisms of the category). A functor is a morphism of simplicial sets. Any two -categories 𝒞 and 𝒟 induce an -category Fun(𝒞,𝒟) (also denoted [𝒞,𝒟]) given by the internal hom in Δ^, whose objects are the functors from 𝒞 to 𝒟 [35, Prop 1.2.7.3]. The morphisms in this -category are called natural transformations. A functor F:𝒞𝒟 is an equivalence when there is a functor G:𝒟𝒞 and two invertible natural transformations GFid𝒞 and FGid𝒟 [35, Prop 1.2.4.1]. We write Cat for the -category of -categories [35, Def 3.0.0.1], and 𝒮 for the -category of -groupoids [35, Def 1.2.16.1], which we sometimes refer to as spaces. In the following, we use homotopical as synonymous for “-categorical”, because of the tight relationships with homotopy theory [44]. In particular, all (co)limits in -categories are homotopy (co)limits [35, Sec 1.2.13].

Adjunctions.

Any two objects A and B of an -category 𝒞 induce an -groupoid Hom𝒞(A,B) (also noted 𝒞(A,B)) [35, Prop 1.2.2.3]. An adjunction between two -categories 𝒞 and 𝒟 consists of functors F:𝒞𝒟 and G:𝒟𝒞, together with a natural transformation η:id𝒞GF such that for every objects A,B𝒟, the composite morphism is an equivalence of -groupoids [35, Def 5.2.2.7]. Such a natural transformation is called a unit for the adjunction. Adjunctions can equivalently be defined dually purely in terms of counits, or by asking for natural transformations η:id𝒞GF and ε:FGid𝒟 satisfying the usual zig-zag identities up to homotopy, in which case they are automatically the unit and counit for an adjunction between F and G [37, Tag 02EK].

The existence of adjoint functors is often obtained in the following situation. An -category is accessible when it is the completion under filtered colimits of a small -category [35, Def 5.4.2.1], and presentable when it moreover has small colimits [35, Def 5.5.0.1]. The adjoint functor theorem then states that a functor between presentable -categories is a left adjoint if and only if it preserves colimits [35, Cor 5.5.2.9].

Symmetric monoidal -categories.

We write Fin for the 1-category where an object is a natural number and a morphism f:mn is a function f:[m][n] such that f(0)=0. A symmetric monoidal -category 𝒞 is a functor M:FinCat (we simply write Fin instead of N(Fin)) such that the canonical map Mn(M1)n (given by the cartesian structure of Cat) is an equivalence [36, Ex 2.4.2.4]. We should mention that, technically, we use the equivalent formulation as a cocartesian fibration p:𝒞Fin satisfying suitable properties [36, Def 2.0.0.7]. The notion of cocartesian fibration generalizes to -categories the traditional notion of Grothendieck opfibration [35, Sec 2.4] and 𝒞 is an -category constructed from 𝒞, whose objects are tuples of objects in 𝒞 [36, Cons 2.1.1.7]. The opposite of a symmetric monoidal -category has a canonical structure of symmetric monoidal -category using the equivalence op:CatCat [36, Rem 2.4.2.7]. A symmetric monoidal -category 𝒞 is closed when the functor A:𝒞𝒞 admits a right adjoint [36, Def 4.1.1.15], which we generally denote A. Given a functor F:𝒞𝒟 between symmetric monoidal -categories, a monoidal structure consists in natural isomorphisms exhibiting the fact that the functor preserves the monoidal structure, see [36, Def 2.1.3.7].

Monads.

A commutative monoid in a monoidal -category p:𝒞Fin is a section m:Fin𝒞 satisfying a suitable condition [36, Def 2.1.3.1]. In particular, a commutative monoid in the -category Cat is a symmetric monoidal -category [36, Rem 2.4.2.6]. The notion of cocommutative comonoid is defined dually as a commutative monoid in the opposite monoidal -category 𝒞op. The notion of (non-commutative) monoid can be defined similarly, by taking a variant of the -category Fin [36, Def 4.1.1.6]. A monad T on an -category 𝒞 is a monoid object in the monoidal -category Fun(𝒞,𝒞) [36, Def 4.7.0.1]. Any adjunction between -categories induces a monad in the expected way [36, Prop 4.7.3.3]. Moreover, any monad T on an -category 𝒞 determines an -category 𝒞T of T-algebras [36, Def 4.2.1.13]. The Kleisli -category 𝒞T associated to a monad can be described as the essential image of the free algebra functor 𝒞𝒞T (constructed in [36, Sec 4.2.4]), see [25, Def 4.1].

2 -categorical models of linear logic

The notion of categorical model for the multiplicative fragment of intuitionistic linear logic is clear: it consists of a category  which is symmetric monoidal closed (to model the tensor and linear arrow of linear logic). In order to model additives, the category  should be cartesian (independently of being monoidal). Finally, in order to model exponentials, the category should moreover be equipped with a comonad !:, the exponential modality, equipped with various coherence isomorphisms satisfying suitable coherence laws. Several axiomatizations of this modality have been proposed in the literature, among which Lafont categories [34], Seely categories [45] and linear categories [26], see [11, 38] for a survey. As for any comonad, an exponential comonad can be decomposed as an adjunction, which can be seen as a particular way of “presenting” the comonad. In particular, we have the two extremal ways of decomposing the comonad as the adjunction with the Kleisli category, and the category of coalgebras of the comonad. The properties that such adjunctions should satisfy can be axiomatized as the linear non-linear (lnl) adjunctions introduced by Benton [7], and those have been advocated as a unifying framework for the models of linear logic by Melliès [38]. Again, we insist on the fact that the adjunction is additional data, all that matters is the comonad it induces. We observe here that the various notions of categorical model are difficult to generalize to -categories, but it is much easier to do so with the associated reformulations as lnl adjunctions, which is the point of view we adopt here. Finally, we investigate -autonomous -categories, which allow modeling classical linear logic.

2.1 Linear-non-linear adjunctions

The notion of linear-non-linear (lnl) adjunction [7] straightforwardly adapts to the setting of -categories. It consists in a suitable adjunction between a category , corresponding to the “linear” formulas, and a category  which provides the “multiple” structure. The model of linear logic actually lives in the linear category: the multiplicative one is here to ensure that it is equipped with an exponential modality, namely the comonad !LM induced by the adjunction.

Definition 1.

An -categorical linear-non-linear adjunction is an adjunction

(1)

between a cartesian -category  and a symmetric monoidal closed -category , together with a structure of symmetric monoidal functor on L.

 Remark 2.

The notion of lnl adjunction is a particular case of the one of resource modality [39] which, in our setting can be defined as an adjunction as in Equation 1 between monoidal -categories and , together with a monoidal structure on the functor L (not supposing that is cartesian nor that is closed).

It might be surprising at first that no condition is required on M. In fact, since L is symmetric monoidal, M is automatically lax symmetric monoidal [36, Cor 7.3.2.7]. The following formalizes the fact that objects in the image of the exponential modality can be copied and erased:

Proposition 3.

In an lnl adjunction, every object !A is equipped with a canonical structure of a commutative comonoid.

Proof.

By [36, Cor 2.4.3.10], because  is cartesian, every object is a commutative comonoid, and the symmetric monoidal functor L functor transports the commutative monoid structure to .

Seely categories.

One of the most widely used notions of categorical model of linear logic is given by the notion of a Seely category. The original definition [45] was missing an axiom which was identified later on [9]. It consists in a symmetric monoidal closed category  with finite products equipped with a comonad !, which is a symmetric monoidal functor satisfying a particular axiom. As is, this definition does not easily generalize to -categories, because there is no obvious way of generating the associated higher coherences. However, the alternative characterization of Seely categories as lnl adjunctions given in [38, Prop 24 and 25] does. The following definition is based on that.

Definition 4.

An lnl adjunction Equation 1 is Seely when is cartesian (independently of being monoidal) and the comparison functor ! from the Kleisli -category of the comonad !LM on  is an equivalence of -categories.

It can be shown that a right adjoint functor G:𝒟𝒞 identifies 𝒟 to the Kleisli -category 𝒞! (where ! is the comonad induced by the adjunction) if and only if it is essentially surjective [25, Thm 7.2]. As a consequence, we have the following alternative characterization:

Proposition 5.

An lnl adjunction Equation 1 is Seely if and only if is cartesian and M is essentially surjective.

In particular, any lnl adjunction Equation 1 with cartesian induces a Seely one by restricting  to the essential image of M.

Linear categories.

Instead of considering adjunctions with Kleisli categories, one can also consider the other extreme case of adjunctions with categories of coalgebras: those correspond to linear categories [38, Prop 29 and 30]. Below, the comparison functor is defined in [36, Def 4.7.3.4].

Definition 6.

An lnl adjunction Equation 1 is linear when the comparison functor ! to the -category of coalgebras is an equivalence.

2.2 Lafont categories

An important class of models is given by Lafont categories where the exponential modality is given by the cofree commutative comonoid construction (we have seen in Proposition 3 that ! always provides commutative comonoids). Given a symmetric monoidal -category 𝒞, we write Mon(𝒞) for the -category of commutative monoids in 𝒞 [36, Def 2.1.3.1] and Comon(𝒞)Mon(𝒞op)op the -category of commutative comonoids in 𝒞 (in this paper, all (co)monoids considered are commutative).

Definition 7.

A Lafont -category is a symmetric monoidal closed -category 𝒞 such that the forgetful functor Comon(𝒞)𝒞 is a left adjoint.

Proposition 8.

Any Lafont -category 𝒞 induces an lnl adjunction between 𝒞 and Comon(𝒞).

Proof.

The -category Comon(𝒞) is cartesian, because the opposite -category Mon(𝒞op) is cocartesian [36, Prop 3.2.4.7]. Moreover, the forgetful functor Comon(𝒞)𝒞 has a canonical symmetric monoidal structure [36, Ex 3.2.4.4]. In situations where the monoidal structure on 𝒞 is compatible with some limits, the cofree commutative comonoid on an object A can be computed explicitly using limits, see [40]. A similar construction holds in the setting of -categories.

Proposition 9.

Let 𝒞 be a symmetric monoidal -category with countable limits such that, for every object X, the tensor product functor X:𝒞𝒞 preserves countable limits. Then 𝒞 is Lafont, and the free commutative comonoid on an object A is given by n(An)Σn, where (An)Σn is the object of invariants by the group action of Σn on An (i.e. the limit of the diagram BΣn𝒞 classifying this group action).

Proof.

This statement is exactly dual to [36, Ex 3.1.3.14]. The monoidal categories typically appearing in linear algebra are more often compatible with colimits than with limits (that is for instance the case of categories of R-modules). In such situations, we can still construct a structure of Lafont category when 𝒞 is presentable, although the free commutative comonoid does not admit a nice formula as above.

Theorem 10.

Let 𝒞 be a symmetric monoidal presentable -category such that for every object A𝒞, the tensor product functor A:𝒞𝒞 preserves small colimits. Then Comon(𝒞) is presentable and 𝒞 is Lafont.

Proof of Theorem 10.

Since 𝒞 is presentable and A:𝒞𝒞 preserves small colimits, it admits a right adjoint, so 𝒞 is monoidal closed. If we suppose that Comon(𝒞) is presentable, the forgetful functor U:Mon(𝒞op)𝒞op preserves (and even creates) small limits by [36, Cor 3.2.2.5], so the forgetful functor Uop:Comon(𝒞)𝒞 preserves small colimits. By the adjoint functor theorem for presentable -categories [35, Cor 5.5.2.9], it must admit a right adjoint, and we have a structure of Lafont -category on 𝒞.

We are left with showing that Comon(𝒞) is presentable. Note that this does not immediately follow from a presentability criterion for -categories of monoids [36, Cor 3.2.4.5], since Comon(𝒞) is defined as the opposite of an -category of monoids, and presentability is not a self-dual notion. Nevertheless, we can adapt the proof of [36, Cor 3.2.3.5]. We say an -category 𝒞 is copresentable if its opposite -category is presentable, and similarly for coaccessible. Our goal is to show that Mon(𝒞op) is copresentable, i.e. admits small limits and it is coaccessible. The -category Mon(𝒞op) admits small limits, once again by [36, Cor 3.2.2.5] (since 𝒞 admits small colimits by virtue of being presentable, 𝒞op admits small limits). It can be shown to be coaccessible by [35, Thm 5.4.7.11], see Lemma 37 for details. In the case of vector spaces, the construction of free commutative comonoids (often called coalgebras in this context) dates back to Sweedler [46], and Barr [4] for modules.

2.3 -autonomous categories

In this section, we consider a symmetric monoidal closed -category 𝒞 (with as tensor and  as internal hom) equipped with a distinguished object . For an object A𝒞, we write AA. The notion of model for classical linear logic is given by the following notion.

Definition 11 (-autonomous -category).

The object 𝒞 is dualizing if the internal hom functor ():𝒞op𝒞 is an equivalence of -categories. An -category equipped with a dualizing object is called -autonomous.

Note that the dualizing object is part of the data: a given -category might admit multiple non-isomorphic dualizing objects, see Remark 35. We have the following alternative definition:

Proposition 12.

The object 𝒞 is dualizing if and only if for every object A𝒞, the canonical map AA is an isomorphism in 𝒞.

Proof.

Since 𝒞 is symmetric monoidal, we have the following isomorphisms

Hom𝒞(A,B)Hom𝒞(AB,)Hom𝒞(BA,)Hom𝒞(B,A)Hom𝒞op(A,B)

natural in A and B, and the functor ():𝒞op𝒞 is thus left adjoint to ():𝒞𝒞op. The canonical map AA is the unit of this adjunction (as a morphism in 𝒞) and also its counit (as a morphism in 𝒞op). An adjunction is an equivalence if and only if its unit and counit are isomorphisms, which gives the desired result.

Proposition 13.

Suppose (𝒞,) is -autonomous. If the forgetful functor Mon(𝒞)𝒞 admits a left adjoint F (i.e. admits free commutative monoids), then 𝒞 is Lafont (i.e. admits cofree commutative comonoids). Moreover, the underlying object of the free comonoid on X𝒞 is given by (F(X)).

Proof.

Since F:𝒞Mon(𝒞) is a left adjoint, Fop:𝒞opMon(𝒞)op is a right adjoint. Using the equivalence ():𝒞𝒞op and passing to -categories of monoids, we get Mon(𝒞)opMon(𝒞op)op=Comon(𝒞). Hence the composite

defines a right adjoint to the forgetful functor Comon(𝒞)𝒞. Unfolding this composition, we also get the desired formula for the free comonoid on X.

We conclude this section with a small lemma that will be useful in the proof of Theorem 23. For any pair of objects A,B𝒞, write εAB:B(BA)A for the evaluation map, i.e. the counit of the adjunction BB evaluated at A. Similarly, write ηAB:AB(BA) for the unit of the same adjunction.

Lemma 14.

Let A be objects of 𝒞, and f:AA an isomorphism. If the following square commutes

where σ comes from the symmetry of the monoidal structure, then the canonical morphism A(A) is an isomorphism.

Proof.

We have the following commuting diagram:

The left square commutes by naturality of ηA. The right square commutes by assumption and functoriality of A. The composition of the bottom line is homotopic to the identity by the zig-zag identity for the adjunction (A)(A), in particular it is an isomorphism. Since f is also an isomorphism, the composite of the top line, i.e. the canonical map AA, must also be an isomorphism.

3 Models of linear logic in 1-categories

In this section, we briefly recall some traditional models of linear logic, that we generalize to the -categorical setting later on. We first provide two models based on the powerset monad on Set, and then one based on vector spaces (or, more generally, modules). As we have seen in previous section, there are two canonical ways to construct lnl adjunctions. Namely, starting from a “linear” category equipped with a suitable comonad, one can either consider the category of coalgebras, or the category of free coalgebras, as the corresponding “multiple” category: this is the idea behind the notions of linear and Seely lnl adjunctions. There are actually two other canonical ways to construct lnl adjunctions. We can, dually, start from a “multiple” category equipped with a suitable monad and construct the “linear” category as the category of algebras, or free algebras, of the monad. Moreover, we can alternatively perform those constructions in order to build richer models. Let us illustrate this on three examples.

      

3.1 Relational polynomials

We write Set for the category of sets and functions, and Rel for the category of sets and relations: a morphism f:AB is a relation fA×B. This category is symmetric monoidal when equipped with the set-theoretic cartesian product on objects. It is easily checked to be self-dual compact closed, and thus closed as a monoidal category. This category is also cartesian, with product being given by set-theoretic disjoint union (this is in fact a biproduct). The canonical inclusion functor F:SetRel is symmetric monoidal, and admits a right adjoint G:RelSet which sends a set A to the powerset 𝒫(A) and a relation f:AB to the function which to X𝒫(A) associates {yBxX.(x,y)f}. The monad induced on Set is the powerset monad, whose Kleisli category is precisely Rel. Namely, the isomorphism is given on hom-sets by (A𝒫(B))(A(B2))(A×B2) where 2 is the set with two elements. We have thus constructed an lnl adjunction between Set and Rel.

Consider the free commutative monoid monad M on Set. There is a distributive law λ:M𝒫𝒫M between the two monads (given a set A, λA sends a formal product of subsets X1Xn to the subset of formal products {x1xnxiXi}), and the monad M thus lifts to the Kleisli category Rel [6]. Since Rel is self-dual this monad, that we denote !, is also a comonad. We write Poly for the co-Kleisli category: a morphism P:AB is a relation P:!AB, which can be thought of as encoding a family of polynomials

(((a1,,an),b)PXa1Xan)bB

which take variables typed in A and returns polynomials typed in B, and composition corresponds to the expected one for polynomials. Note that each polynomial contains at most once a monomial, i.e. we have “boolean coefficients”, but might consist of an infinite sum. This category is cartesian, with cartesian product given by set-theoretic disjoint union on objects. The resulting adjunction between Poly and Rel forms a Seely category lnl adjunction. It turns out that Rel is also a Lafont category, and the comonad just described is isomorphic to the one given by the free commutative comonoid in Rel. Higher-categorical variants of this model have been considered in the literature such as generalized species of structures [16], operads [10] or polynomial functors [33, 23].

3.2 Domains

As a variant of the previous construction, we can start from the category algebras of the powerset monad on Set (instead of the associated Kleisli category). This is equivalent to the category CSL of complete (sup) semilattices and sup-preserving functions. Indeed, an algebra f:!AA induces a partial order on A given by xy whenever f({x,y})=y, and, given XA, its least upper bound is given by f(X). As for any category of algebras, there is an adjunction where the right adjoint CSLSet sends a complete semilattice to the underlying set, and the left adjoint SetCSL sends a set to the power set semilattice, ordered by inclusion. The category CSL is cartesian with the usual cartesian product of posets (or categories). It is also monoidal for the tensor AB representing functions from A×B which preserve sups in each coordinate [17]: it can be constructed as the set of downward closed subsets I of A×B such that for XA and YB such that X×YI we have (X,Y)I. This tensor product has an internal hom (given by HomCSL equipped with the pointwise ordering), giving rise to a -autonomous category which is not compact closed [5].

The category Dom of domains is the category of directed-complete (sup) semi-lattices and Scott continuous functions (preserving the sups of directed sets). This category is cartesian closed, and the forgetful functor CSLDom admits a symmetric monoidal left adjoint, thus giving an lnl adjunction. This construction is hinted at in [1, Section 8.3.3].

3.3 Modules

We finally present a model based on vector spaces, which is arguably one of the reasons why linear logic is called so. For the sake of generality, we actually consider modules over a ring. Given a commutative ring R, we recall that an R-module is an abelian group (M,+,0) together with a scalar multiplication operation :R×MM satisfying a(m+m)=am+am, (a+b)m=am+bm and (ab)m=a(bm). A morphism of R-modules is a morphism of the underlying abelian groups f:MM which is compatible with the scalar multiplication. We write ModR for the category of R-modules and R-module morphisms. In particular, when R, Mod is the category Ab of abelian groups, and, when Rk is a field, Modk is the category Vectk of k-vector spaces.

The category ModR admits a symmetric monoidal structure given by the tensor product of R-modules: the R-module AB represent bilinear functions from A×B. The ring R, seen as an R-module with multiplication as scalar multiplication, is a neutral element. The forgetful functor U:ModRSet has a left adjoint R[]:SetModR, sending a set X to the free R-module R[X]xXR, which is symmetric monoidal (with Set equipped with its cartesian monoidal structure), thus giving rise to the lnl adjunction on the left, which specializes to the two other lnl adjunctions when R and Rk:

        

Note that ModR is also a Lafont category (see [27, Section 2.4], [4], or [46, Thm 6.4.3] for the case of vector spaces), which can be recovered as a consequence of Theorem 10, but the Lafont comonad is different from the one just described and in general hard to describe. This is however not a -autonomous category (and thus not a model of classical linear logic): since it is presentable, -autonomy would imply that its opposite is also presentable, and thus that it is a poset [2, Thm 1.64]. This limitation can be overcome by restricting to finite-dimensional vector spaces over fields which are finite [48] or in characteristic 2 [27, Sec 2.4] (in order to keep the exponential finite) or considering topological vector spaces [31].

4 Models in -categories with colimits

-categorical domains.

In this section, we construct an -categorical model by generalizing the model of domains recalled in Section 3.2. Basically, we replace (sup-complete) posets by (cocomplete) -categories, continuous functions by colimit-preserving functors, and Scott-continuous by filtered-colimit-preserving functors.

Given a class 𝒦 of (small) simplicial sets, we write Cat(𝒦) for the -category of (possibly large) -categories that admit 𝒦-colimits and functors that preserve such colimits. In the case where 𝒦 is the collection of filtered -categories, we write CatfiltrCat(𝒦). When 𝒦 is the class of all (small) simplicial sets, we write CatccCat(𝒦) for the -category of cocomplete -categories.

Proposition 15.

Given any two classes of simplicial sets 𝒦𝒦 we have an adjunction between symmetric monoidal -categories where U:Cat(𝒦)Cat(𝒦) is the forgetful functor and the left adjoint 𝒫𝒦𝒦:Cat(𝒦)Cat(𝒦) is symmetric monoidal.

Proof.

By [35, Cor 5.3.6.10], the forgetful functor U admits a left adjoint. By [36, Cor 4.8.1.4], the -category Cat(𝒦) (and similarly for Cat(𝒦)) admits a symmetric monoidal structure, where the tensor 𝒞𝒟 represent functors from 𝒞×𝒟 which preserve 𝒦-colimits in each variable, and this monoidal structure is closed [36, Rem 4.8.1.6]. Finally, the left adjoint 𝒫𝒦𝒦 admits a structure of symmetric monoidal functor [36, Rem 4.8.1.8].

Theorem 16.

There is a linear non-linear adjunction

Proof.

By Proposition 15, we only need to show that the monoidal structure on Catfiltr is cartesian. Every filtered -category is sifted [35, Ex 5.5.8.3], and we conclude with [36, Rem 4.8.1.5]. More explicitly, this comes from the fact that a functor 𝒞×𝒞𝒟 preserves sifted colimits if and only if it preserves sifted colimits in both variables [35, Prop 5.5.8.6].

 Remark 17.

With the model of Sections 3.2 and 15 in mind, we could have considered different generalizations of the notion of directed families. For instance, we could have taken sifted -categories instead of filtered ones and obtained another lnl adjunction. Finally, one could also replace Catfiltr by Cat and obtain yet another lnl adjunction, and even Cat by 𝒮 by taking the underlying core of an -category. To sum all of this up, there really is a chain of symmetric monoidal left adjoints

where the monoidal structures on 𝒮, Cat, Catfiltr and Catsift are all cartesian.

-categorical relations.

We now investigate an -categorical version of the model of relations presented in Section 3.1. The natural generalization of the powerset monad on Set is the free cocompletion monad 𝒫 on Cat, which exists by general arguments (we can take 𝒫𝒫sSet as defined in Proposition 15). When 𝒞 is a small -category, 𝒫(𝒞) coincides with the presheaf -category 𝒞^Fun(𝒞op,𝒮). We have seen in previous section that Catcc plays a analogous role to the CSL category (the category of algebras of the powerset monad), and we should thus recover a -categorical counterpart to Rel by restricting to “free algebras”, i.e. objects of the form 𝒫(X) for X𝒮. It turns out to be convenient to consider the following variant of this construction:

Definition 18.

We write Catprof for the full subcategory of Catcc spanned by -categories of the form 𝒞^ for some small -category 𝒞.

 Remark 19.

The notation Catprof is due to the fact that [𝒞^,𝒟^]cc[𝒞,𝒟^], the -category of profunctors from 𝒞𝒟. Hence one might be tempted to see Catprof as an -category whose objects are small -categories and morphisms are profunctors. This intuition is almost right, up to a slight subtlety: two non-equivalent small -categories 𝒞 and 𝒟 may yield the same presheaf -category 𝒞^𝒟^. It turns out that this happens precisely if 𝒞 and 𝒟 have the same idempotent completion [37, Tag 040X], so we can think of Catprof as the -category of small idempotent complete -categories and profunctors between them.

Proposition 20.

The symmetric monoidal structure on Catcc restricts to Catprof. Moreover, we have 1^𝒮 and 𝒞^𝒟^𝒞×𝒟^.

Proof.

The free cocompletion functor ()^:CatCatcc is symmetric monoidal, and the monoidal structure on Cat is cartesian by [36, Rem 4.8.1.5], in particular we get isomorphisms 𝒮1^ and 𝒞^𝒟^𝒞×𝒟^. It remains to show that the monoidal structure on Cat preserves smallness: the terminal -category is clearly small and the cartesian product of small -categories is still a small -category.

Theorem 21.

The -category Catcc admits small colimits, and the monoidal structure is compatible with small colimits.

Proof.

The proof can be done as the one of [36, Prop 4.8.4.2], but without the smallness assumption on the class of simplicial sets 𝒦. See Section A.2 for details.

Lemma 22.

The forgetful functor Mon(Catcc)Catcc has a left adjoint Symcc. The free monoid on a presheaf -category 𝒞^ is given by Sym(𝒞)^ where Sym denotes the free symmetric monoidal -category construction (i.e. the left adjoint to Mon(Cat)Cat).

Proof.

That the forgetful functor Mon(Catcc)Catcc admits a left adjoint follows from [36, Ex 3.1.3.14] and Theorem 21. Again invoking [36, Ex 3.1.3.14], the -category Cat with its cartesian symmetric monoidal structure admits free monoids. In other words, we can form free symmetric monoidal -categories (and they can be computed using the usual formula n𝒞n//Σn, the disjoint union of the homotopy quotients of 𝒞n under the action of the symmetric group of degree n). Moreover, the left adjoint 𝒫 to the forgetful functor U:CatccCat being symmetric monoidal, its right adjoint is lax symmetric monoidal [36, Cor 7.3.2.7], so they induce an adjunction

and the commutativity of the following square of forgetful right adjoint functors shown below on the right implies the commutativity of the square of their left adjoints (on the left below).

This means that the functor 𝒫 preserves the “freeness” of monoids. If 𝒞 is a small -category, so is Sym(𝒞), and 𝒫(Sym(𝒞))=Sym(𝒞)^, which gives the desired result.

Theorem 23.

Catprof is a Lafont -category. The free commutative comonoid on 𝒞^ is Sym𝒞^.

 Remark 24.

The authors of [16] have described a cartesian closed bicategory in which objects are small categories and morphisms are profunctors Sym𝒞-↦→𝒟 (called generalized species). In [15], they extend upon this result by explicitly building a “bicategorical model” of differential linear logic, based on the comonad Sym on the bicategory of small categories and profunctors. As discussed at the beginning of this section, Catprof can thought of as the -category of small -categories and -profunctors. The formula given by the theorem for the free commutative monoid on 𝒞^ shows that this model is an -categorical generalization of the one of [15]. Note however that their model is bicategorical in a full (2,2)-categorical sense, while ours is (,1)-categorical. We expect our model to be generalizable to the (,2)-categorical setting and the results of [15] to hold there.

 Remark 25.

Restricting Catprof to -categories of the form X^ where X is an -groupoid still yields a Lafont -category (in view of the formula for the comonad). Then, we have Catprof(X^,Y^)Fun(X×Y,𝒮)𝒮/X×YSpan(X,Y), the -category of spans between X and Y. In view of this, this model restricted to -groupoids can be seen as a fully homotopy coherent version of the “wild” model of spans and polynomial functors described by the authors in [23].

Proof of Theorem 23.

In view of the formula for the left adjoint to the forgetful functor Mon(Catcc)Catcc given for presheaf -categories in Lemma 22, we see that the free/forgetful adjunction restricts to one between Catprof and Mon(Catprof). To obtain a Lafont model, we are going to use Proposition 13 and we are left with showing that Catprof is -autonomous. Having done that, the formula for the free commutative comonoid will also follow from Proposition 13 and the observation that (Sym𝒞op)opSym𝒞.

We now show that 𝒮=1^ is a dualizing object in Catprof. For every small -category 𝒞, we write H𝒞:𝒞𝒞^ for the yoneda embedding. We write [,]cc for the internal hom in Catcc. Given a cocomplete -category 𝒟, the restriction functor H𝒞:[𝒞^,𝒟]cc[𝒞,𝒟] is an equivalence, with inverse LanH𝒞:[𝒞,𝒟][𝒞^,𝒟]cc given by left Kan extension along H𝒞 [35, Thm 5.1.5.6].

Let 𝒞 be a small -category. Write f for the composite of the following sequence of equivalences of -categories

To show that the canonical morphism 𝒞^[[𝒞^,𝒮]cc,𝒮]cc is an equivalence, it suffices to show that f satisfies the commutativity condition of Lemma 14. Since the tensor product of -categories with colimits classifies functors that preserve colimits in both variables, this reduces to showing that the following diagram of -categories commute.

Simplifying furthermore through the equivalence LanH𝒞:𝒞op^[𝒞^,𝒮]cc, this amounts to showing that the two following maps 𝒞op^×𝒞^𝒮 are naturally isomorphic:

(F,G) LanH𝒞(F)(G) (F,G) LanH𝒞op(G)(F)

According to [24, Prop 4.8], those left Kan extensions can be computed as weighted colimits, which themselves can be defined as coends, so that the desired isomorphism becomes

c𝒞F(c)×G(c)c𝒞opG(c)×F(c)

This isomorphism itself follows from the symmetry of the cartesian product together with the self-duality of coends, which can be seen easily through the definition of coends as colimits indexed on the twisted arrow -category Tw(𝒞) [24, Cor 3.8] together with the equivalence Tw(𝒞)Tw(𝒞op) [37, Tag 03JL].

 Remark 26.

The reader may recognize the formula c𝒞F(c)×G(c) as the definition of the tensor product of the copresheaf F with the presheaf G. This tensor product is characterized as being cocontinuous in both its arguments and being the Hom functor 𝒞op×𝒞𝒮 when restricted to representable (co)presheaves. In a sense, we just proved that the evaluation functors 𝒞^×𝒞^()𝒮 simply reduce to extensions of the Hom functor, which can be thought of as a generalization of the Yoneda lemma.

5 Spectra

Having generalized models of linear logic based on domains and relations in Section 4, we now turn to -categorical versions of linear algebraic models. Using the cartesian symmetric monoidal structure on 𝒮, one can consider the -category Mon(𝒮) (or simply Mon) of commutative monoids in 𝒮. A commutative monoid MMon is said to be a commutative group if for every xM, the multiplication map x:MM is an isomorphism of -groupoids. The full subcategory of Mon spanned by the commutative groups is written Grp(𝒮) (or simply Grp). To generalize the lnl adjunction between Set and Ab to the -categorical setting, we could look for an lnl adjunction between 𝒮 and Grp. The first step would thus be to find a symmetric monoidal structure on Grp. We could do this directly, but we prefer to take a small detour to explore a bigger -category of interest in homotopy theory: the -category of spectra [36, Def 1.4.3.1].

We write 𝒮 for the -category of pointed -groupoids, i.e. -groupoids X equipped with a distinguished object X. Given X𝒮, we write ΩX=HomX(X,X) for its loop space, and πn(X)π0(ΩnX) where π0(X) is the set of connected components of X.

Definition 27.

A spectrum is a sequence of pointed -groupoids (Xn)n together with pointed isomorphisms XnΩXn+1 for every n. The -category Sp of spectra is by definition the limit of the infinite tower of -categories . The forgetful functor Sp𝒮, (Xn)X0 is called the infinite loopspace functor and is written Ω.

Let (Xn) be a spectrum. We have π0(X0)π1(X1), so π0(X0) comes equipped with a group structure. But we also have π0(X0)π2(X2), so this group structure is abelian. In a sense, the infinite sequence of deloopings of X0 equip it with a commutative group structure, and indeed if all the Xi are connected, then their data is precisely equivalent to the data of a commutative group structure on X0.

Definition 28.

A spectrum in which Xn is connected when n1 is said to be connective. The full subcategory of Sp spanned by the connective spectra is written Spcn.

Spectra can be thought of as a generalization of the notion of commutative group, in the sense that we have an equivalence of -categories GrpSpcn [36, Rmk 5.2.6.26]. The infinite loopspace functor Ω has a left adjoint Σ:𝒮Sp [36, proof of Prop 1.4.3.4], whose essential image is contained in Spcn. Under the previous equivalence, Σ should be thought of as computing the “free homotopy commutative group” on a pointed space X𝒮.

The -category of pointed -groupoids is monoidal [36, Rmk 4.8.2.14]:

Theorem 29.

There is a symmetric monoidal structure on 𝒮, entirely characterized by its unit being the 0-sphere S0 (i.e. the discrete 2-point space with a distinguished point) and by its tensor product preserving small colimits in both variables. This tensor product is the smash product of pointed spaces.

There is also a monoidal structure on spectra [36, Cor 4.8.2.19, Lem 7.1.1.7]:

Theorem 30.

There is a symmetric monoidal structure on Sp: its unit is the object 𝕊ΣS0 (the sphere spectrum) and its tensor product preserves small colimits in both variables. Moreover 𝕊 is connective and the tensor product preserves connective spectra, so this structure restricts to a symmetric monoidal structure on Spcn.

Theorem 31.

There is a chain of symmetric monoidal left adjoints

where the symmetric monoidal structure on 𝒮 is the cartesian one, the one on 𝒮 is given by the smash product of Theorem 29, and the ones on Spcn and Sp are the ones in Theorem 30. In particular, there is an lnl adjunction between spaces and spectra.

Proof.

Using the machinery of [36, Section 4.8.2], writing PrL for the symmetric monoidal -category of presentable -categories and cocontinuous functors (inheriting the monoidal structure from the one of Proposition 15[36, Prop 4.8.1.15], we have that (𝒮,1), (𝒮,S0) and (Sp,𝕊) are idempotent objects of PrL [36, Prop 4.8.2.11, Prop 4.8.2.18]. The concontinuous functors ()+ and Σ respectively map 1𝒮 to S0𝒮, and S0𝒮 to 𝕊Sp, therefore, by [36, Prop 4.8.2.9], they lift to symmetric monoidal functors between the induced monoidal structures. The inclusion SpcnSp is symmetric monoidal by Theorem 30. The fact that this inclusion has a right adjoint can be seen in multiple ways, for instance we can invoke the adjoint functor theorem using the fact that the inclusion preserves colimits, and showing that Spcn is presentable by identifying Grp as a strongly reflective subcategory of Mon and using the equivalence GrpSpcn.

 Remark 32.

With more effort, this chain of adjunctions could be made to include the factorization 𝒮MonGrp. The -category Mon is the -category of the 𝒮-models of the Lawvere theory of commutative monoids [8], so one can show that for any presentable -category 𝒞, Mon𝒞Mon(𝒞). In particular, MonMonMon(Mon), which can be shown to be equivalent to Mon. This means that Mon is also an idempotent object of PrL, which is enough to conclude. We could also do the same reasoning with Grp to show that it is idempotent independently from it being a subcategory of Sp. We conjecture this kind of argument to be a generalization to the -categorical setting of a standard reasoning giving closed symmetric monoidal structures on categories of models of commutative algebraic theories [42, 30].

 Remark 33.

Following the preceding remark, if X is a pointed connected space, i.e. satisfying π0(X)=1, then the free commutative monoid on X is already a group by the James construction [12]! This fact can be used to give a formula for the comonad ΣΩ𝕏 when 𝕏 is a connected supension spectrum (i.e. lying in the image of Σ): under that assumption, we have ΣΩ𝕏n1𝕏Σnn [3, Ex 1.2.6], which looks like the formula for the free commutative algebra (with specified unit) on 𝕏 (note that the free commutative algebra is in general a monad, not a comonad). For that reason, the comonad ΣΩ has been conjectured to be an exponential comonad for a homotopical model of linear logic in the context of Goodwillie’s calculus of functors [43]. However, the monoidal structure on 𝒮 is not cartesian, so its adjunction with Sp is not lnl. Instead, taking the comonad ΣΩ()+ induced by the adjunction between 𝒮 and Sp gives the formula

ΣΩ𝕏+ΣΩ𝕏𝕊n0𝕏Σnn

for 𝕏 a connected suspension spectrum. The added term n=0 makes the right handside equivalent to the free commutative algebra on 𝕏.

This phenomenon is truly exclusive to the homotopical setting: if one wanted to obtain a similar result for abelian groups for instance, the result is still true but the assumption of 𝕏 being connected is only satisfied by the trivial group. In general there is no reason to expect the “free commutative group on a commutative group” comonad and the “free commutative algebra” monad to coincide.

 Remark 34.

Note that the symmetric monoidal -category Sp satisfies the hypotheses of Theorem 10, so in particular it is Lafont. However, similarly to the 1-categorical case of R-modules (or vector spaces), the comonad induced by the cofree commutative comonoid and the one induced by the adjunction with 𝒮 are wildly different.

 Remark 35.

The -category Sp is not -autonomous, as it is presentable (see the discussion at the end of Section 3.3). However, it is known in stable homotopy theory that every finite spectrum is dualizable (with a finite dual), so the -category of finite spectra is compact closed. We do not elaborate further on finite spectra or compact closedness here, but note that this should imply -autonomy with the unit spectrum 𝕊 as a dualizing object. Moreover using the equivalence Σ:SpFinSpFin:Ω, this also implies that every Σn𝕊, with n, is a dualizing object. This gives an example of a -autonomous -category with multiple dualizing objects.

 Remark 36.

Beyond the lnl adjunctions we described in this paper, the chains of adjunctions of Remark 17, Theorem 31 and Remark 32 all give examples of resource modalities [39]. In particular, the chain of adjunctions

decomposes the linear exponential comonad ΣΩ()+ into an affine exponential ()+ on 𝒮 followed by a relevant exponential ΣΩ on Sp. From the point of view of linear logic, this corresponds to considering separately the dynamics of weakening and contraction, see also [28].

6 Future work

In the proof of Theorem 23, we have shown that the symmetric monoidal -category Catprof is -autonomous. We actually expect it to be compact closed, i.e. that all objects admit duals in the sense of [36, Sec 4.6]. We should also prove that compact closedness implies -autonomy as in the 1-categorical case, but we do not expect any surprises there.

As said in Remark 24, we expect that the (,1)-category Catprof can be enhanced to an (,2)-category (for instance using its monoidal closure together with the lax monoidal forgetful functor CatccCat), and that it should form an (,2)-categorical model of differential linear logic, in a sense appropriately generalized from [15].

It has also been conjectured that Goodwillie’s calculus of functors [22, 36] should be an (,2)-categorical model of differential linear logic in some sense, and we hope that the theory we developed in this paper can be a first step towards the solving of that conjecture.

References

  • [1] Samson Abramsky and Achim Jung. Handbook of Logic in Computer Science, volume 3, chapter Domain theory, pages 1–168. Clarendon Press, Oxford, 1994.
  • [2] Jiří Adámek and Jiří Rosickỳ. Locally presentable and accessible categories, volume 189. Cambridge University Press, 1994.
  • [3] Gregory Arone and Michael Ching. Goodwillie calculus. In Handbook of homotopy theory, pages 1–38. Chapman and Hall/CRC, 2020.
  • [4] Michael Barr. Coalgebras over a commutative ring. Journal of Algebra, 32(3):600–610, 1974.
  • [5] Michael Barr. -autonomous categories and linear logic. Mathematical Structures in Computer Science, 1(2):159–178, 1991. doi:10.1017/S0960129500001274.
  • [6] Jon Beck. Distributive laws. In Seminar on Triples and Categorical Homology Theory, pages 119–140, Berlin, Heidelberg, 1969. Springer Berlin Heidelberg.
  • [7] Nick Benton. A mixed linear and non-linear logic: Proofs, terms and models. In International Workshop on Computer Science Logic, pages 121–135. Springer, 1994.
  • [8] John D. Berman. Higher lawvere theories. Journal of Pure and Applied Algebra, 224(9):106362, 2020.
  • [9] Gavin M. Bierman. What is a categorical model of intuitionistic linear logic? In Typed Lambda Calculi and Applications, Second International Conference on Typed Lambda Calculi and Applications, TLCA, volume 902 of Lecture Notes in Computer Science, pages 78–93. Springer, 1995. doi:10.1007/BFB0014046.
  • [10] Pierre-Louis Curien. Operads, clones, and distributive laws. In Operads and universal algebra, pages 25–49. World Scientific, 2012.
  • [11] Valeria de Paiva. Categorical Semantics of Linear Logic for All, pages 181–192. Springer Netherlands, Dordrecht, 2014.
  • [12] Sanath Devalapurkar and Peter Haine. On the James and Hilton-Milnor splittings, and the metastable EHP sequence. Documenta Mathematica, 26:1423–1464, 2021.
  • [13] Eric Finster, Samuel Mimram, Maxime Lucas, and Thomas Seiller. A cartesian bicategory of polynomial functors in homotopy type theory. In Proceedings 37th Conference on Mathematical Foundations of Programming Semantics, MFPS 2021, volume 351 of EPTCS, pages 67–83, 2021. doi:10.4204/EPTCS.351.5.
  • [14] Marcelo Fiore, Zeinab Galal, and Hugo Paquet. Stabilized profunctors and stable species of structures. Logical Methods in Computer Science, 20, 2024. doi:10.46298/LMCS-20(1:17)2024.
  • [15] Marcelo Fiore, Nicola Gambino, and Martin Hyland. Monoidal bicategories, differential linear logic, and analytic functors. Preprint, 2024. arXiv:2405.05774.
  • [16] Marcelo Fiore, Nicola Gambino, Martin Hyland, and Glynn Winskel. The cartesian closed bicategory of generalised species of structures. Journal of the London Mathematical Society, 77(1):203–220, 2008.
  • [17] Grant A. Fraser. The semilattice tensor product of distributive lattices. Transactions of the American Mathematical Society, 217:183–194, 1976.
  • [18] Nicola Gambino and Joachim Kock. Polynomial functors and polynomial monads. Mathematical proceedings of the cambridge philosophical society, 154(1):153–192, 2013.
  • [19] David Gepner, Rune Haugseng, and Joachim Kock. -operads as analytic monads. International Mathematics Research Notices, 2022(16):12516–12624, 2022.
  • [20] Jean-Yves Girard. Linear logic. Theoretical computer science, 50(1):1–101, 1987. doi:10.1016/0304-3975(87)90045-4.
  • [21] Jean-Yves Girard. Normal functors, power series and λ-calculus. Annals of pure and applied logic, 37(2):129–177, 1988. doi:10.1016/0168-0072(88)90025-5.
  • [22] Thomas G Goodwillie. Calculus III: Taylor series. Geometry & Topology, 7(2):645–711, 2003.
  • [23] Elies Harington and Samuel Mimram. Polynomials in homotopy type theory as a Kleisli category. In Proceedings of MFPS XL, volume 4 of Electronic Notes in Theoretical Informatics and Computer Science, 2024.
  • [24] Rune Haugseng. On (co) ends in -categories. Journal of Pure and Applied Algebra, 226(2):106819, 2022.
  • [25] Simon Henry and Nicholas J. Meadows. Higher theories and monads. Preprint, 2021. arXiv:2106.02706.
  • [26] Martin Hyland and Andrea Schalk. Abstract games for linear logic extended abstract. Electronic Notes in Theoretical Computer Science, 29:127–150, 1999.
  • [27] Martin Hyland and Andrea Schalk. Glueing and orthogonality for models of linear logic. Theoretical computer science, 294(1-2):183–231, 2003. doi:10.1016/S0304-3975(01)00241-9.
  • [28] Bart Jacobs. Semantics of weakening and contraction. Annals of Pure and Applied Logic, 69(1):73–106, 1994. doi:10.1016/0168-0072(94)90020-5.
  • [29] André Joyal. Quasi-categories and Kan complexes. Journal of Pure and Applied Algebra, 175(1-3):207–222, 2002.
  • [30] William F. Keigher. Symmetric monoidal closed categories generated by commutative adjoint monads. Cahiers de topologie et géométrie différentielle, 19(3):269–293, 1978.
  • [31] Marie Kerjean. Weak topologies for linear logic. Logical Methods in Computer Science, 12, 2016. doi:10.2168/LMCS-12(1:3)2016.
  • [32] Joachim Kock. Data types with symmetries and polynomial functors over groupoids. Electronic Notes in Theoretical Computer Science, 286:351–365, 2012.
  • [33] Joachim Kock, André Joyal, Michael Batanin, and Jean-François Mascari. Polynomial functors and opetopes. Advances in Mathematics, 224(6):2690–2737, 2010.
  • [34] Yves Lafont. Logiques, catégories et machines. PhD thesis, Université Paris 7, 1988.
  • [35] Jacob Lurie. Higher topos theory. Princeton University Press, 2009.
  • [36] Jacob Lurie. Higher algebra. Preprint, 2017. URL: https://people.math.harvard.edu/˜lurie/papers/HA.pdf.
  • [37] Jacob Lurie. Kerodon. https://kerodon.net, 2018.
  • [38] Paul-André Mellies. Categorical semantics of linear logic. Panoramas et syntheses, 27:15–215, 2009.
  • [39] Paul-André Melliès and Nicolas Tabareau. Resource modalities in tensor logic. Annals of Pure and Applied Logic, 161(5):632–653, 2010. doi:10.1016/J.APAL.2009.07.018.
  • [40] Paul-André Melliès, Nicolas Tabareau, and Christine Tasson. An explicit formula for the free exponential modality of linear logic. Mathematical Structures in Computer Science, 28(7):1253–1286, 2018. doi:10.1017/S0960129516000426.
  • [41] Paul-André Melliès. Categorical models of linear logic revisited. Unpublished manuscript, 2003. URL: https://hal.science/hal-00154229.
  • [42] nLab authors. commutative algebraic theory. https://ncatlab.org/nlab/show/commutative+algebraic+theory, February 2025. Revision 39.
  • [43] nLab authors. Goodwillie calculus. https://ncatlab.org/nlab/show/Goodwillie+calculus#GoodwillieDerivativeOfExponentialModality, February 2025. Revision 68.
  • [44] Emily Riehl. Categorical homotopy theory, volume 24. Cambridge University Press, 2014.
  • [45] R. A. G. Seely. Linear logic, -autonomous categories and cofree coalgebras. In Categories in computer science and logic, Contemp. Math., pages 371–382. American Mathematical Society, 1989.
  • [46] Moss E. Sweedler. Hopf algebras, volume 44 of Mathematics lecture note series. W. A. Benjamin, 1969.
  • [47] The Univalent Foundations Program. Homotopy Type Theory: Univalent Foundations of Mathematics. https://homotopytypetheory.org/book, Institute for Advanced Study, 2013.
  • [48] Benoît Valiron and Steve Zdancewic. Modeling simply-typed lambda calculi in the category of finite vector spaces. Scientific Annals of Computer Science, 24(2), 2014. doi:10.7561/SACS.2014.2.325.

Appendix A Appendix

A.1 Proof of Theorem 10

Lemma 37.

Given a symmetric monoidal presentable -category 𝒞 such that the functor A:𝒞𝒞 preserves small colimits for every object A𝒞, the -category Comon(𝒞) is accessible.

Proof.

To show that Comon(𝒞) is accessible, we use [35, Thm 5.4.7.11] which, given a well-behaved ambient large -subcategory of Cat, provides sufficient conditions for the -category of sections of a (locally) cocartesian fibration p:XS sending some distinguished morphisms in S to p-cocartesian morphisms in X to be in this class. Here, we will take the -category Coacc of coaccessible -categories and coaccessible functors as ambient -category and we will consider p:(𝒞op)Fin to be the monoidal structure of 𝒞 with inert morphisms as distinguished ones, so that the -category of sections is precisely Mon(𝒞op). We first need to show that Coacc satisfies the hypothesis of the theorem.

  1. (a)

    By [35, Prop 5.4.7.3], Acc admits small limits and the forgetful functor AccCat preserves small limits. By duality (the equivalence op:CatCat restricts to an equivalence CoaccAcc), Coacc also has small limits and the functor CoaccCat preserves them.

  2. (b)

    Given a coaccessible -category 𝒜, we have Fun(Δ1,𝒜)opFun(Δ1,𝒜op) (because (Δ1)opΔ1), which is accessible by [35, Prop 5.4.4.3], and Fun(Δ1,𝒜) is coaccessible.

  3. (c)

    Given coaccessible -categories 𝒜 and , a functor F:𝒜Fun(Δ1,) is coaccessible if and only if the two functors 𝒜 induced by restricting to the vertices of Δ1 are coaccessible. This is because coaccessibility is a limit-preservation property, and limits in functor -categories are computed pointwise [35, Cor 5.1.2.3].

We now show that the map p:(𝒞op)Fin satisfies the hypotheses of the theorem.

  1. (i)

    By definition of being a symmetric monoidal -category, the functor p:(𝒞op)Fin is a cocartesian fibration, and thus a categorical fibration and a locally cocartesian fibration.

  2. (ii)

    The fiber of p over [n]Fin is isomorphic to (𝒞op)n, which is coaccessible because 𝒞op is coaccessible and by ˜a.

  3. (iii)

    Given a pointed map fHomFin([m],[n]), the induced functor F(𝒞op)m(𝒞op)n induced by the monoidal structure on 𝒞op is opposite to the functor 𝒞m𝒞n induced by the monoidal structure on 𝒞. This latter functor is accessible by virtue of [36, Lem 3.2.3.4], so F is coaccessible.

By [35, Thm 5.4.7.11], Mon(𝒞op) is thus coaccessible, so that Comon(𝒞) is accessible.

A.2 Proof of Theorem 21

Proof of Theorem 21.

The proof follows the one of [36, Prop 4.8.4.2], but without the smallness assumption on the class of simplicial sets 𝒦. To keep track precisely of size issues, fix Grothendieck universes 𝒰0𝒰1𝒰2. The -category Catcc is by definition the -category of 𝒰1-small -categories that admit 𝒰0-small colimits. Given a diagram χ:JCatcc, proposition 4.8.4.2 of [36] guarantees that there exists 𝒰2-small -category 𝒞 which is a colimit of this diagram, with an explicit description given in the proof of [35, Prop 5.3.6.2]. We need to show that it is actually (essentially) 𝒰1-small.

To construct the -category 𝒞, first take a colimit 𝒟 of the composition χ𝜒CatccCat. Let 𝒟^ denote the -category of 𝒰1-small presheaves on 𝒟, i.e. 𝒟^ is the 𝒰2-small free cocompletion of 𝒟 under 𝒰1-small colimits. Then we need to “force” the cocones in 𝒟^ coming from colimiting cocones in the -category of the diagram χ to become coliming cocones. This is done by taking S-local objects in 𝒟^ for a well-chosen class of morphisms S, this defines a reflective subcategory The -category 𝒞 is finally obtained by considering the smallest full subcategory of 𝔻 containing the image of 𝒟𝒟^𝑟𝔻 and closed under 𝒰0-small colimits.

The -category 𝒟^ is locally 𝒰1-small since it is a -category of 𝒰1-small presheaves [35, Ex 5.4.1.8], so 𝒞 is also locally 𝒰1-small (as a full subcategory of a locally small -category). To show it is (essentially) 𝒰1-small, it suffices to show that the set of equivalence classes of its objects is 𝒰1-small. Write 𝒞0 for the image of the functor 𝒟𝒟^𝑟𝔻. Since 𝒟 is 𝒰1-small, so is 𝒞0. By definition, 𝒞 is the smallest full subcategory of 𝔻 containing 𝒞0 and closed under 𝒰0-small colimits. We describe 𝒞 more explicitly as the union of a monotonous sequence (𝒞α) of subcategories of 𝔻, where α takes values in all 𝒰0-small ordinals. When α=α+1, define 𝒞α to be the the full subcategory of 𝔻 on objects that are colimits of 𝒰0-small diagrams in 𝒞α. When α=limαi, define 𝒞α to be the union of the 𝒞αi. Write ϵ for the smallest ordinal of cardinality that of 𝒰0. We claim that 𝒞=𝒞ϵ. Clearly, every 𝒞α is a full subcategory of 𝒞. It thus suffices to show that 𝒞ϵ is closed under 𝒰0-small colimits. Let ξ:K𝒞ϵ a 𝒰0-small diagram in 𝒞ϵ. Since K is 𝒰0-small, the colimit of ξ belongs to 𝒞α for some |K|<α<ϵ, and hence also belongs to 𝒞ϵ. This concludes the proof that Catcc admits 𝒰0-small colimits.

To prove that the monoidal structure is compatible with colimits, it suffices to notice that Catcc is monoidal closed, i.e. the functor 𝒞:CatccCatcc has a right adjoint, given by Funcc [36, Rem 4.8.1.6], and that left adjoints preserve any existing colimits [35, Prop 5.2.3.5].