Manuscript Offprint
arXiv:2610.10789An explicit shuffle construction of the homotopy span model of differential linear logic
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
MFPS 2026 Proceedings
An explicit shuffle construction of the homotopy span model of linear logic
Paul-André Melliès Federico Olimpieri Lionel Vaux Auclair
CNRS, Université Paris Cité, Inria, Paris, France
Aix Marseille Univ, CNRS, LIS, Marseille, France
Aix Marseille Univ, CNRS, I2M, Marseille, France
Abstract
We give a direct and explicit construction of the homotopy span model of linear logic originally formulated by Melliès using abstract homotopy theory in the Quillen category Cat of small categories equipped with its natural model structure. Following the principles of homotopy theory, the formulas and proofs of linear logic are interpreted in the model as small categories up to categorical equivalence, the notion of weak homotopy equivalence underlying the natural Quillen model structure on Cat. Here, we explain how the original interpretation of proofs as fibrant spans can be replaced by a more liberal interpretation of proofs as separately fibrant spans. This relaxation from fibrant spans to separately fibrant spans enables us to give a simple and intuitive description of the homotopy span model, where the axiom and cut links are interpreted as identity spans, and where the symmetries of the exponential modality are captured by a shuffle structure on the interpretation of proofs.
About twenty years ago, Fiore, Gambino, Hyland and Winskel introduced a categorified version of the relational semantics based on distributors, motivated by an unexpected link with Joyal's theory of combinatorial species [13]. This step of categorification is needed in order to obtain a concrete interpretation of linear logic, where the elements of the denotation of a proof coincide with the (equivalence classes of) derivation trees typing the proof in a specific intersection type system [29].
The model of generalized species has been a source of inspiration for a new generation of categorified models based on distributors [17,16,12]. An alternative way to categorify relations between sets is to refine them into functional spans between categories. Melliès explained how to construct a functional span model
This work has received funding from the European Research Council under the European Union’s Horizon 2020 research and innovation programme (Synergy Project Malinca, ERC Grant Agreement No 670624).
This work received support from the French government under the France 2030 investment plan, as a part of the Initiative d’Excellence d’Aix-Marseille Université-AMIDEX, AMX-CPJ-2024-09.
Partially funded by French ANR projects PPS (ANR-19-CE48-0014), Lambda-Comb (ANR-21-CE48-0017), and ReCiProg (ANR-21-CE48-0019).
MFPS 2026 Proceedings will appear in Electronic Notes in Theoretical Informatics and Computer Science of linear logic [27] based on template games, where functional spans are considered up to homotopy in the natural Quillen model structure. Following the homotopy span model, other approaches to functional spans based on biorthogonality [5] or -categories [20] have been developed. In this paper, we will give a more explicit presentation of the homotopy span model, exploiting the key notion of shuffle permutation on the letters of a finite word. We start by recalling the homotopy span model and its relationship with the generalized species interpretation of linear logic.
Two alternative categorifications of relations
Given two sets and , every binary relation may be equivalently described as a function where denotes the set of booleans, or as a span consisting of a set and of two jointly injective functions and . Each point of view induces a specific way to categorify the notion of binary relation, and to refine the category of sets and relations into a bicategory of categorified relations between small categories and .
In the first approach, one defines the bicategory of small categories and distributors, where a distributor is defined as a set-valued functor , composed by a coend formula, and where a 2-cell between distributors is defined as a natural transformation between the underlying functors.
In the second approach, one defines the bicategory of small categories and spans of functors where a span is defined as a triple consisting of a small category called the support category of , and of a pair of functors
composed by computing pullbacks in Cat, and where a 2-cell (called a simulation 2-cell) between spans is defined as a functor between the underlying support categories, making the diagram commute:
Note that Span is the usual span construction of a bicategory on the category Cat with pullbacks. Interestingly, both bic categories Dist and Span are *-autonomous (in fact compact closed) with tensor product defined as categorical product , as well as cartesian and cocartesian with sum and product both defined as categorical sum . For that reason, Dist and Span define models of the multiplicative additive fragment MALL of linear logic.
Similitudes and differences between Dist and Span
Before reviewing how the bic categories Dist and Span were equipped in [13,27] with an interpretation of the exponential modality to obtain a model of linear logic, we find useful to mention that both categorifications share an important formal property: namely, each functor induces an adjunction
in the bic categories and . In Dist, the adjunction is defined as follows:
while the adjunction of spans in Span is defined as follows
Note that if we consider the category Cat as the 2-category Cat= with identity 2-cells only, then the construction is functional in both cases, in the sense that it defines a weak 2-functor between bic categories (also called a pseudofunctor) for both Dist and Span. On the other hand, one key difference between Dist and Span is that if, instead of Cat=, we consider Cat as the 2-category Cat with all natural transformations as 2-cells, then extends to a weak 2-functor in the case but not in the case . Indeed, a 2-cell from to in Span is given by an endofunctor making the diagram (2) commute with both source_S and source_T being identity functors : the only possible choice for is also , which forces .
From now on, whenever we consider Cat as a 2-category (and thus bicategory), we do mean Cat , unless specified otherwise.
The free symmetric monoidal category construction
As we will see below, the interpretation of the exponential modality in the bic categories and is derived in [13,27] from the 2-monad which transports every small category to the symmetric strict monoidal category freely generated by . In both cases, categorifies the finite multiset monad from which one derives the exponential modality in the relational semantics of linear logic.
We recall that the category has its objects defined as finite words of objects of , and its morphisms defined as tuples consisting of a permutation together with a finite word of morphisms in the category ; there are no morphisms between words of different lengths. The construction defines a 2-monad equipped with cartesian natural 2-transformations: the multiplication given by the concatenation of words of words, and unit given by the singleton word.
Moreover, every pair of small categories A and B induces a pair of functors
defining an equivalence of categories, as noted in [13, Lemma 5.2.1]. These functors, which can be derived from the universal property of Sym, are explicitly defined as follows:
where the finite words and are uniquely characterized by the fact that there exist jointly surjective functions and such that for all and for all . The families and define natural transformations between the 2-functors defined as and . Both natural 2-transformations are moreover cartesian, in the sense that the commuting squares for naturality are pullback squares. The 2-monad also comes with functors
defining an equivalence of categories, where 0 is the empty category, and 1 is the singleton category. The family of functors equips the 2-functor with the structure of a symmetric monoidal 2-functor from to , whose monoidal coercions, in both directions, are categorical equivalences. For these reasons the 2-monad may be called a cartesian symmetric monoidal 2-monad.
From now on, we will call (3) and (4) Seely equivalences since they induce what plays the rôle of Seely isomorphisms in the categorified interpretation of linear logic discussed below.
The distributor model of linear logic
Fiore, Gambino, Hyland and Winskel explained in their seminal and celebrated paper on generalised species [13] how to use the free symmetric monoidal category 2-monad Sym : Cat → Cat in order to turn Dist into a 2-dimensional model of linear logic. The construction relies on two main ingredients.
The first ingredient is the existence of a distributivity law between Sym and the presheaf (relative) monad on Cat [14], which enables one to extend the 2-monad Sym : Cat → Cat to a weak 2-monad Sym? : Dist → Dist – see the discussion in [24]. The weak 2-monad is then transformed by duality into a weak 2-comonad Sym₁ : Dist → Dist obtained by precomposing and postcomposing Sym? with the 2-functor op : Dist → Dist^{op(1)} which sends every small category A to its opposite category A^{op}. Here, we write Dist^{op(1)} for the bicategory Dist where the orientation of 1-cells (but not of 2-cells) has been reversed.
The second ingredient, less known but just as important as the first one, is the fact that, as discussed above, the weak 2-functor does extend to a weak 2-functor . This ensures that transports the Seely equivalence (3) and (4) from the 2-category to the corresponding Seely equivalence in the bicategory .
An apparent obstruction to the construction of the span model of linear logic
Somewhat surprisingly, one bumps against a serious obstruction when one tries to obtain a model of linear logic based on spans, by extending the 2-monad Sym : Cat → Cat to the bicategory Span instead of Dist. Indeed, as mentioned above and in contrast to what happens with Dist, the weak 2-functor L : Cat = → Span does not extend to Cat →. Hence, it does not transport the Seely equivalence (3) living in the 2-category Cat → to a Seely equivalence living in the bicategory Span. On the other hand, we are not far from a linear logic model, since Sym lifts to a weak 2-monad on Span as a cartesian 1-monad on Cat [4,30]; Sym is moreover both lax and oplax monoidal on Cat, as supported by the Seely equivalences (3). For this reason, Sym may be called a bilax monoidal (2-)monad on Cat [1], and the whole structure lifts to Span because (3) is cartesian. However, the fact that L does not extend to the 2-dimensional structure of Cat → implies in particular that the equivalence (3) in Cat → is not transported to an equivalence in the bicategory Span.
Melliès [27] explained how to use abstract homotopy theory in order to resolve the obstruction and to define a homotopy variant HoSpan of the original bicategory Span suitable for the interpretation of linear logic. The philosophy of abstract homotopy theory is that the “good” homotopic constructions performed in a Quillen model category should not depend on the choice of objects up to homotopy. Given an object, there is often a large number of alternative choices of objects equivalent up to homotopy, and a good practice is thus to pick a specific object defined in a principled way.
In his original construction, Melliès [27] interpreted proofs using fibrant objects and fibrant replacements in the hom-category . Our goal in the present work is to give a more direct and explicit construction of this 2-dimensional model, where the fibrant spans are replaced by separately fibrant spans carefully chosen at each step of the interpretation. This construction highlights the combinatorial nature of the interpretation, and reveals the existence of a factorization system on shuffles in the symmetric monoidal category , seen as an operad.
Plan of the paper
After this long but necessary introduction on the bicategorical semantics of linear logic, we will expose in more detail the homotopy span model recently formulated by Melliès [27] in section 2. In particular, we explain how it takes advantage of homotopy ideas in order to transport the Seely equivalences in Cat to Seely equivalences in the homotopy variant HoSpan, constructed from Span using the natural Quillen model structure on Cat.
In section 3 and onwards, we describe how the formulae and proofs of linear logic are interpreted in our new and more explicit formulation of the model, based on shuffles. The interpretation relies in particular on a factorization property of the operad , of independent interest, which we choose to present in section 4. One main contribution is to show how this factorization property allows to give a simple and concrete separately fibrant interpretation of promotion: this is done in section 5. We then conclude in section 6.
2 The homotopy span model of linear logic
The key observation made in [27] is that a natural isomorphism between functors in Cat is not transported to an invertible 2-cell in the bicategory Span, but to a cospan of 2-cells from and to the span :

defined as follows

Here, the span is defined as where denotes the cylinder category defined as the cartesian product of the small category with the interval groupoid with two objects 0 and 1 and a unique isomorphism between them. The functors , and are defined as , and for , while the functor provides an alternative description of the natural isomorphism with , , .
An additional observation made in [27] is that the functors are fully faithful and essentially surjective, and thus equivalences of categories. This strongly suggests to localize (or formally invert) in the hom-category every morphism given by a simulation 2-cell (2) whose underlying functor is an equivalence of categories. This localization can be neatly performed using the tools of abstract homotopy theory, and in particular the notion of Quillen model category. Recall [25,31] that the category comes equipped the natural Quillen structure defined as follows:
• the class W of weak equivalence is the class of equivalences of categories,
• the class C of cofibrations is the class of functors injective on objects,
- the class of fibrations is the class of isofibrations – recall that a functor is an isofibration if for any object and any isomorphism with target in , there exists an isomorphism with target in such that .
From this follows [21] that every hom-category comes equipped as a slice category with a Quillen model structure :
-
a weak equivalence in is a simulation 2-cell whose underlying functor is an element of , that is, an equivalence of categories;
-
a cofibration in is a simulation 2-cell whose underlying functor is an element of , that is, a functor injective on objects;
-
a fibration in is a simulation 2-cell whose underlying functor is an element of , that is, a isofibration.
This defines what we like to call the natural model structure on . The category obtained by localizing in all weak equivalences in is then the homotopy category associated to this natural Quillen model structure. One important point is that this category cannot be easily described by applying a purely 2-categorical approach: note in particular that although the weak equivalences are adjoint equivalences in the 2-category , they are not adjoint equivalences in the 2-category of functional spans over and .
Morphisms in a Quillen model category.
We follow a well-established tradition in homotopy theory and draw every cofibration and every fibration . We also indicate with a sign that a morphism is a weak equivalence. Typically, an acyclic cofibration is defined as an element of , that is, a weak equivalence which is at the same time a cofibration; and an acyclic fibration is an element of . By way of illustration, we could rewrite the Seely equivalence (3) as
in order to stress the fact that is an acyclic cofibration and that is an acyclic fibration in the natural Quillen model structure on . Indeed, we have already stated that and form an equivalence of categories, and the injectivity of on objects is obvious. The fact that is an isofibration can be deduced from the fact that is an isofibration for purely combinatorial reasons, and the fact that isofibrations are preserved by pullbacks – here we also apply the fact that is a cartesian natural 2-transformation, to the specific case of the unique functors and to the terminal category.
An object is called cofibrant when the unique morphism from the initial object is a cofibration, and fibrant when the unique morphism to the terminal object is a fibration. In a Quillen model category, every morphism can be factored (in a non necessarily unique way) as an acyclic cofibration followed by a fibration , and as a cofibration followed by an acyclic fibration . When and is the unique morphism to the terminal object, any object involved in a factorization of the first form is called a fibrant replacement of . Note that an object may have several (non necessarily isomorphic) fibrant replacements.
The homotopy category of spans.
One advantage of applying the ideas of abstract homotopy theory is that it provides a nice description of the homotopy category obtained by localizing (= formally inverting) all the weak equivalences of a Quillen model category with class of weak equivalences, class of cofibrations and class of fibrations. The homotopy category is the category of fibrant and cofibrant objects in , whose morphisms are defined as the morphisms of the original category considered modulo a specific homotopy relation, see [23,21] for details. In the particular case of the homotopy category the characterization of the fibrant and cofibrant objects of goes as follows. Every small category in is both fibrant and cofibrant. The situation is a bit different in the general case of the natural Quillen model structure on . In that case, every span is cofibrant, because the initial object in has source 0 and thus the unique morphism is injective on objects. On the other hand, a span is fibrant precisely when its canonical pairing functor
is an isofibration, because the terminal object in is the identity functor and the unique morphism coincides with (6).
The category HoSpan can be thus described as follows. Its objects are the spans whose pairing functor (6) is an isofibration, and its morphisms are the simulation 2-cells (2) considered up to the following homotopy relation: are declared homotopic up to a natural isomorphism, and we write , when there exists a natural isomorphism between the underlying functors of the simulation 2-cells, which is vertical in , in the expected sense that
• the natural isomorphism source is the identity on source ,
• the natural isomorphism target is the identity on target .
The fact that every small category is fibrant in the small category Cat ensures that the composition of spans and , given by the pullback

(7)
in Cat, is fibrant as soon as R and S are. The homotopy relations between simulation 2-cells are moreover preserved. In this way, one obtains a composition functor
equipped with the appropriate associator and unitors required to turn the family of homotopy categories into a bicategory . The homotopy construction has the beneficial effect of resolving the obstruction discussed above, and to define a homotopy variant of the bicategory equipped with a (weak) 2-functor
from the 2-category obtained by restricting the 2-category to its invertible 2-cells, i.e. to natural isomorphisms. This is sufficient to transport to the bicategory the Seely equivalences living in . Following this approach, Melliès obtains a denotational model of linear logic where every formula is interpreted as a small category and where every derivation tree is interpreted as an isofibration
Moreover, the inherently homotopic nature of the construction of HoSpan means that the interpretations of proofs provides a homotopy invariant with respect to cut-elimination. In other words, two proofs and equal modulo cut-elimination have isomorphic interpretations and in the bicategory HoSpan, which means that their interpretations are related by equivalences of categories (the notion of homotopy in the natural Quillen model structure) instead of categorical isomorphisms, see [27] for a discussion.
Canonical fibrant replacements
We present the construction of a canonical fibrant replacement of any functor. Given , we define the canonical fibrant replacement of as follows. First, we define a category , whose objects consist of pairs of one object of together with an isomorphism in . A morphism from to consists of a morphism and a morphism making the following diagram commute
Note that such a morphism is in fact uniquely determined by because and are isomorphisms. Then, we define
by the maps
The functor is indeed an isofibration: given any isomorphism we immediately obtain . We moreover obtain an acyclic cofibration by the inclusion functor sending each object to the pair : it is obviously injective of objects and essentially surjective; it is also fully faithful, because a morphism in is uniquely determined by . Conversely, we obtain an acyclic fibration by the projection functor sending to and to . We have , so that is surjective on objects, and is fully faithful because every in determines a unique morphism from to in : hence is an equivalence of categories. It is moreover an isofibration: given any isomorphism , the pair is an isomorphism from to in , mapped to by .
Note that is a morphism over , from to , i.e. . On the other hand, is not a morphism from to in general: we only have a natural isomorphism , whose component at is , naturality being the commutation of the square defining the morphisms of .
An explicit shuffle construction of the span homotopy model.
The original presentation of the span homotopy model of linear logic by Melliès [27] relied extensively on fibrant objects and fibrant replacements in . Here, we follow alternative recipe to construct an equivalent, but more direct and explicit interpretation of linear logic.
We declare that a span S is separately fibrant when the two morphisms source and target are isofibrations, that is, fibrations in the natural Quillen model structure of Cat. Note that every span fibrant in is separately fibrant: this is a formal consequence of the fact that every small category is fibrant in Cat. On the other hand, the notion of separately fibrant span is strictly more permissive: the diagonal is obviously separately fibrant (each component is the identity on ), whereas it is not fibrant.
The full subcategory of separately fibrant spans in is noted . Note that separately fibrant spans compose horizontally as separately fibrant spans, and thus define a sub-bicategory of the bicategory . The key idea of our explicit construction is to exploit the following property:
Proposition 2.1 Suppose that and are weak equivalences between separately fibrant spans

In that case, the composite 2-cell is a weak equivalence.
Proof. We first recall that the horizontal composite is defined exploiting the universal property of the pullback :

Hence, for , we have that is defined pointwise . Since the pullback categories are subcategories of the cartesian product, and and are separately weak equivalences, it follows that is fully-faithful. Since and are separately fibrant and pullbacks preserve isofibrations, we can infer that is also essentially surjective.
The result means that the composition of separately fibrant spans – that is, the horizontal composition in SFibSpan – preserves weak equivalences on the left and on the right. For that reason, it is convenient to describe the bicategory HoSpan as the bicategory SFibSpan where every hom-category SFibSpan(A, B) is localized with respect to weak equivalences. Note that two weak equivalences and do not necessarily compose horizontally as a weak equivalence in the bicategory Span when the spans , are not separately fibrant.
This observation means that we can perform homotopic constructions in the bicategory HoSpan by taking general spans in and by replacing them by their separately fibrant replacements in SFibSpan instead of their fibrant replacements in HoSpan. Here, we define a separately fibrant replacement of a span from to as a separately fibrant span together with an acyclic cofibration , as depicted below:

Our main contribution in the present paper is to show that the two canonical functors
underlying the contraction rule and the promotion rule of linear logic have very simple separately fibrant replacements, while their fibrant replacements are more complicated.
We find convenient to introduce the following notations. Given small category and a list of small categories, we denote by any -fold span: that is given by a family of functors for by upling . We generalize the notion of separately fibrant spans to such -fold spans: we say is separately fibrant, and we write , when each is a fibration.
Now, instead of a fibration , we will interpret a proof as a separately fibrant -fold span:
Note that one can always recover a fibration from a proof: setting and the proof
Fig. 1. Formulae and rules of Linear Logic.
obtained from by iterating the rule, the separately fibrant span consists of a single fibration:
In a sense, distinguishing between (9) and (10) is precisely what allows us to provide a very simple and concrete interpretation of proofs.
3 Interpretation of linear logic
We explain how to interpret the formulae and proofs of classical linear logic which we describe in the usual syntactic way using a (one sided) sequent calculus, that we recall in fig. 1. We suppose given an interpretation of each atomic formula X of linear logic as a small category . The interpretation is then performed in two stages. First, the formulae of classical linear logic are interpreted by structural induction:
so that each sequent induces a tuple of small categories which we simply write . The interpretation of the derivation tree is defined by structural induction, by inspecting each rule of the sequent calculus. Note that the interpretation of the exchange rule (exch) is straightforward: we let the same permutation act on the tuple of isofibrations. From now on, we find more convenient and easier for the reader to drop the semantic bracket from our notations.
Axiom.
The axiom rule is simply interpreted as the identity span:
It is important to note that although this span is separately fibrant because each of its component is an isofibration, it is in general not fibrant in the model category because the diagonal functor itself is not an isofibration in general. This interpretation thus substantially improves the original model [27] where the axiom rule was interpreted as the fibrant replacement of the diagonal defined by the category of isomorphisms of , equipped with is source and target functors.
Cut.
Consider two proofs , and , interpreted as separately fibrant spans
The interpretation of the derivation tree obtained by cutting and , is obtained by computing the pullback of the cospan consisting of the two isofibrations on the cut formula. Isofibrations are closed under pullbacks, and this thus yields a separately fibrant span consisting of the two projection maps:
The desired interpretation is then obtained
by postcomposing the projection maps with the components of the separately fibrant spans and .
Additives
The interpretation of additives is easy and does not require any explicit fibrant replacement. Consider two proofs , and , interpreted as separately fibrant spans
The interpretation of the derivation tree obtained by combining and using a with rule (&) is defined as the sum of the two interpretations
where the context maps from to are defined by the universality property of the sum, while the map from to is defined as the image of the two maps from to and from to by the sum functor. The universal construction as well as the sum functor preserve isofibrations, and the resulting span is thus separately fibrant, as indicated in the diagram.
Similarly, the proof reduced to a rule is interpreted as the separately fibrant span
where the context isofibrations are defined by the universality property of the initial category 0 and where the isofibration from 0 to 0 is the identity.
On the other hand, the plus rules and are interpreted by leaving the context maps unchanged and postcomposing the map to the interpretation of the principal formula A or B with the left and right injections, which are isofibrations:
Multiplicatives (tensor, one).
The interpretation is easy and does not require any explicit fibrant replacement. Consider two proofs , and , interpreted as separately fibrant spans
The interpretation of the derivation tree obtained by combining and using a tensor rule ( ) is defined as the cartesian product of the two interpretations with the separately fibrant span
obtained by postcomposing the projection maps with the components of the separately fibrant spans and . Here, we use a general property of model categories that the class of fibrations (= the isofibrations in the case of the natural Quillen model structure on ) is closed under cartesian product. We also use the fact that every object is fibrant, and that the projection maps and are thus isofibrations. The proof reduced to the rule (1) introducing the tensor unit is interpreted by the identity map which defines an isofibration on the category .
Multiplicatives (par, bot)
One interesting aspect of our presentation of the homotopy span model is that the interpretation of the par rule ( ) is nontrivial and involves a fibrant replacement. Consider a proof , , interpreted as a separately fibrant span
The functor obtained by the universality property of the cartesian product in Cat is not necessarily an isofibration, but it can be factored in the Quillen model category as an acyclic cofibration followed by an isofibration:
where is defined as the canonical fibrant replacement of . Note that the category comes with the acyclic fibration of the canonical fibrant replacement:
The interpretation of the derivation tree , obtained by applying the par rule is then obtained by taking the category as support and postcomposing
with the context maps of the original separately fibrant span.
On the other hand, the interpretation of the par unit (⊥) is easy to define and does not require any explicit fibrant replacement. Given a proof interpreted as the separately fibrant span
the interpretation of the proof , obtained after the rule ( ) is simply defined by adding a functor to the terminal category 1 in the following way:
Here, one uses the specific property of the natural Quillen model on Cat that every object is fibrant, which precisely means that the unique functor is an isofibration.
Exponentials (dereliction, weakening)
The promotion rules will be treated in dedicated section 5, but it is already easy to describe the rest of the rules. Consider one proof , interpreted as a separately fibrant span
the proof , ?A obtained after a dereliction rule (?) is interpreted by keeping the same underlying category and postcomposing the span
with the isofibration which sends any object of to the singleton word . Similarly, given a proof interpreted as a separately fibrant span, the proof , ?A obtained after the weakening rule (weak) is interpreted by projecting on the terminal category 1 with the isofibration and then composing
with the isofibration which sends the unique object * of to the empty word in .
Exponentials (contraction).
For the contraction, we follow a treatment similar to that of the .
Given a proof , ?A, ?A and its interpretation as a separately fibrant span
we need to define an isofibration . We first use the concatenation to obtain:
which, however, is not an isofibration. Again, we consider its canonical fibrant replacement:
which moreover comes with the acyclic fibration . The interpretation of the results of applying the contraction rule to is then obtained by taking the category as support and postcomposing
with the context maps of the original separately fibrant span.
4 The shuffle factorization theorem
Before carrying on, we find convenient to introduce two different notations for the symmetric strict monoidal category freely generated by a small category :
Sym A with objects finite words of objects of A noted ;
Sym? A with objects finite words of objects of A noted .
Morphisms in are the same as before in , but a morphism in
is a tuple consisting of a permutation together with a family of morphisms in . Our reason for having distinct conventions is that we see as a subcategory of the free cocartesian category generated by – with the same objects as , but with morphisms
consisting of a function together with a family of morphisms in for and as a subcategory of the free cartesian category generated by defined symmetrically. We then choose to redefine the interpretation of exponential formulae, setting and .
Recall that the category defines a Grothendieck opfibration
Given a function and a family indexed by , we write
for the canonical map. We are now ready to define the notions of shuffle and deshuffle isomorphisms in the symmetric monoidal categories and . As a symmetric monoidal category, can be seen as a symmetric operad with the same objects, also noted , whose -ary morphisms are defined as the morphisms of the category. Given a sequence of natural numbers with sum the natural number seen as totally ordered sets, a -shuffle is a bijective function
such that each restriction
is a monotone function. A shuffle isomorphism in the operad is defined as a morphism
where the permutation is a -shuffle.
Proposition 4.1 Every n-ary morphism in the operad factors uniquely as where is a shuffle isomorphism and each is a unary morphism, for .
Symmetrically, defines a symmetric cooperad where a deshuffle isomorphism
is defined as a n-ary morphism whose counterpart (or reversal) in the opposite symmetric operad is a shuffle isomorphism.
Given a sequence of categories , we observe that the product category is a symmetric strict monoidal category, with tensor product defined by pointwise list concatenation. The shuffle factorization system lift to componentwise. A deshuffle isomorphism in consists of a tuple where is a deshuffle isomorphism in .
5 The promotion rule
We now consider the promotion rule, whose interpretation exploits the shuffle factorization observed in §4. Given a context we use the notations and . Given a proof , we consider its interpretation as a separately fibrant span
and describe how to build the separately fibrant span interpreting the result of the promotion of :
First, we observe that the functional action of preserves isofibrations: given an isofibration the functor defined by the map is also an isofibration. Hence, we have an isofibration
However, we also need to deal with the context span .
As a first approach, we could try to exploit the universal property of . Given a symmetric (unbiased) monoidal category and a functor , by the fact that is the free symmetric strict monoidal category on , we obtain a functor , induced by the map , making the following diagram commute
Hence, we can apply this construction to our span , componentwise, and obtain a span
However, the resulting span has no reason to be separately fibrant. A simple example is given by applying the construction to the identity since coincides with the monad multiplication , which is not an isofibration in general.
In order to fix this, we shall perform a replacement of the span by an appropriate construction, that we shall call the shuffle category on , denoted as . As we will see, this construction comes equipped with an acyclic cofibration (an injective on objects equivalence of categories) and a separately fibrant span making the following diagram commute
as well as with an acyclic isofibration whose postcomposition with will give the remaining component of the separately fibrant span .
The shuffle category
We associate to every span , the shuffle category defined as follows:
• an object of Shuffle is a pair consisting of an object
together with a componentwise deshuffle isomorphism
from an object
where each is a deshuffle isomorphism in the category , for .
• a morphism from an object
with componentwise deshuffle isomorphism to an object
with componentwise deshuffle isomorphism is defined as a triple consisting of a permutation together with
a family of morphisms in the category for , and a morphism in making the diagram commute:
Note that the data of the morphism is redundant since it always exists and is uniquely determined in the category by the sequence of morphisms because and and are isomorphisms. We thus generally denote such a morphism as a pair .
The acyclic cofibration
We now define the equivalence of categories
The cofibration is defined as the functor that maps every word to the same word equipped with the identity deshuffle isomorphism
from the object . The functor is clearly injective on objects, and fully faithful. It is also essentially surjective: each of a word and a deshuffle isomorphism is isomorphic to the same word equipped with the identity deshuffle isomorphism.
The fibration is defined as the forgetful functor which maps a pair to the underlying tuple . This functor is an isofibration. Indeed, given a pair consisting of a tuple with deshuffle componentwise isomorphism , together with an isomorphism in , with for , it is sufficient to consider the object together with the identity deshuffle with the appropriate definition of .
The fibrations (= isofibrations)
We now define the separately fibrant span mentioned above in (12)
by the maps
on objects, and
where is the unique morphism induced by as in (13). Before showing it is separately fibrant, we introduce additional notations for its components.
Writing as a tuple of functors with for , we may write , where each morphism is a deshuffle isomorphism in . Similarly, given , we may write the induced with each a morphism in . Then where is the functor sending the object to and the morphism to .
Remark that, although we retained the notation for conciseness, the definition of each component of depends on the whole tuple , not just on the corresponding .
Now, fixing , we show that is an isofibration. Let be an isomorphism of , and an object of , mapped to by . Using the same notations as above, this means . We want to construct an object and an isomorphism
which is mapped to by : i.e., we want (13) to commute, each to be an isomorphism, and the component of to be .
By the shuffle factorization system described in §4, the composite isomorphism can be factored as
where
is a deshuffle isomorphism in , and each is an isomorphism for . At this stage, we use the fact that is an isofibration, and deduce that there are objects and isomorphisms such that and for .
To complete the definition of the required isomorphism in , we take to be the identity permutation, and we are only left to specify the deshuffle isomorphisms for , in such a way that the commutation of (13) (whose lower row is reduced to , because is the identity) is compatible with the desired identity: . We thus set : the commutation (16) becomes
which ensures the commutation of the -th component of (13), with . It remains only to choose deshuffle isomorphisms in for : it suffices to take and the corresponding identity, which is a deshuffle isomorphism. Note that the value of induced by this choice is irrelevant for our purpose when : the existence of an arbitrary is sufficient.
6 Conclusion
The homotopy interpretation of linear logic based on spans [27] associates to every proof of linear logic a homotopy invariant modulo cut-elimination, where homotopy is understood as categorical equivalence between categories in Cat. In the present paper, we give a detailed and direct description of the homotopy interpretation of proofs, where the fibrant interpretation used in [27] is replaced by a more liberal separately fibrant interpretation carefully chosen to remain as simple as possible. The construction relies on the existence of a number of simple and explicit separately fibrant replacements of the functors (concatenation tensor product, distributivity) underlying the rules of linear logic (in particular, promotion).
One purpose – and in fact the initial motivation – of this explicit reconstruction of the original model [27] is to investigate how the syntactic presentations [33,29] of the distributor interpretation of linear logic [13], could be adapted to the homotopy span model. A decisive step in the process of designing such a syntactic counterpart is to rely on a presentation as simple and explicit as possible of the homotopy span model. In that perspective, an important challenge for future work will be to understand how our combinatorial study of shuffles could be combined and unified with the analysis of symmetries developed by Clairambault and Forest, where an explicit construction of homotopy pullbacks using orthogonality is described in a variant of the span bicategory [5,6].
Also, our interpretation of linear logic based on separately fibrant spans has a definite polycategorical flavour. We plan to investigate more in detail the axiomatics of the 2-dimensional polycategorical structure of the interpretation. A complementary direction for future investigations would be to work at a tricate-gorical level and to define the 2-cells up to an isomorphism (building on [22]), instead of strictly as done in [27] and here. This alternative definition would require to compose spans using homotopy pullbacks instead of usual pullbacks, with tentative links to the recent work on the groupoid span interpretation of linear logic [5] and with the -categorical construction of [20]. Another perspective would be to replace the Sym monad with another monoidal construction on small categories, such as the finite product completion. This variation has already been considered in the case of distributors [15,16,28] and it would thus be interesting to see how it works on the homotopy span model.
References
[1] Aguiar, M. and S. Mahajan, Monoidal Functors, Species and Hopf Algebras, volume 29 of CRM Monograph Series, American Mathematical Society (2010). https://doi.org/10.1090/crmm/029
[2] Bucciarelli, A. and T. Ehrhard, On phase semantics and denotational semantics in multiplicative-additive linear logic, Ann. Pure Appl. Log. 102, pages 247–282 (2000). https://doi.org/10.1016/S0168-0072(99)00040-8
[3] Bucciarelli, A. and T. Ehrhard, On phase semantics and denotational semantics: the exponentials, Ann. Pure Appl. Log. 109, pages 205–241 (2001). https://doi.org/10.1016/S0168-0072(00)00056-7
[4] Burroni, A., T-catégories (catégories dans un triple), Cahiers de topologie et géométrie différentielle 12, pages 215–321 (1971).
[5] Clairambault, P. and S. Forest, The cartesian closed bicategory of thin spans of groupoids, in: LICS, pages 1–13 (2023). https://doi.org/10.1109/LICS56636.2023.10175754
[6] Clairambault, P. and S. Forest, An analysis of symmetry in quantitative semantics, in: P. Sobocinski, U. D. Lago and J. Esparza, editors, LICS, ACM (2024). https://doi.org/10.1145/3661814.3662092
[7] de Carvalho, D., Execution time of -terms via denotational semantics and intersection types, Math. Struct. Comput. Sci. 28, pages 1169–1203 (2018). https://doi.org/10.1017/S0960129516000396
[8] Ehrhard, T., A completeness theorem for symmetric product phase spaces, J. Symb. Log. 69, pages 340–370 (2004). https://doi.org/10.2178/JSL/1082418530
[9] Ehrhard, T., Finiteness spaces, Math. Struct. Comput. Sci. 15, pages 615–646 (2005). https://doi.org/10.1017/S0960129504004645
[10] Ehrhard, T., An introduction to differential linear logic: proof-nets, models and antiderivatives, Math. Struct. Comput. Sci. 28, pages 995–1060 (2018). https://doi.org/10.1017/S0960129516000372
[11] Ehrhard, T. and L. Regnier, Differential interaction nets, Theor. Comput. Sci. 364, pages 166–195 (2006). https://doi.org/10.1016/J.TCS.2006.08.003
[12] Fiore, M., Z. Galal and H. Paquet, Stabilized profunctors and stable species of structures, Log. Methods Comput. Sci. 20 (2024). https://doi.org/10.46298/LMCS-20(1:17)2024
[13] Fiore, M., N. Gambino, M. Hyland and G. Winskel, The cartesian closed bicategory of generalised species of structures, Journal of the London Mathematical Society 77, pages 203–220 (2007), ISSN 0024-6107. https://doi.org/10.1112/jlms/jdm096
[14] Fiore, M., N. Gambino, M. Hyland and G. Winskel, Relative pseudomonads, kleisli bic categories, and substitution monoidal structures, Selecta Mathematica (2017). https://doi.org/10.1007/s00029-017-0361-3
[15] Fiore, M. and A. Joyal, Theory of para-toposes (2015). Talk at the Category Theory Conference.
[16] Galal, Z., A profunctorial scott semantics, in: 5th International Conference on Formal Structures for Computation and Deduction, FSCD 2020, June 29-July 6, 2020, Paris, France (Virtual Conference), volume 167 of LIPIcs, pages 16:1–16:18 (2020). https://doi.org/10.4230/LIPICS.FSCD.2020.16
[17] Gambino, N. and A. Joyal, On operands, bimodules and analytic functors, Memoirs of the American Mathematical Society 249 (2017), ISSN 1947-6221. https://doi.org/10.1090/memo/1184
[18] Girard, J., Linear logic, Theor. Comput. Sci. 50, pages 1–102 (1987). https://doi.org/10.1016/0304-3975(87)90045-4
[19] Grellois, C. and P. Melliès, Relational semantics of linear logic and higher-order model checking, in: S. Kreutzer, editor, 24th EACSL Annual Conference on Computer Science Logic, CSL 2015, September 7-10, 2015, Berlin, Germany, volume 41 of LIPIcs, pages 260–276, Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2015). https://doi.org/10.4230/LIPICS.CSL.2015.260
[20] Harington, E. and S. Mimram, ∞-categorical models of linear logic, in: M. Fernández, editor, 10th International Conference on Formal Structures for Computation and Deduction, FSCD 2025, July 14-20, 2025, Birmingham, UK, volume 337 of LIPIcs, pages 23:1–23:20, Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2025). https://doi.org/10.4230/LIPICS.FSCD.2025.23
[21] Hirschhorn, P. S., Model categories and their localizations, volume 99 of Mathematical Surveys and Monographs, American Mathematical Society (2003). https://doi.org/10.1090/surv/099
[22] Hoffnung, A. E., Spans in 2-categories: A monoidal tricategory (2013). 1112.0560. https://arxiv.org/abs/1112.0560
[23] Hovey, M., Model categories, volume 63 of Mathematical Surveys and Monographs, American Mathematical Society (1999). https://doi.org/10.1090/surv/063
[24] Hyland, M., Some reasons for generalising domain theory, Mathematical Structures in Computer Science 20, page 239–265 (2010). https://doi.org/10.1017/S0960129509990375
[25] Joyal, A. and M. Tierney, Strong stacks and classifying spaces, in: A. Carboni, M. C. Pedicchio and G. Rosolini, editors, Category Theory, pages 213–236, Springer Berlin Heidelberg, Berlin, Heidelberg (1991), ISBN 978-3-540-46435-8. https://doi.org/10.1007/BFb0084222
[26] Kobayashi, N. and C. L. Ong, Complexity of model checking recursion schemes for fragments of the modal mu-calculus, Log. Methods Comput. Sci. 7 (2011). https://doi.org/10.2168/LMCS-7(4:9)2011
[27] Melliès, P.-A., Template games and differential linear logic, in: 2019 34th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), pages 1–13 (2019). https://doi.org/10.1109/LICS.2019.8785830
[28] Olimpieri, F., Intersection Types and Resource Calculi in the Denotational Semantics of Lambda-Calculus, Ph.D. thesis, Aix-Marseille Université (2020).
[29] Olimpieri, F., Intersection type distributors, in: 36th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2021, Rome, Italy, June 29 - July 2, 2021 (2021). https://doi.org/10.1109/LICS52264.2021.9470617
[30] Paquet, H. and P. Saville, Effectful semantics in bic categories: strong, commutative, and concurrent pseudomonads (2024). https://doi.org/10.1145/3661814.3662130
[31] Rezk, C., A model category for categories (1996). Unpublished note.
[32] Terui, K., Semantic evaluation, intersection types and complexity of simply typed lambda calculus, in: A. Tiwari, editor, 23rd International Conference on Rewriting Techniques and Applications (RTA'12), RTA 2012, May 28 - June 2, 2012, Nagoya, Japan, volume 15 of LIPIcs, pages 323–338, Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2012). https://doi.org/10.4230/LIPICS.RTA.2012.323
[33] Tsukada, T., K. Asada and C. L. Ong, Generalised species of rigid resource terms, in: 32nd Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2017, Reykjavik, Iceland, June 20-23, 2017, pages 1–12, IEEE Computer Society (2017). https://doi.org/10.1109/LICS.2017.8005093