Weakly Distributive Categories

Weakly Distributive Categories

Weakly distributive categories J.R.B. Cockett* R.A.G. Seely* Abstract There are many situations in logic, theoretical computer science, and cate- gory theory where two binary operations—one thought of as a (tensor) "prod- uct" , the other a "sum"—play a key role, such as in distributive categories and in *-autonomous categories. (One can regard these as essentially the AND/OR of traditional logic and the TIMES/PAR of (multiplicative) linear logic, respec- tively.) In the latter example, however, the distributivity one often finds is conspicuously absent: in this paper we study a "linearisation" of distributiv- ity that is present in this context. We show that this weak distributivity is precisely what is needed to model Gentzen's cut rule (in the absence of other structural rules), and show how it can be strengthened in two natural ways, one to generate full distributivity, and the other to generate *-autonomous categories. 0. Introduction There are many situations in logic, theoretical computer science, and category the- ory where two binary operations, "tensor products" (though one may be a "sum"), play a key role. The multiplicative fragment of linear logic is a particularly interest- ing example as it is a Gentzen style sequent calculus in which the structural rules of contraction, thinning, and (sometimes) exchange are dropped. The fact that these rules are omitted considerably simplifies the derivation of the cut elimination theorem. Furthermore, the proof theory of this fragment is interesting and known [Se89] to correspond to ^-autonomous categories as introduced by Ban in [Ba79]. In the study of categories with two tensor products one usually assumes a distribu- tivity condition, particularly in the case when one of these is either the product or sum. The multiplicative fragment of linear logic (viz. ^-autonomous categories) is a significant exception to this situation; here the two tensors "times" (®) and "par" (^, in this paper denoted ®—note that this conflicts with Girard's notation) do not distribute one over the other. *Department of Computer Science, The University of Calgary, 2500 University Drive N.W., Calgary, Alberta, Canada T2N 1N4. This author was partially supported by the Sydney Category Seminar, the Australian Research Council, and NSERC, Canada. department of Mathematics, McGill University, 805 Sherbrooke St. W., Montreal, Quebec, Canada H3A2K6. This author was partially supported by the Sydney Category Seminar, Le Fonds FCAR, Quebec, and NSERC, Canada. 46 COCKETT & SEELY: WEAKLY DISTRIBUTIVE CATEGORIES However, *-autonomous categories are known to satisfy a weak notion of distribu- tivity. This weak distributivity is given by maps of the form: A <g> (B 0 C) —• (A ® B) © C A®(B®C) —• B © (A <g> C) (and two other versions should the tensors lack symmetry.) These maps, interpreted as entailments, are also valid in what might be considered the minimal logic of two such tensors, namely the classical Gentzen sequent calcu- lus with the left and right introduction rules for conjunction and disjunction and with cut as the only structure rule. This Gentzen style proof theory has a categor- ical presentation already in the literature, viz. the polycategories of Lambek and Szabo [Sz75]. It should therefore be possible to link *-autonomous categories and polycategories. However, this begs a wider question of precisely what properties a category must satisfy to be linked in this manner to the logical superstructure provided by a polycategory. It turns out that these weak distributivity maps, when present coherently, are pre- cisely the necessary structure required to construct a polycategory superstructure, and whence a Gentzen style calculus, over a category with two tensors. The weak distributivity maps allow the expression of the Gentzen cut rule in terms of ordinary (categorical) composition. We call categories with two tensors linked by coherent weak distribution weakly distributive categories. They can be built up to be the proof theory of the full multiplicative fragment of classical linear logic1 by coherently adding maps T —f A © A L A <g> AL —> i. (and symmetric duals as necessary), or to the proof theory of the A, V fragment of intuitionistic propositional logic by coherently adding contraction, thinning, and exchange. The former corresponds to *-autonomous categories and the latter to distributive categories. In fact, weakly distributive categories lie at the base of a rich logical hierarchy, unifying several hitherto separate developments in the logics of theoretical computer science. One point must be made about the connection with linear logic. A novel feature of our presentation is that we have considered the two tensor structure separately from the structure given by linear negation (—) L. We show how to obtain the logic of *-autonomous categories from that of weakly distributive categories, giving, in effect, another presentation of *-autonomous categories. It sometimes happens 1The system FILL (full intuitionistic linear logic) of dePaiva [dP89] amounts to having just the second of these (families of) maps. Fiom the autonomous category viewpoint, these are the more natural maps, as they correspond to evaluations. The symmetry of the ^-autonomous viewpoint then suggests the first (family of) maps. COCKETT & SEELY: WEAKLY DISTRIBUTIVE CATEGORIES 47 that it is easier to verify *-autonomy this way; for example, verifying that a lattice with appropriate structure is ^-autonomous becomes almost trivial if one checks the weak distributivity first (see [Ba91].) In this short version of our paper, we shall not have space to say as much as we would like about models of this structure. However, one should note that *- autonomous categories, distributive categories, braided monoidal categories, among others, are all weakly distributive. In addition, the opposite of a weakly distributive category is weakly distributive (with the tensors changing roles), so, for example, co-distributive categories are weakly distributive. One has frequently been struck by the strangeness of the distributivity in such co-distributive categories as the category of commutative rings, or the category of distributive lattices, and so on— they may now be seen as weakly distributive in the standard manner. We have also been very brief about coherence questions here; further, we plan to show how to associate a term calculus to these categories. (This term calculus is based on a calculus developed in [Co89] for symmetric monoidal categories.) We plan to elaborate on all these matters elsewhere. (Added in proof: Coherence has been treated in the recent work of Blute and Seely [BS91], as well as a partial answer to the question of the conservativity of the extension to *-autonomous categories. In that paper, coherence is completely settled, but conservativity is only shown for the fragment without units.) Acknowledgements: The authors benefited from many helpful discussions with (to mention only a few) Mike Barr, Yves Lafont, and Ross Street. We also must acknowledge the hospitality (and tolerance) of each other's family, who put up with our long deliberations during our visits to each other's homes. The diagrams in this paper were produced with the help of the diagram macros of F. Borceux. 1. Polycategories We shall begin with a review of Szabo's notion of a poly category: Definition 1.1 A polycategory C consists of a set Ob(C) of objects and a set Mip(G) of morphisms, (also called arrows, polymorphisms, ... ) just like a category, except that the source and target of a morphism are finite sequences of objects source: M<p(C) —•+ 06(C)* target:M<p(C)—>Ob(Cy where X* = the free monoid generated by X. There are identity morphisms %A'-A —• A between singleton sequences only and a notion of composition given by the cut rule: 48 COCKETT & SEELY: WEAKLY DISTRIBUTIVE CATEGORIES where the length of T\ is i and the length of A2 is j. When the subscripts are clear from the context they shall be dropped. We have the following equations: •A A A Fi ,^,r 1. ^r2 3 •A ooy J IV i,r3 r, ,r2-^:r3 A ^>A *' ' 2~~" 3 F A T J *"° **) T Ai, A, A2 —> A3,2?, A4 F] *uB,$2\ *3 A,,: 2,; B,A4,r3 $ A F ,A2,< As s,A4,r3 h $0 > *3 ,^,A,A2i,A3) A4 ±i,A, A2,$2 ,A 4 ri -^ r2:,^,r3 / Ax,r ^2 r2, A3, *3, A4, r3 h iOj $i,r!,$2, -r2,*4,r3 A ,A2,5,A3 (ha :>> /) i+k+l°m 9 3 2|r >4,A3|r3 ;; h $1, A,' $0 > $4 Ai —> A2, B, A3 - 'l i+l+l°m 9 >2,A A 1? W3 > I Ti U r2,"•) •*• 3 2,$4, A3|r3 provided at least one o/F2, A2 is empty, and at least one o/F3, A3 zs empty, so At|rt- represents the trivial concatenation of a sequence and an empty sequence. AX, A, A2 -^ A3 rx -L r2,A,r3,£,r4 9 i°j J ) • r2,A3,r3,$3,r4 ) • T2, A3,r3,*3,r4 COCKETT & SEELY: WEAKLY DISTRIBUTIVE CATEGORIES 49 where again at least one of $1, Ai is empty, and at least one of $2, A2 is empty. Remark 1.2 (Planar Poly categories) There is a certain amount of permutation built into the cut rule and this results in the restrictions we have had to place on some of the equations. Lambek [La90] has given several weaker variants in which the restrictions are built directly into the cut rule so that this permutation is avoided: a similar system was presented by G.L. Mascari at the Durham Symposium. In the weakest system, BL1, cut is restricted to instances where either I\ = F2 = <t> or A2 = A3 = <f>; this corresponds to having no weak distributivities, in the sense of the next section. A stronger system, BL2, in addition also allows cuts where either Fi = A3 = <f> or F2 = A2 = <t>, corresponding in our setting to having only the "non permuting" distributivities 8^ and 6%.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    21 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us