ALGEBRA OF PROOFS
M. E. SZABO Concordia University, Montreal
1978
NORTH-HOLLAND
PUBLISHING
COMPANY
-
AMSTERDAM
...
30 downloads
692 Views
9MB Size
Report
This content was uploaded by our users and we assume good faith they have the permission to share this book. If you own the copyright to this book and it is wrongfully on our website, we offer a simple DMCA procedure to remove your content from our site. Start by pressing the button below!
Report copyright / DMCA form
ALGEBRA OF PROOFS
M. E. SZABO Concordia University, Montreal
1978
NORTH-HOLLAND
PUBLISHING
COMPANY
-
AMSTERDAM
.
NEW
YORK
'
OXFORD
(Q NORTH-HOLLAND PUBLISHING COMPANY - 1978
All rights reserved. N o part of this publication may be reproduced, stored in a retrieval
system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior permission of the copyright owner. Library of Congress Catalog Card Number 77-706 North-Holland ISBN S 0 7204 2200 0 0 7204 2286 8
Published by: North-Holland Publishing Company - Amsterdam . New York . Oxford
So.e distributors f o r the U.S.A. and Canada: Elsevier North-Holland, Inc. 52 Vanderbilt Avenue New York, N.Y. 10017
Library of Congress Cataloging in Publication Data
Szabo, M . E. Algebra of proofs. Studies in logic and the foundations of mathematics; v. 88) Bibliography: p. Includes indexes. 1. Proof theory. 2. Categories (Mathematics) 3. Combinatory logic. I. Title. 11. Series. QA9.54284 51 1'.3 ISBN 0-7204-2286-8
77-706
PRINTED IN THE NETHERLANDS
To Isabel and Julianne
PREFACE
In this monograph, we study the algebraic properties of the proof theory of intuitionist first-order logic in a categorical setting. Our work is based on the confluence of ideas and techniques from proof theory, category theory, and combinatory logic, and this book is addressed to specialists in all three areas. Proof theorists will find that categories give rise to a non-trivial semantics for proof theory in which the concept of the equivalence of proofs can be investigated from a mathematical point of view. Categorists, on the other hand, will find that proof theory provides a suitable syntax in which commutative diagrams can be characterized and classified effectively. Workers in combinatory logic, finally, may derive new insights from the study of the algebraic invariance properties of their techniques established in the course of our presentation. We have divided the material into thirteen short chapters in which we explore systematically the algebraic properties of the usual operations of logic. In each case, we begin by constructing a category of a certain type as an algebraic model for the class of proofs being studied. We then prove a completeness theorem to the effect that the arrows of the constructed category can be represented by derivations in a Gentzen system with cut elimination. In the propositional cases, we use the algorithmic nature of the cut elimination process as a basis for an effective description of the arrows of the constructed categories and develop decision procedures, in the form of Church-Rosser theorems, for the commutativity of the finite diagrams of these categories. As corollaries, we obtain solutions of the word problems for the associated free-object functors. We then show that quantifiers fit smoothly into the calculus of adjoints, and describe the topos-theoretical setting in which the proof theory of intuitionist first-order logic possesses a natural semantics. The chosen functorial characterization of quantifiers necessitates a brief sortie into the world of infinitary logic for the construction of suitably complete categories. vii
viii
PREFACE
This study is self-contained. All globally relevant definitions have been collected together in Chapter 1. More specialized concepts are introduced when needed. We eschew the use of subscripts, and have tried to make the notation as simple and readable as possible. We have also attempted to strike a happy balance between formal definitions and informal proofs. In each case, we have tried to present the essential ideas by avoiding an excessive level of generality. The end of the proof of a theorem or of the statement of a result whose proof is omitted is marked with the symbol 0. Cross references to an item in the text are given in terms of the last section number preceding the item, and references to an item in the Bibliography are given by name of author and year of publication. Moreover, the deductive systems required for Chapters 2-12 are summarized in Appendices A and B for easy reference, and the statements of the cut elimination and normalization algorithms on which most of our results depend are relegated to Appendices C and D in order to avoid unnecessary duplications. The investigation of the basic connections between proof theory, category theory, and cornbinatory logic was pioneered by Joachim Lambek. In many places, our own work relies heavily on the conceptual insights reflected in his articles on these and related subjects. We gladly acknowledge this debt of gratitude. We are also grateful to Saunders MacLane for reading critically a preliminary version of one of our papers. This has led to major changes and improvements in our work. Furthermore, our thanks go to the logicians and categorists of Montreal, Oxford, and Tlibingen who have listened patiently to successive presentations of our ideas as they developed. Additional thanks are due to the National Research Council of Canada for their continuous support of our research, and to the Committee for the Advancement of Scholarly Activities of Concordia University for their assistance of the technical production of this book in the form of a publication loan. Finally, we thank Dr. E. Fredriksson and the North-Holland Publishing Company for their encouragement of our work and Dr. Th. van den Heuvel for his care and skilful editing of our manuscript. M. E. Szabo
CHAPTER 1
INTRODUCTION
The formal proofs of deductive systems may be studied as mathematical objects in their own right, and in this book we report the results of an algebraic investigation of the intuitionist proof theories of the usual operations of first-order logic and of the relationships between them. The conceptual basis for our programme is the realization that the Lindenbaum-Tarski algebras of formulas may be viewed as categories, and that the formal proofs of the associated deductive systems determine structured categories as their canonical algebras which are of the same type as the Lindenbaum-Tarski algebras of the formulas of the underlying languages. In the cases of interest, the algebras of formulas and the corresponding algebras of formal proofs are linked by Gentzen’s theorem which asserts that provable formulas code their own proofs. This theorem and reducibility relations with the Church-Rosser property are our principal syntactic tools. We study twelve separate theories of varying linguistic complexity and deductive strength. They divide into two main types: the monoidal type, in which we investigate systems based on the common algebraic properties of conjunction and disjunction, and the Cartesian type, in which conjunction and disjunction have their proper meanings. The finer subdivisions arise from the symmetry and distributivity properties of conjunction and disjunction, and from the absence or presence of implication, distinguished constants, quantifiers, and infinitary operations. The following table (p. 2) displays the propositional theories treated in Chapters 2-12. A check mark in a square indicates that the symbol in the left-hand column of the row determined by the square occurs in the language of the theory mentioned in the top row of the column determined by the square. The symbol I denotes, ambiguously, the symbols T (true) and 1 (false), and the symbol XI denotes, also ambiguously, the symbols A 1
2
INTRODUCTION
[1.0
(and) and v (or).The intended meaning of j is i f . . . then, and that of if. The abbreviations in the top row stand for monoidal, symmetric monoidal, Cartesian, bicartesian, distributive bicartesian, monoidal closed, symmetric monoidal closed, Cartesian closed, biCartesian closed, residuated, and monoidal biclosed, respectively. The common feature of the theories in the above table is the fact that the commutative diagrams of their generic models are effectively classified by the deducibility relations on their associated deductive systems. Hence quantifiers do not appear in this catalogue since the notion of derivability for formulas with quantifiers is not decidable. Negation is absent since, in keeping with intuitionist practice, we do not take this operation as primitive. Whenever required, we can define it in terms of and 1. Our reason for limiting ourselves to intuitionist theories, finally, is algebraic. In Chapter 10, we show that Boolean algebras do not generalize to non-equivalent categories. Since the Lindenbaum-Tarski algebra of classical logic is Boolean, the algebra of classical proofs therefore reduces isomorphically to its motivating algebra of formulas. The ultimate source of inspiration for our work is Gentzen’s doctoral
+ only
+
I .O]
PRELIMINARIES
3
dissertation. In view of its singular influence on all aspects of proof theory, we give it prominence by listing it here in the Introduction separately from the other entries in the Bibliography: GERHARDGENTZEN [ 19351 Untersuchungen iiber das logische Schliessen, Mathematische Zeitschrift 39, 176-210, 405431.
An English version of this paper may be found in SZABO[1969], and all references to Gentzen’s work are given in terms of their English equivalents in that volume. An effective proof of Gentzen’s theorem that provable formulas code their own proofs requires a sequent calculus as an auxiliary structure and is based on the distinction between structural and operational rules of inference. It turns out that even at the categorical level, this type of structure and the distinction between two kinds of rules of inference provides the right conceptual setting for a variety of difficult combinatorial problems. For this reason we give a full axiomatic description of these structures in this Introduction. They will be called sequential categories and appear as background structures in each chapter below. However, we omit the individual verifications that the particular sequential categories required satisfy the stated axioms since such verifications are tedious and always routine. Attempts to apply sequential methods to category theory have their beginnings in LAMBEK[ 19691. The use of reducibility relations with the Church-Rosser property in this monograph replaces the earlier use of combinatorial invariants such [1969] and as the scope (LAMBEK[1968]) and the generality (LAMBEK SZABO[ 1974a1) of a proof to classify equivalence classes of derivations. In the mathematically interesting cases, these concepts fail to capture the essential complexity of the equivalences involved, and their successful application requires a drastic normalization of the derivations to which they apply. Carrying out these preliminary calculations is tantamount to proving a Church-Rosser theorem, except for certain trivial uniqueness requirements made unnecessary by these invariants. Hence we have abandoned this approach. A similar failure to classify the arrows of symmetric monoidal closed categories (KELLYand MACLANE [1971]) by means of simple external criteria such as graphs shows up the difficulties inherent in any attempt to give context-free descriptions of structurally subtle mathematical properties.
4
INTRODUCTION
[1.1
Although there is a reasonable consensus among mathematicians that a proof is the equivalence class of its representations, the question of the equivalence of proofs is far more controversial. KREISEL[1971] and PRAWITZ[1971] have made a healthy start by tackling this difficult problem from a philosophical point of view. This monograph represents a corresponding mathematical beginning. It is clear from the work of MANN [1973] that the two approaches interact and in some cases lead to analogous results. In this section, we assemble the necessary facts from category theory and logic to make this monograph accessible to both logicians and categorists. 1.1. Categorical preliminaries
The basic notions of category theory are category, functor, and natural transformation. We motivate their definition by an example. 1.2.2. EXAMPLE. Let P = (P, s P ) be a pre-ordered set, i.e., a set P together with a reflexive, transitive relation S P on P, and let S P X P S p be the set of all ordered pairs ((y, z ) , (x, y)), with (y, z ) and (x, y) E S p . The pre-ordered set P then determines three functions, which we shall call domain, codomain, and composition, and which we abbreviate as dom, cod, and comp, respectively. They are defined as follows: (1) dom : S P+P is defined by the equations dom((x, y)) = x. (2) cod : S P + P is defined by the equations cod((x, y)) = y. (3) comp : S P X P S P +P is defined by the equations comP((Y7 z ) , (x, Y), = (x, 2).
The system C=(P,SP, dom, cod, comp) is the most elementary example of a category. The elements of P are called the objects of C, and we write ObC in place of P. The elements of S P are called the arrows of C, and we write Arc in place of S P . In this notation, S P X P SP = Arc XOW Arc is the set of all pairs (f,g ) of arrows of C with the property that domu) = cod(g). These data satisfy the following axioms:
(C 1) For every A E ObC there exists a 1(A) E A r c such that
1.11
5
CATEGORICAL P R E L I M I N A R I E S
( I ) dom( 1(A))= cod( 1(A)) = A. (2) If dom(f) = A, then comp(f, 1(A))= f. (3) If cod(f) = B, then comp( l(B), f ) = f. (C2) The following equations hold f o r all (f. g ) E A r c ( 1 ) dom(comp(f, 8))= dom(g). (2) cod(comp(f, g ) ) = cod(f).
XObC
Arc:
(C3) The following equations hold for all (f, g, h ) E A r c X o b C A r c X O b C A r c : comp(f, COmp(g, h ) ) = comp(comp(f, g ) . h ) . 1.1.2. DEFINITION. A category is a system C = ( O b C , A r c , dom, cod, comp) consisting of a class ObC, a class A r c , and three functions dom : A r c + ObC, cod : A r c + ObC, comp : A r c XObC A r c + A r c satisfying Axioms (Cl), (C2), and ((23) above, together with the following set-theoretical condition:
(C4) The class C(A, B ) of all f E A r c with dom(f) = A and cod(f) = B is a set, f o r all A , B E ObC. 1.1.3. REMARK.Here and below, the words class and set are used in the sense of Godel-Bernays set theory. 1.1.4. NOTATION. If the category C is clear from the context, we often write [A, B] in place of C(A, B), and write f : A + B in place of f E C(A, B). Moreover, fg and f . g often abbreviate comp(f, g). 1.1.5. DEFINITION. A category C is small if ObC is a set, and large if ObC is a proper class. 1.1.6. DEFINITION. A category C is discrete if C ( A , B ) = 0 for A # B and C(A, A) = {l(A)} otherwise. 1.1.7. DEFINITION. A category C is simple if C(A, B ) = 0 or C(A, B) = { * } for all A, B E ObC. 1.1.8. DEFINITION. An arrowgram is a system A= (A, S A , dom, cod, comp) determined by a transitive, but not necessarily reflexive set (A, IA).
6
INTRODUCTION
[1.1
Let P be the pre-ordered set introduced earlier, and let Q = (Q, SQ)be another pre-ordered set. Then a homomorphism F : P + Q is simply a monotone function, i.e., a function F : P + Q with the property that (x, y ) E PI implies (F(x), F ( y ) )E IQ. We can therefore think of F as a pair (F,, Fa) of functions F, : P + Q and F a : (P --* S Q satisfying the following axioms :
(F4) Fa(l(A)) = I(Fo(A)) for all A E ObC. Thus we are led to the following definition of a homomorphism of categories, known as a functor: 1.1.9. DEFINITION. A functor F : C + D is a pair (F, : ObC+ObD, : Arc + ArD) of functions satisfying Axioms (Fl), (F2), (F3), and (F4) above. F a
1.1.10. DEFINITION. A functor F : C + D is faithful if f# g in C implies that Fcf)# F ( g ) in D for all f, g E Arc. F is also called an embedding.
1.1.11. DEFINITION. A functor F : C + D is full if for every f E D(F(A), F(B)) there exists a g E C(A, B) such that f = F(g), for all A, B E ObC. 1.1.12. DEFINITION. A functor F : C + D is constant if there exists a B EObD with the property that F ( A ) = B and Fcf)= 1(B) for all A E ObC and all f E Arc. We denote F by Const B.
1.1.13. DEFINITION. A diagram in a category C (relative to an arrowgram A) is a pair of functions (F, : ObA+ ObC, Fa: ArA+ Arc) satisfying Axioms (Fl) and (F2) of a functor. 1.1.14. DEFINITION. A commutative diagram in a category C (relative to an arrowgram A) is a diagram in C satisfying Axiom (F3) of a functor.
1.11
CATEGORICAL PRELIMINARIES
7
It will be represented pictorially in the usual way. The set hom(P, Q) of homomorphisms of pre-ordered sets can itself be made into a pre-ordered set by defining f s g iff f ( x ) s Q g ( x ) for all x E P. In an analogous way, the class Funct(C, D) of functors from a category C to a category D can be made into a category, provided that it exists as a class in Godel-Bernays set theory. If C is small, its existence is assured. The arrows of this category are families of arrows of D. 1.1.24. DEFINITION. A natural transformation from a functor F to a functor G is a class v = {v(A) : F ( A ) + G(A) E ArD I A E ObC} whose elements satisfy the equations comp(G(f), v(A)) = comp(v(B), Fcf)) for all f : A + B E Arc. The elements of v are called the components of v. The above equations assert that all diagrams in D of the form
F(A)
"(A)+
G(A)
commute. In order to make Funct(C, D) into a category, we define the composite of two natural transformations v : F + G and p : G + H as follows: comp(p, v ) = {comp(p(A), v(A)) : F ( A ) + H ( A ) E ArD I A E ObC}. This makes the class { l(F(A)) : F ( A ) + F ( A )E ArD I A E ObC} the identity transformation 1(F) of F. Any pre-ordered set P determines another pre-ordered set Popcalled the opposite of P. The set P O p = ( P , Z P ) is defined by the condition that (x, y ) E Z P iff ( y , x) E S P . Analogously, every category C determines an opposite category Cop. 2.2.25. DEFINITION. The opposite category of a category C is the category Cop obtained from C by interchanging the values of the functions dom and cod of C,' and by defining compcw(g, f ) = compc(f, g ) for all f,g E Arc.
1.1.16. DEFINITION. A contravariant functor F : C + D is a functor
F : Cop+D, or a functor F : C +DOP.
8
INTRODUCTION
[1.1
By Ens we mean the category whose objects are the Godel-Bernays sets, and whose arrows-are functions between such sets. Functors with values in Ens will be called set-valued functors. Any A E ObC gives rise to a set-valued functor C(A, -) : C +Ens, and to a set-valued functor C(-, A) : CoP+Ens as follows: (1) Let f : B + C E A r c , and define C(A, f ) : C(A, B)+C(A, C) by the equation C(A, f)(g) = comp(f, g). (2) Let f : C + B E A r c , and define C(f, A ) : C(B, A ) + C ( C ,A) by the equation Ccf, A)(h) = comp(h, f). The functors C(A, -) and C(-, A) are known as hom functors. Let C and D be two categories. Then we can form a new category C x D as follows: Ob(C x D) = ObC x ObD, and Ar(C x D) = A r c x ArD, with composition defined by comp((h, k ) , (f,8 ) ) = (comp(k f), comp(k, g ) ) . 1.1.17. DEFINITION.A bifunctor is a functor whose domain is of the form C x D.
The functor C(-, -) : Copx C +Ens obtained in the obvious way from the hom functors above is a bifunctor. If F : C + D and G : D + E are functors, we can define their composite comp(G, F) : C + E as follows: and
comp(G, F)(A) = G ( F ( A ) )for all A E ObC, comp(G, F ) ( f )= G ( F c f ) )for all f E Arc.
By Cat we mean the category whose objects are all small categories, and whose arrows are all functors between such categories, with composition as defined above. This makes the assignments F ( A ) = A and Fcf) = f for all A E ObC and all f E A r c the identity functor 1(C) on C. 1.1.18. DEFINITION.An arrow f : A + B E A r C is an isomorphism if there exists an arrow g : B + A E A r c such that comp(f, g ) = 1(B) and comp(g, f) = 1W). 1.1.19. DEFINITION.If F, G : C + D are two functors, a natural transformation v : F + G is a natural isomorphism if there exists a natural transformation p : G + F such that comp(p, v) = 1(F) and comp(v, p ) =
1.11
CATEGORICAL PRELIMINARIES
9
Two objects A, B E ObC are isomorphic if there exists an isomorphism between them, and two functors F, G : C + D are isomorphic if there exists a natural isomorphism between them. We write A = B and F = G, respectively. Two categories C and D are equivalent if there exist functors F : C + D and G : D + C with the property that comp(G, F) = 1(C) and comp(F, G ) = l(D). The following lemma will be useful for proving objects isomorphic: I . 1.20. YONEDALEMMA.If F : C + Ens is a functor and A E ObC, then there exists a bijection Y : F ( A ) .+Nat(C(A, -), F ) between F ( A ) and the set Nat(C(A, -1, F) of natural transformations from C(A, -) to F.
PROOF.Let x E F ( A ) , define the function Y(x)(B) by the equation Y(x)(B)(f) = F(f)(x), and let Y(x) = { Y(x)(B) : C(A, B ) + F ( B )E ArEns 1 B E ObC}.
for all B, C E ObC and all g : B + C . On the other hand, let u E Nat(C(A, -), F). Then
1.1.21. COROLLARY. If u : C(A, -)+C(B, -) is a natural isomorphism, then u(A)( I(A)) : B + A is an isomorphism. Similarly for C(-, A)
C(-, B). 0
10
[1.1
INTRODUCTION
Next we define one of the most central notions required in this monograph: 1.1.22. DEFINITION. Two functors F : D + C and G : C + D are adjoint if there exists a natural isomorphism a(-,-) : D(-, G(-))4C(F(-), -) of , are the set-valued bifunctors bifunctors, where D(-, G(-)) and C ( F ( - ) -) o n D o P x C determined by F and G. The isomorphism a is called an adjunction.
The adjunction (Y determines two natural transformations 17 and respectively called the unit and counit of the adjunction:
E,
17 = {q(B): B + G ( F ( B ) )E ArD I B E ObD}, E = {€(A) : F(G(A))+
A E A r c I A E ObC},
where q(B)= a-'(l(F(B))) and €(A) = a(l(G(A))). The naturality of 77 is a consequence of the commutativity of the following diagram: C(F(A), F(A))
D(A, G
C ( F ( A ) ,FUN
J.
C(F(B), F ( B ) )
4
D(B, G ( F ( B ) ) ) .
The commutativity of a similar diagram establishes the naturality of E . The transformations 17 and E relate the values of (Y and a-' to the composition laws of the categories C and D as follows:
PROOF.By the naturality of a, the diagram
1.11
CATEGORICAL PRELIMINARIES
D(G(B), G ( B ) ) IN.G ( B ) )
i
D(A, G ( B ) )
a(G(B).B),
I1
C(F(G(B)), B )
I
U F W . 8)
>
C(F(A), B )
commutes. Hence a ( A , B)(f) = comp(a(G(B), B)(l(G(B)), F(f))= comp(E(B), F(f)) by the definition of E. A similar commutative diagram based on the naturality of a - ’establishes the second equation. 0 The following is an easy example of adjoint functors: 1.1.24. EXAMPLE. Let prOrd be the category whose objects are preordered sets and whose arrows are order-preserving functions. Then there exists a pair F : Ens+prOrd and U : prOrd+Ens of functors defined on objects as follows: F ( S ) = (S, %), with 5 s = {(x, x) 1 x E S}, i.e., F ( S ) is the free pre-ordered set generated by S, and U ( ( P ,I P )=)P, i.e., the set of elements of the pre-ordered set (P,IP). F and U are functorial and adjoint in the sense of Definition 1.1.22. The free monoid construction yields another example of adjoint functors:
1.1.25. EXAMPLE. Let Mon be the category whose objects are monoids and whose arrows are homomorphisms of monoids. Then there exists a pair M : Ens+Mon and U : Mon+Ens of functors defined on objects as follows: M ( S ) is the monoid consisting of the set of all finite sequences of elements of S, with concatenation as binary operation. U((A, X, I ) ) = A, i.e., the set of elements of the monoid ( A , x, 1). M and U are functorial and adjoint in the sense of Definition 1.1.22. The object M ( S ) is called the free monoid generated by S. The functors U in the previous examples are called forgetful functors. Their left adjoints F and M are called the free pre-order functor and the free monoid functor, respectively. They are two examples of many familiar free object functors F : Ens+C, left adjoint to forgetful functors U : C +Ens. An important combinatorial problem for free C-objects is the solution of the word problem for these objects, i.e., the problem of constructing
12
INTRODUCTION
[I.!
an algorithm for deciding the equality relation on these objects. Since free C-objects are determined, up to isomorphism, by a free C-object functor F, we can think of the word problem for free C-objects as the word problem for the free C-object functor F. By analogy, we define the word problem f o r a left adjoint functor F : Cat +C to a forgetful functor U : C + Cat as the problem of finding an algorithm which decides the equality of arrows of the objects E ( X ) relative to the equality of arrows of the objects X. Part of our work in Chapters 2-12 below consists of solving word problems for free object functors on Cat by proof-theoretical means. It is clear from the work of Gentzen (cf. SZABO[1969]) that the appropriate setting for certain syntactic problems of logic are systems with generalized transitivity. It has turned out that this need for generalization derives from the nature of the problems being tackled and the effectiveness of the methods of solution being employed. Hence it is not surprising that related problems in category theory are solved most easily by working in mathematical systems based on generalized composition. These systems will be called sequential categories. They have substitution as their fundamental operation.
1.1.26. DEFINITION. A sequential category is a system C = (ObC, Arc, dom, cod, subst) consisting of the following data: (1) A class ObC, whose elements are called objects. (2) A class Arc, whose elements are called arrows. (3) A function dom : Arc + M(0bC). (4) A function cod : Arc + M(0bC). (5) A function subst : Arc X,,, Arc + Arc, where M(0bC) stands for the free monoid generated by ObC, and where Arc xWxoArCand subst are defined as follows: The class Arc xmx,ArC is the disjoint union of the family of sets A r c x(,,
”)
Arc = {(f, g ) E A r c X ArC 1 codcf), = dom(g)”)
whose elements have the property that the p-th term of codcf) is the same as the v-th term of dom(g), with ( p , v) E w x w, and subst is the unique function determined by the universal property of disjoint unions from a family of functions
1.11
CATEGORICAL PRELIMINARIES
subst(p, v) : A r c x(,,.
.)
13
Arc +Arc.
The functions subst(p, v) are such that if domcf) = r, codcf) = Q yV, dom(g) = A y A , cod(g) = 0, and cod(& = dom(g), = y, then dom(subst(w, u ) ( g ,f ) ) = ArA and cod(subst(p, u ) ( g ,f)) = QOV. The relationship between f, g, and subst(p, v)(g,f ) is depicted in tree form by
f:r+@yV g:AyA-+O subst(w, u ) ( g ,f ) : A r A + QOV or simply by
r + a v ~A++@ A r A 3 QOV
if the labels f, g, and subst(p, v ) ( g , f ) are clear from the context. These data satisfy the following axioms: (SCl) For each y E ObC, there exists u l(y) : y + y E A r c such that (1) dom(l(y)) = cod(l(y)) = Y .
14
INTRODUCTION
[I.]
1.1.27. REMARK.The symbols appearing in axioms (SC3)-(SClO) have been arranged in a way that reveals the connection between these axioms: The deletion of I' and A from the domains of the arrows in (SC3)-(SC6) yields the domains of the arrows in (SC7)-(SClO), and the deletion of Y and R from the codomains of the arrows in (SC7)-(SClO) yields the codomains of the arrows in (SC3)-(SC6). Since sequential categories are a generalization of categories, we continue to use the terminology of category theory and define a functor between sequential categories as follows:
1.11
CATEGORICAL PRELIMINARIES
15
1.1.28. DEFINITION. A functor F : C + D is a pair (F, : ObC +ObD, Fa: A r c + ArD) of functions satisfying Axioms (Fl), (F2), and (F4) of a functor defined previously, together with the following generalization of Axiom (F3):
1.1.29. DEFINITION. A sequential category C is a subcategory of a sequential category D if ObC ObD, A r c ArD, if the functions dom, cod, and subst of C are the restrictions of the corresponding functions of D, and if all identity arrows of C are identity arrows of D. We call C a full subcategory of D if C is a subcategory of D, and if C ( A , B ) = D(A, B) for all A, B E ObC.
c
c
1.1.30. REMARK.It is clear that every category is sequential, and hence it makes sense to speak of a category as being a full subcategory of a sequential category. This is the only sense in which we shall have to use the concepts defined in 1.1.29.
In this monograph, we require sequential categories with arrows of the form subst(p, v)cf,g ) for p, v > 1 only as auxiliary structures. However, many familiar categories can be thought of non-trivially as sequential categories if we use some of their additional structure to define the functions subst(p, v). In Ens, for example, we can think of arrows f : A1 * * . A,,, +. B I * * . B,, as functions f whose domain consists of the Cartesian product of the sets A , , . . . ,A,,,, and whose codomain consists of the disjoint union of the sets B I ,. . . , B,, with subst really meaning substitution in the usual sense. Distributive lattices, considered as categories qua partially ordered sets, are other genuine sequential categories. Here the arrows f : A I . * * A,,, + B I . ’ * B, are pairs (inf(AI,. . . , A,,,), sup(B1,. . . ,B,,,)) with the property that inf(A1,. . . , A,,,) 5 sup(B1, . . . , B,,). It is clear from LORENZEN [ 195 11 that distributivity is necessary in order to give subst(p, v ) values for p > 1. The set of terms TL*of the language L*(X) defined in Chapter 13 yields another non-trivial sequential category C in which the functions
16
INTRODUCTION
11.2
subst(p, 1) have values for p > 1: Let A' = { * } be a fixed one-point set, A' = A = TL,,and A"" =..A" X A. Then we obtain a sequential category C by putting ObC ={A}, and letting Arc consist of 1(A) and the class {f' : A" 3 A I f E F" and n E w } whose elements are the functions defined by the equations f ( t , , . . . , t , ) = ft, . t,, with subst being substitution. e,.
1.2. Logical preliminaries
The basic notions of logic required in this monograph are language, deductive system, and deriuation. For the sake of simplicity and continuity of presentation, we define these concepts only in the generality needed for Chapters 2-12. Their extensions to quantilicational and infinitary logic required in Chapter 13 are introduced at that point. The definitions are formulated relative to a fixed, but arbitrary small category X. The language L(X) consists of the following data: (1) A class FL(X) whose elements are called formulas. (2) A class SeqL(X) whose elements are called (unlabelled) sequents. (3) A class LbSeqdX) whose elements are called labelled sequents. These data are defined inductively: 1.2.1. DEFINITION. Let I; = ObX U {N, A , v, 53, +,I,T, I},and let M ( Z ) be the free monoid generated by Z.Then FL(X) is the smallest inductive subset of M ( 8 ) satisfying the following three conditions: (1) ObX C FL(X). (2) I,T, 1 E FL(X). (3) If a,B E FL(X), then (aNP), (aA PI, (av P ) , (a.$P), and (a P ) E FL(X), where (an p ) , (aA p ) , (av p ) , (a=$ p ) , and (a p ) denote the strings u a p , A ap, v a@, =$ aP, and c$ ap, respectively. The elements of ObX and the formulas I,T and 1 are called the atomic formulas of L(X).
+
1.2.2. DEFINITION.Let M(FL(X)) be the free monoid generated by FL(X). Then SeqdX) = M(FL(X))X M(FL(X)).
Following Gentzen, and in view of their intended interpretation, we
1.21
LOGICAL PRELIMINARIES
17
write the elements (r,@) of SeqL(X) as r+@. In this notation, capital Greek letters stand for arbitrary elements of M(FL(X)),while lower case Greek letters denote elements of length 1, i.e., elements of FL(X). For the sake of simplicity we do not distinguish between a formula a and the sequence (a).We call r the antecedent and @ the succedent of the sequent r + @. 1.2.3. DEFINITION.Let Lb(h(X)) be the class of labels defined in Appendix A. Then LbSeqL(X) = Lb(&X)) x SeqL(X).
Extending the notation for sequents introduced in 1.2.2, we write the elements (f, (r,0)) of LbSeqL(X) as f : r+@. We call f the label of the sequent r + @. 1.2.4. DEFINITION. An unlabelled deductive system in the language L(X) is a substructure of the relational structure
A(X) = (SeqdX), (Al)-(A4), (Rl)-(Rl7)),
where A + B E ( A l ) iff A, B E ObX and X(A, B ) # 0, ( K , A, p ) E (RI) iff K = r + @ y Y , A = A y h + O , and p = AI'A+@WP, for some r, @, y, Y, A, A, 0 E M(FL(X)), etc. The relations (Ai) and (Rj) have the meaning assigned to them in Appendix B. 1.2.5. DEFINITION. A labelled deductive system in the language L(X) is a substructure of the relational structure
&X)
= (LbSeqdX), ( i l ) - ( i I 5 ) ,
(R1)-(RI I)),
where f : A + B E (A]) iff A, B E ObX and f E X(A, B), ( K , A, p ) E (Rl) iff K = f : A + B , A = g : B + C , a n d p = c o m p ( g , f ) : A + C , f o r s o r n e f, g, comp(g, f ) E Lb(&X)) and some A, B, C E FL(X), etc. The relations (h)and (Rj) have the meaning assigned to them in Appendix A. Finally, we introduce the concept of a derivation. For this purpose, we require the auxiliary notion of a tree, based on a non-empty set N ,
18
[1.2
INTRODUCTION
whose elements are called nodes, and a fixed one-point extension N * N U {m} of N. The following definition is adequate and convenient:
=
1.2.6. DEFINITION. A tree is a function T : N + N * with the property that T ( r ) = m for some r E N , and that for all x E N there exists a n E o such that T " ( x ) = r.
A tree is finite if N is finite, binary if T - ' ( x ) contains no more than two elements for all x E N*, and ordered if a well-ordering is given for each of the sets T - ' ( x ) . In Chapters 2-12, the concept of a tree will be synonymous with that of a finite, binary, ordered tree. The more general form of this notion required in Chapter 13 will be introduced at that point.
1.2.6. DEFINITION.A
{x, ~ ( x ) ., . . , T " ( X ) ) C N.
branch
of
a
tree
T
is
a
set
B:
=
A branch B: is maximal if T - ' ( x ) = 0 and T " ( x ) = r. The length of B: is n + 1. The height of T is the maximum of the lengths of the maximal branches of T . The width of T is the number of maximal branches of T.
1.2.6. DEFINITION. A derivation of an unlabelled deductive system xA(X) on a tree T : N + N* is a function f T : N + SeqdX) satisfying the following conditions: ( 1 ) If T - ' ( x ) = 0, then f 7 ( x )E 1 (Ai), for some i E {1,2,3,4}. (2) If T - ' ( x ) = { y } , then ( f T ( y )f,T ( x ) ) E 1 ( R i ) , for some i E (2, 3 , 4 , 5, 6, 7, 9, 1 1 , 13, 15, 17). (3) If T - ' ( x ) = { y , z } and if y Iz in the given well-ordering of { y , z}, then ( f T ( y ) , f T ( z ) , f T ( x ) 1) E ( R i ) , for some i E{1, 8, 10, 12, 14, 16}, where 1 ( A i ) and 1 ( R i ) denote the restrictions of ( A i ) and ( R i ) to xA(X). 1.2.7. DEFINITION. A derivation of a labelled deductive system x&X) on a tree T : N + N * is a function fT : N + LbSeqdX) satisfying the following conditions: (1) If T - ' ( x ) = 0, then f T ( x ) E 1 (Ai),for some i E (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1 1 , 12, 13, 14, 15, 16).
I .21
LOGICAL PRELlMINARlES
19
(2) If T - ' ( x ) = { y } , then (fT(y),fT(x))EF (Ri), for some i E {7,9, 1 I}. (3) If T - ' ( x ) = {y, z } and if y 5 z in the given well-ordering of {y, z } , then (fT(y),fT(z),f 7 ( x ) )E 1 (Ri), for some i E { I , 2. 3 . 4 , 5 . 6 . 8, lo}, where E ( A i ) and F ( R i ) denote the restrictions of (Ail and (Ri) to XA(X). 1.2.8. DEFINITION. A sequent r + @is derivable in a deductive system xA(X) if there exists a derivation of xA(X) such that r + @ =fr(r). with T(r)= 00. Similarly for f : r + @and x&X). fT
In much of our syntactic work below, we shall have to refer to the shapes of the trees underlying the elements of certain classes of derivations. For this purpose, we introduce the following concepts:
1.2.9. DEFINITION. The height of a derivation fT is the height of the underlying tree T , and the width of ft is the width of 7.
In practice, the tree T underlying a derivation fs is clear, up to isomorphism, from the configuration displaying the derivation. Since we are not interested in the nature of the nodes of 7 , this suffices for our purposes. Hence can defined the classes Der(&X)) and Der(A(X)) of derivations of &X) and of A(X) by an induction on height, without explicitly mentioning the trees involved. This is done in Appendices A and B below. Finally, we discuss several points of terminology, omission, and convention: (1) The relations (Ai) and (Aj) and their elements are, ambiguously, called axioms. The relations (Ri) and (Rj) are called rules of inference. Their elements are called applications or instances of ( R i ) and (Rj). Rule (Rl) is called the cut (rule). (2) The sequents above the line in the definition of a rule of inference in Appendices A and B are called the premisses and the sequent below the line is called the conclusion of the stated instance of the rule of inference. (3) An element of Der(A(X)) is said to be cut-free if it contains no instances of (Rl). A relation R on SeqL(X) is said to be an admissible rufe of inference of a deductive subsystem xA(X) of A(X) if its inclusion in xA(X) as an additional rule of inference leaves the class of derivable sequents of xA(X) unchanged.
20
INTRODUCTION
t1.2
(4) The formula y in (RI) is called a cut formula. The formulas a, p, a np, a A p, a v p, a! jp, and a p are said to be active, and the formulas in r, A, a, 9,and A are said to be passive in the stated instances of Rules (R2)-( R 17). ( 5 ) For mnemonic reasons, we use straight capital Greek letters, i.e., r, A, A, 8,and II, as antecedent symbols, and curved ones, i.e., @, q, 0 , a, and Y, as succedenf symbols. (6) For the purpose of applying structural rules to elements of M(FL(X)) in the antecedent or succedent of a sequent, we often treat such elements as if they were of length 1, provided that they are represented by a single capital Greek letter in the relevant sequent. (Cf., for example, Clause (C.3) in the statement of the cut elimination algorithm.) This practice is harmless and simplifies the exposition. We use the same device when interpretipg the elements of M(FL(X))as categorical objects. In both cases, the ambiguity is semantically justified by the coherence of the associativity isomorphisms in monoidal categories (cf. Theorem 2.6.1.1). (7) Identity arrows are often left unlabelled (cf. 4.6.9, for example), and on occasion several instances of structural rules of inference are notationally collapsed (cf. 5.4, for example). (8) We usually write L(X) for the class of formulas FL(X) of the language L(X) whenever the meaning is clear from the context, and assign the obvious meaning to the concepts of sublanguage, subformula, deductive subsystem, and subderivation. (9) The interpretations of elements of Der(A(X)) as arrows of suitable categories are stated only for the general case, i.e., the case where capital Greek letters represent non-empty sequences of formulas. The intended meaning of the remaining cases is clear from the context. In particular, as the interpretations of (A2), (A3), and (A4) suggest, a derivation of a sequent of the form r + i s intended to have the same meaning as any one of the obvious associated derivations of the sequent r +I,and a derivation of a sequent of the form +Q, is intended to have the same meaning as any one of the obvious associated derivations of the sequent T+ Q,, respectively 1- a.
+
CHAPTER 2
MONOIDAL CATEGORIES
The weakest structure on a category of logical interest is one whose object part is reminiscent of a monoid. This type of structure serves as a model for the proof-theoretical properties that are common to A and v, and to T and I,and that are independent of the symmetry of the operations A and v. 2.1. Definition
A monoidal category is a category C with the following structure: (1) A bifunctor ( - ) n ( - ) : C x C + C . (2) A distinguished object I E ObC. (3) Three natural isomorphisms a,A, and p, where a = { a ( A ,B, C) : A n ( B n C ) + ( A nB)n C E A r c I A, B, C E ObC}, A = {A(A): In A + A E A r c 1 A E ObC}, p = { p ( A ) : A nI+ A E A r c 1 A E ObC}.
These data satisfy three commutativity conditions, for ail A, B, C, D E ObC:
( A x ( B n C ) )n D
A 10: ( ( B XI C) I D )
(M2) A n (In B )
( A n I)x B
21
22
MONOIDAL CATEGORIES
[2.2
(M3) IwtILI
-1 2.1.1. REMARK.Axioms (Ml)-(M3) are known as the MacLane-Kelly coherence conditions for a,A, and p. They entail that all diagrams whose edges are constructed by means of x1, a,A, p, and 1 commute. 2.2. Examples
2.2.1. Any monoid (M, +, 0) becomes a monoidal category C if we put I = O , m # : n = m + n , O b C = M , a n d ArC={l(rn)(mEM}. 2.2.2. Any commutative monoid ( M , +, 0) becomes a monoidal category C if we put ObC = {M}, A r c = M, with f : M 4 M defined by f(x) = f + x , M x c M = M , a n d fxcg=f+g. 2.2.3. Any lower semilattice (S, A , T )with inf operation A and maximal element T becomes a monoidal category qua monoids, and so does every upper semilattice (S, v, I)with sup operation v and minimal element 1.
A category C has finite products if for any finite subset {A;1 i E n E o} of ObC there exists a P E ObC and a set {T; : P -+A; 1 i E n E o} of arrows of C with the property that for each B E ObC, and each f; : B --* Ai E A r c , there exists a unique arrow g : B -+ P E A r c such that comp(Tj, g ) = fj, for all j E n. The system ( P , m ) is called a product in C. If n = 0, then P is called a terminal object of C.
2.2.4. Any category C with finite products becomes a monoidal category if a unique terminal object is chosen for I,and if for each A, B E ObC, a unique product object P is chosen as A x1 B. A category C has finite coproducts if the category Cop has finite products. A coproduct object for n = O is called an initial object of C. 2.2.5. Any category C with finite coproducts becomes a monoidal category qua the monoidal structure on Copdefined in 2.3.4.
2.31
T H E C‘ATEGORY
Fm(X)
-33
2.2.6. The category RModR of R-R-bimodules and homomorphisms between them, for a fixed unitary ring R, has a natural monoidal structure. The usual tensor product with the action on the generators m @ n defined by the equation r ( m @ n ) r ’ = ( r m )@ (nr’) yields a bifunctor n with unit R. A detailed description of RModR may be found in LAMBEK [ 19661. 2.2.7. REMARK. In Ens, product objects are Cartesian products and coproduct objects are disjoint unions. Any one-element set is a terminal object, and the empty set is initial. In Cat, product and coproduct objects are analogous to those in Ens.
2.2.8. REMARK. The category Ens* of pointed sets and base-point preserving functions carries each one of the monoidal structures described in 2.2.4, 2.2.5, and 2.2.6. For any two pointed sets (P, * P ) and (Q, * a ) , the pair (P X Q, ( * P , * Q ) ) is a product object, rhe pair ( ( P + Q)/=, { * P , * Q}) obtained by forming the disjoint union of the sets P and Q and dividing out by the smallest equivalence relation containing ( * P , * Q ) is a coproduct object, and the pair ((P x Q)/=,6 ) is a tensor product object, where = is the smallest equivalence relation on P x Q satisfying the conditions (a. * Q) = (b, * Q ) and ( * P , c) = ( * P , d) for all a , b E P and all c , d E Q , and b = { ( p , q ) E P x Q ( p = * P or q = *Q}. For products and coproducts, the unit I is any one-element pointed set ( { p } , ~ ) and , for tensor products, it is any two-element pointed set ({P, q l , P > -
2.3. The category Fm(X) Small monoidal categories are the objects of a category mCat whose arrows are functors F with the property that F ( A n B) = F ( A )n F ( B ) , F(I)=I, F ( a ( A ,B, C ) )= a ( F ( A ) ,F ( B ) ,F ( C ) ) , F(A(A)) = A ( F ( A ) ) , and F ( p ( A ) )= p ( F ( A ) ) ,for all A, B, C E Obdom(F). There exists an obvious forgetful functor Um : mCat + Cat. We now describe the construction of a left adjoint Fm : Cat+mCat of Um. For this purpose, we require a language mL(X), a labelled deductive system md(X), and a congruence relation = on Der(mb(X)).
24
MONOIDAL CATEGORIES
[2.3
2.3.1. DEFINITION. The language of Fm(X) is the sublanguage mL(X) of L(X) generated by ObX, I, I, and ArX. 2.3.2. DEFINITION.The labelled deductive system of Fm(X) is the subsystem m&X) of &X) generated by Axioms (Al), (A2), (A3), (A4), (A6), (A7),(AS), (AS), and Rules (Rl) and (R2). 2.3.3. NOTATION.In keeping with the intended use of formulas as objects, we write dom(f) for A and codcf) for B, for any derivation f : A + B E Der(m&X)). 2.3.4. DEFINITION. The relation = is the smallest equivalence relation on Der(m&X)) satisfying the following conditions: (1) If f = g, then dom(f) = dom(g) and codcf) = cod(g). (2) If f = g and h = k, then comp(h,f) = comp(k, g). (3) If f = g and h = k , thenfwch=gnk. (4) If domcf! = A and cod(f) = B, then compcf, l(A))=f and comp(l(B), f ) = f. ( 5 ) comp(f,comp(g, h))=comp(compcf,g), h ) . (6) compCf I g, h I k) = compcf, h ) I comp(g, k). (7) comp(a-', a)= l(dom(a)) and comp(a, a-I) = l(dom(a-I)). (8) comp(a,fn(gIh))=comp((fwcg)n h, a). (9) comp(A-', A ) = l(dom(A)) and comp(A, A-') = l(dom(A-I)). (10) compcf, A ) = comp(A, l(1)wcf). (11) comp(p-l, p ) = l(dom(p)) and comp(p, p - ' ) = l(dom(p-l)). (12) compcf, p ) = comp(p, f~ l(1)). (13) comp(a, a)= comp(a I 1, comp(a, 1I a)). (14) comp(p I 1, a)= comp( 1, 1I A). (15) comp(1, A ) = p. 2.3.5. REMARK.In most of the above clauses, we have used the label of the concluding sequent of a derivation as a name for the derivation. In each case, the context resolves the resulting ambiguity. We continue this practice in the chapters below. We can now define the category Fm(X): (1) ObFm(X) = mL(X). (2) ArFm(X) = {af] I f E Der(m&X))}, where lJ.fl denotes the equivalence class determined by f.
2.31
T H E CATEGORY
Fm(X)
25
(3) For all derivable labelled sequents f : A + B, dom(llf1) = A and cod((Lf1)= B. (4) For all derivable labelled sequents f : A - B and g : B + C , comp(ugn, = Ucomp(g, (5) For all derivable labelled sequents f : A + B and g : C + D , a f l n ign = ( ~x1fgl. (6) For all A EObFm(X), ](A) =([l(A)IJ, where ] ( A ) : A + A is a derivation quoting Axiom ( A l ) or (A2). (7) The definitions of a, a - l , A, A - I , p , and p-l are analogous to the definition of the identities of Fm(X) in Condition ( 6 ) , with Axioms (A3), (A4), (A6), (A7), (h), and (A9) in place of and (A2). (8) The image of f : A + B E ArX in Fm(X) i\ [If]. This completes the description of Fm(X). By Conditions 2.3.4.1, 2.3.4.2, 2.3.4.4. and 2.3.4.5, Fm(X) is a category, and by Conditions 2.3.4.3, 2.3.4.6, and 2.3.4.7-15, Fm(X) is monoidal. Moreover, an easy induction on the construction of Fm(X) shows that every functor H : X + Um(M) extends to a unique arrow H : Frn(X) + M in rnCat. Hence we call Fm(X) the free nzonoidal category genertited by X. In order to complete the description of F m as a left adjoint of the forgetful functor Um, it remains to define it on the arrows of Cat.
u.m
f)n.
(A])
2.3.6. DEFINITION. Let H : C + D be an arrow of Cat, and Fm(C) and Fm(D) the free monoidal categories generated by C and D. Then Fm(H) : Fm(C)+ Fm(D) is the functor satisfying the following equations: (1) Fm(H)(A) = H ( A ) for all A E ObC. (2) Fm(H)(A n B ) = Fm(H)(A)xc Fm(H)(B) for all A, B E ObFm(C). (3) F m ( H ) ( I ) = I. (4) Fm(H)(aflJ) = [ H ( f ) ]for all f E A r c . ( 5 ) Fm(H)(l(A)) = l(Fm(H)(A)) for all A E ObFm(C). (6) Fm(H)(a(A, B, C)) = a(Fm(N)(A), Fm(H)(B), Fm(H)(C)) for all A, B, C E ObFm(C). (7) Fm(H)(A(A)) = A(Fm(H)(A)) for all A E ObFm(C). (8) Fm(H)(p(A)) = p(Frn(H)(A)) for all A E ObFrn(C). (9) Fm(H)(comp(g,f 1) = cornp(Fm(H)(I:),Fm(H)(f))for all c 0 r n p k - f ) E ArFm(C). (10) Fm(H)(f x1 g ) = Fm(H)(f) x1 Fm(H)(g) for all f. g E ArFm(C). The verification that Um and F m are adjoint functors is routine. We now show that there exists an alternative composition-free description of Fm(X) by means of an unlabelled deductive system mA(X).
26
MONOIDAL CATEGORIES
[2.5
2.4. The deductive system mA(X)
The unlabelled deductive system of Fm(X) is the subsystem mA(X) of A(X) generated by Axioms (Al), (A2), and the following restrictions of Rules (Rl), (R2), (R8), and (R9):
2.5. The semantics of Der(mA(X))
In this section, we interpret the derivations of mA(X) as arrows of Fm(X) and prove the completeness of Der(mA(X)) with respect to this semantics to the effect that every arrow of Fm(X) is representable by means of some derivation of mA(X). 2.5.1. DEFINITION.The interpretation of Der(mA(X)) in Fm(X) is the function S : Der(mA(X)) + ArFm(X) defined by the following conditions:
f
(1) S ( A + B ) = a f : A + B n .
(2) S(+ I)= l(1) : I+I.
2.51
THE SEMANTICS OF
21
Der(mA(X))
The interpretation S induces an equivalence relation = on Der(mA(X)) defined by f = g iff S(f)= S ( g ) . The following theorem shows that in some sense, Der(mA(X))/= and ArFm(X) are isomorphic: 2.5.2. THE COMPLETENESS THEOREM FOR Der(rnA(X)). For every f € Der(mi\(X)) there exists a g E Der(rnA(X)) such that S ( g ) = afn E ArFm(X).
PROOF.The proof is by an induction on the definition of the derivations of md(x). f ( 1 ) If f quotes Axiom (Al), let g be the derivation A 4B. (2) If f quotes Axiom (A2) and af] = l ( I ) , let g be the derivation -1, and if afn= I(AnB) and S ( h ) = 1(A) and S ( k ) = I(B), let g be the derivation h k A+A B+B AB+AnB AnB+AnB (3) If f quotes Axiom (A3), (A4), (A6), (A7), (h), or (A9), and S ( h ) = 1(A), S ( k ) = I(B), and S ( m ) = l(C), let g be the derivations
h k A+A B+B AB+An B C Z C ABC+ (An B) XI C A(BxIC)+ (An B) XI C An(BnC)+(AnB)nC ~~~
h A+A IA+A InA+A
h +I A+A A+InA
k
B+B C Z C h A+A BC+ Bn C ABC+An(BnC) (AXIB ) C + A N(Bn C ) (A~B)~C+AN(B~C) h A+A h AI+A and A + A + I AnI+A A+AnI
respectively. (4) If the last line of f consists of an application of (Rl), i.e., f is a derivation of the form
28
MONOIDAL CATEGORIES
P
[2.6
4
u:A+B v:B+C comp(v, u ) : A + C
and if Up] = S ( h ) and [ q ] = S(k), let g be the derivation h k A+B B+C A+C ( 5 ) If the last line of f consists of an application of (R2), i.e., f is a derivation of the form 4
P
u:A+B v:C+D U N V :A#C+BND
and if Up] = S ( h ) and ( q ] = S ( k ) , let g be the derivation A +hB
C +k D
2.5.3. COROLLARY. The category Fm(X) is isomorphic to a subcategory of the sequential category generated by the deductive system mA(X) and the interpretation S : Der(mA(X))+ ArFm(X). 0 2.6. The syntax of Fm(X)
The advantages of representing the arrows of Fm(X) by means of derivations of mA(X) in the place of derivations of m&X) are twofold: On the one hand, every derivation in mA(X) codes the name of the arrow it represents and we can therefore dispense with labels, except for those of some axioms, and on the other hand each arrow has a compositionfree representation: 2.6.1. THE CUT ELIMINATIONTHEOREMFOR mA(X). Every f € Der(mA(X)) is equivalent to a cut-free g E Der(mA(X)).
The proof of Theorem 2.6.1 is based on the following result first proved in MACLANE [19631:
2.61
THE SYNTAX OF
Fm(X)
29
2.6.1.1. THE COHERENCETHEOREMFOR mCat (MacLane). If X is discrete, then Fm(X) is simple. 0 PROOFOF THEOREM2.6.1. It is clear from the interpretation of the rules of inference of mA(X) that the coherence theorem for monoidal categories trivializes the semantic aspects of Theorem 2.6.1, and the result therefore follows at once from Clauses (C.l), (C.2.2), (C.13), (C.18.1-2), (C.24.1-2), (C.25.1-2), (C.34), and (C.40) of the cut elimination algorithm described in Appendix C. 0 Using Clauses (D. l ) , (DS), (D.6), (D.40), and (D.43) of the reducibility relation L defined in Appendix D, together with the Coherence Theorem for mCat, we can strengthen Theorem 2.6.1: 2.6.2. THE NORMALIZATIONTHEOREM FOR mA(X). Every f E Der(mA(X)) reduces to a unique equivalent normal g E Der(mA(X)). 0 Since it is clear from proof theory that, up to a change of axioms, any sequent in mL(X) has at most one normal derivation in mA(X), we have the following corollary: 2.6.3. THE CHURCH-ROSSERTHEOREMFOR mA(X). I f f = g , then there exists a normal h E Der(mA(X)) such that f 2 h and g 2 h. 0 2.6.4. COROLLARY.The word problem f o r the functor Fm is solvable. 0 It is clear that all normal derivations in mA(X) of a sequent A + B have the same underlying tree T,and are therefore unique and effectively determined by the syntax of Fm(X), relative to any fixed assignment of axioms of mA(X) to the top nodes of T. Hence Theorems 2.5.2, 2.6.1, and 2.6.3 characterize ArFm(X): 2.6.5. THE COMPUTABILITY THEOREMFOR Fm(X). Relative to X, the sets Fm(X)(A, B ) are computable f o r all A, B E ObFm(X). 0 2.6.6. COROLLARY.The embedding X + Fm(X) defined by f -+ afll is full and faithful.
30
MONOIDAL CATEGORIES
[2.6
PROOF,If f # g € X ( A , B ) , then f and g are normal derivations of A+ 18, an8 by Theorem 2.6.3, fZg. Hence afll Z O[gIE Fm(X)(A, B). On the other hand, it follows from Theorems 2.5.2, 2.6.1, and 2.6.2, that for every h E Fm(X)(A, B ) there exists a k E X(A, B ) such that h = Ik].
2.6,7,REMARK.Using the fact that any binary expression of n terms can be rebraclreted in 1 m=-( n+l
2n-1 n-1
)
ways, we observe that every arrow f :A, * - A, + B in the sequential category gewr@#ed by mA(X) determines 4 ( n ) distinct arrows in Fm(X). We also that even for discrete X, every object of Fm(X) has infinitely m n y isomorphic copies in Fm(X) since A = A M I = (A M I)MI= , , ,ctc., for all 4 E ObFm(X).
.
CHAPTER 3
SYMMETRIC MONOIDAL CATEGORIES
We now study the effect of the symmetry of the operations A and v on the considerations of Chapter 2. The appropriate class of categorical models for this purpose is the class of small symmetric monoidal categories. 3.1. Definition
A symmetric monoidal category is a monoidal category C with the following additional structure: (4) A natural isomorphism u,where CT
= {cT(A,B ) : Ax
B + B x A E Arc I A, B E ObC}.
The category C satisfies three additional commutativity conditions, for all A, B, C E ObC: LI
(M4) A x ( B x C)----*
( A xB ) x C -
AxB 31
I7
C x (A x B )
32
SYMMETRIC MONOIDAL CATEGORIES
13.3
3.1.1. REMARK.Axioms (Mlt(M6) are known as the MacLane-Kelly coherence conditions for a,A, p, and u.Their independence was proved [1963], they entail that in KELLY[1964]. As was first shown in MACLANE all diagrams whose edges are constructed by means of N, a,A, p, a,and 1, and none of whose vertices contains two occurrences of the same object, with the possible exception of I, commute.
3.2. Examples 3.2.1. The monoidal categories in Examples 2.2.2, 2.2.3, 2.2.4, 2.2.5 and 2.2.8 all have a natural symmetric structure. 3.2.2. For any commutative ring K, the category mod of left K modules with the usual tensor product as bifunctor and the ring K as distinguished object, carries a symmetric monoidal structure, and so does the category ModK of right K-modules. 3.2.3. COUNTER-EX~~MPLES. In addition to the trivial counter-examples provided by the non-commutative monoids in Example 2.2.1, the following construction, suggested by Michael Barr, shows that not every monoidal category of R-R-bimodules admits a symmetric structure: Let RModR be the monoidal category of R-R-bimodules of Example 2.2.6, where R = k [ x ] is a ring of polynomials over a field k, and let RMRand RNR be two R-R-bimodules whose actions are determined by the conditions RM1 RR, N R = RR, & ( m , x) = m for all m E M , and +(x, n) = 0 for all n E N. Then the tensor product M @ R N = 0, since m @ n = & ( m , x ) @ n = m @+(x, n) = m 8 0 = 0, and N @ R M= R. Hence RModR is not symmetric monoidal with respect to the tensor product.
3.3. The category Fsm(X) Small symmetric monoidal categories are the objects of a category smCat whose arrows are the arrows F of mCat satisfying the property that F(u(A,B ) ) = a ( F ( A ) ,F ( B ) ) ,for all A, B E Obdom(F). There exists an obvious forgetful functor Usm : smCat+ Cat, and we now extend the definition of Fm to construct a left adjoint functor Fsm : Cat+ smCat of Usm.
3.41
T H E DEDUCTIVE SYSTEM
smA(X)
33
3.3.1. DEFINITION.The language of Fsm(X) is the sublanguage smL(X) of L(X) generated by ObX, I, I, and ArX. 3.3.2. DEFINITION.The labelled deductive system of Fsm(X) is the subsystem smb(X) of b(X) generated by Axioms (Al), (A2), (A3), (A4), ( A 9 , (A6), (A7), (h), (A9), and Rules (81) and (R2). 3.3.3. REMARK.A comparison with 2.3.1 and 2.3.2 shows that smL(X) = mL(X), and that smb(X) results from m&X) by the inclusion of Axiom (A5). 3.3.4. DEFINITION. The relation = is the smallest equivalence relation on Der(smb(X)) satisfying the conditions of the equivalence relation defined in 2.3.4 and the following additional requirements: (16) compCf I g, a )= comp(a, g I f). (17) comp(comp(a, a),a)= comp(comp(a I 1, a),1 I a). (18) comp(h, a)= p. (19) comp(c+,a)= l(dom(a)). The category Fsm(X) is defined analogously to the category Fm(X) with Clause (7) in the definition of Fm(X) now also mentioning Axiom (AS).We call the category Fsm(X) the free symmetric monoidal category generated by X. The values of Fsm on the arrows of Cat are defined as in 2.3.6, with the following additional clause: (1 1) Fsm(H)(a(A, B)) = a(Fsm(H)(A), Fsm(H)(B)) for all A, B E ObFsm(X). As in Chapter 2, the verification that Usm and Fsm are adjoint functors is routine. We now extend the composition-free description of Fm(X) to a composition-free description of Fsm(X). 3.4. The deductive system smA(X) The unlabelled deductive system of Fsm(X) is the subsystem smA(X) of A(X) generated by Axioms (Al), (A2), and the following restrictions of Rules (Rl), (R2), (R4), (R8), and (R9):
34
SYMMETRIC MONOIDAL CATEGORIES
[3.5
3.4.1. REMARK.The deductive system smA(X) results from mA(X) by the inclusion of Rule (R4) as additional rule of inference.
3.5. The semantics of Der(smA(X))
We extend the interpretation of Der(mA(X)) in ArFm(X) to an interpretation S : Der(smA(X))+ ArFsm(X) by means of Clauses (1)-(6) of 2.5.1 and the following additional definition:
Analogously to the identification in 2.5, we put f = g iff Scf) = S ( g ) , and obtain a bijection Der(smA(X))/= = ArFsm(X): 3.5.1. THE COMPLETENESS THEOREMFOR Der(smA(X)). For every f E Der(smb(X)) there exists a g E Der(smA(X)) such that S ( g ) = afJl E ArFsm(X).
3.61
THE SYNTAX OF
Fsrn(X)
35
PROOF. The theorem follows from the proof of Theorem 2.5.2, with Case (3) augmented as follows: If f quotes (h), and S ( h ) = 1(A) and S ( k ) = l ( B ) , let g be the derivation h k B+B A + A BA-BxlA AB+BnA AMB+BIA
0
3.5.2. REMARK.In the proof of Theorem 3.5.1, it was tacitly assumed that the notation reveals the active formulas of instances of (R4). In cases of ambiguity, the active formulas will be highlighted by means of dots enclosing them. Thus
h .AA.A+ B .AA.A + B
and
h A.AA. --* B A.AA.+ B
denote different derivations. Since A ( 1 ) = p ( 1 ) in Fsm(X), such distinctions are unnecessary in the case of (R2). 3.5.3. COROLLARY.The category Fsm(X) is isomorphic to a subcategory of the sequential category generated by the deductive system smA(X) and the interpretation S : Der(smA(X))+ ArFsm(X). 0
3.6. The syntax of Fsm(X)
The cut elimination theorem for mA(X) extends to smA(X) and affords the same syntactic advantages. 3.6.1. THE CUT ELIMINATION THEOREM FOR smA(X). Every f € Der(smA(X)) is equivalent to a cut-free g E Der(smA(X)).
The proof of Theorem 3.6.1 uses the following result:
3.6.1.1. THE COHERENCETHEOREMFOR smCat (MacLane). If X is
36
SYMMETRIC MONOIDAL CATEGORIES
[3.6
discrete, then for all A, B E ObFsm(X) with the property that they contain no object of X more than once, Fsm(X)(A, B ) contains at most one element. 0 PROOF OF THEOREM3.6.1. The theorem follows from the proof of Theorem 2.6.1, together with Clauses (C.20.1-4) and (C.36) of the cut elimination algorithm described in Appendix C, provided that the mentioned clauses preserve equivalence. But an inspection shows that nowhere do they depend on the identity of formulas other than the two instances of the cut formula. Hence the required equivalences are immediate consequences of the coherence theorem for symmetric monoidal categories. This proves the cut elimination theorem for smA(X). 0 The following counter-example shows that the coherence theorem for smCat does not hold unconditionally: 3.6.2. COUNTER-EXAMPLE. Let A = B N B, with B E ObX. Then the set Fsm(X)(A, A) contains two distinct elements: 1(B N B ) and a ( B , B).
Using Clauses (D.l), (D.3), (DS), (D.6), (D.24), (D.26), (D.27), (D.40), and (D.43) of the reducibility relation L defined in Appendix D, together with the coherence theorem for smCat, we can strengthen the cut elimination theorem: 3.6.3. THE NORMALIZATION THEOREM FOR smA(X). Every f E Der(smA(X)) reduces to a unique equivalent normal g E Der(smA(X)). 0
The usefulness of normal derivations derives from the fact that they are effectively calculable by the cut elimination and normalization algorithms, and that this process makes the equality relation in Fsm(X) decidable: 3.6.4. THE CHURCH-ROSSER THEOREMFOR smA(X). If f = g , then there exists a normal h E Der(smA(X)) such thaf f 2 h and g 2 h.
PROOF.Since Fsm(X) is free on X and since
L
preserves equivalence, it
3.61
THE S Y N T A X OF
Fsm(X)
37
is sufficient to show that distinct normal derivations f, g : A + a represent distinct arrows in Ens. In the light of Theorem 3.6.1, we may assume that X is discrete. By Clauses (D.6), (D.27), (D.40), and (D.43) of 2 , we may assume that f and g contain no instances of (R9), and by Clauses (D.I), (D.3). (D.5), and (D.6) that f and g contain no instances of (R2). Thus if I is the only atomic subformula of a,then A is empty because of the absence of instances of (R2), and by Theorem 3.6.1, f quotes an axiom iff g quotes an axiom. Under these conditions, neither f nor g contains an instance of (R4). By Clause (D.26), the same is true if both f and g end with an instance of (R8). In these cases, the result therefore follows from Theorem 2.6.3. Two possibilities remain: 1. Derivation f ends with (R8), and therefore contains no instances of (R4),and g ends with (R4). 2. Both f and g end with (R4). It is clear from the nature of (D.24) and (D.26) that the following examples are typical: (1) f and g are the derivatives A+A B+B AB+AnB
g A + A B+B AB+AnB BA+AnB
with A = B E ObX. (2) f and g are among the derivations A-+A B+B AB+AnB C+C ABC -+ ( A I B ) n C BAC + ( A n B ) n C
A+A B+B C+C AB+AxB ABC + ( A n B ) x C ACB + ( A n B ) n C
A+A B+B AB-+AnB C+C ABC+ ( An B ) n C BAC + ( A n B ) x C BCA -+ ( A x B ) n C
A+A B+B AB+AnB C+C ABC -+ ( A n B ) 11: C ACB+ ( A nB)n C CAB -+ ( A n B ) n C
38
SYMMETRIC M O NO I DAL CATEGORIES
A+A B+B AB+AMB C+C A B C + ( A x( B)x( C
[3.6
A+A B+B AB+AnB C+C ABC + (Ax(B ) MC ACB + ( A x( B)x( C CAB + ( A 10: B ) n C CBA + ( A x( B ) XI C
with A = B = C E ObX. Let M be an infinite set, consider Ens as a symmetric monoidal category with respect to Cartesian products, and let FM : Fsm(X) +Ens be the unique functor which preserves the symmetric monoidal structure of Fsm(X) exactly and agrees with the constant functor ConstM : X-Ens on X. Then it follows from the definition of the interpretation S that F M ( S ( f )#) F M ( S ( g ) )Since . M is infinite, the functor FM will separate all similar derivations containing any finite number of instances of (R8). 0 3.6.5. COROLLARY. The word problem f o r the functor Fsm is solvable. 0
It is clear that all normal derivations in smA(X) of a sequent A + B have the same width and are effectively determined by the syntax of Fsm(X) relative to any fixed assignment of axioms to the top nodes of the underlying trees. Hence Theorems 3.5.1, 3.6.1, and 3.6.3 characterize ArFsm(X): 3.6.6. THE COMPUTABILITY THEOREMFOR Fsm(X). Relative to X, the sets Fsm(X)(A, B ) are computable f o r all A , B E ObFsm(X). Cl 3.6.7. COROLLARY. The embedding X + Fsm(X) defined by f + afl is full and faithful.
PROOF.Similar to the proof of Corollary 2.6.6. 0 3.6.8. REMARK.If X is discrete, and Al, . . . , A , are n not necessarily distinct objects of X, then a calculation in Ens, regarded as a symmetric monoidal category with respect to Cartesian products, shows that any arrow f : A1 . A. --* B in the sequential category generated by X deter-
- -
3.61
THE SYNTAX OF
Fsm(X)
39
mines @(n) n ! distinct arrows of Fsm(X). Moreover, Fsm(X)(A, B ) is empty for all A, B E ObFsm(X), if A and B do not contain the same number of occurrences of an object of X. As in the case of Fm(X), the number of objects isomorphic to any given object of Fsm(X) is infinite by virtue of the presence of I.
CHAPTER 4
CARTESIAN CATEGORIES
In this chapter, we study the proof-theoretical properties that are particular to A and T. The natural class of categorical models for these considerations is the class of small Cartesian categories. 4.1. Definition
A Cartesian category is a category C with the following structure: (1) A bifunctor ( - ) A ( - ) : C X C + C . (2) A distinguished object T E ObC. (3) Two adjunctions a,,and ar, where a,,= {a,,(A, B, C) : C(A, B
A
C) + C(A, B) X C(A C) E ArEns I A, B, C E ObC},
and
a,={a,(A):C(A,T)-*{*}EArEnsA E ObC}. 4.2. Examples
4.2.1. A category C is Cartesian iff it has finite products.
4.2.2. COUNTER-EXAMPLE. Example 2.2.2 above shows that not every symmetric monoidal category carries a Cartesian structure. 4.3. The category Fc(X)
Small Cartesian categories are the objects of a category cCat whose arrows are functors F with the property that F(A A B) = F(A) A F ( B ) , 40
4.31
THE CATEGORY
FC(X)
41
F(T) = T, and F(&'(A)( *)) = a;'(F(A))( * ) for all A, B E Obdom(F), and that a,(F(A), F ( B ) , F ( C ) ) ( F ( f )= ) (F(g), F ( h ) ) for all A, B, C E Obdom(F) and all f, g, h E Ardom(F) for which a,(A, B, C)(f) = (8, h ) . There exists an obvious forgetful functor Uc : cCat+Cat. We now modify the definition of Fm and construct a left adjoint Fc of Uc.
4.3.1. DEFINITION.The language of Fc(X) is the sublanguage cL(X) of L(X) generated by ObX, T, A , and ArX.
4.3.2. DEFINITION.The labelled deductive system of Fc(X) is the subsystem c&X) of &X) generated by Axioms (A]), (A2), (AlO), (A12), (A13), and Rules (Rl) and (R3). 4.3.3. DEFINITION. The relation = is the smallest equivalence relation on Der(cd(X)) satisfying the following conditions: ( 1 ) If f = g, then dom(f) = dom(g) and codcf) = cod(g). (2) If f = g and h k, then comp(h,f) = comp(k, g). (3) If f = g and h = k, then (f, h ) = (8, k ) . (4) If domcf) = A and cod(f) = B, then comp(f, 1(A)) -f and comp(l(B), f ) = f. ( 5 ) comp(f,comp(g, h))=comp(compcf,g), h ) . (6) comp(m, (f, g)) = f. (7) comp(.rr,, cf, 8)) = g . (8) (comp(m, h ) , comp(.rr,, h ) ) = h. (9) If cod(f) = T, then f = T. We can now define the category Fc(X): (1) ObFc(X) = cL(X). (2) ArFc(X) = Der(c&X))/=. (3) For all derivable labelled sequents f : A + B, dom(ef1) = A and cod(ef1) = B. (4) For all derivable labelled sequents f : A + B and g : B+ C, comp(Ug1, ef1) = Ucomp(g, f11. ( 5 ) For all AEObFc(X), l ( A ) = [ l ( A ) j , where 1(A): A + A is a derivation quoting Axiom (A1) or (A2). (6) The definitions of T, nA,and .~r,are analogous to that of the identities of Fc(X) in Condition 5, with Axioms (AlO), (A12), and (A13) in place of Axioms ( A l ) and (A2).
-
42
CARTESIAN CATEGORIES
[4.3
(7) For all derivable labelled sequents f : A + B and g : A + C, (Vn,
ugn) = ucf, g)n.
(8) For all derivable labelled sequents f : A + B and g : C+D, af] A c)),comp(g, T p v , c)m (9) For all A, B E ObFc(X), a,(A A B,A, B)(l(A A B))= (TA(A, B), TJA, B))and a;'(A)( * ) = T(A). (10) The image of f : A + B E ArX in Fc(X) is &fj. This completes the description of Fc(X). Analogously to the previous cases, we call Fc(X) the free Cartesian category generated by X. In order to prove that Fc(X) is indeed Cartesian it suffices to observe that since ugn = u(com~cf,TA(A,
TAUA g ) = T A ( ( f T A ,
gTp)) = f T A
and
Tpcf A
g ) = T p ( c f T ~ gTpTTp)) , = gTp,
it follows that ~ ~ ( A cg )f h ) = f ( ~ ~ and h )
rP(cf A g ) h ) = g(Tp,h).
Hence a,,is natural. It also follows that
4.3.4. DEFINITION.Let H : C + D be an arrow of Cat, and Fc(C) and Fc(D) be the free Cartesian categories generated by C and D. Then Fc(H) :Fc(C)+ Fc(D) is the functor satisfying the following equations: (1) Fc(H)(A) = H(A) for all A E ObC. (2) Fc(H)(A A B)= Fc(H)(A) A Fc(H)(B) for all A, B E ObFc(C). (3) Fc(H)(T) = T. (4) Fc(H)(&fl)= [Hcf)l for all f E Arc.
4.41
THE DEDUCTIVE SYSTEM
d(x)
43
( 5 ) Fc(H)( 1(A)) = l(Fc(H)(A)) for all A E ObFc(C). ( 6 ) Fc(H)(comp(g, f ) ) = comp(Fc(H)(g), Fc(H)(f)) for all comp(g, f )
E ArFc(C).
(7) Fc(H)((f, g ) ) = (Fc(H)Cf), Fc(H)(g)) for all f, g E ArFc(C). (8) Fc(H)(T(A)) = T(Fc(H)(A)) for all A E ObFc(C). (9) Fc(H)(rA(A, B)) = rA(Fc(H)(A),Fc(H)(B)) for all A, B E ObFc(C). (10) Fc(H)(r,,(A, B ) ) = r,,(Fc(H)(A), Fc(H)(B)) for all A, B E ObFc(C).
The verification that Uc and Fc are adjoint functors is routine. We now give a composition-free description of Fc(X) by means of an unlabelled deductive system cA(X).
4.4. The deductive system cA(X)
The unlabelled deductive system of Fc(X) is the subsystem cA(X) of A(X) generated by Axioms (Al), (A3), and the following restrictions of Rules (Rl), (R2), (R3), (RlO), and (R11):
4.4.1. REMARK.Apart from the more general form of Rule (R2) in
cA(X), the significant difference between the systems mA(X) and cA(X) lies in the formulation of Rules (R8) and (R10). It turns out that although the category Fc(X) is far from simple, even for discrete X, the chosen form of (R10) is precisely the form which guarantees the completeness of the subsystem of cA(X) generated by (R2) and (R10) with respect to ArFc(X), so that, like (Rl), Rule (R3) is an admissible rule of inference of cA(X), required only for the elimination of cuts in the normalization of derivations.
44
[4.5
CARTESIAN CATEGORIES
4.5. The semantics of Der(cA(X))
We now interpret the derivations of cA(X) in ArFc(X) and prove the completeness of Der(cA(X)) with respect to this semantics. This interpretation requires the following canonical arrows of Fc(X), determined by a,: (1) TA(A,B ) : A A B + A for all A , B E ObFc(X), where
( 2 ) S ( A ) : A +A
A
( 3 ) a ( A , B,C ) : A where
A for all A E ObFc(X), where
A
( B A C ) + ( A A B ) A C for all A, B,C E ObFc(X),
4.5.1. DEFINITION. The interpretation of Der(cA(X)) in Fc(X) is the function S : Der(cA(X))+ ArFc(X) defined by the following conditions:
f
( 1 ) S ( A + B ) = D : A + B]I. ( 2 ) S(+ T)= 1(T): T+T.
4
4.51
T H E SEMANTICS OF
=
(r A ff ) A A
45
Der(cA(X))
(InS)nl
(r A (aA a))A A
d
Analogously to the previous cases, we define f = g iff S(f)= S ( g ) , and obtain the desired bijection Der(cA(X))I= = ArFc(X): 4.5.2. THE COMPLETENESS THEOREMFOR Der(cA(X)). For every f € Der(cd(X)) there exists a g € Der(cA(X)) such that S ( g ) = a f n E ArFc(X).
PROOF. The proof is similar to that of Theorem 2.5.2.
f
( 1 ) If f quotes Axiom (Al), let g be the derivation A + B. (2) If f quotes Axioms (A2)and Dj = 1(T), let g be the derivation -+T, and if 1(A A B ) and S ( h ) = ](A) and S ( k ) = 1(B), let g be the derivation h k A-+A B+B AB+A AB+B AB+AAB AAB-AAB
vn=
(3) If f quotes Axioms (AlO), (A12), or (A13), and S ( h ) = 1(A) and S ( k ) = 1(B), let g be the derivations +T A+T
respectively.
h A+A AB+A AAB+A
k B+B AB+ B AAB+B
4
[4.5
CARTESIAN CATEGORIES
(4) If the last line of f consists of an application of (kl), i.e., f is a derivation of the form .
u : A +P B v : B +4 C comp(u, u ) : A + C and if [ p ] = S ( h ) and [ q ] = S ( k ) , let g be the derivation
h k A+B B+C A+C ( 5 ) If the last line of f consists of an application of (R3), i.e., f is a derivation of the form P
4
u:A+B u:A+C ’ (u, v ) : A +B A C and if [ p ] = S ( h ) and [ q ] = S ( k ) , let g be the derivation h A+B
k A+C
4.5.3. REMARK.In the proof of Theorem 4.5.2 it was assumed, as in the proof of Theorem 3.5.1, that the notation reveals the active formulas of an instance of a rule of inference. However, notational ambiguities can arise in Der(cA(X)) involving instances of (R2) and (R3). Once again, dots enclosing the active formulas will be used to resolve these ambiguities. Thus,
f
A+B .A.A + B ’
f
A+B A.A. + B’
g
.AA.A + B .A.A + B ’
g
A.AA. + B A.A.+B ’
denote, respectively, different derivations.
4.5.4. COROLLARY.The category Fc(X) is isomorphic to a subcategory of the sequential category generated by the deductive system cA(X) and the interpretation S : Der(cA(X))+ ArFc(X). 0
4.61
T H E S Y N T A X OF
FC(X)
47
4.6. The syntax of Fc(X) As in the previous cases, our basic tool for the study of the syntactic properties of Cartesian categories is the effective proof that the cut-free derivations of cA(X) characterize the arrows of Fc(X).
4.6.1. THE CUT ELIMINATION THEOREM FOR cA(X). Every f € Der(cA(X)) is equivalent to a cut-free g E Der(cA(X)).
PROOF.By Clauses (C.l), (C.2.1), (C.2.3), (C.3), (C.14), (C.18), (C.19), (C.26), (C.27), (C.34), (C.33, and (C.42) of the cut elimination algorithm described in Appendix C, every derivation of cA(X) containing an instance of (Rl) reduces to a cut-free one. It remains to show that the required reduction steps preserve equivalence. (1) Case (C.l) is trivial. (2) Case (C.2.1) is a consequence of the naturality of a,, since the commutativity of
for example, entails the commutativity of
and we therefore have the equation comp(g, wp)= wp(f A 8). (3) Case (C.2.3) is similar to the previous case, and so is Case (C.3), since for derivations in cA(X), @ = 9 = 0 in the succedents of the premisses of the instance of (R10) appearing in this reduction. (4) The equivalence required for Case (C.14) is a consequence of the functoriality of A , which makes the following diagram commute:
48
[4.6
CARTESIAN CATEGORIES
( 5 ) The equivalences required for Cases (C. 18.1-2) are trivial consequences of the associativity of composition, and so are the equivalences required for Cases ((2.19.1-2). (6) Case (C.19.3) is a consequence of the naturality of a,', since the commutativity of
[A, A] x [A, A] = [A, A [A. f l x [A. fl
1
[A, Bl x [A, B ] = [A, B
A
A]
A
Bl
for example, entails the commutativity of f
A
(7) Case (C.26) is also a consequence of the naturality of a;',since the commutativity of
1
[A, B l X [ A , Cl SE [A, B If.Bl x U,cl
A
C]
1u.BAcI
[D, B ] x [D,C] = [D,B A Cl for example, entails the commutativity of
D
(8) The equivalences required for Cases (C.27), (C.34), (C.33, and ((2.42) are immediate from the associativity of composition.
4.61
THE S Y N T A X OF
FC(X)
49
This proves the cut elimination theorem for cA(X). 0 The deductive system cA(X) has the following additional syntactic properties by which we can strengthen the cut elimination theorem: 4.6.2. LEMMA.I f a = T in Fc(X), then + a is derivable in cA(X).
PROOF. Since a is terminal, the set Fc(X)(T, a )= { *}. By Theorem 4.5.2, the sequent T + a is therefore derivable in cA(X). It therefore follows from the cut elimination theorem that the sequent + a is also derivable in cA(X). 0
4.6.3. COROLLARY. If a = T , then T is the only atomic subformula of a.
The next lemma follows by an induction similar to that described in Appendix C, together with the observation that for all a +a, p + p , a
A
f
g
p + a A p, r A + 4, A a Z + $ E Der(cA(X)),
(l)a+a
P+P
@+ff
Ap
f f A\P+ff
A
P
E f f
A
@ + a Ap
4.6.4. LEMMA.For every cut-free f E Der(cA(X)) there exists an equivalent cut-free g E Der(cA(X)) containing n o instances of (R3) and containing only instances of (R2), if any, in which the active formulas are atomic.
On the basis of the cut elimination theorem and the above lemmas, we
50
CARTESIAN CATEGORIES
[4.6
define a derivation f E Der(cA(X)) as normal if it is normal in the sense of Appendix D, and satisfies three additional conditions: (1) f contains no instances of (R3). (2) Unless f is a derivation mentioned in Case (3) below, f contains only instances of (R2) whose active formulas are atomic. (3) If f derives r + a and T is the only atomic subformula of a,then f is of the form g
+a
r j f f(a), where g is the unique derivation of + a by means of (A3) and (RlO), and where (a)denotes the instances of (R2) required to derive T + a from + a.
By combining the results of Theorem 4.6.1, Lemma 4.6.2, and Lemma 4.6.4, and extending the reducibility relation L of Appendix D in the obvious way, we obtain our key theorem: 4.6.5. THE NORMALIZATION THEOREM FOR cA(X). Every f E Der(cA(X)) reduces to a unique equivalent normal g E Der(cA(X)).
PROOF.We must show that the reductions in Conditions (D.l), (D.7), (D.8), (D.49), (D.53), and (D.81.1) preserve equivalence. But for (D.11, (D.8), and (D.53) the argument is the same as in 4.6.1.2, and for (D.7) and (D.49) it is the same as in 4.6.1.7. The equivalence required for (D.81.1), finally, is clear from the fact that for all A, B,C E ObFc(X), TA(A,B A C ) = TA(A,C ) TA(A,B)A 1(C) a(A,B,C ) . 0
-
-
The next theorem shows that for normal derivations f, g E Der(cA(X)), f = g iff f = g, and that the normalization process therefore yields an effective characterization of the class of commutative diagrams of Fc(X): 4.6.6. THE CHURCH-ROSSER THEOREMFOR cA(X). If f = g, then there exists a normal h E Der(cA(X)) such that f L h and g L h.
PROOF.Since Fc(X) is free on X, and since L preserves equivalence, it suffices to show that distinct normal derivations f,g : A + a represent distinct arrows in Ens. In the light of Theorem 4.6.1, we may assume that X is discrete.
4.61
T H E SYNTAX OF
FC(X)
51
Since f and g are normal, th ey contain no instances of (R3), all active formulas of instances of (R2) are atomic, and by Clauses (D.8) and (D.49), we may assume that f and g contain no instances of (R1I ) . If T is the only atomic subformula of a, then Condition (3) of the definition of normality entails that f = g . Furthermore, Theorem 4.6.1 guarantees that f quotes an axiom iff g quotes an axiom, and that in this case again f = g iff f = g. Three possibilities remain: ( I ) Both f and g end with an instance of (RIO). (2) Both f and g end with an instance of (R2). (3) Derivation f ends with an instance of (R10) and derivation g ends with an instance of (R2). It is clear from the nature of ( D . l )and (D.7) that the following examples are typical: ( I ) f and g are the derivations 111
r
I1
A+B A-C A-BAC
and
A+B A 5 C A+BAC
and
A+A A.A.+ A
and not both 111 = r and iz = s. (2) f and g are the derivations
-
A-A .A.A A
with A Z T . ( 3 ) f and g are among the derivations A+A A+A .A.A-+A A.A.+A AA-AAA
with A T T .
A-A A+A A+AAA A.A.+ A A A
A+A A-A A.A.+A .A.A-A AA+AAA A+A A+A A+AAA .A.A+ A A A
Treating Ens as a Cartesian category with respect to Cartesian products and using the functor FM : Fc(X)+Ens of Cartesian categories defined analogously to the functor FM in the proof of Theorem 3.6.4, we see from the definition of the interpretation S that in all cases, F M ( S ( f )#) F M ( S ( g ) ) .
0 4.6.7. COROLLARY. The word problem for the functor Fc is solvable. 0
52
CARTESIAN CATEGORIES
[4.6
A reflection on the properties of normal derivations shows that all normal derivations of a sequent A -+ B have the same width and are effectively determined by the syntax of Fc(X) relative to any fixed assignment of axioms to the top nodes of the underlying trees. Hence Theorems 4.5.2, 4.6.1, and 4.6.5 characterize ArFc(X): 4.6.8. THECOMPUTABILITY THEOREM FOR Fc(X). Relative to X, the sets Fc(X)(A, B ) are computable f o r all A, B E ObFc(X). 0 4.6.9 COROLLARY. The embedding X + Fc(X) defined by f + afl is full and faithful.
PROOF.Similar to the proof of Corollary 2.6.6. 0 4.6.9. REMARK.The presence of the diagonal arrows S(A) : A + A A A in Fc(X) increases the size of the horn sets of Fc(X) in comparison with that of the horn sets of Fsm(X). For example, if X is discrete and A E ObX, then Fsm(X)(A",A") has n ! elements, whereas Fc(X)(A", A") has n" elements. Here A' = A, A* = (A N A) or (A A A), A"" = ((A") N A) or ((A") A A), etc. The two elements of Fsm(X)(A N A, A NA) are 1(A N A) and u(A, A), and the four elements of Fc(X)(A A A, A A A) are 1(A A A), u(A, A), comp(S(A), m ( A , A)), and comp(S(A), TJA, A)). These arrows are represented by the derivations
A+A A+A AA+ANA AnA-AKtA
A-A A+A AA+AnA AA+AnA ANA+ANA
A+A A+A A.A. + A .A.A + A AA+AAA AAA-AAA
A+A A+A .A.A + A A.A. + A AA+AAA AAA+AAA
A+A A+A A.A. + A A.A. + A AA+AAA AAA-AAA
A+A A-A .A.A + A .A.A + A AA+AAA AAA+AAA
4.61
T H E S Y N T A X OF
FC(X)
53
respectively. A further consequence of the joint presence of the diagonal arrows 6 ( A ) : A+ A A A and the projections m ( A , B ) : A A B + A and r P ( A ,B ) : A A B + B is that for a discrete X, the sets Fc(X)(C, D ) are empty iff D contains an object of X not contained in C.
CHAPTER 5
BICARTESIAN CATEGORIES
In this chapter, we study the proof-theoretical properties of A , v, T, and 1 that are independent of distributivity. The appropriate class of categorical models for this purpose is the class of small bicartesian categories. 5.1. Definition
A bicartesian category is a Cartesian category C with the following additional structure: (4) A bifunctor (-) v (-) : C X C + C. (5) A distinguished object 1 E ObC. (6) Two adjunctions a. and a&,where a. = {au(A, B, C ) : C(A v B, C)+ C(A, C) X C ( B , C) E ArEns I A, B, C
E ObC},
and
I
a&= {&,(A): C(1, A ) + { * } E ArEns A E ObC}.
5.2. Examples 5.2.1. A category C is bicartesian iff it has finite products and finite
coproducts. Hence, in particular, lattices with smallest and largest elements are bicartesian categories.
5.2.2. COUNTER-EXAMPLE. The set of all functions f : [0, 1]+ R satisfying the condition f ( t x + (1 - t ) y ) > t f ( x )+ (1 - t ) f ( y ) for 0 < t < 1, bounded above by the upper half of the unit circle centred at (f,O), 54
5.31
T H E CATEGORY
Fbc(X)
5.5
partially ordered by f s g iff f ( x ) s g ( x ) for all x E [0, 11, with f A g = {min(f(x), g(x)) 1 x E [0, 11) is a lower semilattice with largest element that is not a lattice. Hence we have a natural example of a Cartesian category which is not bicartesian. 5.3. The category Fbc(X)
Small bicartesian categories are the objects of a category bcCat whose arrows are functors F satisfying the conditions of arrows in cCat and have the additional property that F ( A v B )= F ( A ) v F ( B ) , F(1)= I, and F ( a ; ' ( A ) (*)) = a ; l ( F ( A ) (*)) for all A, B E Obdom(F), and that a,(F(A), F ( B ) , F ( C ) ) ( F ( f )=) ( F ( g ) ,F ( h ) ) for all A, B,C E Obdom(F) and all f, g, h E Ardom(F) for which a,(A, B,C)(f)= (g, h ) . There exists an obvious forgetful functor Ubc : bcCat+ Cat. We now extend the definition of Fc and construct a left adjoint Fbc of Ubc. 5.3.1. DEFINITION. The language of Fbc(X) is the sublanguage bcL(X) of L(X) generated by ObX, T, A , I, v, and ArX. 5.3.2. DEFINITION.The labelled deductive system of Fbc(X) is the
subsystem bc.&(X)of &X) generated by Axioms (AI), (A2), (AlO), (A1I ) , (A12), (A13), (A14), (A15),and Rules ( R I ) , (R3), and (R4).
5.3.3. REMARK.A comparison with 4.3.1 and 4.3.2 shows that bcL(X) and bc&X) result from cL(X) and c&X) by the inclusion of I,v, and (A1 l), (A14), (A15), and (R4), respectively. 5.3.4. DEFINITION. The relation = is the smallest equivalence relation on Der(bc&X)) satisfying the conditions of Definition 4.3.3, and the following additional requirements: (10) If f = g and h = k, then [f, h ] = [g. k l . (1 1 ) comp([f, 81, vn*)= f. (12) comp([f, gl, 6) = g. (13) [comp(k, d), comp(k, v31= k. (14) If d o m u ) = I,then f = 7*.
We now define the category Fbc(X) by modifying and extending the
56
BICARTESIAN CATEGORIES
15.3
definition of Fc(X): (1) ObFbc(X) = bcL(X). (2) ArFbc(X) = Der(bcb(X))/=. (3) As in 4.3.3. (4) As in 4.3.3. (5) As in 4.3.3. (6) As in 4.3.3, with the inclusion of T*, d , and T:, determined by Axioms ( A l l ) , (A14), and (AlS). (7) As in 4.3.3. (8) As in 4.3.3. (9) As in 4.3.3. (10) The image of f : A + B E ArX in Fbc(X) is afn. ( 1 1 ) For all derivable labelled sequents f : A + C and g : B + C, ugni = gin. (12) For all derivable labelled sequents f : A + B and g : C + D, af.1v !dl = U[comp(.rm*(B,D ) ,f), com~(.rr,*(B,D ) ,g)Ib (13) For all A, B E ObFbc(X), &,(A, B, A v B)( l(A v B))= (TA*(A,B ) , &A, U ? ) and &'(A)( * ) = T*(A). This completes the description of Fbc(X). We call the category Fbc(X) the free bicartesian category generated by X. The calculations required to show that it is indeed bicartesian are similar to those in 4.3.3. On the arrows of Cat, the functor Fbc is defined by adapting and extending Definition 4.3.4 thus:
run,
urf,
5.3.5. DEFINITION. Let H : C + D be an arrow of Cat, and Fbc(C) and Fbc(D) be the free bicartesian categories generated by C and D. Then
F%c(H) : Fbc(C)+ Fbc(D) is the functor satisfying the following equations: (1)-(lo) As in 4.3.4, with Fbc in place of Fc. (11) Fbc(H)(A v B ) = Fbc(H)(A) v Fbc(H)(B) for all A, B E ObFbc(C). (12) Fbc(H)(I) = 1. (13) Fbc(H)(lf,gl) = [Fbc(H)Cf), Fbc(H)(g)l for all f , g E ArFbW). (14) Fbc(H)(.r*(A)) = T*(F~c(H)(A)) for all A E ObFbc(C). (15) Fbc(H)(nf(A, B ) ) = d(Fbc(H)(A), Fbc(H)(B)) for all A, B E ObFbc(C). (16) F%c(H)(r,*(A, B)) = r?(Fbc(H)(A), Fbc(H)(B)) for all A, B E ObFbc(C).
5.41
T H E DEDUCTIVE SYSTEM
bcA(X)
57
Once again, the verification that Ubc and Fbc are adjoint functors is routine.
5.4. The deductive system bcA(X) We now expand the deductive system cA(X) to an unlabelled deductive system bcA(X) generating a sequential category which contains an isomorphic copy of Fbc(X) and has the desired syntactic properties. The proof-theoretical interest of bcA(X) lies in the fact that it illustrates the connection between cut eliminability and the distributivity of A and v . We explain this remark by examining the nature of the cut-free representations in A(X) of the distributivity arrows
f : A v ( B A C)+(A v B ) A ( A v C),
h :( A A B ) v ( AA C)+ A
A
( B v C),
g : ( A v B ) A( A v C ) + A v (B
k :A
A
A
c),
( B v C)+ ( A A B ) v ( AA
C),
existing in any sequential category qua distributive lattices as described in 1.1.30. A+A B+B A+A c+ c A-AB BC+AB A-AC BC+AC A+AvB BAC+AVB A+AvC BAC+AVC A v ( B A C )+ A v B A v ( B A C)+Av C A v ( B A C)+(A v B ) A ( Av C)
B+B
(1)
C+C
A+A BC+B BC+C A+A A+A(B A C) BC+BAC A+ A(B A C ) BA+A(BAC) BC+A(BAC) B ( A v C)+ A(B A C) A ( A v C)+ A(B A C) ( A v B ) ( A A C)+ A(B A C ) ( A v B ) A ( A v C)+ A A ( B A C)
(2)
c+ c
A+A A+A B+B AB+A AC+A AB+BC AC+BC AAB+A AAC+A AAB+BvC AAC+BVC (AA B)v (AA B v (AAB)v(AAC)+A ( A A B ) v ( A A C ) + A A ( B v C)
c)+
c
(3)
58
BICARTESIAN CATEGORIES
[5.4
B+B C-PC A+A B+BC C+BC A-A A(B v C ) + A BvC+BC A(B v C ) + A A(B v C ) + BA A(B v C)+ BC A(B v C ) + A ( A A C ) A(B v C ) + B(A A C ) A(B v C)+ ( A A B ) ( A A C ) A A ( B v c)+ ( A A B ) v ( A A
(4)
c)
Derivations (l), (Z), (3), and (4) represent the arrows f, g, h, and k, respectively, with obvious abbreviations. The generality of Rules (R10) and (R12) required in the above derivations may be classified as follows:
The greater generality of (R10) in Derivation (2) can be avoided by replacing the single instance of (R13) towards the end of the derivation be three instances of (R13) higher up in the derivation. We notice that onIy Derivations (2) and (4) require antecedents, respectively succedents, of length greater than 1. Since either one of the inequalities represented by arrows g and k forces a lattice in which it holds to be distributive, it is clear that the length of the succedents of instances of (R10) and the length of the antecedents of instances of (R12) must be restricted to being no greater than 1. On the other hand, the arrows g and k are still representable by these restricted forms of (RIO) and (R12) if the cut rule (Rl) is admitted in full generality: Let a = A A (Bv C ) , P = A ( A A B ) v ( A A C), and let
P
a+
A
( ( AA
4
B)v C), y = A A (C v ( A A B ) ) , 6 = r
P, P+ Y, Y-*
be the following derivations:
6
5.41
T H E DEDUCTIVE SYSTEM
bcA(X)
59
B+B C+C A+A B+B B+BC C+BC AB+A AB+B BvC+BC AB+AAB _- ~~A(B v C)+ B ( A A B ) C A(B v C ) B + ( A A B)C A(B v C)A(B v C)+ ( A A B ) C ( A A B)C ~
~
A+A A(B v C)+ A A A ( B v C)+ A P = A
A
( A A ( B v C))(A A ( B v C))+ ( ( A A B ) v CN(A A B ) v C ) A A (B v C)+(A A B )v C ( B v C)+ A A ((AA B ) v
c)
A+A B+B AB+B AB+A AB+AAB AB+ C ( A A B )
c+c
C + C(AA B ) B+ C v ( A A B ) C + C v ( A A B ) A+A ( AA B ) v C+ C v ( AA B) A ( ( A A B ) v C)+ A A ( ( A A B ) v c ) + C v ( A A B) A A ( ( A A B ) v C)+ A A A ( ( A A B ) v C)+ C v ( A A B ) q= A A ( ( A A B ) v C)+ A A ( C v ( A A B ) ) A
A
A+A B+B AB+A AB+B AB+AAB AAB+AhB C+C C+C A+A C + C ( A A B ) A A B+ C ( A A B ) AC+A AC+C C v ( A A B)+ C ( A A B ) AC+Ar\C A(C v ( A A B))+ C ( A A B ) ( A A C ) A ( C v ( A A B ) ) C + ( A A B ) ( A A C ) A(C v ( A A B ) ) A ( Cv ( A A B ) ) + ( A A B ) ( A A C ) ( A A B ) ( A A C ) ( A A ( C v ( A A B ) ) ) ( AA ( C v ( A A B)))+ ((A A B ) v (A A C))((A A B ) v ( A A C ) ) A A (C v ( A A B ) ) + ( A A B ) v ( A A C)
Then the derivation
represents the arrow k. The arrow g is represented similarly. The cut
60
BICARTESIAN CATEGORIES
p.5
rule (R1) is therefore not admissible in full generality as a rule of inference of bcA(X). Hence we have a non-trivial example of a subsystem of A(X) without a cut elimination theorem: 5.4.1. COUNTER-EXAMPLE. The deductive system consisting of Axioms
(Al), (A3), and (A4), and Rules (RI), (R2), (R3), (RS), (R6), (RIO), and (R12), with the succedents in (RIO) and the antecedents in (R12) restricted to sequences of length 1, does not admit a cut elimination theorem. Fortunately, we can formulate the deductive system bcA(X) by means of two special cases of (Rl) for which a cut elimination theorem holds. The unlabelled deductive system of Fbc(X) is the subsystem bcA(X) of A(X) generated by axioms (Al), (A3), (A4), and the following restrictions of (Rl), (R2), (R3), (RS), (R6), (RlO), (Rll), (R12), and (R13): (R1)
r-+y A ~ A - + Q , ArA+Q,
rjQyq y r+mq
+
~
5.5. The semantics of Der(bcA(X))
We extend the interpretation of Der(cA(X)) in ArFc(X) to an interpretation of Der(bcA(X)) in ArFbc(X) by means of the following canonical arrows of Fbc(X), determined by au: (4) d ( A , B) : A + A v B for all A, B E ObFbc(X), where
a d A , B, A v B)(l(A v B ) ) = (T?(A,B ) , d ( A , B ) ) . ( 5 ) S*(A): A + A v A for all A E ObFbc(X), where
oG'((l(A), I(A))) = S*(A).
5.51
THE SEMANTICS OF
Der(bcA(X))
( 6 ) (a*)-I(A,B, C ) : ( A v B ) v C + A v ( B v C) for ObFbc(X), where
61
all
A , B, C E
a,I(,r?(A v B , C)&(A, B ) , (u,'(T?(Av B, C).rr,*(A,B ) , r , * ( AV B, C ) ) ) = ( a * ) - ' ( AB, , C).
5.5.I . DEFINITION. The interpretation of Der(bcA(X)) in Fbc(X) is the function S : Der(bcA(X))+ ArFbc(X) satisfying Conditions (1)-(7) of 4.5.1 and the following additional equations: (8) S(l+) = l(1): I+ 1.
(Ca v 0)v
*
f
As in Fc(X), the equivalence classes of Der(bcA(X)) obtained by defining f = g iff S c f ) = S ( g ) are plentiful enough to classify the arrows of Fbc(X): 5.5.2. THE COMPLETENESSTHEOREM FOR Der(bcA(X)). For every f E Der(bc&X)) there exists a g E Der(bcA(X)) such that S ( g ) = vl E
ArFbc(X).
62
BICARTESIAN CATEGORIES
[5.5
PROOF.We modify and extend the proof of Theorem 4.5.2. (1) As in 4.5.2. (2) As in 4.5.2, with -the following addition: If efn = 1(1), let g be the derivation l+, and if 1Lfl=1(A v B), let g be the derivation
h k B+B A+A A+AB B+AB AvB+AB AvB+AvB (3) As in 4.5.2, with the following addition: I f f quotes Axioms (All), (A14), or (AlS), let g be the derivations
I+ l+A
h A+A A+AB A+AvB
k B+ B B+AB B+AvB
respectively. (4) As in 4.5.2. (5) As in 4.5.2. (6) If the last line of f consists of an application of (R4), i.e., f is a derivation of the form P 4 u:A+C u:B+C [u, u ] :A v B + C and if 1Ipn= S ( h ) and [qn = S ( k ) , let g be the derivation
h k A+C B+C AvB+C
0
5.5.3.REMARK.We repeat Remark 4.5.3 concerning the use of dots in order to display the instances of (R5) and (R6) unambiguously. 5.5.4. COROLLARY. The category Fbc(X) is isomorphic to a subcategory of the sequential category generated by the deductive system bcA(X) and the interpretation S : Der(bcA(X))+ ArFbc(X). 0
5.61
THE S Y N T A X OF
Fbc(X)
63
5.6. The syntax of Fbc(X)
We extend Theorem 4.6.1 to bcA(X) and show that the arrows of Fbc(X) have a composition-free description:
5.6.1. THE CUT ELIMINATION THEOREMFOR bcA(X). Every f € Der(bcA(X)) is equivalent to a cut-free g E Der(bcA(X)). PROOF. By Theorem 4.6.1, with Clause (C.26) generalized to allow non-empty Q and 9,together with Clauses (C.4), (C.7), (C.8), (C.9), (C.12), (C.15), (C.21), (C.22), (C.29), (C.371, (C.38), (C.43), and (C.44) of the cut elimination algorithm, f reduces to a cut-free derivation g . It remains to show that the reduction steps preserve the meaning of f. Most cases can be disposed of by duality: (C.7) is dual to (C.2), (C. 15) is dual to (C.14), (C.21) is dual to (C.34), ((2.22) is dual to (C.35), (C.29) is dual to (C.42), ((2.37) is dual to (C.18), (C.38) is dual to (C.19), (C.43) is dual to (C.26), and (C.44) is dual to ((2.27). Hence we are left with Cases (C.4), (C.8), (C.9), and (C.12), and the task of re-examining Case ((2.26). A brief reflection shows that (C.8) is dual to (C.4), (C.9) is dual to (C.3), and the two subcases arising in (C.12) are analogous, respectively dual, to (C.2.1). In the case of (C.4), we must show that the following reduction preserves equivalence: g
+@
r -+f
Q
~
~
g
f r-+QaB9 p+o
r+Qa@z
P +@
g
+@ a+@
Since g is cut-free by hypothesis, we may take 0 to be T. Hence the above derivations are equivalent provided that the diagram A v ( B v C)(AvB)vC ( I V T ) V T
IVT
A vT
IVS*
64
[5.6
BICARTESIAN CATEGORIES
commutes for all A, B, C E ObFbc(X). By Axiom (Ml) of monoidal categories, Diagram (1) commutes iff Diagram (2) commutes, where (2) results from (1) by the replacement of a*(A, B, C) by (a*)-'(A, B, C). But by the uniqueness of terminal arrows, Diagram (2) commutes iff
- 1 I 1
A v ( B v C)
IV(TVT)
A v (T v T)
IVS*
A
(a*)-'
(3)
(AvB)vC (IVT)VT
iva*
5.61
THE S Y N T A X OF
Fbc(X)
65
in the proof of Theorem 4.6.1. By the naturality of a,', the right-hand side of Case (3) is equivalent to the derivation
r+ayvsq
YVs+'(YAp
r+@aApq
and by the joint naturality of aa and arrthis derivation is equivalent to the left-hand side of Case (3). This proves the cut elimination theorem for bcA(X). 0 Using the completeness theorem for Der(bcA(X)) and arguing as in the proof of Lemma 4.6.2, we obtain an analogous result for bcA(X):
5.6.2. LEMMA.If a = T and p derivable in bcA(X). 0
= 1 in
Fbc(X), then + a and l3+
are
In order to enable us to establish an analogue of Corollary 4.6.3 for bicartesian categories, we require additional preliminaries: 5.6.3. LEMMA.A = A v I= A
A
T for all A E ObFbc(X).
PROOF.The existence of the required isomorphisms follows at once from the Yoneda lemma since
66
BICARTESIAN CATEGORIES
and
[ X ,A v TI
[ X ,A ] x [ X ,TI
[5.6
[ X ,A ]
for all X , Y E ObFbc(X). In contrast to the situation in cA(X), it is no longer true in bcA(X) that we can take all active formulas in instances of (R2) to be atomic. Since Fbc(X) is non-distributive, the derivation A+A A(B v C ) + A with A, B , C E ObX, for example, cannot be replaced by the derivation A+A A+A AB+A AC+A A(B v C )+ A A dual argument shows that the active formulas of instances of (R5) cannot be taken to be atomic. However, a slightly weaker version of Lemma 4.6.4 and its dual still holds for bcA(X):
5.6.4. LEMMA.For every cut-free f EDer(bcA(X)) there exists an equivalent cut-free g E Der(bcA(X)) containing no instances of (R3) and (R6), and no instances o f (R2) and (R5) whose active formulas are o f the form (Y A p and a v p, respectively. . 0
For the purpose of the proof of our final lemma, we regard the category Ens of 2.2.7 as a bicartesian category, with the empty set 0 as an initial and a fixed one-element set { * } as a terminal object. Similarly, we regard the category comRng of commutative rings with 1 and ring homomorphisms as bicartesian, with the ring of integers Z as an initial and the trivial ring 0 as a terminal object. (The product objects of comRng are Cartesian products with coordinate-wise operations (cf. 6.2.2 for the definition of addition, for example), and the coproduct objects are tensor products of rings, taken over Z (cf. LANG[1965]).) 5.6.5. LEMMA.The objects l ~ and l T v T are neither initial nor terminal objects of Fbc(X).
5.61
T H E S Y N T A X OF
Fbc(X)
67
PROOF. Let Const 0 : X + comRng and Const { * } : X + Ens be the constant functors with object values Const O(A) = 0 and Const { * } ( A )= { * } for all A E ObFbc(X),and let FO: Fbc(X) + comRng and F{*): Fbc(X) + Ens be the induced functors of bicartesian categories. Then F o ( l A I)= Z x Z in comRng, and F+,(T v T) = {*} + {*} in Ens. Obviously, Z x Z + 0. Suppose that Z x Z = Z,and let
be a product diagram determined by this isomorphism. Then I @ ) = comp(h, T A )= comp(h, n,,), and therefore T A = np Since ~ A ( ub), = a and n J a , b ) = b, we have a = b for all a, b E Z . A contradiction. A cardinality argument establishes that { * } + { * } is isomorphic to neither 0 nor {*}. 0 5.6.6. COROLLARY. The initial and terminal objects of Fbc(X) are characterized by the following properties: (1) I f a 1T and p = I , then T and 1 are the only atomic subformulas of a and p. (2) a ~ p = T ifa=p=T. (3) a v p = T if a ( @= ) T and P ( a ) = I . (4) ( ~ ~ p = l i f ~ ( ~ ) ~ T u n d p ( co rui f) a= =I p , pI. (5) a r v p = l i f a r = p = I . 0
5.6.7. COROLLARY. If a = T, there exists a unique derivation g of + a consisting at most of instances of (A3), (RS), (RIO), and (R13), and n o instance of (R5) in g has a n actiue formula of the f o r m a v p. 0
5.6.8. COROLLARY. If p =I,there exists a unique derivation h of p + consisting a t most of instances of (A4), (R2), (R1 I), and (R12), and n o instance of (R2) in h has a n active formula of the f o r m a A p. 0 We now extend the definition of the normality of derivations of cA(X) to the derivations of bcA(X) by defining f E Der(bcA(X)) to be normal if it is normal in the sense of Appendix D, and satisfies four additional requirements:
68
BICARTESIAN CATEGORIES
[5.6
(1) f contains no instance of (R3) and (R6). (2) Unless f is a derivation mentioned in Cases (3) and (4) below, f contains no instances of (R2) and (R5) whose active formulas are of the form (Y v p and (Y A p, respectively. (3) If f derives r+@, and if one of the disjunctions of the formulas of @ is isomorphic to T, then f is of the form g
+@
r+ (p(')r where g is the unique derivation of + @ compatible with Corollary 5.6.7, and where (a)consists of the instances of (R2) required to derive r+@ from +@. (4) If f derives r+@, and if one of the conjunctions of the formulas of r is isomorphic to I and no disjunction of the formulas of @ is isomorphic to T, then f is of the form
where h is the unique derivation of + compatible with Corollary 5.6.8, and where ( 7 ) consists of the instances of (R5) required to derive r+@ from r + . By combining Theorem 5.6.1 with the preceding lemmas and corollaries, and extending the reducibility relation 2 of Appendix D in the obvious way beyond the extension required in Chapter 4, we obtain the desired analogue of Theorem 4.6.5 for Der(bcA(X)): 5.6.9. THE NORMALIZATIONTHEOREM
FOR bcA(X). Every f E Der(bcA(X)) reduces to a unique equivalent normal g E Der(bcA(X)).
PROOF.The theorem follows from Theorem 4.6.5 and the normalization algorithm defined in Appendix D, provided the reductions in Conditions (D.4), (D.10), (D.17), (D.21), (D.34), (D.36), (D.37), (D.38), (D.59, (D.591, and (D.62) preserve equivalence. But this is clear: (1) The equivalences required for (D.4), (D.10), (D.17), (D.21), (D.361, and (D.55) are immediate consequences of the associativity of composition.
5.61
THE SYNTAX OF
Fbc(X)
69
(2) The equivalences required for (D.34) are a consequence of the functoriality of v . (3) The equivalences required for (D.37) and (D.59) follow from the naturality of am. (4) The equivalences required for (D.38) follow from the naturality of a*.
(5) The equivalences required for (D.62) are consequences of the coherence of a*,i.e., Theorem 2.6.1.1. This proves the normalization theorem for bcA(X). 0 In view of the duality of A and v in bcA(X), Theorem 4.6.6 therefore generalizes immediately to bcA(X). Hence we have an effective characterization of commutativity in Fbc(X): 5.6.10. THECHURCH-ROSSER THEOREM FOR bcA(X). I f f = g, then there exists a normal h E Der(bcA(X)) such that f 2 h and g L h. 0 5.6.11. COROLLARY. The word problem f o r the functor Fbc is sol-
vable. cl
As in the previous cases, all normal derivations of a sequent A + B in bcA(X) have the same width because of the restriction on the antedents of instances of (R12) and succedents of instances of (R10) to single formulas, and are effectively determined by the syntax of Fbc(X) relative to any fixed assignment of axioms to the top nodes of the underlying trees. Hence Theorems 5.5.2, 5.6.1, and 5.6.9 characterize ArFbc(X): 5.6.12. THE COMPUTABILITY THEOREMFOR Fbc(X). Relative to X, the sets Fbc(X)(A, B ) are computable f o r all A, B E ObFbc(X). 0 5.6.13. COROLLARY. The embedding X + Fbc(X) defined by f full and faithful.
PROOF. Similar to the proof of Corollary 2.6.6. 0
+uf]
is
CHAPTER 6
DISTRIBUTIVE BICARTESIAN CATEGORIES
We now investigate the effect of the distributivity of A over v on the results of Chapter 5 . The class of categorical models required for this purpose is a subclass of the class of small bicartesian categories.
6.1. Definition
A distributive bicartesian category is a Cartesian category C with the following additional structure: (4) A bifunctor (-) v (-) : C x C + C. ( 5 ) A distinguished object IE ObC. (6) Two adjunctions a8 and a,,where as = {as(A, B, C, D) : C(A A (B v C), D)+C(A
A
B, D) X C(A A C, D ) I A, B, C,D E ObC},
E ArEns
and a,= {a,(A) : C(I, A)+ { *} E ArEns 1 A E ObC}.
The adjunctions a,,,aI, and ag of a distributive bicartesian category C determine canonically an adjunction am with respect to which C is bicartesian: For each Y E ObC, the adjunctions a, and aTyield a natural isomorphism v : C(-, Y )+C(-, T A Y) whose components are given by the string C(X,Y )= { * } x C(X,Y )3 C(X, T) x C(X,Y )= C(X, T A Y).By Corollary 1.1.21 of the Yoneda lemma, the arrows v ( Y ) ( l ( Y ):)Y -+ T A Y are isomorphisms, for all Y E ObC.The adjunctions awand a89 together with the arrows v( Y)(1( Y)), define the desire adjunction ao,with components C(A v B, C)= C(T A (Av B),C)= C(T A A,C)X C(T A B, C)= C(A, C)X C(B,C). 70
6.31
THE CATEGORY
Fdbc(X)
71
6.2. Examples
6.2.1. A category with finite products and tributive bicartesian iff products distribute products. Thus any distributive lattice with element is distributive bicartesian, and so are
finite coproducts is disisomorphically over coa largest and a smallest Ens and Cat.
6.2.2. COUNTER-EXAMPLES. Any non-distributive lattice is bicartesian, but not distributive bicartesian. A less trivial example is provided by the category of abelian groups. Let A and B be two abelian groups, written additively, let A x B be the abelian group obtained by defining ( a , b ) + ( c , d ) = ( a + c , b t d ) , and let r A : A x B + A , r , , : A x B + B , rT : A + A x B, and r $ : B + A x B be the homomorphisms of groups satisfying the equations m ( a , b ) = a, r,,(a, b ) = b, r X ( a )= ( a ,0 ) , and .rr$(b)= (0, b). Then the object A x B, together with the arrows rAard r,,is a product, and the same object A x B , together with the arrows rT and rz is a coproduct in the category of abelian groups. Moreover, the trivial group is both initial and terminal. Hence the category of abelian groups is bicartesian. But distributivity would require that for all A, B, C, A x ( B x C ) = A x ( B + 12)s( A x B ) + ( A x C ) = ( A x B ) x ( A x C ) . This is obviously false. The bicartesian category Ens, fails to be distributive for similar reasons. 6.3. The category Fdbc(X)
Small distributive bicartesian categories are the objects of a category dbcCat whose arrows are functors F satisfying the conditions of arrows in bcCat and have the additional property that a s ( F ( A ) , F ( B ) , F( C ) , F ( D ) ) ( F ( f ) ) = ( F ( g )F, ( h ) ) for all A , B, C, DEObdom(F) and all f, g, h E Ardom(F) for which w ( A ,B,C, 0)Cf) = (8, h ) . There exists an obvious forgetful functor Udbc : dbcCat+ Cat. We now modify the definition of Fbc and construct a left adjoint Fdbc of Udbc.
6.3.1. DEFINITION. The language of Fdbc(X) is the sublanguage dbcL(X) of L(X)generated by ObX, T, A , I,v, and ArX.
6.3.2.DEFINITION. The labelled deductive system of Fdbc(X) is the
72
DISTRIBUTIVE BlCARTESlAN CATEGORIES
[6.3
subsystem dbc&X) of b(X) generated by Axioms (A]), (A2), (AlO), (All), (A12), (A13), (A14), (A15), and Rules (Rl), (R3), and (85). 6.3.3. REMARK.A comparison with 5.3.1 and 5.3.2 shows that dbcL(X) = bcL(X), and that dbc&X) results from bcd(X) by the replacement of (R4) in bcd(X) by (R5). 6.3.4. DEFINITION. The relation = is the smallest equivalence relation on Der(dbcd(X)) satisfying the conditions of Definition 4.3.3, and the following additional requirements: (10) If f = g and h = k, then (f, h ) = (8, h). (1 1) comp((f, g), 1 A nP) = f. (12) comp((f, g ) , 1 A .rr3 = g. (13) (comp(k, 1 A a?),comp(k, 1 A 7~:)) = k. (14) If domu) = I,then f = T * .
We define the category Fdbc(X) by modifying and extending the definition of Fc(X): (1) ObFdbc(X) = dbcL(X). (2) ArFdbc(X) = Der(dbc&X)) /=. (3) As in 4.3.3. (4) As in 4.3.3. (5) As in 4.3.3. (6) As in 4.3.3, with the inclusion of T * , T?,and IT$, defined by means of axioms ( A l l ) , (A14), and (Al5). (7) As in 4.3.3. (8) As in 4.3.3. (9) As in 4.3.3. (10) The image of f : A + B E ArX in Fdbc(X) is (1 1) For all derivable labelled sequents f : A A B + D and g : A A C + 0, ngn) = gin. (12) For all derivable labelled sequents f : A + B and g : C 40, af] v Us1 = Ucomp((p, q ) , (7,l))lL where
cvn,
vfll.
nu,
p = comp(.rr?, comp(f, m ) ) and q = comp(.rrz, comp(g, m)).
(13) For all A, B,C E ObFdbc(X),
w(A, B,C, A and
A
(Bv C ) )= (1(A) A d ( B , C ) , 1(A) A T % ( Bc)), , cu;'(A)( *) = T*(A).
6.41
T H E DEDUCTIVE SYSTEM
dbcA(X)
73
This completes the description of Fdbc(X). The definition differs non-trivially from that of Fbc(X) only in Clauses (2), (1 I), (12), and (13). We call the category Fdbc(X) the free distributive bicartesian category generated by X. Routine calculations show that Fdbc(X) is indeed distributive bicartesian. On the arrows of Cat, we define the functor Fdbc a s follows: 6.3.5. DEFINITION. Let H : C + D be an arrow of Cat, and Fdbc(C) and Fdbc(D) the free distributive bicartesian categories generated by C and D. Then Fdbc(H) : Fdbc(C)+ Fdbc(D) is the functor satisfying the following equations: (1)-(12) As in 5.3.5, with Fdbc in place of Fbc. all f. g E (13) Fdbc(H)((f,g))= (Fdbc(H)(f),Fdbc(H)(g)) for ArFdbc(C). (14)-(16) As in 5.3.5, with Fdbc in place of Fbc. The verification that Udbc and Fdbc are adjoint functors is routine.
6.4. The deductive system dbcA(X)
It is clear from the discussion in Section 5.4 that a sequential construction of the category Fdbc(X) requires at least one of Rules (RI), (RIO), and (R12) in full generality. Since we intend this construction to be stable under cut elimination, our choice is narrowed down to (R10) and (R12). In order to be able to use arguments of duality freely in the proof of the cut elimination theorem, we therefore admit both these rules in full. The nature of the cut elimination algorithm then forces us also to postulate all of (RI) as a rule of inference of dbcA(X). The unlabelled deductive system of Fdbc(X) is the subsystem dbcA(X) of A(X) generated by Axioms (Al), (A3), (A4), and Rules (Rl), (R2), (R3), (RS), (R6), (RIO), (R1 I), (R12), and (R13):
74
[6.5
DISTRIBUTIVE BICARTESIAN CATEGORIES
6.5. The semantics of Der(dbcA(X))
We now extend the interpretation of Der(bcA(X)) in ArFbc(X) to an interpretation of Der(dbcA(X)) in ArFdbc(X). For this purpose, we require the canonical arrows defined in 4.5 and 5.5, with the following additions: (7) &(A, B, C ) : A A ( B v C)-*(A A B ) v (A A C) for all A, B, C E ObFdbc(X), where &(A, B, C ) = v ( ( AA B ) v (A A C))(1((A A B ) v (A A C))), and where v is the natural isomorphism determined by the composition C((A
A
B ) v (A A C ) ,D)-% C(A A B, D ) X C(A A C, D )
C(A A ( B v C ) ,D )
with C = Fdbc(X). (8) S , ( A , B , C ) : ( A V B ) A C - , ( A A C ) V ( B A C for ) ObFdbc(X), with 6, defined by the compositions (A v B ) A
c"- c A (A v B)-
%
all
A,B,CE
(cA A) v (cA B )
(9) Sf(A, B, C ) :(A v B ) A (A v C ) + A v ( B A C ) for all A , B , C E
6.51
THE SEMANTICS OF
Der(dbcA(X))
75
ObFdbc(X), with i3f defined by the compositions (Av B )A (AA C )
\
80
( A A ( A v C ) )v ( B A ( A v C ) )
ITfVl
A v ( B A ( Av C))
1
( A v ( B A C ) )v ( B A ( A v C ) )
(Av (BA
IVsA
c))v ( ( B A A ) v ( B A C ) )
A v (B A C)
(10) S;(A, B, C ) : ( A v C ) A ( B v C ) + ( A A B ) v C for all A, B,C E ObFdbc(X), with i3; defined by the compositions
(AA B )v C ( 1 1 ) K ( A , B, C, D, E ) : ( A A ( ( B v C ) V D ) ) A E + ( B V ( ( A A C ) A E ) )
v D for all A, B, C , D, E E ObFdbc(X), with
positions
K
defined by the com-
76
-
[6.5
DISTRIBUTIVE BICARTESIAN CATEGORIES
( A A ( ( B v C ) v D ) )A E
\
8~A 1
( ( AA ( B v C))v ( A A D ) )A E
I
(8,
V I)A
1
( ( ( AA B ) v ( A A C ) )v ( A A D ) )A E
I
1
( ( ( AA B ) v ( A A C ) )A E ) v ( ( AA D )A E ) 8PVl
( ( ( AA B ) A E ) v ( ( AA C ) A E ) ) v ( ( AA D ) A E )
I
(IA
v 1) v =A
6.5.1. REMARK.As the notation suggests, the arrows SA and SX, respectively S, and S z , are related by duality. The diagrams defining S, and 8; can be obtained from one another by the interchange of A and v, and the reversal of all arrows, with their labels dualized. The duality of SA and SX follows from the commutativity of the diagram obtained by dualizing the defining diagram of SX above.
6.5.2. DEFINITION.The interpretation of Der(dbcA(X)) in Fdbc(X) is the function S : Der(dbcA(X))+ ArFdbc(X) satisfying Conditions ( l ) , (2), (4), (6),(7), (8), (lo), (1 l), and (13) of 5.5.1, and the following generalizations of Conditions (3), (5), (9), and (12): (31, (9)
(@ v 0 )v 9
6.51
T H E SEMANTICS OF
Der(dbcA(X))
(a v (a/i8))v
I1
*
We note that the present interpretation of (R1) links the two previous special cases, i.e., comp(S(g), (1 A S ( f ) )A 1) and comp(( 1 v S ( g ) )v 1 , S(f)), by means of K , and the present interpretations of (R10) and (R12) result from the earlier ones by composition with comp(SX v 1,6$) and comp(b,, SA A 1). Not unexpectedly, Der(dbcA(X)) classifies the arrows of ArFdbc(X): Let f = g in Der(dbcA(X)) iff S(f)= S ( g ) . Then we obtain a bijection Der(dbcA(X))/= = ArFdbc(X): 6.5.3. THE COMPLETENESS THEOREMFOR Der(dbcA(X)). For every
f E Der(dbcd(X)) there exists a g E Der(dbcA(X)) such that S ( g ) = l[f 1E ArFdbc(X).
PROOF.The proof is identical to that of Theorem 5.5.2, except for Case (6), which we modify as follows: (6) If the last line of f consists of an application of (R5). i.e., f is a derivation of the form P 9 U:AAB+D u:AAC+D ' (u, v ) : A A (B v C ) + D
78
DISTRIBUTIVE BICARTESIAN CATEGORIES
[6.6
and if !PI= S ( h ) and UqJJ=S ( k ) , let g be the derivation A+A B+B AB+A AB+B h AB+AAB AAB+D AB+D
A+A C+C AC+A AC+C k AC+AAC AAC+D AC+D A(B v C)+ D 0 A A ( B v C )+ D
6.5.4. REMARK.We repeat Remark 4.5.3 concerning the use of dots in order to display the instances of (R5)and (R6) unambiguously. 6.5.5. COROLLARY.The category Fdbc(X) is isomorphic to a sub-
category of the sequential category generated by the deductive system dbcA(X) and the interpretation S : Der(dbcA(X))+ ArFdbc(X). 0
6.6. The syntax of Fdbc(X)
The syntactic advantages of the system dbcA(X) over the system dbch(X) once again lie in the fact that the derivations of dbc(X) code their own labels and provide a cut-free description of ArFdbc(X): 6.6.1. THE CUT ELIMINATION THEOREMFOR dbcA(X). Every f E Der(dbcA(X)) is equivalent to a cut-free g E Der(dbcA(X)).
PROOF.In view of the greater generality of Rules (Rl), (RlO), and (R12) in dbcA(X), we must reexamine most cases dealt with in the proof of Theorem 5.6.1. In particular, we must review Cases (C.3), (C.4), (C.8-9), (C. 12), (C.14-15), (C.18-19), (C.21-22), (C.26-29), (C.34-35), (C.37-38), and (C.41-44). Several cases can be disposed of by means of duality: (C.8) is dual to (C.41, ((2.9) is dual to (C.3), ((2.15) is dual to (C.14), (C.21) is dual to (C.341, ((2.22) is dual to (C.39, (C.37) is dual to (C.18), (C.38) is dual to (C.19), ((2.41) is dual to (C.28), (C.42) is dual to (C.29), (C.43) is dual to (C.26), and (C.44) is dual to (C.27).
6.61
FdbdX)
THE SYNTAX OF
79
Hence it suffices to consider Cases (C.3), (C.4), (C.12), (C.14), (C.18), (C.19), (C.26), (C.271, (C.281, (C.29), (C.34), and (C.35). But these cases are easy consequences of the commutativity of the following diagrams, for all A, B, C E ObFdbc(X), and all f, g E ArFdbc(X): IAr
AAB-CAD
CAB A
A
A
A
( B v C)-
61
( AA B)v ( AA C )
%
( B v C)-(A
4
BvC<
I
A
B )v (AA C)
(3)
BVC
This proves the cut elimination theorem for dbcA(X). Next we assemble the properties of dbcA(X) required for the normalization of the cut-free derivations of dbcA(X). They are the analogues of Lemmas 5.6.2-5 and Corollaries 5.6.6-8. In particular, the presence of distributivity allows us to assume again, as in Lemma 4.6.4, that the active formulas of instances of (R2) are atomic. A dual property holds for (R5). The completeness theorem for Der(dbcA(X)) and an argument similar to that used in the proof of Lemma 5.6.2, establish the following result: 6.6.2. LEMMA.If a = T and p ~1 in Fdbc(X), then + a and p + are derivable in dbcA(X). 0
6.6.3. LEMMA. A
= A v I= A A T f o r all
A E ObFdbc(X).
PROOF.Identical to the proof of Lemma 5.6.3. 0
80
[6.6
DISTRIBUTIVE BICARTESIAN CATEGORIES
~ T AA
I
((A
A
lap
B ) A D ) v ((A A
c)v D )
( T A A 1) V (r.4 A
I)
and its dual, for all A, B,C , D € ObFdbc(X), we obtain the equivalences
(2)
More generally, the interpretations of (R10) and (R12) yield the following additional equivalences:
6.61
T H E S Y N T A X OF
Fdbc(X)
81
82
DISTRIBUTIVE BICARTESIAN CATEGORIES
[6.6
6.61
THE SYNTAX OF
Fdbc(X)
83
84
DISTRIBUTIVE BICARTESIAN CATEGORIES
[6.6
The general cases of the equivalences in (3)-(6) differ only notationally from the above schemes, and their extensions to more than two instances of (R10) and (R12) are analogous. The first eight derivations in (6) result from their counter-parts in (3)-(5) by the reversal of arrows and the replacement of f, g, h, and k by p , q, r, and s, respectively. The stronger identification of derivations in (6) than in (3)-(5) is due to the fact that in Fdbc(X), and 8, are always isomorphisms, whereas their duals Sf and 8: are not. Equivalences (3)-(6) afford us the advantage of being able to dispense with contractions in
6.61
T H E S Y N T A X OF
Fdbc(X)
8.5
normal derivations. Thus an induction analogous to that described in Appendix C yields the distributive bicartesian analogue of Lemma 5.6.4: 6.6.4. LEMMA.For every cut-free f EDer(dbcA(X)) there exists an equivalent cut-free g E Der(dbcA(X)) containing no instances of (R3) and (R6), and containing no instances of (R2) and (RS) whose active formulas are of the f o r m a A p and a v p, respectively. A surprising consequence of the distributivity of A over v is the strictness of the initial object I in Fdbc(X), i.e., the fact that A A l = l for all A E ObFdbc(X): By Lemma 6.6.3, I s I v I,and since product functors preserve isomorphisms (cf. HERRLICH and STRECKER [ 1973]), we have an isomorphism 1 A I = I A (Iv I),and by distributivity, I A l = (IA I)v (IA I).Let I
I
1~1-1~1-1~1
A be a coproduct diagram in Fdbc(X), for any A E ObFdbc(X), induced by this isomorphism. Then f = h = g for all f , g : 1 A I+ A. Hence the hom sets [IA I,A] are either empty or singletons, for all A E ObFdbc(X). But comp(T*, m) : I A I-. 1- A E [IA I,A]. Hence 1 A 1 = I by the Yoneda lemma. This isomorphism induces product diagrams of the form
A A I
with .rr, = h = f for all f E [A A I,I ] . By the Yoneda lemma, we therefore have A A l = l for all A E ObFdbc(X). On the other hand, the distributive bicartesian nature of Ens shows that the second counterexample in the proof of Lemma 5.6.5 remains true, and we conclude:
6.6.5. LEMMA.The object I v I i s neither an initial nor a terminal object of Fdbc(X). 0
86
DISTRIBUTIVE BICARTESIAN CATEGORIES
[6.6
6.6.6. COROLLARY.The initial and terminal objects of Fdbc(X) are characterized by the following isomorphism conditions : (1) ~ A P G i $Ta = P = T . (2) ( Y V P S Ti$a (P)=T and p ( a ) = l . (3) a ~ p s il$ a = l o r p = l . (4) a v p s l i f a = p = L . 0 6.6.7. COROLLARY. If a = T, there exists a unique derivation g of + a consisting at most of instances of (A3), (RS), (RlO), and (R13) and containing only instances of (R5)whose active formulas are atomic. 0 6.6.8. COROLLARY. If /3 =I,there exists a unique derivation h of P +consisting at most of instances of (A4), (R2), (Rll), and (R12), and containing only instances of (R2) whose active formulas are atomic. 0
We adapt the definition of the normality of derivations of bcA(X) to the derivations of dbcA(X) by defining f E Der(dbcA(X)) to be normal if it is normal in the sense of Appendix D, and satisfies four additional requirements: (1) f contains no instance of (R3) and (R6). (2) f contains only instances of (R2) and (R5)whose active formulas are atomic. (3) If f derives r+ Q,, and if one of the disjunctions of the formulas of Q, is isomorphic to T, then f is of the form g +-a
r+ Q,
where g is the unique derivation of + Q, compatible with Corollary 6.6.7, and where (u)consists of the unique steps required to derive r+Q, from +a. (4) Iff derives r-, Q,, and if one of the conjunctions of the formulas of r is isomorphic to I, and if no disjunction of the formulas of Q, is isomorphic to T , then f is of the form
where h is the unique derivation of
r+ compatible with Corollary 6.6.8,
6.61
and where
r+.
T H E S Y N T A X OF
( 7 ) consists
Fdbc(X)
of the unique steps required to derive
87
r-+@ from
By combining Theorem 6.6.1 with the preceding lemmas and corollaries and extending the reducibility relation 2 of Appendix D in the obvious way beyond the extensions required in Chapters 4 and 5, we obtain the desired analogue of Theorem 5.6.9 for Der(dbcA(X1): 6.6.9. THE NORMALIZATIONTHEOREMFOR dbcA(X). Euery f € Der(dbcA(X)) reduces to a unique equivalent nornzal g E Der(dbcA(X)).
PROOF.The theorem follows from Theorem 5.6.9 and the normalization algorithm defined in Appendix D, provided that the additional reductions in Conditions (D.9), (D.20), (D.33, (D.48), (D.50), (DSI), (D.54). (D.S8), (D.72), (D.74), (D.76), (D.78), (D.8l ) , and (D.82) preserve equivalence. But this is clear: ( I ) The equivalences required for (D.9), (D.20), and (D.54)are a consequence of the naturality of ag. (2) The equivalences required for (D.35) and (D.51) are a consequence of the naturality of a=. (3) The equivalences required for (D.48) follow from the identification properties of 8 f and 8*,, and the equivalences required for (D.58) follow from the identification properties of 8, and 8,. (4) The equivalences required for (D.50) are consequences of the naturality of a= and ag. ( 5 ) The equivalences required for (D.72) and (D.76) are consequences of the naturality of as and the fact that m ( B , A ) . a ( A , B ) = T J A , B ) and .rr,(B,A) * a ( A , B ) = m ( A , B ) for all A, B E ObFdbc(X). (6) The equivalences required for (D.74) and (D.78) follow from the naturality of as and the fact that m ( A , A ) . 6(A) = rp(A,A) . 8 ( A )= 1(A) for all A E ObFdbc(X). (7) The equivalences required for (D.81) follow from the commutativity in Fdbc(X) of all diagrams similar to Diagram (2) in the proof of Theorem 6.6.1. (8) The equivalences required for (D.82) are entailed by the commutativity in Fdbc(X) of all diagrams dual to those required in Case (7) above. (9) The equivalences required for (D.81), finally, follow from the commutativity in Fdbc(X) of all diagrams of the form
88
[6.6
DISTRIBUTIVE BICARTESIAN CATEGORIES
(A A B ) A ( C v D ) - ( ( A
6,
A
B ) A C ) v ( ( AA B ) A D )
(B A A)A (C v D )
I
for all A, B, C, D E ObFdbc(X). This proves the normalization theorem for dbcA(X). 0 The distributivity of A over v makes the classification of the normal derivations of dbcA(X) both easier and more difficult than that of the normal derivations of bcA(X). On the one hand, the strictness of I in Fdbc(X) ensures that for any a =l, there is precisely one normal derivation of a n y sequent of the form raA + 0, and the description of such a derivation is syntactically straightforward. On the other hand, the necessity of using arrows of the type w A ( AB , ) :A
A
B +A
and
w,,(A, B ) : A
A
B +B
in the interpretation of the more general instances of (R10)forces more subtle identifications of derivations. These account for Clauses (D.35.312). The more general forms of Rules (R10) and (R12) also allow certain nontrivial deductive alternatives which spoil the uniqueness of the rules by which a A or v can be introduced in bcA(X). Thus
f C+D
and
C ( Ev F)-, D
f
f
C+D C+D CE+D CF+D C(Ev F)+ D
f
f
C+D C+D C j D E C +DF C + D(E A F ) C-, D(E A F )
f C+ D
Clauses (D.81.2) and (D.82.1) of the normalization algorithm serve to correct this defect. As expected, the congruence relation = is generated by the reducibility relation 2 and is thus decidable:
6.61
T H E SYN-I'AX O F
FdhdX)
x9
6.6.10. THECHURCH-ROSSER THEOREMFOR dbcA(X). Iff = g, then there exists a normal h E Der(dbcA(X)) such that f 2 h and g 2 h.
PROOF.Since Fdbc(X) is free on X and since 2 preserves equivalence, it is sufficient to show that distinct normal derivations f. g : r + @ represent distinct arrows in Ens. In the light of Theorem 6.6.1, we may assume that X is discrete. If r = A a A and a =I,or if one of the disjunctions of @ is isomorphic to T, the result is clear by definition. Otherwise, we know that f and g contain no instances of (R3) and (R6), and that all active formulas of instances of (R2) and (R5) are atomic. B y Theorem 5.6.10 and the order of application of mutually passive rules of inference in normal derivations, we may assume that all active formulas in the conclusions of instances of (R1 l), resp. (R13), are subsequently active formulas in the premisses of instances of (R12), resp. (RIO). Hence f and g end at most with instances of (R2), (R5), (RIO), and (R12). The following examples are typical: (1) f and g are among the derivations
n A+ B A+.B.B A+.B.B A+(B A B)B
n A+B A+B.B. A+.B.B A+(B A B)B
ATB
AZB
m n A+B A+B A+BAB A+(B A B)B
(2) f and g are among the derivations m n A+B A+B A+BAB A+ B ( B A B )
AZB
A ~ B A+.B.B A+B.B. A+ B ( B A B )
n A+B A+B.B. A+B.B. A+ B(B A B )
AZB
(3) f and g are among the derivations m
A+
.~
B
~
n
A+B
A + B.B. A+B.B.B A+ B(B A B)B
A+ B.B. A+B.B.B
n A+ B A + B.B. A + B.B. A+.B.BB A+B.B.B A + B(B A B)B
ASB
90
[6.6
DISTRIBUTIVE BICARTESIAN CATEGORIES
rn A+ B AIB A+ .B.B A+ B.B. A+.B.BB A+B.B.B A+ B ( B A B ) B
AZB
AIB
A + .B.B A + .B.B A+.B.BB A+.B.BB A+ B ( B A B ) B
n A+B A+BAB A+(B A B)B A+ B (B A B )B
AZB
(4) f and g are among the derivations
AZB
rn A+ B A ~ .A.A+B A.A.-+B ( Av A)A+ B
A IB
.A.A+B .A.A+B ( Av A)A+ B n A ~ AvA+B ( Av A)A+ B
AZB
B
AZB A ~ A.A.+B .A.A+B ( Av A)A+ B
B
B
(5) f and g are among the derivations
rn n A+B A+B AvA+B A ( A v A)+ B
AZB
n A+B .A.A + B A.A.+ B A ( A v A)+ B
AZB
AZB
A.A.-+B A.A.+B A ( A v A)+ B
AZA
AZB
A.A.+B .A.A-+B A ( A v A)+ B
If we consider Ens as a distributive bicartesian category with respect to Cartesian products and disjoint unions and define the functor FM : Fdbc(X) + Ens of distributive bicartesian categories analogously to the functor F M in the proof of Theorem 3.6.4, we see from the definition of the interpretation S that F~(s(f)) # FM(S(g)) in all cases.
6.61
T H E SYNTAX OF
Fdbc(X)
91
6.6.11. COROLLARY. The word problem f o r the functor Fdbc is solvable. 0 Since normal derivations in dbcA(X) contain no instances of (R3) and (R6), the widths of all normal derivations of A + B are nevertheless bounded by the number of occurrences of v in A and of A in B,and the syntax of Fdbc(X) effectively determines all normal derivations of A + B relative to fixed assignments of axioms to the top nodes of all trees of the same width underlying these derivations. Hence Theorems 6.5.3, 6.6.1, and 6.6.9 characterize ArFdbc(X): 6.6.12. THE COMPUTABILITY THEOREM FOR Fdbc(X). Relatiue to X, the sets Fdbc(X)(A, B ) are computable f o r all A, B E ObFdbc(X). 0
6.6.13. COROLLARY. The embedding X-+Fdbc(X) defined by full and faithful. PROOF.Similar to the proof of Corollary 2.6.6. 0
f+If]
is
CHAPTER 7
MONOIDAL CLOSED CATEGORIES
In this chapter, we begin the study of the categorical models of the proof theory of j.Since we are interested in theorems obtainable by syntactic manipulations in sequential categories, we restrict ourselves to categories in which analogues of the export-import law ((A A B) jC ) e(A j(B j C)) hold. We are therefore basically concerned with monoidal categories with additional structure. Such categories will be called closed categories. The motivation for this terminology, due to EILENBERC and KELLY [1966a], is the following: Any category C possesses an external hom functor C(-, -) : Copx C + Ens. If C = Ens, this functor is internal in the sense that on objects, the bifunctor Ens(-, -) : EnsoPxEns+Ens is a binary operation, i.e., the category Ens is closed under the construction of function sets. If C = A b , the category of abelian groups, the hom functor can be internalized since the sets Ab(A, B ) carry a natural abelian group structure. If we denote the associated abelian groups by A j B , we have an internal hom functor (-)+ (-1 : AboPX Ab+ Ab. In both of the previous cases, there exist natural isomorphisms Ens(A A B, C ) = Ens(B, A 3 C ) and Ab(A A B, C ) = Ab(B, A j C), with A jC = Ens(A, C) in the case of Ens, A A B being the product of A and B in Ens and the tensor product of A and B in Ab. In a similar way, any relatively pseudo-complemented lattice L, considered as a category qua partially ordered sets, is closed since it possesses a bifunctor (-) =$ (-) : Lopx L + L and satisfies the condition a A b 5 c iff b 5 a j c. In the remaining chapters, we are thus concerned with categories possessing an internal hom functor, i.e., a bifunctor (-1 j (-) : CopX C + C, respectively (-) (-) : C X Cop+ C, related to a bifunctor (-) K (-) : C x C + C by adjointness.
92
7.21
EXAMPLES
93
7.1. Definition
A monoidal closed category is a monoidal category C with the following additional structure: (4) A bifunctor (-) j (-) : C o pX C + C . ( 5 ) An adjunction CXA, where aA = {aA(A,B , C ) : C ( Arc B, C ) + C(B,A j C) E ArEns I A , B, C E ObC}.
7.1.1. REMARK.By analogy with the situation in abelian groups, any bifunctor rc characterized by an adjointness condition such as C ( Arc B, C ) = C ( B , A j C ) or C ( Arc B, C ) = C ( A ,C C B ) is called a tensor product (cf. EILENBERGand KELLY [1966a]). In this sense, monoidal closed categories are models for the axioms of tensor products and internal hom functors.
7.2. Examples
7.2. I . Any relatively pseudo-complemented lower semilattice S = (S, A , +) with inf operation A and relative pseudo-complementation j becomes a monoidal closed category qua partially ordered sets if we put I = A j A for a fixed, but arbitrary A E S, since B A A IA for all B, and B A A IA iff B IA j A , and since therefore A j A is a maximal element of S. 7.2.2. The category Ens is monoidal closed with respect to finite products and function sets, since there exist natural bijections ABxC= (AB)' for all sets A, B, C, which associate with each function f : B X C+ A in two variables the function f : C + A B in one variable whose values at x E C are the functions f ( x ): B + A defined by the equations f ( x ) ( y )= f ( x ,y ) . This adjointness condition, first discovered by SCHONFINKEL [ 19241, justifies the axiomatization of functional application in the A-calculus of Church (cf. CHURCH[1941]), and the combinatory logic of Curry (cf. CURRYand FEYS[1958]), as a binary operation app : V X V + V , with app(f, a ) intuitively thought of as f ( a ) . 7.2.3. The category Ens* is monoidal closed with respect to the tensor
94
MONOIDAL CLOSED CATEGORIES
[7.3
product defined in Remark 2.2.8, and A j B defined to be the pointed set (cf : A + B E ArEns I f(a) = b } , f b ) for any pointed sets (A, a ) and (B, b), with f b being the constant function determined by the equation f b ( x ) = b for all x E A. 7.2.4. The monoidal category RModR of R-R-bimodules of Example 2.2.6 becomes monoidal closed if we turn the sets RMod(RM, R N ) of homomorphisms of left R-modules into R-R-bimodules M .$ N by endowing them with actions satisfying the equation (rfr’)(m)= f(mr)r’. For details, we refer the reader again to LAMBEK[1966], MACLANEand BIRKHOFF[1967], and MACLANE[1967]. We note in particular, that the category of abelian groups, considered as the category of Z-Z-bimodules, is monoidal closed. 7.2.5. The category Cat becomes monoidal closed if we define A j B to be the category whose objects are all functors from A to B, and whose arrows are the natural transformations between such functors. Since A and B are small, A j B is also small and hence an object of Cat. The monoidal structure is given by the Cartesian product of categories defined in Chapter 1. 7.2.6. The category kTop of Kelley spaces and continuous functions is monoidal closed, where a Kelley space is a Hausdorff space X with the property that a subset A of X is closed iff A n C is closed for all compact subsets C of X. Clearly every topological space X determines a unique Kelley space k ( X ) obtained by refining the topology of X. The category kTop is monoidal closed with respect to the constructions A 1x B = &(A x B) and A j B = k ( B A ) ,where A x B is the usual product space of A and B, and B A is the space of continuous functions from A to B with the compact-open topology. For details, we refer the reader to STEENROD [1967] and MACLANE[1971].
7.3. The category Fmcl(X) Small monoidal closed categories are the objects of a category mclCat whose arrows are functors F satisfying the conditions of arrows in mCat and have the additional property that F ( A .$ B) = F ( A )j F ( B ) , and that aA(F(A),F ( B ) ,F(C))(FCf))= F(cxA(A, B,C)(f)) for all
7.31
THE CATEGORY
Fmcl(X)
95
A, B, C E Obdom F and all f : A I B + C E Ardom F. We now construct a left adjoint Fmcl : Cat+ mclCat to the obvious forgetful functor Umcl : mclCat+ Cat.
7.3.1. DEFINITION. The language of Fmcl(X) is the sublanguage mclL(X) of L(X) generated by ObX, I, I, 3,and ArX. 7.3.2. DEFINITION.The labelled deductive system of Fmcl(X) is the subsystem mcld(X) of &X) generated by Axioms (Al), (A2), (A3), (A4), (A6), (A7), (h), (As),and Rules (Rl), (R2), (R6), and (R7). 7.3.3. REMARK.The language mclL(X) is obtained from mL(X) by extending the alphabet of mL(X) by 3,and the system mcl&X) results from the system m&X) by the inclusion of Rules (R6) and (R7). In order to be able to describe the arrows of Fmcl(X), we extend the equivalence relation = on Der(m&X)) defined in 2.3.4:
7.3.5. REMARK.Clauses (16)-(19) (of 3.3.4) refer to the symmetry of n and will not be needed again until Chapter 8. Clauses (25)-(27) ensure the naturality of aAand ah'. The fourth equivalence required for this purpose, i.e., comp(EA(l,I), comp(1 n f , 1 xcg)) = comp(c(1, I), 1 xlcompCf, g ) ) , follows from the functoriality aspect of I, i.e., Clause (6). We now define the category Fmcl(X) thus: (1) ObFmcl(X) = mclL(X).
%
MONOIDAL CLOSED CATEGORIES
[7.4
(2) ArFmcl(X) = {If 1I f E Der(mcld(X))}, where [fl denotes the equivalence class determined by f. (3)-(8) As in 2.3.5, with Fmcl(X) in place of Fm(X). (9) For all derivable labelled sequents f : A + B and g : C+ 0, ufn+ugn = u~A(EAc~, g))n. (10) For all A, B, C E ObFmcl(X), and all derivable labelled sequents f :AuB+C, a A
(Uf n) = U a A wn.
This completes the description of Fmcl(X). We call this category the free monoidal closed category generated by X. The values of Fmcl on the arrows of Cat are defined as in 2.3.6, with the following additional clauses: (12) Fmcl(H)(A 3 B ) = Fmcl(H)(A) .$ Fmcl(H)(B). (13) FmCl(H)(€ACf,g ) ) = €A(Fmcl(H)Cf),Fmcl(H)(g)). (14) FmCl(H)(ar(f)) = ar(FmCl(H)Cf)). 7.3.6. REMARK. Clause ( I l ) , defined in 3.3.4, will be included again in the next chapter, where the effects of the symmetry of u on the results of this chapter are studied. Once again, we omit the verification that Umcl and Fmcl are adjoint functors since it is routine, and proceed directly to the composition-free description of Fmcl(X).
7.4. The deductive system mclA(X)
The unlabelled deductive system of Fmcl(X) is the extension of the deductive system mA(X) obtained by including Rules (R14) and (R15) as additional rules of inference. Specifically, mclA(X) is the subsystem of A(X) generated by Axioms (Al), (A2), and the following restrictions of Rules (Rl), (R2), (R8), (R9), (R14), and (R15): (R1)
r+y
A ~ A + ~ (R2)
Ar+ 4
rA+ 4 rIA+4
7.51
THE SEMANTICS OF
Der(rnclA(X))
97
7.5. The semantics of Der(mclA(X)) In order to be able to extend the interpretation S of Der(mA(X)) in ArFm(X) of 2.5.1 to an interpretation of Der(mclA(X)) in ArFmcl(X), we recall from Theorem 1.1.23 that the following equations hold in Fmcl(X) for all A, B,C E ObFmcl(X), all f E Fmcl(X)(A I B,C), and all g E Fmcl(X)(B, A =$ C): ~ A ( AB, , C)(f) = comp(l(A)+f, q ( A , B)), a&% B,C ) k ) = comp(E(A, C ) , l(A)wg),
where q(A, B) : B + A =$ (A I B) and €(A, C) : A w (A jC)+ C are defined by the equations q(A, B) = aA(A, B, A I B)(l(A w B)) and €(A, C ) = ahl(A, A 3 C, C)(l(A 3 C ) )= Ucornp(EA(l(A), l(C)), l(A)w UA 3 c))n= UEA(~(A), i m .
7.5.1. REMARK.Although q and E are no longer natural transformations since in A, the formulas A=$(AxcB) and A w ( A 3 C ) fail to define functors, we shall continue to call q and E the unit and counit of the adjunction CYA. This terminology is in the spirit of EILENBERG and KELLY [1966b], where families of arrows of type q and E are called generalized natural transformations. They satisfy the commutativity part of a natural transformation, i.e., they make all diagrams of the following kind commute: A
a(B. A )
B 3 (B I A)
98
-
MONOIDAL CLOSED CATEGORIES
A
r(B.A)
I7.5
B N ( B 3 A) (3)
Using the unit 7 and the counit E , we can extend the definition of S of 2.5.1 to an interpretation of Der(mclA(X)) in ArFmcl(X). In numbering the defining clauses of S we omit (7), which is reserved for the interpretation of (R4)of smA(X) and smclA(X).
7.5.2. DEFINITION.The interpretation of Der(mclA(X)) in Fmcl(X) is the function S : Der(mclA(X))+ ArFmcl(X) defined by Conditions (1)-(6) of 2.5.1, with the following additions: (8)
.(ria
A~AZ~)
Ara +PA-* 4
a-1x1
=((A#r)wc((Y~P))nA-(An(rn(a+P)))nA
7.51
THE SEMANTICS OF
Der(rnclA(X))
99
We extend the equivalence relation = on Der(mA(X)) to an equivalence relation = on Der(mclA(X)) by defining f = g iff S(f)= S ( g ) , and obtain the desired bijection Der(mclA(X))/= = ArFmcl(X): 7.5.3. THE COMPLETENESS THEOREMFOR Der(mclA(X)). For every g E Der(mclA(X)) such that S ( g ) = Uf] E ArFmcl(X).
f E Der(mcl&X)) there exists a
PROOF.We extend the proof of Theorem 2.5.2: (6) If the last line of f consists of an application of (R6), i.e., f is a derivation of the form P
u:A+B
4
v:C+D
and if U p ] = S ( h ) and ( [ q ] =S ( k ) , let g be the derivation
h k C+D A+B A(B j C)+ D A x ( B j C)+ D (7) If the last line of f consists of an application of (R7), i.e., f is a derivation of the form
and if UpD= S ( h ) , 1(A) = S ( k ) , and 1(B)= S ( m ) , let g be the derivation
k A+A
m B-B AB+C B + A j C
h
17
7.5.4. COROLLARY.The category Fmcl(X) is isomorphic to a subcategory of the sequential category generated by the deductive system mclA(X) and the interpretation S : Der(mclA(X))+ ArFmcl(X). 0
100
MONOIDAL CLOSED CATEGORIES
[7.6
7.6. The syntax of Fmcl(X)
We now extend Theorem 2.6.1 to mclA(X) and show that every arrow of Fmcl(X) is representable by means of a cut-free derivation which codes its own label. This fact allows us to give an effective description of ArFmcl(X). Our study shows that the semantics of j provided by monoidal closed categories is more interesting than that for M provided by monoidal categories since, in contrast to Fm(X), the categories Fmcl(X) are no longer simple, even for discrete X. 7.6.1. THE CUT ELIMINATIONTHEOREMFOR mclA(X). Every f € Der(mclA(X)) is equivalent to a cut-free g € Der(mclA(X)).
PROOF.We extend the proof of Theorem 2.6.1. An inspection of the cut elimination algorithm defined in Appendix C shows that we must consider the additional clauses (C.16), (C.30), (C.31), and (C.45). (1) The derivations in Clause (C.16) are equivalent iff the diagram A
~
B
f=l
-
C
M
B
R
D
commutes for all A, B, C,D E ObFmcl(X) and all f, g E ArFmcl(X). But by Diagram (3) of 7.5.1, the above diagram commutes iff the diagram fxl
AMB-CMB
E?
commutes. The commutativity of this diagram, however, is an immediate consequence of the naturality of w (2) The equivalences required for (C.30) follow at once from the functoriality of M, i.e., the fact that for all f, gEArFmcl(X) with codcf) = dom(g), comp(g, f ) M 1 = comp(g M 1, f M 1). (3) The equivalences required for (C.31) follow immediately from the commutativity of all diagrams of the form of Diagram (2) of 7.5.1.
7.61
THE SYNTAX OF
Fmcl(X)
101
(4) The equivalences required for (C.45) follow at once from the associativity of composition. This proves the cut elimination theorem for mclA(X). 0
Using the additional clauses (D. 1 l), (D. 12), (D.41), (D.44), (D.49, (D.641, and (D.65) of the normalization algorithm defined in Appendix D, we can extend Theorem 2.6.2 to monoidal closed categories: 7.6.2. THE NORMALIZATIONTHEOREM FOR mclA(X). Every f € Der(mclA(X)) reduces to a unique equivalent normal g E Der(mclA(X)). PROOF.The equivalences required for the additional clauses mentioned , naturality of aA,and are easy consequences of the functoriality of X I the the coherence theorem for monoidal categories (Theorem 2.6.1.1). Hence we content ourselves with an examination of several typical examples. (1) Clause (D. 1 I ) requires the following equivalence:
f
A+B
-
f
A+B
CZD
By the interpretation of the derivations of mclA(X) in ArFmcl(X), this equivalence follows if the diagram
commutes, i.e., if compCf,p ) x( 1 holds by the functoriality of X I .
= compCfm
1, pxr I). But this equation
102
[7.6
MONOIDAL CLOSED CATEGORIES
(2) Clause (D.12.1) requires the following equivalence:
- f
f
AB+ C AIB +C IB+A+C
AB+ C B+A=+C IB+AjC
This equivalence holds provided that the following diagrams commute:
I
C(I
C)
a
(1)
C(A, A J C )
C ( I MB, A
C(A Y( ( I n B), C) A M (In €3)
+ C)
I
C(An B, C ) = C(B, A
+C )
(A MI) M B
AnB But for C = Fmcl(X), Diagram (1) commutes by the naturality of Diagram (2) commutes by the coherence of a,A, and p. (3) Clause (D.12.4) requires the following equivalence: I A +f B IIA+ B IA+I+B
CYA,
and
I A +f B A+I+B IA+I+B
This equivalence holds provided that the following diagrams commute:
I
1
C(1n A, B ) = C(A, I+ B ) C ( l r A, B )
C(A, I 3 8 )
C(Iu(InA), B ) = C ( I n A , I j B) a
1% ( I n A)-----*
( I n I)n A
InA
(1)
7.61
Fmcl(X)
THE SYNTAX OF
103
These diagrams commute for reasons analogous to those in the previous case. (4) Clause (D.41.1) requires the following equivalence:
f
g
A+B C + D A(B C)+ D E+ F A(B C ) E + D n F
+
f - A+B
+
A(B
+
h C Z D E+F CE+DnF C ) E + Dn F
This equivalence holds provided that the following diagram commutes for k = comp(g, comp(E, f n 1)): (A n ( B Un I ) .
+C)) E Y(
knn
D Y( F
I
4
(Bn(B
-
+ C))NE-
rnl
4
Cn E
But this follows at once from the functoriality of n. The other equivalences are established by similar arguments. This proves the normalization theorem for mclA(X). 0 A novel feature of Fmcl(X), in contrast to the types of category considered so far, is the fact that it internalizes the composition law of the underlying category X. It therefore provides for a far greater variety of non-equivalent normal derivations. The function
k : X(A, B) x X(B, C)+ X(A, C ) defined by the equation k c f , g ) = comp(g, f ) , for example, corresponds to an arrow
k : ( A + B ) A( B j C)+(A 3 C ) of Fmcl(X) represented by the derivation A+A
B+B C+C B ( B .$ C ) + C
Iterated compositions, such as comp(h, comp(g, f)), etc., are represented similarly.
104
[7.6
MONOIDAL CLOSED CATEGORIES
Thus for any object A = (B j B), with B E ObX, we obtain an infinite set of derivation f : A.+ A ; g : AA + A ; h : AAA + A ; etc., and these derivations may be combined by means of Rules (R8) and (R14) in several ways, with distinct combinations representing distinct arrows of Fmcl(X). For example, using the derivations representing the arrows 1(A) and k, we can construct the five normal derivations
m=
k A+A AA+A AAA+AnA ’
k
n=
AA+A A+A AAA+AnA ’
k k A + A AA+A AA+A r = ~ ~ ( ~ + ~ )‘ = +AA(A ~ ’
A+A A’
+A ) +
and t=
k
A + A AA+A A(A A)A + A
+
by means of a single application of (R8) or (R14). If we consider Ens as a monoidal closed category in the sense of 7.2.2, and define the strict functor FM : Fmcl(X)+Ens of monoidal closed categories analogously to the functor FM in the proof of Theorem 3.6.4, we see by an induction on the construction of the arrows S ( m ) , S ( n ) , S ( r ) , S(s), and S ( t ) in mcl6(X) that all the above derivations represent distinct arrows and are therefore non-equivalent. On the other hand, there are non-equivalent normal derivations in mclA(X) that are not separated by the functor F M . For suppose that f and g are the derivations
I
A A A ~ A ~ 1-1 A AAA((AnA)+I)+I
and
I A A A ~ A ~ 1-1 A AAA((AnA)+I)+I
respectively, with m and n constructed from 1(A) and k as above. Then
F~(s(f)) = FM(S(g))since FM(I)is a terminal object of Ens.
In order to show that f s g , we must find another monoidal closed such that category C and another functor G : Fmcl(X)+C G ( S c f ) )it G ( S ( g ) ) A . convenient category for this purpose is the category V of real vector spaces, discussed in 8.6.4. For let A be any infinite dimensional real vector space, ConstA : X --* V the usual constant functor,
7.61
T H E SYNTAX OF
Fmcl(X)
105
and G = FA : Fmcl(X)+V the unique strict monoidal closed functor determined by ConstA. Then FA(S(f)) Z FA(s(g)). More generally, an induction on the construction of the arrows S ( m ) , S ( r ) ,S(n), and S ( s )in mcld(X) proves that if m : + a and r : II + a,and if n : A + p or n : Ap A + 4, and s : Z + p or s : Ap A + 4, with rA = IIc in the case of (R8) and Ar = Zn in the case of (R14), and if f and g are the derivations
or
then FA(S(f)) = FA(s(g)) iff FA(S(m)) = FA(S(r)) and FA(S(n)) = FA(S(S)), provided that the normal derivations m, n, r, and s contain at most one instance of Axiom (Al), and that the arrow of X assigned to the occurrences of this instance is an identity arrow. Two normal derivations f, g : r + a obviously involve the same instances of (Al), and it is straightforward to define more general functors F : Fmcl(X) + V which will separate analogous non-equivalent normal derivations, even if their axioms are not labelled with identity arrows of X. Hence we may assume, for the purpose of this discussion, that X is discrete. Now by Clauses (D.I), (DS), (D.6), ( D . l l ) , and (D.12) of the normalization algorithm, f ends with (R2) iff g ends with (R2); by (D.40), (D.41), and the form of the concluding succedent,f ends with (R8) iff g ends with (R8); by (D.43), (D.44), and (D.45), f ends with (R9) iff g ends with (R9). On the other hand, f can end with (R14) and g with (RlS), in spite of (D65). The following example is typical: k AA+A k AA+A A + A 3 A ~ = A A (3 A A)+ A 3A with
k
denoting
internal
FA(S(f))# FA(s(g)).
=
k k AA+A AA+A A A A ( A A )+ A A A ( A 3 A ) + A .$ A
composition.
+
We
have
f2g
since
Since Rules (R2) and (R9) are interpreted as compositions with isomorphisms, and since Rule (R15) merely determines a bijection between
106
[7.6
MONOIDAL CLOSED CATEGORIES
non-equivalent derivations, we can conclude that for normal derivations with restricted axioms, the functor FAis faithful with respect to all rules of inference. Taken together with Clauses (D.83) and (D.84), an induction on the construction of the arrows S c f ) and S ( g ) in mcld(X) therefore shows that for normal derivations of the type described, f = g iff FA(Scf))= F,(S(g)) iff f = g. This argument extends easily to all normal derivations and we therefore have the desired result: 7.6.3. THECHURCH-ROSSER THEOREMFOR mclA(X). I f f = g, then there exists a normal h E Der(mclA(X)) such that f 2 h and g 2 h. 0 7.6.4. COROLLARY. The work problem for the functor Fmcl is solvable. 0
Since all normal derivations of the same sequent contain the same number of applications of the various rules of inference of mclA(X), it is clear that such derivations have the same width and height. Relative to any fixed assignment of axioms to the top nodes of the underlying trees, there therefore exist only finitely many normal derivations of any given sequent. Since these derivations are effectively determined by the syntax of Fmcl(X), Theorems 7.5.3, 7.6.1, and 7.6.2 characterize ArFmcl(X): 7.6.5. THECOMPUTABILITY THEOREMFOR Fmcl(X). Relative to X, the sets Fmcl(X)(A, B ) are computable for all A, B E ObFmcl(X). 0 7.6.6. COROLLARY.The embedding X + Fmcl(X) defined by f and faithful.
+afl
is full
PROOF.Similar to the proof of Corollary 2.6.6. 0 Finally, the following result is clear from the remarks preceding Theorem 7.6.5: 7.6.7. COROLLARY. If X is discrete, then the sets Fmcl(X)(A, B) are finite f o r all A, B E ObFmcl(X). 0
CHAPTER 8
SYMMETRIC MONOIDAL CLOSED CATEGORIES
The most important class of monoidal, but not necessarily Cartesian, closed categories in mathematics is the class of symmetric monoidal closed categories. In view of their prominence, such categories are often simply referred to as closed categories. An extensive literature exists on the commutative diagrams in this type of category since the joint presence of g,A, p , 77, and E makes their classification difficult. The first complete effective criterion for commutativity in (free) symmetric monoidal closed categories was reported in SZABO [1973] and obtained by the methods of this chapter. An alternative characterization has recently been found by VOREADOU[1976]. For details, we refer the reader to the Bibliography below. In the present context, small symmetric monoidal closed categories are, above all, the appropriate categorical models for the joint proof theory of the symmetric operation a and of the operation 3. 8.1. Definition
A symmetric monoidal closed category is a monoidal closed category C whose monoidal closed structure is symmetric in the sense of Definition 3.1. 8.1.1. REMARK.A category may well be both symmetric monoidal and monoidal closed without being symmetric monoidal closed: The category RModR of Counter-example 3.2.3 is monoidal closed, but not symmetric monoidal closed. It is, however, symmetric monoidal with respect to the usual (Cartesian) product construction.
8.2. Examples 8.2.1. All monoidal closed categories mentioned in 7.2.1, 7.2.2, 7.2.3, 7.2.5, and 7.2.6 are symmetric monoidal closed. I07
108
SYMMETRIC MONOIDAL CLOSED CATEGORIES
[8.3
8.2.2. COUNTER-EXAMPLE. The constructions in 3.2.3 and 7.2.4 show that for suitable rings R, the monoidal closed categories RModR of R-R-bimodules are not symmetric monoidal closed. 8.3. The category Fsmcl(X)
Small symmetric monoidal closed categories are the objects of a category smclCat whose arrows are functors F satisfying the conditions of arrows in mclCat and the additional requirement that F ( a ( A ,B))= a ( F ( A ) ,F ( B ) )for all A, B E Obdom F. There exists an obvious forgetful functor Usmcl : smclCat+ Cat, and we now extend the definition of Fmcl and construct a left adjoint functor Fsmcl : Cat+ smclCat of Usmcl. 8.3.1. DEFINITION. The language of Fsmcl(X) is the sublanguage smclL(X) of L(X) generated by ObX, I, a, =$, and ArX. 8.3.2. DEFINITION. The labelled deductive system of Fsmcl(X) is the subsystem smcld(X) of &X) generated by Axioms (Al)-(A9), and Rules (Rl), (R2), (R6), and (R7). 8.3.3. REMARK. A comparison with 7.3.1 and 7.3.2 shows that smclL(X) = mclL(X), and that smcld(X) results from mcld(X) by the inclusion of Axiom (As). In order to be able to define the arrows of Fsmcl(X), we introduce an equivalence relation = on Der(smclB(X)) which augments the defining conditions of = on Der(mcl&X)) by the conditions of symmetry on Der(smd(X)): 8.3.4. DEFINITION.The relation = is the smallest equivalence relation on Der(smcl&X)) satisfying Conditions (1)-( 15) of 2.3.4, Conditions (16)(19) of 3.3.4, and Conditions (20)-(27) of 7.3.4. We now define the category Fsmcl(X) analogously to the category Fmcl(X), with Clause (7) in the definition of Fmcl(X) now also mentioning Axiom (As). We call the category Fsmcl(X) the free symmetric monoidal closed category generated by X.
8.51
T H E SEMANTICS OF
Der(smclA(X))
109
The values of Fsmcl on the arrows of Cat are defined as in 7.3.5, together with Clause (11) of the definition of Fsm in 3.3.4. Again we omit the mechanical verification that the functors Usrncl and Fsmcl are adjoints and move on to the composition-free description of Fsmcl(X).
8.4. The deductive system smclA(X)
The unlabelled deductiue system of Fsmcl(X) results from the deductive system mclA(X) by the inclusion of Rule (R4) and a generalization of Rule (R15). Thus smclA(X) is the subsystem of A(X) generated by Axioms (Al), (A2), and the following restrictions of Rules (Rl), (R2), (R4), (RS), (R9), (R14), and (R15):
8.5. The semantics of Der(smclA(X))
We extend the interpretation of Der(mclA(X)) in ArFmcl(X) to an interpretation of Der(smclA(X)) in ArFsmcl(X) by means of the interpretation of Der(smA(X)) in ArFsm(X): 8.5.1. DEFINITION. The interpretation of Der(smclA(X)) in FsrncKX) iS the function S : Der(smclA(X))+ ArFsmcl(X) defined by Conditions (1)(6) of 2.5.1, Condition (7) of 3.5, Condition (8) of 7.5.2, and the following generalization of Condition (9) of 7.5.2:
I10
SYMMETRIC MONOIDAL CLOSED CATEGORIES
=r
\
\
I
I
*(ux
[8.6
I)
Analogously to all previous cases, the equivalence classes of Der(smclA(X)) obtained by defining f = g iff S c f ) = S ( g ) classify ArFsmcl(X): 8.5.2. THE COMPLETENESS THEOREMFOR Der(smclA(X)). For every f E Der(smcl&X)) there exists a g E Der(smclA(X)) such that S ( g ) = of1E ArFsmcl(X).
PROOF.The theorem follows from the combined proofs of Theorems 5.3.1 and 7.5.3. 8.5.3. COROLLARY.The category Fsmcl(X) is isomorphic to a subcategory of the sequential category generated by the deductive system smclA(X) and the interpretation S : Der(smclA(X))+ ArFsmcl(X). 8.6. The syntax of Fsmcl(X)
In this section, we describe the algorithm which decides the equality relation on ArFsmcl(X). As a corollary, we obtain counting formulas for the size of the hom sets of ArFsmcl(X) for discrete categories X. As in the cases of Fsm(X) and Fmcl(X), but in contrast to Fccl(X), these sets are finite, and the numbers of their elements are determined by combinations of multinomial coefficients. The counter-examples required in the proof of the Church-Rosser theorem to separate non-equivalent
8.61
THE SYNTAX OF
Fsrncl(X)
Ill
normal derivations are drawn from the theories of infinite-dimensional vector spaces and real Banach algebras. This is not too surprising since the axioms for symmetric monoidal closed categories were inspired by the study of such structures in the first place (cf. EILENBERG and KELLY [ 1966a1). 8.6.1. THE CUT ELIMINATION THEOREM FOR smclA(X). Every f € Der(smclA(X)) i s equivalent to a cut-free g E Der(smclA(X)).
PROOF.We extend the proof of Theorem 7.6.1. It is clear from the definition of the cut elimination algorithm defined in Appendix C that we must consider the additional clauses (C.20) and (C.36), and reconsider Clauses (C.16) and (C.31) because of the greater generality of Rule
(R15).
(1) The equivalences required for (C.20) and (C.36) are the same 2s those established in the proof of Theorem 3.6.1. (2) The derivations in Clause (C.16) are equivalent iff the diagram
0N A
Irr)
D N ( B j ( B N A))
I
In(lJu)
DM (B
AMD 1.g
+ (A N B ) )
i+
gr(lJI)
i
A NB
c
>CC
B n(B
C)
commutes for all A, B, C, D E ObFsmcl(X) and all f, g E ArFsmcl(X). But by the functoriality of N, the naturality of u,and the commutativity of Diagram (4) of 7.5.1, the above diagram commutes iff the diagram
.1
BMA
A n B-
f
C-AN
f
B
112
SYMMETRIC MONOIDAL CLOSED CATEGORIES
[8.6
commutes. Diagram (2), however, commutes if the diagram BRA
ARB
Inrl
B R (Bj( B R A))
-
B R (Bj (A R B))
commutes, and by the commutativity of Diagram (4) of 7.5.1, Diagram (3) commutes if the diagram BRA
Inrl
B R (Bj( B x A))
commutes. But by Theorem 1.1.23, comp(e, 1 n q ) = BRA). Hence Diagram (1) commutes. (3) The equivalences required for (C.31.1) are the same as those required in the proof of Theorem 7.6.1. (4) The derivations in Clause (C.31.2) are equivalent iff the diagram
commutes for all A, B, C, D E ObFsmcl(X) and all f, g E ArFsmcl(X). But by the naturality of c,Diagram (1) commutes iff the diagram
8.61
THE SYNTAX OF
f
1
-D
Fsmcl(X)
113
B +(B # A )
A -
commutes. The commutativity of Diagram (2), however, follows from that of Diagram (2) of 7.5.1. This proves the cut elimination theorem for smclA(X). 0 Before being able t o normalize the cut-free derivations of smclA(X), we require a lemma which allows u s t o dispense with certain instances of Rule (R4) in the case of derivations of sequents some of whose formulas contain I as their only atomic subformula. 8.6.2. LEMMA.I f f is a cut-free derivation of T A + 4 and if a =I,then there exists a cut-free derivation g of r a A + 4 whose o n l y instances of (R4) are those o f f , and a cut-free derivation h of + a without instances of (R4).
PROOF.W e carry out an induction on the number of occurrences of the symbols A and 3 in a. Since the induction basis and the induction step involve similar calculations, we establish merely the induction basis: (1) If a = I, let
f
rA+ 4 '=rIA+4 (2) If a
=IA
I, let
and
h =+I.
114
(3) If a
SYMMETRIC MONOIDAL CLOSED CATEGORIES
=I
18.6
+I, let f r-+b
+I
We now define a derivation of smclA(X) to be normal if it is normal in the sense of Appendix D, and has the additional property of derivations g and h in Lemma 8.6.2. By extending the reducibility relation 2 of Appendix D in the obvious way, we obtain the desired extension of Theorem 7.6.2: 8.6.3. THE NORMALIZATION THEOREMFOR smclA(X). Every f E Der(smclA(X)) reduces to a unique equivalent normal g E Der(smclA(X)).
PROOF.We extend the proof of Theorem 7.6.2 by examining a sufficient number of additional typical examples. (1) Clause (D. 12.2) requires the following equivalence:
f
f
AB+ C AB+ C IAB +C - B+A+C IB+ A + C = IB+ A + c It is clear from the interpretation of Der(smclA(X)) in ArFsmcl(X) that this equivalence holds provided that the following diagrams commute:
/
C(AMB,C) C(l N A , A j C )
C(A u ( I # B ) , C)
/
C ( B ,A
+C )
C(A,AJC)
( I M BA ,
+ C)
AM(IUB): (An1)w.B
8.61
T H E SYNTAX OF
FsmcKX)
1 IS
But for C = Fsmcl(X), these diagrams commute by the naturality of (YA, and the coherence of a, u,and A. (2) The reasoning in Cases (D.12.3) and (D.12.4) is similar and uses the fact that A ( 1 ) = p(1) and u(1,I)= I ( I l x 1 ) . (3) Clause (D.65.1) requires the following equivalence:
f
A+B C D ~ E f A ( B 3 C)D+ E A+B A ( B j C )+ D j E - A( B
+
CD4E C+DJE C )+ D j E
This equivalence is immediate from the naturality of u and entails that
LXA
which
where h is the arrow represented by the derivation on the left, k is the arrow represented by the derivation on the right, and . stands for composition in Fsmcl(X). All other cases are either trivial, such as Cases (D.33.3) and (D.33.4), or are proved similarly on the basis of coherence and naturality. This proves the normalization theorem for smclA(X). 0 We now show that the enrichment of the proof theory of mclA(X) provided by the symmetry of x produces a very subtle interplay between syntax and semantics in which, in contrast to the situation in mclA(X), the category theory dominates the proof theory. The results of this section were in fact obtained by contemplating the effect of two types of non-commutative diagrams on the concept of normality in smclA(X). The first type is due to KELLY and MACLANE[1971]. The second is contained in the much earlier work of ARENS[1951]. 8.6.4. COUNTER-EXAMPLE. If A has an atomic subformula distinct from I, then the following derivations are non-equivalent:
116
SY M M ETRlC MONO1 DA I. C L O S E D CATEGORIES
+I A + A I+I A(A *I)+I
[8.6
+I
PROOF.Let ObV be the class of real vector spaces, and ArV the class of linear transformations between them. Then V is a symmetric monoidal closed category in which I is the space of real numbers, AxtB is the usual tensor product of A and B, and A J B is the space of all linear transformations from A to B. In particular, A JI is the algebraic dual A* of A. Let E : A x A*+ I be the bilinear transformation defined by E(X,f ) = f(x). Then KA : A + A**, defined by KA(X) = E(X,-), is an arrow of V. If A is infinite dimensional, then KA is not surjective, hence not an isomorphism (cf. TAYLOR[1958]). In V, Derivation (1) represents the identity arrow ](A***), and DerivaIf Derivations (1) and tion (2) represents the arrow Comp(KA*, KA J ](I)). (2) are equivalent, it follows from the freeness of Fsmcl(X) that we must have ](A***) = comp(KA*,K A J l(1)) in V. Since we always have 1(A*) = COmp(KA J ](I), KA*),the arrow KA* is therefore invertible, hence an isomorphism. Since A* is infinite-dimensional if A is we have a contradiction. 0 8.6.5. REMARK.Let A E ObFsmcl(X) contain an atomic subformula distinct from I, let A'"' E ObFsmcl(X) be defined inductively by the
8.61
T H E S Y N T A X OF
Fsrncl(X)
I17
conditions A''' = A and A'"+"= A'"'J1, and let f # g : A""+ A""'E ArFsmcKX). Then Counter-example 8.6.4 entails the following nonequalities of arrows of Fsmcl(X), for all m, n E w : (1) COmP(KA(m', f ) # COmp(KA('"), g ) : A'"'+ A'"'+*). (2) f 3 l(1) # g J l(1) : A""+"+ A'"'). Let +i : w x w + w (i = 1,2) be two binary operations on w , defined by the equations +'(a, m ) = (n, m + 2) and +dn, m ) = ( m + 1, n + 1). Then a brief reflection on the effect of Constructions (1) and (2) on the exponents of A shows that an arrow f : A'"+ A'" of Fsmcl(X) is constructible from 1(A) : A'''+ A''' by means of (1) and (2) iff there exists a sequence ( t l , .. . , t,) of integers with the property that t~ = ( O , O ) , t i + ' = +'(ti) or ti), and that 1, = (p, q ) . Moreover, it is clear from the above observations that two distinct sequences represent two distinct arrows. We may paraphrase this result in geometric terms by observing that the total number of sequences from (0,O) to ( p , q ) satisfying the above conditions corresponds precisely to the number of distinct paths from the origin (0,O) in the plane to the point (p, q ) constructible by means of two types of moves: A vertical move upwards by two units, and a diagonal move upwards of length d 2 , followed by a reflection in the line y = x. It is easily seen that the described paths have the following properties: (1) If a path ends with ( p , q ) , then p and 4 are either both even or both odd. (2) The number of paths from (0,O) to ( p , q ) is the sum of the number of paths beginning with ((0,0), (1, 1)) and the number of paths beginning with ( ( O , O ) , (0,2)). (3) The number of paths from (0,O) to ( p , q ) beginning with ( ( O , O ) , (1, 1)) is equal to the total number of paths from (0.0) to (p - 1, q - 1). (4) The number of reflections in any path beginning with ( ( O , O ) , (1, I)) and ending with (2n + I , 2m + 1) is odd, and the number of paths from (0,O)to (2n + 1,2m + 1) beginning with ((0,0), (0,2)) is therefore equal to the total number of paths from (0,O) to (2n - 1 , 2 m + 1). (5) The number of reflections in any path beginning with ((0,0), (0,2)) and ending with (2n, 2m) is even, and the number of paths from (0,O)to (2n, 2 m ) beginning with ((0,O), (0,2)) is therefore equal to the total number of paths from (0,O) to (2n, 2rn - 2). Let N ( p , q ) denote the total number of paths from (0,O) to ( p , 4). Then the above observations are summarized by the following formulas:
118
SYMMETRIC MONOIDAI. CLOSED CATEGORIES
[X.6
( 1 ) N ( p , q ) = 0 if p is odd and q is even, or if p is even and q is odd. ( 2 ) N ( 2 n , 2 m ) = N ( 2 n - I , 2m - 1) N ( 2 n , 2m - 2). ( 3 ) N ( 2 n + 1,2m + 1 ) = N ( 2 n , 2 m ) + N ( 2 n - 1 , 2 m + 1 ) . An induction on n + m shows that the numbers N ( p , q) are determined by the binomial coefficients:
+
8.6.6. COROLLARY. If A contains an atomic subformula distinct f r o m I , then the sets Fsmcl(X) (A""), A'2"') and Fsmcl(X) A(2m+1) ) contain at least N ( 2 n , 2 m ) and N ( 2 n + 1,2m + 1 ) elements, respectively. 0
The Church-Rosser theorem for smclA(X), proved in 8.6.9 below, entails that for A E ObX and X discrete, the formula N ( p , q) counts precisely the cardinality of Fsmcl(X)(A'P', A'"). 8.6.7. COUNTER-EXAMPLE. If A and B have atomic subformulas distinct from I, then the following derivations are non-equivalent:
8.61
T H E S Y N T A X OF
Fsmcl(X)
I I9
PROOF.Let ObB be the class of real Banach algebras, and ArB the class of bounded linear transformations between them. Then B is a symmetric monoidal closed category in which I is the space of real numbers, A I B is the usual tensor product of A and B, and A + B is the space of all bounded linear transformations from A to B. As in the previous example, X * and X** denote the first and second algebraic dual spaces of X . We use the familiar correspondence Bilin(A x B,C ) = B(A x( B,C) between the set of bounded bilinear transformations from A x B to C and the bounded linear transformations from A I B to C and show that the above derivations represent distinct bounded linear transformations for suitable algebras A, B, C E O b B . Let A, B,C E ObB and m E Bilin(A x B,C ) , and let rn' E Bilin(B x A, C ) and m* E Bilin(C* X A, B*) be the bounded bilinear transformations determined by the equations rn'(b, a ) = rn(a, b ) and m*Cf, a ) ( b )= f(rn(a, b ) ) . By combining and iterating these processes, we obtain further bounded bilinear transformations rn ** : B** x C*+ A*, m * * * . A** x B**-, C**, and m'***' : A** x B**+ C**. An inspection of the interpretation of Der(smclA(X)) in ArFsmcl(X) shows that the non-equality of m*** and rn'***' for some algebras A, B,C E ObB implies the non-equivalence of Derivations (1) and ( 2 ) above since Fsmcl(X) is free and since Derivation (1) represents the linear analogue of rn'***' and Derivation ( 2 ) that of m*** in Fsmcl(X). Let 1 be the Banach algebra of absolutely summable real sequences (6)with norm CI&l. Then the algebra I* is isomorphic to the Banach algebra of bounded real sequences (5")with norm sup 1&l. Let x = (&), y = (q,) E 1, and let S = {pIJE R 1 lp,,I 5 M E R}. Then rn : 1 x 1 + R defined by rn(x, y ) = C ( p l J , $ l ~isJ )a bounded bilinear transformation. Let a,p E I*. Then m***(P, a) is computed by applying LY to all sequences ( p ~ ~ , p z J ,. p . .~, p, ,l J ,.. .) and by then applying p to the resulting sequence. The real number m'***'(p, a),on the other hand, is computed by applying p to all sequences (pIIrp12,p13,.. . ,p l J ,.. .) and then applying a to the result. Consider the bounded bilinear transformation rn : 1 x 1 + R defined by the array
120
[8.6
SYMMETRIC MONOIDAL CLOSED CATEGORIES
1 1 1 1 1 1
1 0 0 0 0 0
1 0 1 1 1 1
1 0 1 0 0 0
1 0 1 0 1 1
1 0 1 0 1 0
1 0 1 0 1 0
1 0 1 0 1 0
1 0 1 0 1 0
1 . . . 0 . . . 1 . . . 0 . . . 1 . . 0 .
. . .
. . . . . . . . . .
. . . . . . . . .
. . . . . . . .
Let M be the maximal ideal in I* generated by all real sequences with only finitely many non-zero terms, together with the sequence (0, l,O, 1,0, 1 , . . .), and let N be the maximal ideal in I* generated, once again, by all real sequences with only finitely many non-zero terms, together with the sequence (1,0, 1 , 0 , 1 , 0 , . . .). Then M and N are proper and distinct maximal ideals with M = ker(a) and N = ker(j3) for some a , p E I * * . Since a and j3 are algebra homomorphisms, and by the definition of M and N , we have the equations l = a ( l , l , l ). . .) = a ( O , l , O ) . . .) + a ( 1 , 0 , 1 , . . .) = O + a ( l , O , l , ...), l = @ ( l , l , l ,. . .)=@(O,l,O) . . .) + P ( l , O , l , ...)=P(O,l,O, ...) + O , 1 = a(51.&, . . . 1 , 1, 1 , . . .) = j 3 ( 5 1 , 5 z r . . * e n , 1 , 1, 1, * * .), 0 = a([,,5 2 , . . . , e n , 0, O , O , . . .) = P(5135 2 , . . ., O , O , O , . -1. t $9
9
$9
Hence
in***@,
a)= 0 and m'***'(p, a)= 1 .
8.6.8. REMARK.The construction in 8.6.7 generalizes easily to any finite number of algebras. Thus for suitable distinct objects A I ,Az, A3, B E ObB, and any permutation u of the integers 1 to 3 with inverse T, there exist bounded trilinear transformations in : A I x A2 x A3+ B yielding 3! bounded trilinear transformations mu****'
: AT* x AT* x AT* + B**.
The processes described in 8.6.4 and 8.6.7 may be combined to produce further arrows: Let KC : C + C** and KB' : B* +. B*** be the embeddings of C and B* in their second duals as defined in 8.6.4, and let in : A x B +. C be a suitable bounded bilinear transformation. Then
8.61
T H E SYNTAX OF
Fsmcl(X)
121
comp(rcc, m)*** : A** x B**+ C****, comp(rcc, m)'***' : A** x B**+ C****, comp(rcp, m*)** : A** x B****+ C**, are three distinct bounded bilinear transformations. A careful scrutiny of the cut-free representations in Fsmcl(X) of analogues of the arrows constructible in B by the above method shows that if pI + . * + P n > 0, any suitable distinct A I , . . . , An, B E ObB, and any suitable bounded n-linear transformation m : A I X . . . X A, + B determine
bounded n-linear transformations f : E + F and g : G + H, where A(") F = B""', has the same meaning as in 8.6.5, E = A\2pI'x . . * x H = A12Pj+'), for some i = 1 , . . . , n, and G is the Cartesian product of algebras which results from E by the replacement of H by F. For example, if m is a derivation of the sequent AB + C in smclA(X), then the three normal derivations of A'2'B'4'+ C"' are coded precisely by the following three sequences of powers of A, B, and C :
If q = 0 and P I +. . . + qn > 0, then no sequential analogue of E + F is derivable in smclA(X), and for q > 0, the above counting formula is easily proved by an induction on P I * . + p n + q. In these considerations, it is of course understood that n > 2. The absence of the formula N ( p , q ) from the above estimate may at first seem surprising. However, it follows from the interpretation of Der(smclA(X)) in ArFsmcl(X) and the cut elimination algorithm for smclA(X) that comp(h, f ) = f for all f : E + F constructed above and all N ( 2 q , 2q) arrows h : F + F constructed from l(B), for example. The following calculation is typical of the general case, and uses the fact that COmp(KA 1(I), K A * ) = 1(A*): +
a
122
SYMMETRIC MONOIDAL CLOSED CATEGORIES
[8.6
The derivations involved in Counter-examples 8.6.4 and 8.6.7 are not constructible in mclA(X) since both depend on the greater generality of (R15) and since those in 8.6.7 also depend on the presence of (R4). We now examine the consequences of this greater deductive power in detail. By virtue of Theorem 8.6.1, we may again assume that X is discrete. We begin by drawing attention to two important restrictions on (R4) and (R15) in normal derivations: 1. By (D.24), all active (R4) formulas contain an atomic subformula distinct from I. 2. If FA+ (Y jp is derived from raA+ fi by (R15) and r is non-empty, then, by (D.85), (Y contains an atomic subformula distinct from I and so does some formula to the left of a in r. (1) The greater generality of (R15) allows identical antecedent formulas with subformulas distinct from I to be moved to the succedent from any position. This gives rise to the following types of distinct normal derivations: A+A A+A .A.A + A K( A A + A j (A n A) k .A.A+ A A+AjA’
A+A A+A A.A.+AnA A + A .$(A n A) k A.A. + A A+AjA’
with k denoting internal composition, in the sense of Chapter 7. (2) In combination with (R14), Rule (R4) yields a variety of somewhat more subtly distinct new normal derivations: A+A
f3
f2=
k AA+A A + A AA(A~A)+A*
f4=
k AA+A A + A AA(A .$ A)+ A AA(AjA)+A
k AA+A
f,= AA(A+A)+A’ k A + A AA+A A(A 3 A)A + A = AA(A 3A)+ A
8.61
T H E S Y N T A X OF
A+A
k
AA+A
FsmcKX)
A+A
123
k
AA+A
with k again denoting internal composition. For suitable A, the intuitive meaning of the last six derivations in Ens is as follows:
fdx, Y, f ) = comp(f(y), x), fdx, Y,f ) = f(comp(y, XI), f d y r x, f ) = f(comp(x, Y)), fdx, Y, f ) = comp(y, f(x)), fdx, Y. f ) = comp(x, f ( 11,~ fh(xIY, f ) = comp(f(x), Y ). The unique strict functor FM : Fsmcl(X) + Ens of symmetric monoidal
closed categories defined analogously to the functor Fbf in the proof of Theorem 3.6.4 separates the normal derivations in ( I ) and ( 2 ) above for some A. It does so, for example, if A = (B 3 B )and B E ObX. On the other hand, it fails to distinguish the first two derivations in ( 1 ) if A = (B+I), with B E ObX, for example, since FM(Bj I)is terminal in Ens. Once again, the functor FA : Fsmcl(X) + V defined analogously to the functor FA in the previous chapter comes to our rescue and distinguishes all derivations in (1) and (2). (3) In addition, we have the type of derivations in which (R4), (R9), and (R14) combine to produce new distinct normal derivations. The following example is typical: k AA+A AA+A A+A AAA+A A ( A 3 ( A A A ) )+ A ~~
~
k
AAAA A+A AAA+A A(A 3 ( A A A)) A
Here again, for sake of definiteness, k denotes internal composition. (4) Similarly, (R4), (R9), and (R15) can combine to produce new non-equivalent normal derivations as follows:
k'
f=
A.AA. -+ A A.AA. + A A ( A n A)+ A A+(AnA)jA
k' .AA.A + A .AA.A + A ( An A)A +A g = A + ( A nA ) 3 A
124
[8.6
SYMMETRIC MONOIDAL CLOSED CATEGORIES
with k' representing a double composition arrow of Fsmcl(X). The remaining ten non-equivalent derivations are constructed in the same way by means of the other permutations of AAA. Again we have nonequivalence by virtue of the non-equality FA(Scf))# F,(S(g)),for all f and g built in this way. (5) The joint presence of (R4),(R14),and (R15)also produces new non-equivalent derivations: The schemes k k AA+A AA+A AA(A3 A ) A+ A
and
k
k
AA+A AA+A AAA(A 3 A )+ A
together determine twelve non-equivalent derivations of the sequent AA(A=$ A )+ A A. Because o f (D.65)some , of these derivations do not involve an instance of (R4).The following examples are typical:
+
k A.A.+A k AA+A A+A+A AA(A +A)+ A 3 A
k A.A.+A k AA+A A+A*A AA(A A )+ A 3 A AA(A3 A )+ A 3 A
+
k k AA+A AA+A A.A.A(A =$ A )+ A AA(A 3 A )+ A 3 A
k k AA+A AA+A A.A.A(A 3 A)+ A AA(A A . 3 . A)+ , A AA(A3 A)+ A 3 A
k k AA+A AA+A A.A.(A 3 A ) A+ A A ( A3 A ) A+ A =$ A AA(A 3 A )+ A 3 A
k k AA+A AA+A A.A.(A 3 A ) A+ A
+
AA(A +A)+ A 3 A AA(A3 A)+ A 3 A
with k denoting internal composition, as usual. Here too, the functor FA distinguishes all twelve derivations. In general, an inspection of the rules of inference shows that for normal derivations, the symmetric aspects of Fsmcl(X) manifest themselves in six distinct ways in smclA(X):
8.61
THE SYNTAX OF
Fsmcl(X)
125
(1) f and g are the derivations
wn a(T), r +m a (a) and -
A+ a
A+ a
in the notation of (D.24), with a# T. (2) f and g are the derivations
(3) f and g are the derivations
(4) f and g are the derivations
( 5 ) f and g are the derivations
(6) f and g are the derivations
An induction on the construction of S c f ) and S ( g ) in smcld(X) shows that in view of the restrictions on (R4) and (R15)in normal derivations, the V-valued functor FA distinguishes f and g, for all normal m, n, r, and s.
I26
SYMMETRIC MONOIDAL CLOSED CATEGORIES
[8.6
A similar induction also shows that the functor FAis faithful with respect to Rules (R8)and (R14), in the sense discussed in the previous chapter. It is clear from the preceding discussion and the relevant clauses of the reduction algorithm of Appendix D, that if f , g : I'+ a are two normal derivations, then f ends with (R2) iff g ends with (R2); f ends with (R9) iff g ends with (R9); f ends with (R8) iff g ends with (R8) or (R4); f ends with (R14) iff g ends with (R14), (R15), or (R4); f ends with (R4) iff g ends with (R4), (R8),(R14), or (R15). The given examples are typical of the syntactic possibilities involved. Thus the previous induction on the construction of Scf) and S ( g ) in smcli\(X) establishes that f = g iff FA(Scf)) = FA(S(g)) iff f = g , and we have proved the decidability of =: 8.6.9. THE CHURCH-ROSSERTHEOREMFOR smclA(X). I f f = g, then there exists a normal h E Der(smclA(X)) such that f 1 h and g 2 h. 0 8.6.10. COROLLARY.The word problem f o r the functor Fsmcl is sol-
vable. 0
Since instances of Rule (R4) do not affect the width of the derivations of a sequent A + B in smclA(X), it is clear from Chapter 7 that all normal derivations of A + B have the same width, and are effectively determined by the syntax of Fsmcl(X) relative to any fixed assignment of axioms to the top nodes of the underlying trees of these derivations. Hence Theorem 8.5.2, 8.6.1, and 8.6.2 characterize ArFsmcl(X): 8.6.11. THE COMPUTABILITY THEOREMFOR Fsmcl(X). Relative to X, the sets Fsmcl(X)(A, B ) are computable for all A, B E ObFsmcl(X). 0 8.6.12. COROLLARY.The embedding X + Fsmcl(X) defined by f full and faithful.
+ i f 1 is
PROOF. Similar to the proof of Corollary 2.6.6. 8.6.13. COROLLARY.If the objects A , B 1 , .. . ,B, of Fsmcl(X) have atomic subformulas distinct from I,and if Il(C,D)l(denotes the cardinality of Fsmcl(X)( C, D ) , then (1) l((A'2"',A(2m+1))l) = ll(A(2n+'), A""')ll = 0.
8.61
T H E SYNTAX OF
FsmcKX)
127
where A(*"),etc., have the same meaning as in 8.6.5. 0 8.6.14. COROLLARY.If X is discrete, then the sets FsmcI(X)(A, B ) are
finite for all A, B E ObFsmcl(X). 0
CHAPTER 9
CARTESIAN CLOSED CATEGORIES
In the light of the foundational contributions of Lawvere and others within the framework of elementary topoi, Cartesian closed categories constitute one of the mathematically most important types of structure studied in this monograph, especially since it is now known that an elementary topos is simply a Cartesian closed category C with a distinguished object R and a natural isomorphism Sub(-) = c(-,R) which classifies the subobjects of an object A in terms of the characteristic functions on A. The consequences of this additional axiom are not examined until Chapter 13 since the involved ideas of the completeness and the cocompleteness of a category are only marginally deductive. In the present context, therefore, Cartesian closed categories serve merely as Since such the natural models for the joint proof theory of T, A , and categories are automatically symmetric monoidal closed it is interesting to note that, proof-theoretically, the passage from symmetric monoidal closed to Cartesian closed categories involves both a loss and a gain. The terminality of T leads to the identification of all those derivations which were kept distinct by Counter-examples 8.6.4 and 8.6.5. On the other hand, the joint presence of the unit S of the adjunction a,,and the counit E of the adjunction CXA requires a class of derivations for the construction of the free Cartesian closed categories which is so rich in structural properties that it possesses infinitely many non-equivalent cut-free derivations of certain sequents.
+.
9.1. Definition
A Cartesian closed category is a Cartesian category C with the following additional structure: (4) A bifunctor (-) (-) : Copx C + C. ( 5 ) An adjunction a ~where ,
+
(YA
= {(YA(A, B, C) : C(A A
B, C ) + C(B, A j C) E ArEns I A, B, C E ObC}. 128
9.31
THE CATEGORY
Fccl(X)
129
9.1.1. REMARK.A comparison with Definition 7.1 shows that Definition 9.1 results from Definition 7.1 by the replacement of the word monoidal by Cartesian and the replacement of #: by A in Condition (5). 9.2. Examples
9.2.1. All monoidal closed categories mentioned in Examples 7.2.1, 7.2.2, 7.2.5, and 7.2.6 are Cartesian closed.
9.2.2. For any small category C, the category Funct(C"',Ens) becomes Cartesian closed if we define ( F AG ) ( A ) = F ( A ) x G ( A ) for all A E ObC"', T=Const{*} for some fixed one-point set {*}, and define the functor F j G by the condition (Fj G ) ( A )= Nat(G A C(-, A ) , F) for all A E ObCoP.The definition of F j G is based on the fact that this functor is set-valued and that by the Yoneda lemma we must therefore have a natural bijection (F G ) ( A )= Nat(C(-, A ) , F j G ) for all A E ObCO', and the fact that the adjunction CXA demands that Nat(G A C(-, A ) , F ) = Nat(C(-, A ) , F jG ) .
+
9.2.3. COUNTER-EXAMPLE. The monoidal closed category Ens* is not Cartesian closed since any terminal object of Ens* is also initial, and since any Cartesian closed category with this property is equivalent to a discrete one-object category. PROOF.Let C be a Cartesian closed category. Then A = A A T for all A E ObC by the Yoneda lemma since C(X, A ) = C(X, A ) x C(X, T) = C(X, A A T) for all X E ObC. Suppose that T = 1.Then it follows from the closed structure of C that C(A, B ) = C ( A A T, B ) = C ( A A I,B ) = C(1, A B ) = { * } for all A, B E ObC. 0
+
9.3. The category Fccl(X) Small Cartesian closed categories are the objects of a category cclCat whose arrows are functors F satisfying the conditions of arrows in cCat and have the additional property that F ( A B) = F ( A )j F ( B ) , and F ( B ) ,F ( C ) ) ( F ( f )=) F(cxA(A, B, C)(f)) for all A, B , C E that CXA(F(A), Obdom F and all f : A A B + C E Ardom F. There exists an obvious
+
130
CARTESIAN CLOSED CATEGORIES
[9.3
forgetful functor Uccl : cclCat+ Cat, and we now construct a left adjoint Fccl : Cat + cclCat of Uccl. 9.3.1. DEFINITION.The language of Fccl(X) is the sublanguage cclL(X) of L(X) generated by ObX, T, A , j,and ArX. 9.3.2. DEFINITION.The labelled deductive system of Fccl(X) is the subsystem ccld(X) of d(X) generated by Axioms (Al), (A2), (AlO), (A12), (A13), and Rules (Rl), (R3), (RlO), and (Rll). 9.3.3. REMARK.A comparison with 4.3.1, 4.3.2, 7.3.1, and 7.3.2 shows that cclL(X) results from cL(X) by the inclusion of j,and from mclL(X) by the replacement of I by T, and M by A , and that ccld(X) results from cd(X) by the inclusion of Rules (RlO) and (R1 1). Moreover, the rules of inference of ccl&X) result from those of mcld(X) by the replacement of Rules (R2), (R6), and (R7) by (R3), (RlO), and (Rll), respectively. 9.3.4. DEFINITION. The relation = is the smallest equivalence relation on Der(ccld(X)) satisfying Conditions (1)-(9) of 4.3.3, and Conditions (20)(27) of 7.3.4, with A in place of M, and with f~ g =(cornp(.f,m), comp(g, d). 9.3.5. REMARK.The definition of f A g conforms with Clause (8) in the definition of Fc(X). Moreover, by the identity laws for categories, Conditions (23) and (24) reduce to (23) comp(cr(1, I), (VA, comp(mCf), wP)))-f. (24) %(COmP(EA(1, (VA, c o m p k r p ) ) ) ) g. We now define the category Fccl(X) as follows: (1) ObFccl(X) = cclL(X). (2) ArFccl(X) = {If! I f E Der(cclb(X))}, where Ufll denotes the equivalence class determined by f. (3)-(10) As in 4.3.3 with Fccl(X) in place of Fc(X). (14) For all derivable labelled sequents f : A + B and g : C + 0,
ufn+
ugn = I I ~ A ( ~ A g))n. C ~ ~ (IS) For all A, B, C E ObFccl(X), and all derivable labelled sequents f : A A B + C, = I ~(.f)ll. A This completes the description of Fccl(X). We call this category the free Cartesian closed category generated by X. The numbering of the
(Ufn
9.41
THE DEDUCTIVE SYSTEM C C b ( X )
131
defining conditions of Fccl(X) has been arranged to allow us to define the bicartesian closed category Fbccl(X) of Chapter 10 below by simply combining the defining conditions of Fbc(X) and Fccl(X). The values of the functor Fccl on the arrows of Cat are defined as in 4.3.4, together with Clauses (12)-(14) of the definition of Fmcl in 7.3.5. As always, we omit the mechanical calculations which verify that Uccl and Fccl are adjoint functors. 9.4. The deductive system cclA(X)
The unlabelled deductive system of Fccl(X) is the extension of the deductive system cA(X) obtained by including Rules (R4), (R14), and (R15) as additional rules of inference. Thus cclA(X) is the subsystem of A(X) generated by Axioms (Al), (A3), and the following restrictions of Rules (Rl), (R2), (R3), (R4), (RlO), ( R l l ) , (R14), and (R15):
9.4.1. REMARK.Rule (R4) is required because of the asymmetry of Rule (R14) and that fact that Fccl(X) is symmetric monoidal: By the Yoneda lemma, the adjunction [ X , A A BI = [ X ,A ] x [ X ,BI = [ X , BI X [ X ,A1 = [ X , B A A] determines a natural isomorphism a ( A , B) : A A B + B A A for all objects A, B E ObFccl(X) which is easily seen to satisfy Axioms (M4)-(M6) of 3.1.
132
[9.5
CARTESIAN CLOSED CATEGORIES
9.5. The semantics of Der(cclA(X))
We now extend the interpretation of Der(cA(X)) in ArFc(X) to an interpretation of Der(cclA(X)) in ArFccl(X) by combining Definition 4.5.1 with Clause (7) of 3.5, Clause (8) of 7.5.2, and Clause (9) of 8.5.1. We summarize the process for ease of reference: For all A, B, C E ObFccl(X), we define ( 1 ) aAA A B, A, B)(l(A A B ) ) = ( ~ A ( A B ), , mP(A.B ) ) . (2) G1((l(A),l(A))) = S(A). (3) CY;~(CZ;'(T~(A, B A C),T A ( B C)mp(A, , B A C ) ) ,mJB, C)mp(A,B A C ) ) = a ( A ,B, C ) . (4) (mp(A, B ) , ~ A ( AB ,) ) = d A , B ) . (5) €(A, B ) = &'(A, A 3 B, B)(I(A 3 B)). (6) q ( A , B ) = AM, B, A A B)(l(A A B)). With the help of these canonical arrows of Fccl(X), we define the function S : Der(cclA(X))+ ArFccl(X) as follows: (1)-(7) As in 4.5.1.
f
\
rupA-t4)=((rAp)Aa)hA~(rA(p @) s(Tpa A + 4
(9)
1
A a ) ) A A (I
A
cr) A I
9.51
THE SEMANTICS OF
Der(cclA(X))
133
t-
This completes the interpretation of Der(cclA(X)) in ArFccl(X). The equivalence classes of Der(cclA(X)) obtained by defining f = g iff S(f)= S ( g ) classify ArFccl(X): 9.5.1. THE COMPLETENESS THEOREM FOR Der(cclA(X)). For every f E Der(ccl&X)) there exists a g E Der(cclA(X)) such that S ( g ) = [f] E
ArFccl(X).
PROOF.We combine the proofs of Theorems 4.5.2 and 7.5.3 by replacing #: by A in 7.5.3, and replacing the derivation
k A+A BISB h AB+ArxB A#:B+C AB+C B+A+C in 7.5.3.7 by the derivation
k A+A B ~ B AB+A AB+B h AB+AAB AAB+C AB+C 9.5.2. COROLLARY. The category Fccl(X) is isomorphic to a subcategory of the sequential category generated by the deductive system cclA(X) and the interpretation S : Der(cclA(X))-+ArFccl(X). 0
134
CARTESIAN CLOSED CATEGORIES
[9.6
9.6. The syntax of Fccl(X)
The category Fccl(X) shares with all other categories discussed in this monograph the property that its arrows have a composition-free description: 9.6.1. THE CUT ELIMINATIONTHEOREM FOR cclA(X). Every f € Der(cclA(X) is equivalent to a cut-free g E Der(cclA(X)).
PROOF.By the proof of Theorem 4.6.1 and Conditions ((2.3, (C.16), (C.20), (C.30), (C.31), (C.36), and (C.45) every derivable sequent has a cut-free derivation. It therefore remains to show that the reductions involved in the above clauses preserve equivalence. In the case of (C.16) and (C.31) the required argument is identical to that used in the proof of Theorem 8.6.1. In the case of (C.20) and (C.36) it is similar to that used in the proof of Theorem 3.6.1, and in the case of (C.30) and ((2.45) it is similar to that used in the proof of Theorem 7.6.1. The equivalences required for (CS), finally, follow at once from the commutativity of the diagram
for all A, B, C, D E ObFccl(X) and all h E ArFccl(X). 0 Using the additional clauses (D.2), (D.3), (D.1 l), (D.12), (D.15), (D.16), (D.18), (D.19), (D.22), (D.23), (D.24), (D.28), (D.29), (D.32), (D.33), (D.52), (D.56), (D.57), (D.64), (D.65), (D71), (D.73), (D.79, (D.77), and (D.79), we can extend Theorem 4.6.5 to cclA(X). But since the reductions given by these clauses do not guarantee the uniqueness of terminal arrows, we first require a lemma: 9.6.2. LEMMA.If a =T, then the sequent + a is derivable in cclA(X). PROOF.By the completeness theorem, the sequent T + a is derivable.
9.61
T H E SYNTAX OF F C C l ( X )
I35
By the cut elimination theorem a65 ObX. Hence a is either T, or of the form p A y or p j y. There therefore exist cut-free derivations +T
T-T T+B
T+v
The lemma now follows from an induction on the height of derivations. 0 Before being able to proceed to the description of the normal derivations of cclA(X), we must give a syntactic characterization of the terminal objects of Fccl(X). In contrast to the situation in Fc(X), Fbc(X), and Fdbc(X), the objects of the underlying category X may now also occur as atomic subformulas of the terminal objects of Fccl(X). Fortunately, the class of terminal objects of Fccl(X) has nevertheless an effective description: Let L(T) be the sublanguage of cclL(X) generated by the conditions (1) T E L(T). (2) If a, p E L(T), then (aA p ) E L(T). (3) If a f L(T) and p f cclL(X), then ( p j a)E L(T). 9.6.3. LEMMA.a
=T
in Fccl(X) i$
Q
E L(T).
PROOF.This result follows by an easy induction on formulas from the Yoneda lemma and the fact that the adjunctions
The definition of the normality of derivations in cclA(X) takes advantage of two additional properties of Der(cclA(X)):
136
CARTESIAN CLOSED CATEGORIES
[9.6
9.6.4. LEMMA.For every cut-free f EDer(cclA(X)) there exists an equivalent cut-free g E Der(cclA(X)) containing no instances of (R2), (R3), and (R4) whose active formulas are o f the form a A p.
PROOF.The lemma follows from an induction similar to that described in Appendix C, using Theorem 3.6.1.1 and the equivalences determined in Der(cclA(X)) by Conditions (D.19.3), (D.29.4), and (D.Sl.l), i.e.,
etc., for all f E Der(cclA(X)) deriving sequents with suitable antecedents. 0
9.6.5. LEMMA.Every cut-free f EDer(cclA(X)) is equivalent to a cutfree g € Der(cclA(X)) containing no instances of (R14) with the property that the active formulas in their right premisses are isomorphic to T. PROOF.Similar to that of the previous lemma, using equivalences of the form k k AA+ 4 AA+ 4 h T+a ApA++ Aa+pA+c$ A r a j P A + + -Ara+PA+c$ 0 We now define a derivation f EDer(cclA(X)) to be normal if it is normal in the sense of Appendix D, and satisfies four additional conditions: (1) All subderivations o f f not containing instances of (R14) and (R15) are normal in the sense of 4.6, with the condition that the active formulas of instances of (R2) are atomic replaced by the condition that the active formulas of instances of (R2) are either atomic or of the form ff
*P.
(2) Unless f is a derivation mentioned in (4) below, f contains no
9.61
T H E S Y N T A X OF
Fccl(X)
I37
instances of (R2) and (R3) whose active formulas are of the form a A p. (3)f contains no instance of (R14) whose active formula in the right-hand premiss is isomorphic to T. (4) If f derives r+ a and a = T, then f is of the form
where g is the necessarily unique derivation of + a by means of (A3), (R2), (RlO), (Rll), (R15) which is normal in the sense of Appendix D, and where (a)consists of the instances of (R2) required to derive r+a from + a. By combining the results of Theorems 4.6.5 and 9.6.1 with the preceding lemmas and extending the reducibility relation L of Appendix D in the obvious way to allow for the reductions required in the normality Conditions (1)-(4) above, we now obtain our desired result: 9.6.6. THE NORMALIZATION THEOREMFOR cclA(X). Euery f € Der(cclA(X)) reduces to a unique equivalent normal g E Der(cclA(X)).
PROOF.In view of our previous results, it remains to verify that the additional clauses of the normalization algorithm and Condition (3) in the definition of normality are compatible with our definition of equivalence. (1) The equivalences required for Cases (D.2), (D.3), (D. IS), (D. 16). (D.18), (D.19), (D.24), (D.28), (D.29), (D.71), (D.73), (D.79, (D.77). and (D.79) follow from Theorem 4.6.5. (2) The calculations required for Cases (D.32), (D.33), (D.56), (D.57), (D.64), and (D.65) are similar to those required for their analogues in the proofs of Theorem 7.6.2 and 8.6.3. (3) Clause (D.11) requires the following equivalence:
f f I: A+B D+E A+B f? CA-B D-E - A(B+D)+E C A ( B 3 D)+ E CA(B 3 D)+ E By the interpretation of derivations in ArFccl(X) this equivalence holds
138
[9.6
CARTESIAN CLOSED CATEGORIES
provided that the diagram
(C A A ) A (BJD)-B
comp(f. wA)
A
(BJD)
commutes. But this is immediate from the functoriality of (4) Clause (D. 12) requires the following equivalences:
A .
f
AB+C A B +f C ADB+C - B+A+C DB -+ A 3 C = DB + A J c
TAZB
TAS B
.T.TA + B - A+TJB TA + T J B - TA+ T J B Equivalence (1) is clear from the naturality of following diagram commute, for C = Fccl(X):
I
C(AhB,C) c(IA mp c)
E
I
(YA,
which makes the
C(B,AJC) C(wP A 3 C )
C(A A (D A B ) , C ) = C(D A B, A + C). Equivalence (2) follows from the naturality of ( Y ~ ,i.e., the commutativity of the above diagram with T A A in the place of A A B, B in the place of C, and A in the place of T A , and the fact that by the coherence of A, 1(T) A h(T, A) = A(T, T A A). (5) The equivalences required for (D.22) and (D.23) are established analogously to those required for (D.ll) and (D.12). (6) The equivalence required for Condition (3) in the definition of normality is an easy consequence of the fact that for all f,g E ArFccl(X), comp(m, 1 A f) = T ~and , comp(.rr,, g A 1) = T~
9.61
THE SYNTAX OF
139
FCCl(X)
(7) The equivalences required for (D.52) follow at once from the naturality of a*. (8) The additional equivalences required for (D.81) and (D.83) follow easily from the interpretation of (R15) and the fact that for all terminal objects A E ObFccl(X), a ( A , A) = 1(A A A). This proves the normalization theorem for cclA(X). Before being able to prove the Church-Rosser theorem for cclA(X), we consider the entirely new phenomenon of the infinity of certain hom sets of Fccl(X), even for a discrete finite category X. 9.6.7. COUNTER-EXAMPLE. If A is not isomorphic to T, then the following process generates infinitely many non-equivalent derivations of the sequent A(A 3 A ) + A: A+A (1) A)+ A A(A j A+A A+A A)+ A A(A j A+A
A+A A+A A(A+AA)+A
(3)
A(AjA)+A
A+ A
A+A A(A
+
A+A A+A A(A+A)+A A)(A I$ A ) + A
A(A
etc.
+ A)+
(4)
A
PROOF.Consider Ens as a Cartesian closed category in the sense of 9.2.1, and let F, : Fccl(X)+ Ens be the unique functor which preserves the Cartesian closed structure of Fccl(X) and agrees with the constant functor Const w : X + Ens on X, and let f. be the arrow of Fccl(X) represented by Derivation (n) above, for all n z 1. Then (1)
Foul) = T A ,
140
CARTESIAN CLOSED CATEGORIES
[9.6
(2) FIucf2)= (3) F,,,cf3) = E * € A 1 * * 1 A 8, (4) Fwcf4)=E - E A 1 .a * A 1 - a 1 A (1 A 8) 1 A 8, etc. Let a E o,and let S : w --* o be the successor function. Then Fwcfn) (a, S ) = S"+'(a)= a + ( n + 1). Hence Focfn)= Focfm) iff n = m. 0 €9
9.6.8. REMARK.In contrast to all previously considered categories, the category Fccl(X) contains arrows that are no longer components of generalized natural transformations. By the definition of generalized natural transformation (cf. EILENBERG and KELLY[ 1966a]), the arrows f i defined above are generalized natural iff the following diagrams commute in Fccl(X), for all A EObFccl(X), and all f : A + A E ArFccl(X):
A
A
(A
+ A)-
fAl
A
A
(A
+ A)
As easy calculation in Ens shows that Diagrams (1) and (2) commute only if A = T, or if i = 1 or 2. Next we examine in general the syntactic possibilities for non-equivalent normal derivations of the same sequent in cclA(X). In the light of Theorem 9.6.1, we may assume for this purpose that the underlying category X is discrete. Suppose, therefore that f,g : r + a are two normal derivations. If a! = T, then it is easily seen from the definition of 2 that f = g. Hence we need to consider only derivations representing non-terminal arrows of Fccl(X). By Condition (3) in the definition of normality and Lemma 9.6.3, the active formulas in the conclusions of instances of (R14) inf and g do not represent terminal objects of Fccl(X). Syntactically, it is clear from the nature of the rules of inference and the
9.61
T H E SYNTAX OF
FcCl(X)
141
clauses of the normalization algorithm that we must consider the following possibilities: The derivation f ends with (R2) and the derivation g ends with (R2), (R3), (R4), (R14), or (R15); f ends with (R3) and g ends with (R3), (R4), (RIO), or (R14); f ends with (R4) and g ends with (R4), (R14), or (R15); f ends with (R10) and g ends with (Rl0);f ends with (R11) and g ends with (RI 1);f ends with (R14) and g ends with (R14) or (R15): f ends with (R15) and g ends with (R15). The following examples, in which A S T, are typical of the general cases: m A+ A .A.A + A
n A+ A A.A. + A
(R2)
(R2)
e A ( A j A )+ A ( A3 A ) A+ A m A+A A ( A j A)+ A
r
(R2)
(R4)
S
A+A A+A A ( A 3 A)+ A
(R14)
AZA ASA k AA+A AA+A AA+AAA A+AAA
033)
A A G A AA+A AA+AAA A+AAA
(R3)
[9.6
CARTESIAN C L O S E D CATEGORIES
AZA
k
r
(R3)
A A + A AA+P AA+AAA A+AAA
AZA AZA
2
A ( A 3 A ) ( A3 A )5 A A ( A 3 A)+ A
S
A+A A+A A+AAA
(R3)
A ( A 3 A)+ A
(R14)
k AA+ A A ( A 3 A): A .AA.(A A , 3 . AMA , , 3 . A)+ . W4) .AA.(A 3 A ) ( A3 A ) + A k AA+ A A ( A 3 A): A AA.(A 3 A ) ( A3 A).+ A (R4) AA.(A A ) ( A3 A). + A
*
k' .A.AA -+ A AA+AjA
AZA
(R4)
k' A.A.A + A AA+A+A
(R 10)
r S A+A A+A A+AAA
n
A+A A+AAA
(R15)
(R 10)
and not both m = r and n = s.
k m AA+A A+A A A ( A 3 A )+ A
(R14)
k AA+A k AA+A A+AJA A A ( A3 A)+ A 3 A
n k A+A AA+A A A ( A 3 A)+ A
(R14
(R14)
k k AA+A AA+A A.A.A(A 3 A ) + A A A ( A 3 A)+ A 3 A
(R
9.61
I43
T H E S Y N T A X OF F C C l ( X )
where k and k’ denote internal composition and double composition, and where e, e2,and e3 are the following derivations: A+A A+A e= A ( A I$ A ) + A ’
03 I
A A(A
== A +
+
A + A A-+A A(A+A)+A A ( A 3 A ) ( A A)-+ A
e2 = A + A
+
A+A A+A A + A A(A+A)+A A ( A 3 A ) ( A3 A ) + A A ) ( A3 A ) ( A3 A)-+ A
An induction on the construction of S(f)and S ( g ) in ccl&X) shows that F , ( S ( f ) )# F , ( S ( g ) ) for all f and g, with F, denoting the functor described in 9.6.7, even if m = n in (l), (6), (9), and (15); m = r = s in (4) and (8); and also if e, e2,e3,k , and k’ are replaced by other derivations, as long as these do not represent terminal arrows of Fccl(X). Thus the functor F, is faithful with respect to the rules of inference and for non-terminal derivations we have f = g iff F,(S(f))= F,(S(g)) iff f = g. The reducibility relation = therefore decides 2 : 9.6.9. THE CHURCH-ROSSERTHEOREMFOR cclA(X).
exists a normal h E Der(cclA(X)) such that f
2
Iff = g, then there 2 h. 0
h and g
9.6.10. COROLLARY.The word problem f o r the functor Fccl is sol-
vable. 0
Although Counter-example 9.6.7 shows that a sequent A + B may have infinitely many normal derivations, even for discrete X, it is clear from the definition of normality that for any given width n E o, the sequent A -+ B has only finitely many distinct normal derivations relative to any fixed assignment of axioms to the top nodes of the underlying trees of these derivations, and that the syntax of Fccl(X) effectively determines these derivations. Hence Theorems 9.5.1, 9.6.1, and 9.6.6 characterize ArFccl(X): 9.6.11. THE COMPUTABILITY THEOREMFOR Fccl(X). Relative to X, the sets Fccl(X)(A,B ) are computable f o r all A , B E ObFccl(X).
144
CARTESIAN CLOSED CATEGORIES
[9.6
PROOF.Assume that the hom sets of X are finite. Then Fccl(X)(A, B) is the disjoint union of the finite computable sets Fccl(X),(A, B ) of arrows from A to B whose normal representations in Der(cclA(X)) have width n. 0 9.6.12. COROLLARY. The embedding X full and faithful.
+ Fccl(X)
PROOF.Similar to the proof of Corollary 2.6.6.
defined by f + UfJj is
CHAPTER 10
BIC ARTESIAN CLOSED CATEGORIES
In this chapter, we correlate our results on Cartesian, bicartesian, distributive bicartesian, and Cartesian closed categories, and present a categorical semantics for the proof theory of the full intuitionist propositional calculus. As we proceed, the reason for restricting ourselves to intuitionist theories in this monograph will finally become clear, and we shall be able to substantiate the remark made in Chapter 1 that, in contrast to Heyting algebras, Boolean algebras have no non-trivial categorical generalizations (cf. SZABO[1974b]). The natural class of models for our purposes is the class of small bicartesian closed categories. Analogously to the situation in lattices where the existence of relative pseudo-complements entails distributivity (cf. RASIOWAand SIKORSKI [1970]), the closed structure of bicartesian closed categories forces such categories to be distributive bicartesian, and has the further consequence of trivializing all objects of the form A A 1 since in Fbccl(X), A A 1 = 1 for all A E ObFbccKX). The latter property requires the identification of a variety of derivations of bcclA(X) whose counter-parts in bcA(X) were previously kept distinct.
10.1. Definition
A bicartesian closed category is a bicartesian category C with the following additional structure: (7) A bifunctor (-) j (-) : Copx C + C. (8) An adjunction CYA, where CYA
= {cYA(A, B,
C) : C(A A B, C ) + C(B, A 3 C) E ArEns 1 A, B, C E ObC}.
The following elementary properties of bicartesian closed categories will be needed below: 145
146
BICARTESIAN CLOSED CATEGORIES
t10.1
10.1.1. LEMMA. Any bicartesian closed category is distributive biCartesian.
PROOF. The composition [A A (Bv C ) , Y] = [Bv C, A jY] = [B, A j Y] x [C, A. Y] = [A A B,Y] X [A A C, Y] of the appropriate components of the adjunctions aAand a, defines the required adjunction
+
ff8.
0
10.1.2. LEMMA.The following isomorphisms exist in any bicartesian closed category, for all objects A, and all initial objects 1 and terminal objects T: (1) A v I = A . (2) A A T = A. (3) A ~ 1 = 1 . (4) T + 1 = 1 . (5) l j l = T .
PROOF.By the Yoneda lemma, the components (1) [A, Yl = [A, Yl X [I, Y l = [A v I,Yl, (2) [ X ,A] = [ X ,A] X [ X ,TI = [ X ,A A TI, (3) [A A 1,Yl = 11,A YI, (4) [ X ,1 3 = [T A X,1 1 EZ [ X ,T 3 I], (5) 1+1]= [ A I x,11 [I 11, of the adjunctions a,,,a,, aA,a,,and a, determine the desired isomorphisms. 0
+
[x,
10.1.3. LEMMA.For any initial object 1 of a bicartesian closed category C and all A E ObC, any f : A +I€Arc is an isomorphism.
PROOF.Consider the product diagram
in which f
=
7rAhand 1(A) = rPh.By Lemma 10.1.2 and the initiality of I,
10.11
147
DEFINITION
T,,is an isomorphism with inverse ~ *A ( A). 1 Hence ~ * =f T*mh = h, and therefore 1(A) = 'rr,T*f. Moreover, the initiality of 1 forces l(1)= f'rr,T*. Hence f is an isomorphism. 0
10.1.4. COROLLARY. For all A , B EObC, the sets C ( A , B 31)are either empty o r singletons. 0
C ( A , l ) and
In any bicartesian closed category C we can define a negation operator ObC relative to a fixed initial object 1 by the equation 1 A = A j1.For all A, B E ObC, this operator determines five unique arrows (1) 8p1(A, B) : l ( A v B)+ ( 1 A ) A ( l B ) , (2) Sp2(A, B) : A v B + l ( ( 1 A ) A ( T B ) ) , (3) Sp3(A, B) : ( 1 A ) A ( 1 B ) -+ l ( A v B), (4) 8p4(A, B) : ( 1 A ) v ( l B ) + l ( A A B), (5) Sps(A, B) : A A B + - I ( ( - I A )v ( T B ) ) , which we call the De Morgan arrows of C. They are defined as follows: (1) S ~ I ( AB) , is the value of 1 ( l ( A v B)) under the bijection 1 : ObC+
[ l ( A v B), l ( A v B)]
[A v B, l ( l ( A v B))]
= [A, l ( l ( A v B))] x [ B ,l ( l ( A v B))1 = [ 1 ( A v B), 1 A ] x [ l ( A v B ) ,l B ]
= [ 1 ( A v B ) , ( 1 A ) A (1B)I.
(2) Sp2(A, B) is the value of l ( ( 1 A ) A ( 1 B ) ) under the bijection
(3) Gp3(A, B) is the value of 6 p ~ ( AB) , under the bijection [A v B, l ( ( 1 A ) A ( l B ) ) ]
[ ( l A ) A ( l B ) , l ( A V B)].
148
BICARTESIAN CLOSED CATEGORIES
[10.1
the bijection
[ ( l A ) A (A A B),1 1 X [ ( l B ) A (A A B),11 = [A A B,l ( l A ) ] X [A A B, 1 ( 1 B ) ] = [ l A , l ( A A B)] X [lB, l ( A A B)] = [ ( l A ) v ( l B ) , l ( A A B)].
(5) 6p5(A,B) is the value of Sp4(A, B) under the bijection [ ( l A ) v ( l B ) , l ( A A B)]
[A A B,l ( ( 1 A ) v (lB))].
10.1.5. REMARK.The uniqueness of the De Morgan arrows follows at once from Corollary 10.1.4, and the adjunction [A, B 3 C] = [B, A C] is obtained from the symmetric monoidal product structure of C by composing [A, B =$ Cl = [BA A, CIS [A A B,Cl = [B,A 3 Cl. In all bicartesian closed categories, the arrows Spl and Sp3 are isomorphisms by virtue of their uniqueness. We now explore the consequences of the invertibility of Spz, Sp4, and 6115. For this purpose, we define a Heyting algebra to be a bicartesian closed category C in which the sets C(A, B) U C(B, A) are either empty or singletons for all A, B E ObC, and a Boolean algebra to be a Heyting algebra in which A = l ( 7 A ) for all A E ObC.
+
10.1.6. REMARK.The pre-order defined by A 5 B iff C(A, B) # 0 makes such categories into Heyting algebras, respectively Boolean algebras, in the usual sense. Heyting algebras are also known as Brouwerian lattices, implicative lattices, relatively pseudo-complemented lattices with smallest element, and pseudo-Boolean algebras. The present use of the term Heyting algebra is the usual one adopted by workers in the theory of elementary topoi (cf. FREYD [ 19721). Since relatively pseudo-complemented lattices always possess a largest element (cf. 7.2. l), but may fail to have a smallest element (the dense open subsets of the real line R with the usual topology, for example, form a relatively pseudo-complemented lattice, with A 3 B being the interior of the union of B and the complement of A), the names Heyting algebra, Heyting lattice, Brouwerian lattice, and implicative lattice have also been used for relatively pseudo-complemented lattices without a smallest element (cf. GRATZER[19711, CURRY [1963], BIRKHOFF[1%71, and CURRY [1963],
10. I ]
DEFINITION
149
respectively). Moreover, the term Brouwer lattice in CURRY[1963] is used dually as a name for a subtractive lattice. The term Brouwerian lattice in the present sense of Heyting algebra is used in ABBOTT[ 19691. The connection between intuitionist logic and relatively pseudo-complemented lattices which has eventually led to this nomenclature was first discovered by Ogasawara in 1939 (cf. CURRY[1963]). The name pseudo-Boolean algebra, finally, is used in RASIOWAand SIKORSKI [ 19701.
10.1.7. THEOREM.Any bicartesian closed category C in which 8414 is invertible is equivalent to a Heyting algebra.
PROOF.It suffices to show that C(A, B ) is either empty or a singleton for all A, B E ObC, since any endofunctor on C which is constant precisely on isomorphic objects determines a Heyting algebra H as a subcategory of C which is equivalent to C in the sense of Definition 1.1.19. By Lemma 10.1.2 and the invertibility of 8p4, we have the isomorphism T = I j I = (IA I)jI = (Ij I)v (Ij I)= T v T. Hence [X, A] = [ X A (T v T), A ] = [T v T, X j A ] = [T, X j A ] X [T, X j A] = [ X A T , A ] X [ X A T , A ] = [ X A T , A A A ] = [ X , A A A ] for all X , A E ObC. By the Yoneda lemma, we therefore have A = A A A. Let A, B,ObC, and f, g E C(B, A). Via the isomorphism A = A A A we have a product diagram 1
A-A-A
1
in which f = comp( 1, h ) = g . Hence C(B, A) = { *}. 0 The following example shows that the invertibility of 8414 does not imply that the Heyting algebras constructed in the proof of the previous theorem are Boolean: 10.1.8. COUNTER-EXAMPLE. Let H be the linearly ordered set 15 a IT, considered as a Heyting algebra qua lattices, with its relative pseudocomplementation given by the following table:
150
[10.1
BICARTESIAN CLOSED CATEGORIES
It is easy to check that ( 1 A )v ( 1 B )= l ( A A B ) in H for all elements A and B. 0 There exist of course Heyting algebras in which Sp4 is not invertible since the sequent 1 ( A A B)+ ( 1 A )v ( 1 B ) is not intuitionistically valid. In the 5-element Heyting algebra H with maximal branches T 5 a 5 y 5 T and 1 Ip 5 y 5 T , for example, l ( a A p ) = 1 1 = T, and ( l a )v
(1P) = p
v a = y.
10.1.9. THEOREM. Any bicartesian closed category C in which is invertible is equivalent to a Boolean algebra.
Sp2
or 6j.a
PROOF.In the light of the remarks in the proof of Theorem 10.1.7 and the definition of Boolean algebras, it suffices to show that C is a simple category in which A = l ( 1 A )for all A E ObC. By the invertibility of Sp2 and Lemma 10.1.2, we obtain an isomor= l ( ( 1 A )A T ) = l ( 1 A )for all phism A = A v 1 = l ( ( 1 A )A (11)) A E ObC. By the invertibility of Sps and Lemma 10.1.2, we obtain a similar isomorphism A = A A T = l ( ( 1 A )v ( 1 T ) )= l ( ( 1 A )v I)= l ( 1 A )for all A E O b C . Hence in either case, we have [B, A ]= [ B ,l ( l A ) ]= [ ( l A )A B, I] for all A, B E ObC. B y Corollary 10.1.4, the category C is therefore simple. 0 Finally, we give an alternative characterization of Boolean algebras in terms of an adjunction relating A , v, and j: 10.1.10. THEOREM. Any bicartesian closed category C in which there exists an adjunction C ( A A B, C v D ) = C(B, C v ( A D ) ) f o r A, B, C, D E ObC, is equivalent to a Boolean algebra.
+
10.11
DEFINITION
151
PROOF.It is easily verified that a sequent cur+ @p is valid in a Boolean algebra B iff the sequent r+@cu+p is valid in B. Hence the stated adjunction is compatible with the structure of a Boolean algebra. By Theorem 10.1.7 and the definition of a Boolean algebra it is therefore sufficient to show that the given adjunction makes 8p4 invertible and furthermore produces an isomorphism A = l ( 1 A ) for all A E ObC. Using the symmetry of the monoidal product and coproduct structures of C, we obtain three adjunctions [ X , ( 1 A ) v ( l B ) ] = [(A A B ) A X , I v I] = [(A A B ) A X , 1 1 = [ X ,l ( A A B)], and
[A, A] = [A
A
T, A v I ] = [T, A v ( l A ) ] ,
[ T A , T A ] = [A A ( T A ) , I ] = [ ( T A ) A A, I ] = [A, l ( l A ) ] ,
for all X , A, B E ObC. By the Yoneda lemma, 8p4 is therefore invertible, and it remains to construct an arrow f : l ( l A ) + A. The simplicity of C and the nonemptiness of [ l A , l A ] guarantee that f is an isomorphism. Let f be the composite arrow defined by the following commutative diagram: l(1A)
(1.7)
(l(1A))A T
I"g
( l ( 1 A ) ) A (A v ( 1 A ) )
where g is the unique arrow produced by the second adjunction above, has and where (-,-), T , rrp, and E are used in the sense of Chapter 9. the meaning assigned to it in Chapter 6, and h is the isomorphism which exists by Lemma 10.1.2. Then f E A r c . 0
152
BICARTESIAN CLOSED CATEGORIES
110.3
10.2. Examples
10.2.1. Every relatively pseudo-complemented lattice L= ( L , A , T, v, I,+) with inf operation A , largest element T, sup operation v, smallest element I, and relative pseudo-complementation 3, i.e., Heyting algebra, is a bicartesian closed category, and so is, a fortiori, every finite distributive lattice and every Boolean algebra. 10.2.2. All Cartesian closed categories mentioned in Examples 9.2.1 and 9.2.2, with the exception of 7.2.1, are bicartesian closed. 10.2.3. All elementary topoi E mentioned at the beginning of Chapter 9 are bicartesian closed. The coproduct structure of E is definable in terms of the properties of the subobject classifier R (cf. PARE [1974] and LAMBEKand RATTRAY[ 19751). 10.2.4. COUNTER-EXAMPLE. The relatively pseudo-complemented lattice of dense open subsets of the real line R, with the usual topology, mentioned in 10.1.6, is Cartesian closed, but not bicartesian closed since it fails to have an initial object, i.e., minimal element.
10.3. The category Fbccl(X)
Small bicartesian closed categories are the objects of a category bcclCat whose arrows are functors F satisfying the conditions of arrows in bcCat and cclCat. As in all previous cases, there exists an obvious forgetful functor Ubccl : bcclCat- Cat, and in this section, we construct a left adjoint Fbccl : Cat- bcclCat of Ubccl. 10.3.1. DEFINITION.The language of Fbccl(X) is the sublanguage and ArX. bcclL(X) of L(X) generated by ObX, T, A , I, v,
+,
10.3.2. DEFINITION.The labelled deductive system of Fbccl(X) is the
subsystem bccld(X) of &X) generated by Axioms (Al), (A2), (AlO), (A1 l), (A12), (A13), (A14), (Al5), and Rules (Rl), (R3), (R4), (RlO), and (Rll). 10.3.3. REMARK.A comparison With 5.3.1, 5.3.2, 9.3.1, and 9.3.2 shows
10.41
T H E DEDUCTIVE S Y S T E M
bcclA(X)
153
that bcclL(X) results from bcL(X) by the inclusion of 3,and from cclL(X) by the inclusion of 1 and v, and that bccl&X) results from bc&X) by the inclusion of Rules (RlO) and (Rll), and from ccld(X) by the inclusion of Axioms (A1I), (A14), (A15), together with Rule (R4). 10.3.4. DEFINITION.The relation = is the smallest equivalence relation on Der(bccl&X)) satisfying Conditions (1)-(9) of 4.3.3, Conditions (10)(14) of 5.3.4, and Conditions (20)-(27) of 7.3.4, with A in place of n, and with f A g = (comp(f, nA),compk, no)). 10.3.5. REMARK.In effect, 10.3.4 combines the defining conditions of ArFbc(X) and ArFccl(X), i.e., the conditions of 5.3.4 and 9.3.4. We now define the category Fbccl(X) by combining the definitions of Fbc(X) and Fccl(X): (1) ObFbccl(X) = bcclL(X). (2) ArFbccl(X) = (If1 I f E Der(bccl&X))}, where If1 denotes the equivalence class determined by f. (3)-(13) As in 5.3.4, with Fbccl(X) in place of Fbc(X). (14)-(15) As in the definition of Fccl(X), with Fbccl(X) in place of Fccl( X) . We call the category Fbccl(X) the free bicartesian closed category generated by X. The values of the functor Fbccl on the arrows of Cat are defined by combining the definitions of the functors Fbc and Fccl. Again we omit the routine verification of the adjointness condition connecting the functors Ubccl and Fbccl.
10.4. The deductive system bcclA(X)
The unlabelled deductive system of Fbccl(X) is the extension of the deductive system dbcA(X) obtained by including Rules (R4), (R14), and (R15)as additional rules of inference. The necessity of using dbcA(X) as the base system follows from Lemma 10.1.1 which shows that every bicartesian closed category is in fact distributive bicartesian. Thus bcclA(X) is the subsystem of A(X) generated by Axioms (Al), (A3), (A4), and the following rules of inference:
154
BICARTESIAN CLOSED CATEGORIES
[10.4
10.4.1. REMARK.The observation made in Remark 9.4.1 concerning the requirement of Rule (R4)continues to apply. The dual effect of this remark is the fact that Rule (R7), which is an admissible rule of inference of bcclA(X) by virtue of the derivation
I'+@apV
r+@avpq
a+a p+p ~ + p a @+pa
avP+Pa
r+ @pa*
and is prima facie necessary as a rule of bcclA(X) because of the symmetry of the coproduct structure of Fbccl(X), is dispensable as a primitive rule of inference. The cut elimination algorithm for Der(bcclA(X)) is also independent of (R7). The situation is different for (R6). Like Rule (R3), it is required for the cut elimination algorithm, but unlike (R3), it is not needed for the normal representation of arrows of Fbccl(X). The restriction to single formulas in the succedent of the left premisses of instances of (R14) is syntactically convenient since it facilitates our work and does not affect the cut elimination and normalization algorithms. The restriction is however semantically unnecessary. The following commutative diagram shows that the generalization of (R14)to
r+@aQ
ApA+O
Ara 3 P A + @@W
represents a permissible construction in Fbccl(X):
10.41
THE DEDUCTIVE SYSTEM
2 2
c <
h
n
Q
.Tr U
v
<
c <
<
c<
<
h
n
bcclA(X)
155
156
BICARTESIAN CLOSED CATEGORIES
[10.4
where & and 6, have the meaning assigned to them in Chapter 6, where a, E , rA,and r p are used in the sense of Chapter 9, and where f : I ' + ( @ v a ) v q and - g : ( h h p ) h A + @ are any two arrows of Fbccl(X). This construction, combined with Theorem 10.1.10 and our earlier results, confirms semantically the well-known syntactic fact that in view of Gentzen's cut elimination theorem for classical logic (cf. SZABO [I9691 pp. 88-IOl), the degree of generality of Rule (R15) separates intuitionist and classical propositional logic. The most general form of this rule that is independent of Rules (R4) and (R7) is obviously of the form and it allows a cut-free derivation of the law of double negation: a+a l+l a(ajl)+l a + (a31)3 1 a 4 a a+al 1-
(1)
3 1)3 I-,a
(ff
Derivation (1) is intuitionistically valid, whereas Derivation (2) requires an instance of (R15) with multiple formulas in the succedent. Derivation (2) also illustrates the fact that the cut-free representation of classically valid sequents requires Rule (R14) in full generality. Finally, we restrict Rule (Rl) when used in combination with (R14) and (R15). This restriction is semantically unnecessary, but is required for Cases (C.30) and (C.31) of the cut elimination algorithm defined in Appendix C: 10.4.2. Restrictions on (Rl). Two derivations of the forms
10.51
THE SEMANTICS OF
f r-+Qy*
Der(bcclA(X))
151
k AyAa8+/3
A r A 8 -+ @a j /N
(2)
*
belong to Der(bcclA(X)) iff @ = = 0. Similar restrictions on (Rl) in Chapters 7, 8, 9, 11, and 12 are already built into the deductive systems defined in those Chapters. Further restrictions on (Rl) in the extension of the system bcclA(X) to quantificational and infinitary logic in Chapter 13 become necessary at that point because of the non-validity of certain infinite distributive laws in non-Boolean Heyting algebras.
10.5. The semantics of Der(bcclA(X))
We now combine the semantics of Der(cA(X)), Der(bcA(X)), Der(dbcA(X)), and Der(cclA(X)) to an interpretation S : Der(bcclA(X))+ ArFbccl(X): Rules (R2), (R3), and (R11) are interpreted as in 4.5.1, Rules (RS), (R6), and (R13) are interpreted as in 5.5.1, Rules (Rl), (RlO), and (R12) are interpreted as in 6.5.2, and Rules (R4), (R14), and (R15) are interpreted as in 9.5. As in all previous cases, we define an equivalence relation _= on Der(bcclA(X)) by putting f = g iff S(f)= S ( g ) , and obtain the desired classification of ArFbccl(X) in terms of essentially unlabelled derivations: 10.5.1. THE COMPLETENESS THEOREMFOR Der(bcclA(X)). For every f E Der(bccl&(X)) there exists a g E Der(bcclA(X)) such that S ( g ) = O[f 1E ArFbccl(X).
PROOF.We combine the proofs of Theorems 4.5.2, 5.5.2, 6.5.3, and 9.5.1.
0
10.5.2. COROLLARY.The category Fbccl(X) is isomorphic to a subcategory of the sequential category generated by the deductive system bcclA(X) and the interpretation S : Der(bcclA(X))+ ArFbccl(X). 0
158
BICARTESIAN CLOSED CATEGORIES
[10.6
10.6. The syntax of Fbccl(X)
By combining the results of Theorem 4.6.1, 5.6.1, 6.6.1, and 9.6.1, we obtain a composition-free description of ArFbccl(X): 10.6.1. THE CUT ELIMINATION THEOREMFOR bcclA(X). Every f E Der(bcclA(X)) is equivalent to a cut-free g E Der(bcclA(X)).
PROOF.Clauses (C.l), (C.2.1), (C.2.3), (C.3-5), (C.7-lo), (C.12), (C.1416), (C.18-20), (C.26-31), (C.34-38), and (C.41-45) of the cut elimination algorithm guarantee that every derivable sequent has a cut-free derivation. We must show that the reductions involved preserve equivalence. (1) The equivalences required for Clauses (C.l), (C.2.1), and (C.2.3) are established as in 4.6.1. (2) The equivalences required for Clause (C.7) are established as in 5.6.1. (3) The equivalences required for Clauses ( C . 3 4 , (C.8-9), (C.12), (C.14-15), (C.18-19), (C.21-22), ((2.26-29), (C.34-39, (C.37-38), and ( C . 4 1 4 ) are established as in 6.6.1. (4) The equivalences required for Clauses (C.5) and (C.30-31) are established as in 9.6.1. ( 5 ) The equivalences required for Clauses (C.lO), (C.20), (C.36), and (C.45) are established by replacing all instances
rapA + @ rpaA+ @ of (R4) by a-a p+p -
p a - , ~ ~p a + p B ~ - - w A ~
ra@A+@
raAp~+@
rpaA + @
and computing the commutativity of the associated diagrams by means of the algorithm provided by Theorem 6.6.5. 0 Next we combine the results of Theorems 4.6.5, 5.6.9, 6.6.9, and 9.6.6, and create an algorithm for deciding the equality relation on ArFbccl(X). We require several preliminaries:
10.61
THE SYNTAX OF
10.6.2. LEMMA. If a bcclA(X).
Fbccl(X)
159
= T and p =I,then + a and p + are derivable in
PROOF.Similar to the proof of Lemma 9.6.2. 0 In order to be able to define unique normal representations of the initial and terminal arrows of Fbccl(X), we require a syntactic description of the initial and terminal objects of Fbccl(X). For this purpose, we introduce a sublanguage L(1) of bcclL(X) and extend the sublanguage L(T) of cclL(X) defined in 4.6 to a sublanguage of bcclL(X): Let L(I) be the sublanguage of bcclL(X) generated by the conditions (1) I E L(1). (2) If a,p E L(l), then (a! v p ) E L(1). (3) If a E L(1) and /? E bcclL(X), then (a A p ) , ( p A a)E L(1). With the help of L(l), we can now define L(T) as the sublanguage of bcclL(X) generated by the conditions (1) T E L(T). (2) If a,p E L(T), then (aA p ) E L(T). (3) If a E L(T) and p E bcclL(X), then ( p 3 a)E L(T). (4) If a! E L(I) and p E bcclL(X), then (a3 p ) E L(T). ( 5 ) If a! E L(T) and p E L(l), then (a v p ) , ( p v a)E L(T). 10.6.3. LEMMA.a
= T and p = I in Fbccl(X) i f a E L(T) and p
E L(1).
PROOF.Similar to the proof of Lemma 9.6.3, using the additional adjunctions a d A , B, C ) : [A v B, Cl+ [A, Cl X [ B , Cl, adA) : 11,A1 + { * 1,
and the fact that, by Theorem 10.6.1, no sequent of the form y derivable in bcclA(X). 0
+ S + is
10.6.4. COROLLARY. If a = T, there exists a unique derivation g of + a consisting at most of instances of (A3), (R2), (RS), (RlO), (R13), and (R15), and containing only instances of (R2) and (R5) whose active formulas are atomic or of the form a 3 p. 0
10.6.5. COROLLARY. If p
E
I,there exists a unique derivation h of p +
160
BICARTESIAN CLOSED CATEGORIES
[10.6
consisting at most of instances of (A4), (R2), (Rll), and (R12), and containing only instances of (R2) whose active formulas are atomic or of the form a +/3. 0 By combining, modifying, and extending Lemmas 4.6.4, 5.6.4, 6.6.4, 9.6.4, and 9.6.5 and their proofs in the obvious way, we obtain their analogues for Der(bcclA(X)): 10.6.6. LEMMA.For every cut-free f E Der(bcclA(X)) there exists an equivalent cut-free g E Der(bcclA(X)) containing no instances of (R6), and containing no instances of (R2), (R3), (R4), and (R5) whose active formulas are of the form a A f3 or a v p. 0
10.6.7. LEMMA.Every cut-free f E Der(bcclA(X)) is equivalent to a cut-free g E Der(bcclA(X)) containing no instances of (R14) with the property that the active formulas in their right premisses are isomorphic to
T. 0
10.6.8. REMARK.As in all previous cases, the derivations g in Lemmas 10.6.6 and 10.6.7 are effectively determined by the reduction algorithm defined in Appendix D. We now define a derivation f EDer(bcclA(X)) to be normal if it is normal in the sense of Appendix D, and satisfies five additional conditions: (1) All subderivations o f f not containing instances of (R14) and (R15) are normal in the sense of 6.6.8, with the condition that the active formulas of instances of (R2) and (R5) are atomic replaced by the condition that the active formulas of instances of (R2) and (R3) are either atomic or of the form a j p. (2) Unless f is a derivation mentioned in Cases (3) and (4) below, f contains no instances of (R2), (R3), (R4), or (R5) whose active formulas are of the form a A /3 or a v p. (3) If f derives r+ a, and if one of the disjunctions of the formulas of a is isomorphic to T, then f is of the form
10.61
THE SYNTAX O F
Fbccl(X)
161
where g is the unique derivation of -=@ compatible with Corollary 10.6.4, and where (a) consists of the unique steps required to derive I-'+@ from -0. (4) If f derives r+@, and if one of the conjunctions of the formulas is of r is isomorphic to I,and if no disjunction of the formulas of isomorphic to T, then f is of the form
where g is the unique derivation of r+ compatible with Corollary 10.6.5, and where (7)consists of the unique steps required to derive r + 0 from r-+. (5)f contains no instance of (R14) whose active formula in the right-hand premiss is isomorphic to T. The system bcclA(X) involves all aspects of its subsystems cA(X), bcA(X), dbcA(X), and cclA(X), and by virtue of the preceding lemmas it is clear that by combining and extending Theorems 6.6.9 and 9.6.6 in the obvious way and augmenting the reducibility relation 2 of Appendix D accordingly, we obtain the desired algorithm for normalizing the elements of Der(bcclA(X)): 10.6.9. THE NORMALIZATION THEOREMFOR bcclA(X). Every f E Der(bcclA(X)) reduces to a unique equivalent normal g E Der(bcclA(X)).
PROOF. The theorem follows from Theorems 6.6.9 and 9.6.6 and the normalization algorithm defined in Appendix D, provided that the additional reductions required in Conditions (D.25), (D.30), (D.3 I), (D.39), (D.60), (D.61), (D.63), (D.81), and (D.82) preserve equivalence. But this is clear: (1) The equivalences required for (D.25), (D.31), and (D.63) are direct consequences of the associativity of composition. (2) The equivalences required for (D.30) and (D.60) follow from the naturality of ag. (3) The equivalences required for (D.39) follow from the naturality of Wi.
(4) The equivalences required for (D.61) are consequences of the naturality of ag and ah.
162
BICARTESIAN CLOSED CATEGORIES
[10.6
( 5 ) The additional equivalences required for (D.81) and (D.82) follow from the uniqueness of -initial arrows in Fbccl(X). This proves the normalization theorem for bcclA(X). 0
Theorems 4.6.5, 5.6.10, 6.6.10, and 9.6.9 adapt easily to bcclA(X) and show that two normal derivations of the same sequent represent distinct arrows of Fbccl(X), and that Theorem 10.6.9 therefore provides a decision procedure for equality in ArFbccl(X): 10.6.10. THE CHURCH-ROSSER THEOREMFOR bcclA(X). If f = g, then there exists a normal h E Der(bcclA(X)) such that f 2 h and g 2 h. 0
10.6.11. COROLLARY. The word problem for the functor Fbccl is solvable. 0
Counter-example 9.6.7 applies of course to bcclA(X) and shows that a sequent A + B may have infinitely many normal derivations, even for finite discrete categories X. But as in the case of cclA(X), it is clear from the definition of normality that for any given width n E o,the sequent A B has only finitely many distinct normal derivations relative to any fixed assignment of axioms to the top nodes of the underlying trees of these derivations, and that the syntax of Fbccl(X) effectively determines these derivations. Hence Theorems 10.5.1, 10.6.1, and 10.6.9 characterize ArFbccl(X): 10.6.12. THE COMPUTABILITY THEOREMFOR Fbccl(X). Relative to X, the sets Fbccl(X)(A, B ) are computable for all A, B E ObFbccl(X).
PROOF.Similar to the proof of Theorem 9.6.11. 0 10.6.13. COROLLARY. The embedding X + Fbccl(X) defined by f full and faithful.
PROOF.Similar to the proof of Corollary 2.6.6. 0
+ [ f l is
CHAPTER 11
RESIDUATED CATEGORIES
Of all non-Cartesian models for proof theory considered so far, the symmetric monoidal closed ones carry the richest algebraic structure. Counter-examples 8.6.4 and 8.6.7, in particular, have intriguing effects on the equivalence of the derivations modelled in this type of category. These effects are trivialized in the Cartesian closed case because the constant I, required for the construction of the two examples, is a terminal object and thus forces the identification of the previously non-equivalent derivations displayed in 8.6.4 and 8.6.7. Other ways of eliminating these counter-examples consist in stripping symmetric monoidal closed categories of their units, or of denying the symmetry of the tensor product. In the latter case, the resulting categories admit a second independent adjoint of the tensor product and serve as natural models for the joint proof theory of n:, j,and (. In this chapter, we carry out the described modification of symmetric monoidal closed categories by removing the constant I and simultaneously denying the symmetry of n:. Thus Counter-examples 8.6.4 and 8.6.7 disappear in the strongest possible way. In the next chapter, we reintroduce the constant I and show that only the construction in Counter-example 8.6.7 depends critically on the symmetry of the tensor product. 11.1. Definition
A residuated category is a category C with the following additional structure: (1) A bifunctor (-) n: (-) : C x C --f C. (2) A bifunctor (-)j (-) : Copx C -+ C. (3) A bifunctor (-) (-) : C x Cop+ C. (4) A natural isomorphism a,where
+
a = {a(A,B, C ) : An:( B n: C ) + (A n: B)n:C E Arc I A, B, C E ObC}. 163
164
[11.2
RESlDUATED CATEGORIES
( 5 ) Two adjunctions
a A
and a,,, where
ar{aA(A,B, C) : C(A N B,C)+ C(B,A 3 C)E ArEns I A,B, C E ObC}. a,, = {a,(A, B, C ) : C(A M B, C ) + C(A,C
+ B)E ArEns I A , B, C E ObC}.
These data satisfy the pentagonal commutativity condition of monoidal categories, i.e., for all A, B, C, D E O b C , the following diagrams commute:
(M,) A N(B
~(c~D ( A) 10: B))~ -( D)L Z c ~ ( ( A B)#C ) M D
11.1.1. REMARK.This type of category was first axiomatized in LAMBEK [1%8] and derives its name from lattice theory since residuated lattices
(cf. BIRKHOFF [1967]) satisfy the above axioms qua partially ordered sets. In view of the fact that the term adjoint functor was created because of the formal analogy between the isomorphisms [ A , G ( B ) ]-= [ F ( A ) , B ] of hom sets and the inner product equations ( a , t ( b ) ) = ( t * ( a ) , b) defining adjoint linear transformations, it is amusing to observe yet another formal analogy between isomorphisms of hom sets and inner product equations, viz., the isomorphisms [ A NB, C ] = [ B , A j C ] = [ A , C B ] provided by the adjunctions aA and a,,,and the defining equations (ab, c ) = (b, a * c ) = ( a , cb*) of involutions on H*algebras due to AMBROSE[1945].
+
11.2. Examples
11.2.1. Any symmetric monoidal closed category C becomes residuated if we define C B as B 3 C, and use the natural symmetry isomorphisms u ( A , B) : A N B + B M A to define an adjunction [ AM B, C ] = [ B H A ,C ] = [A, B C].
+
+
11.2.2. The category RModR of R-R-bimodules described in Examples 2.2.6 and 7.2.4 becomes residuated if we turn the Sets MOdR(MR, NR) of homomorphisms of right R-modules into R-R-bimodules N M by
+
11.2)
165
EXAMPLES
endowing them with actions satisfying the equation (rfr’)(rn) = rf(r’rn). As in 7.2.4, we refer the reader to LAMBEK[1966], MACLANEand BIRKHOFF[1967], and MACLANE[I9671 for details. 11.2.3. Any residuated lattice is a residuated category qua its partial ordering. We recall that a residuated lattice is a lattice L = (L, A , v) endowed with a binary operation I : L x L + L with the property that for each a, b E L there exists a largest element a j b and a largest element b a such that a I (a j b ) 5 b and (b a ) I a 5 b. The element a j b is called the right residual and the element b a the left residual of a and b, and L is said to be residuated with respect to N. We recall some examples: (1) Any relatively pseudo-complemented lattice is residuated with respect to its commutative inf operation A . (2) The lattice of positive integers N = (N, min, max) is residuated with respect to the usual addition and multiplication of integers. (3) Let S = ( S , p ) be any semigroup, and 2’ the power set of its underlying set S. Then the definitions
+
+
A I B = { p ( a ,b ) I a E A and b E B}, A + B = {x E S I p ( a , x ) E B for all a E A}, A B = {x E S I p ( x , b) E A for all b E B},
+
turn the set 2’ into a residuated lattice. If the semigroup S has no identity element, then the resulting residuated category is not rnonoidal since its tensor product fails to have a unit: Let S = { 2 , 3 ) and let the operation p on S be defined by the following table: P I 2 3 2 12 3 3 2 3
Then the operations tables:
I,
+, and + on 2’
are given by the following
166
RESIDUATED CATEGORIES
[11.3
(2)
s s
0 s
0 0
0 0
(3)
s 0 s 0
s s s s An inspection of Table (1) shows that A n B $ B n A, and that there is no I E 2’ with the property that A n I = In A = A for all A. (4) The lattice of two-sided ideals of a ring R is residuated in a way analogous to that described in the previous example. Thus for any ideals A and B, the underlying set of A n B is the set of all finite sums of products ab, with a E b and b E B. Moreover, relative to the trivial ideal 0 of R, the ideals A j O and O+A are the familiar left and right annihilators of A, respectively. 11.3. The category Fr(X)
Small residuated categories are the objects of a category rCat whose arrows are functors F with the property that F ( A n B)= F(A)n F ( B ) , F ( A jB)= F ( A )3 F ( b ) , F ( A C B)= F ( A ) F ( B ) for all A, B E Obdom F, and that F(a(A,B,C)) = a ( F ( A ) , F ( B ) , F ( C ) ) , a*\F(A), F ( B ) , F(C))(Fcf))= F ( ~ A ( AB, , C)cf)) and a,(F(A), F W , F ( C ) ) (Fcf))= F(a,,(A,B,C)cf)) for all f : A N B + C E Ardom F. We now construct a left adjoint Fr : Cat + rCat to the obvious forgetful functor Ur :rCat + Cat.
e
11.3.2. DEFINITION. The language of Fr(X) is the sublanguage rL(X) of L(X) generated by ObX, n, j, and ArX.
e,
11.3.2. DEFINITION. The labelled deductive system of Fr(X) is the sub-
11.31
THE CATEGORY
Fr(X)
167
system r&X) of d(X) generated by Axioms (Al), (A2), (A3), (A4), and Rules (Rl), (R2), (R6), (R7), (RS), and (R9). 11.3.3. REMARK.The language rL(X) is obtained from the language mclL(X) defined in 7.3.1 by deleting the symbol I from the alphabet of as an additional symbol. Furthermore, the mclL(X) and including deductive system rd(X) results from the system mcld(X) defined in 7.3.2 by the deletion of Axioms (A6), (A7), (As), and (As),and the inclusion of Rules (R8) and (R9) as additional rules of inference. For the purpose of defining the arrows of Fr(X), we modify and extend the equivalence relations = on Der(md(X)) and Der(mcld(X)):
e
11.3.4. DEFINITION. The relation = is the smallest equivalence relation on Der(rA(X)) satisfying Conditions (1)-(8) and (13) of 2.3.4, and Conditions (201427) of 7.3.4, together with the following additions: (28) If f = g and h = k, then ePCf,h ) = Ep(g,k). (29) If f = g, then apcf)= a,&). (30) compCf C g, h k) = comp(f, h ) C comp(k, g), where f g = % ( E P C f , g ) ) , etc. (31) comp(41,1), 4 f ) a 1) =f. (32) %dcomp(dl, I), g a 1)) = g . (33) compCf 1, d g ) ) = d c o m p ( f , 8)). (34) c o m p ( l e h, comp(a,(g), f)) = a,(comp(g, f a h ) ) . (35) comp(h, comp(a,(L 11, f a g ) ) = comp(e,(l, 11, comp(h g, f ) a 1).
e
e
+
11.3.5. REMARK.Analogously to the situation in 7.3.5, Conditions (33)(35) are required to ensure the naturality of ap and a;'. The fourth condition required for this purpose, viz.,
comp(g, comp(E,( 1, I), compCf a 1 , 1 a h 1)) = c o m p ( W , 11, comp(g C h, f)a 11, is an immediate consequence of Conditions (6), (4), and (35). We now define the category Fr(X) thus: (1) ObFr(X) = rL(X). (2) ArFr(X) = {If1I f E Der(rd(S))}, where If1 denotes the equivalence class determined by f. (3)-(10) As in 7.3.5, with Fr(X) in place of Fmcl(X), and with all references to A, A-I, p, p-I, and (A6)-(A9) deleted from Clause (7).
168
RESIDUATED CATEGORIES
[11.4
(1 1) For all derivable labelled sequents f : A + B and g : C + 0,
un(r ugn = uap(Epv, g))n.
(12) For all A, B, C-€ ObFr(X) and all derivable labelled sequents f : An B + C, ap(ufn) =
uamn.
This completes the description of Fr(X). We call this category the free residuated category generated by X. The values of Fr on the arrows of Cat are defined as in 7.3.5, with Clauses (3), (7), and (8) deleted and replaced by the following defining conditions: (15) Fr(H)(A C B) = Fr(H)(A)(r Fr(H)(B). (16) Fr(H)(Ep(f,g ) ) = E,(Fr(H)Cf), Fr(H)(g)). (17) Fr(H)(a,Cf)) = a,(Fr(H)Cf)). As usual, we omit the routine calculations required to establish that Ur and Fr are adjoint functors and proceed to the composition-free description of Fr(X).
11.4. The deductive system rA(X)
The unlabelled deductive system of Fr(X) is obtained from the deductive system mclA(X) defined in 7.4 by deleting Rule (R2) and augmenting the resulting system by Rules (R16) and (R17). Thus rA(X) is the subsystem of A(X) generated by Axiom (Al) and the following restrictions of Rules (Rl), (R8), (W), (R14), (R15), (R16), and (R17):
11.51
THE SEMANTICS OF
Der(rA(X))
169
(R15)
with
r non-empty
in (R15) and (R17).
11.5. The semantics of Der(rA(X))
The interpretation of Der(rA(X)) in ArFr(X) requires the analogues for the adjunction ap of the unit 77 and counit Q of the adjunction CXA defined in 7.5. Thus for all A, B E ObFr(X), we define two arrows <(A, B) : A + ( A H B ) CB, ;(A, B) : (A C B ) n B --+ A, by the equations <(A, B ) = ap(A, B, A I B) and ;(A, B) = &'(A C B, B, A). We also need to recall again from Theorem 1.1.23, as we did in 7.5, the connection between compositions, units, counits, and adjunctions: For all A , B , CEObFr(X), all f E F r ( X ) ( A n B , C), and all g E Fr(X)(A, C C B), the following equations hold in Fr(X):
ByC)Cf)= compCfC W ) , <(A, B ) ) , G l ( A , B, CNg) = comp(E^(C,B ) , g H l(B)).
<
The naturality aspects of and iare expressed by the analogues of Diagrams (1)-(4) of 7.5.1, and assert that all diagrams of the following form commute in Fr(X):
170
RESIDUATED CATEGORIES +(A, C)
A-(A*C)+C
Using the unit i j and the counit El, we now modify anc extend the definitions of S in 2.5.1 and 7.5.2 and obtain an interpretation of Der(rA(X)) in ArFr(X): 11.5.1. DEFINITION.The interpretation of Der(rA(X)) in Fr(X) is the function S : Der(rA(X))+ ArFr(X) defined by Conditions (l), (3), (9,and (6) of 2.5.1, Conditions (8) and (9) of 7.5.2, with the following additions:
S
''
("'
f
+ a) = ((A I (@
AB +arb+ 4
+ a))Ir) A "-'lf, (A I
I
((p
a)I r))I A 1
11.51
THE SEMANTICS OF
Der(rA(X))
17 1
As usual, we identify two derivations if they represent the same arrow, i.e., we put f = g iff S c f ) = S ( g ) . and obtain the desired bijection Der(rA(X))/= = ArFr(X): 11.5.2. THE COMPLETENESS THEOREMFOR Der(rA(X)). For every f E Der(rd(X)) there exists a g E Der(rA(X)) such that S ( g ) = [f] E ArFr(X).
PROOF.We modify and extend the proof of Theorem 7.5.3 by deleting a11 references to the constant I and to Axioms (A6), (A7), (AS), and (A9), and appending two additional clauses: (8) If the last line of f consists of an application of (R8), i.e., f is a derivation of the form P 4 u:A+B v:C+D ep(u,v ) : ( A D)nC + B
+
and if Up]= S ( h ) and [4]= S ( k ) , let g be the derivation h A+B
(A
k C+D
+D ) n C +
B
(9) If the last line of f consists of an application of (R9), i.e., f is a derivation of the form P
u:AnB+C ap(u): A+ C + B and if [ p j = S ( h ) , 1(A)= S ( k ) , and 1(B) = S ( m ) , let g be the derivation k A+A h AB+AnB AnB+C AB+C A+CeB
BZB
21.5.3. COROLLARY. The category Fr(X) is isomorphic to a subcategory
172
RESIDUATED CATEGORIES
[11.6
of the sequential category generated by the deductive system rA(X) and the interpretation S : Der(rA(X)) ArFr(X). 0 11.6. The syntax of Fr(X)
We now modify and extend Theorem 7.6.1 to rA(X) and show that every arrow of Fr(X) is representable by means of a cut-free derivation coding its own label. This fact allows us to give an effective survey of ArFr(X). In particular, we analyze the effect of the existence of two distinct adjoints of n in Fr(X) and show that the joint presence of 3 and yields a new process for constructing non-equivalent derivations beyond the method described in the proof of Theorem 7.6.3.
+
11.6.1. THE CUT ELIMINATIONTHEOREMFOR rA(X). Every f E Der(rA(X)) is equivalent to a cut-free g E Der(rA(X)).
PROOF. The theorem is clear from the proof of Theorem 7.6.1 and Clauses (C.17), (C.32), (C.33), and (C.46) of the cut elimination algorithm defined in Appendix C. The equivalences required for these additional clauses are established analogously to those for (C.16), (C.30), (C.311, and (C.45) computed in 7.6.1. 0 By means of Clauses (D.13), (D.14), (D.42), (D.46), (D.47), (D.66), (D.67), (D.68), (D.69), and (D.70) of the nomalization algorithm defined in Appendix D, we can extend Theorem 7.6.2 to residuated categories: 11.6.2. THE NORMALIZATION THEOREMFOR rA(X). Every f E Der(rA(X)) reduces to a unique equivalent normal g E Der(rA(X)).
PROOF.We delete all references to the constant I from the proof of Theorem 7.6.2 and note that the equivalences required for Clauses (D.13), (D.14), (D.42), (D.46), (D.47), (D.66), (D.67), (D.68), (D.69), and (D.70) are established by arguments similar, respectively, to those required for (D.ll), (D.12), (D.41), (D.44), (D.43, (D.64), (D.65), (D.65), (D.64), and (D.65) in 7.6.2. 0 The joint presence of
+ and + has the effect of
producing an
11.61
THE SYNTAX OF
Fr(X)
173
abundance of non-equivalent normal derivations of a variety of sequents in rL(X), in close analogy with the non-equivalent derivations produced by Counter-example 8.6.4: Let A E ObFr(X), and define A(")inductively as follows: (1) A'''
= A.
(2) A("+')= A'"'+ A if n is even A A(") if n is odd .
{ +
Then the identity arrow 1(A) alone yields N(2n, 2m) non-equivalent normal derivations of the sequent A(z")+ A""'), and N ( 2 n + 1,2m + 1) non-equivalent normal derivations of the sequent A(*"+')+A(*"'+'),with N ( p , q ) defined as in 8.6.5. The two distinct arrows f, g : A'3'+ A'3' of Fr(X) constructible from 1(A), for example, are represented by the following non-equivalent normal derivations:
These derivations are completely coded by the two sequences ((0, O ) , (1, 0, (2,2), (3,3)), ((0, O ) , (0,2), (3, 0, (3,3)),
of pairs of integers, respectively. The sequences record the powers of A
174
RESIDUATED CATEGORIES
[11.6
occurring in every second sequent of the inner maximal paths of Derivations (1) and (2): Derivations (1) and (2) generalize: Given four distinct arrows of Fr(X), represented by the derivations k h f A+ B, C 4 D, E+ F, G+ H ,
we obtain the following non-equivalent derivations of rA(X), relative to a fixed order from left to right of f and g:
h E+ F
A +f B C Z D A(B j C ) + D BJC+AJD
f
A+B
g
C+D
11.61
THE SYNTAX OF
Fr(X)
If D = F and E = G, then (1) and (3) are non-equivalent derivations of the sequent ( B 3 C ) )3 E - , ( E
(D
(A .$D ) )3 H .
If D = H and E = G, then (2) and (4) are non-equivalent derivations of the sequent
( D C ( B 3 CN.$ E - ( E e (A If F = H and E of the sequent
(F
=
+ D N 3 F.
G, then (1) and (2) are non-equivalent derivations
e ( B * 0) 3E-
( E C (A
+ D ) )3 F,
and (3) and (4) are non-equivalent derivations of the sequent
If D = F = H and E = G, then (1)-(4) derivations of the sequent
are four non-equivalent
If D = F = H , finally, then (1) and (4) are non-equivalent derivations of the sequent (D+ (B
+ C ) ) + G-* ( E e (A 3 D N 3 D.
The above construction extends easily to higher powers of A in complete analogy with the situation for symmetric monoidal closed
I76
RESIDUATBD CATEGORIES
[ I 1.6
categories, and the counting formula N ( p , q ) is established as in Chapter 8. However, it is clear from Theorems 11.5.2 and 11.6.2 that the second construction of Chapter 8, viz., the construction in 8.6.7, does not extend to Fr(X) since the formula a in any sequent of the form raA+ fl cannot be the active formula of an instance of (R15) or (R17) if both r and A are non-empty. 11.6.3. THE CHURCH-ROSSER THEOREMFOR rA(X). If f = g , then there exists a normal h E Der(rA(X)) such that f L h and g 2 h.
PROOF.By Theorem 11.6.2 we may assume that f and g are normal, and we must consider the effect of the presence of Rules (R16) and (R17) on the part of Theorem 7.6.3 not involving the constant I. It is clear from proof theory that f and g contain the same number of instances of each rule of inference and hence have the same width. They can therefore differ only with respect to the order of application of the rules of inference and with respect to the assignments of axioms to the top nodes of their underlying trees. Since it follows from the nature of Fr(X) that all instances of the rules of inference in normal derivations are faithful, we may assume that f and g contain the same axioms, in the same order from left to right. As in all previous cases, the reducibility relation 2 determines the relative order of all mutually passive instances of the rules of inference occurring in f and g and, as in the case of normal derivations in mclA(X), ensures that the corresponding instances of (RS) in f and g have identical conclusions. Consequently, the two derivations can differ at most with respect to non-equivalent subderivations obtained by combining the above process with the method discussed in the proof of Theorem 7.6.3. The theorem therefore follows for reasons similar to those advanced in the proof of Theorem 7.6.3. 11.6.4. COROLLARY. The word problem f o r the functor Fr is solvable. As pointed out in the proof of Theorem 11.6.3, all normal derivations of a sequent A + B have the same width and are effectively determined by the syntax of Fr(X) relative to any fixed assignment of axioms to the
11.61
T H E S Y N T A X OF
Fr(X)
I77
top nodes of the underlying trees. Hence Theorems 11.5.2, 11.6.1, and 11.6.2 characterize ArFr(X): 11.6.5. THE COMPUTABILITY THEOREMFOR Fr(X). Relative to X, the sets Fr(X)(A, B) are computable for all A, B E ObFr(X). 0 11.6.6. COROLLARY. The embedding X + Fr(X) defined by f +[f] is full and faithful.
PROOF.Similar to the proof of Corollary 2.6.6. 0 In conclusion, we summarize our previous discussion concerning the size of certain horn sets of Fr(X): 11.6.7. COROLLARY. If X is discrete, A E ObX, A'") is defined as above, and (I(C,D)ll denotes the cardinality of Fr(X)(C, D ) , then
PROOF. The estimates in (1)-(3) are established by combining the argument of 8.6.5 with the observations made earlier concerning normal derivations consisting entirely of instances of (R14)-(R17). 0 11.6.8. COROLLARY. If X is discrete, then the sets Fr(X)(A, B) are finite for all A, B E ObFr(X). 0 11.6.9. REMARK. The discreteness of X in Corollary 11.6.7 ensures that there is only one assignment of axioms to the top nodes of the trees underlying the normal derivations representing the arrows being counted. In the case of Fsmcl(X), this restriction corresponds to the fact that because of the nature of the derivations involved, at most one top node of the underlying trees could be assigned a non-identity axiom. The estimates in Corollary 11.6.7 generalize easily to the case where the hom sets of X are arbitrarily finite, and yield counting formulas for a variety of hom sets of the corresponding categories Fr(X).
CHAPTER 12
MONOIDAL BICLOSED CATEGORIES
Much of the inspiration for the study of residuated models for decidable proof theories in the last chapter was derived from the contemplation of the deductive presentations in Sections 8.6.4 and 8.6.7 of the Kelly-MacLane and Arens counter-examples to commutativity in symmetric monoidal closed categories. We now conclude this study by examining the consequences of the existence of a distinguished object I in residuated categories. In particular, we show by syntactic considerations that only the Arens counter-example depends crucially on the symmetry of the tensor product and that we are therefore able to construct a non-symmetric analogue of the Kelly-MacLane counterexample for residuated categories with units. The resulting structures will be called monoidal biclosed categories. They were first axiomatized in LAMBEK[1969], and are the appropriate models for those aspects of the joint proof theory of B, I, 3, and G that do not depend on the symmetry of B.
12.1. Definition A monoidal biclosed category is a residuated category C with the following additional structure: (1) A distinguished object I E ObC. (2) Two natural isomorphisms A and p , where A = {A ( A ):IB A + A E Arc 1 A E ObC}. p = { p ( A ): A %I+ A E Arc I A E ObC}.
These data satisfy Axioms (M2) and (M3) of monoidal categories, i.e., for all A, B E ObC, the following diagrams commute: 178
12.21
EXAMPLES cl
A n (InB)-
A
\
InI-I
( An I ) n B
I I I
12.2. Examples
12.2.1. All residuated categories mentioned in Examples 11.2.1, 11.2.2, 11.2.3.1, and 11.2.3.4 are also monoidal biclosed. Example 11.2.3.2 is monoidal biclosed with respect to multiplication, but not with respect to addition. The examples mentioned in 11.2.3.3 are monoidal biclosed iff the semigroup S has an identity element, i.e., is a monoid in the usual sense. 12.2.1. COUNTER-EXAMPLES. The category RModR of R-R-bimodules described in Counter-example 3.2.3 shows that not every monoidal biclosed category admits a symmetric monoidal closed structure. A more elementary example is provided by the following extension of Example 11.2.3.3: Let S = (S, p, 1) be the non-commutative monoid whose multiplication p is defined by the following table:
v y 2 2 3 3 2 3
let 2’ be the power set of its underlying set S, and let A u B, A .$ B, and A (IB have the meanings assigned to them in 11.2.3.3.
180
[12.2
MONOIDAL BICLOSED CATEGORIES
Then the following operations turn 2’ into a non-symmetric monoidal biclosed category qua partially ordered sets:
0
(11
s
s
0 0 0 0 0 0 0
(11
0
0
0 0 0 0
S
S S S S S S S S
(2)
S
0 0 0 0 0 0
(2931 S
(3)
12.31
THE CATEGORY Fmbcl(X)
181
12.3. The category Fmbcl(X) Small monoidal biclosed categories are the objects of a category mbclCat whose arrows are functors satisfying the conditions of arrows in mCat and rCat. We now construct a left adjoint to the obvious forgetful functor Fmbcl : Cat+ mbclCat Umbcl : mbclCat-;, Cat. 12.3.2. DEFINITION. The language of Fmbcl(X) is the sublanguage and ArX. mbclL(X) of L(X) generated by ObX, I, x(,
+, +,
12.3.2. DEFINITION.The labelled deductive system of Fmbcl(X) is the subsystem mbcl&X) of &X) generated by Axioms (Al), (A2), (A3), (A4), (A6), (A7),(As),(As),and Rules (Rl), (R2), (R6), (R7), (R8), and (R9). 22.3.3. REMARK.The language mbclL(X) is obtained from the language rL(X) defined in 11.3.1 by augmenting the alphabet of rL(X) by the symbol I, and the deductive system mbcld(X) results from the system and r&X) defined in 11.3.2 by the inclusion of Axioms (A6), (A7),(h), (As)as additional axioms. 12.3.4. DEFINITION.The relation = is the smallest equivalence relation on Der(mbcld(X)) satisfying the conditions of Definitions 2.3.4 and 11.3.4. We now define the category Fmbcl(X) with the help of the equivalence relation = as follows: (1) ObFmbcl(X) = mbclL(X). (2) ArFmbcl(X) = {If! I f E Der(mbcld(X))}, where I f 1 denotes the equivalence class determined by f . (3)-(6) As in 11.3.5, with Fmbcl(X) in place of Fr(X). (7) As in 2.3.5, with Fmbcl(X) in place of Fm(X). (8)-(12) As in 11.3.5, with Fmbcl(X) in place of Fr(X). This completes the description of Fmbcl(X). We call this category the free monoidal biclosed category generated by X. The values of the functor Fmbcl on the arrows of Cat are defined inductively as follows: (1)-(10) As in 2.3.5 with Fmbcl in place of Fm.
182
MONOIDAL BICLOSED CATEGORIES
[12.4
(12)-(14) As in 7.3.5, with Fmbcl in place of Fmcl. (15)-(17) As in 11.3.5, with Fmbcl in place of Fr. As in all previous chapters, we omit the mechanical verification of the adjointness of Urnbcl and Fmbcl, and proceed directly to the composition-free description of Fmbcl(X). 12.4. The deductive system mbclA(X)
The unlabelled deductive system of Fmbcl(X) is obtained from the deductive system rA(X) defined in 11.4 by the inclusion of (A2) as an additional axiom and of (R2) as an additional rule of inference, and by the removal of the restriction on the antecedents of Rules (R15) and (R17) in 11.4. Specifically, mbclA(X) is the subsystem of A(X) generated by Axioms (Al) and (A2) and the following restrictions of Rules (Rl), (R2), (RS), (R9), (R14), (RlS), (R16), and (R17):
12.61
T H E S Y N T A X OF
Fmbcl(X)
I83
12.5. The semantics of Der(mbclA(X))
We now combine the semantics of Der(mA(X)), Der(mclA(X)), and Der(rA(X)) to an interpretation S : Der(mbclA(X))+ ArFmbcl(X) : Axioms ( A l ) and (A2), and Rules (Rl), (R2), (R8), and (R9) are interpreted as in 2.5.1, Rules (R14) and (R15) are interpreted a s in 7.5.2, and Rules (R16) and (R17) are interpreted as in 11.5.1. Following our usual procedure, we define an equivalence relation = on Der(mbclA(X)) by stipulating that f = g iff S c f )= S ( g ) , and again obtain the desired bijection between equivalence classes of derivations and arrows: 12.5.1. THE COMPLETENESSTHEOREMFOR Der(mbclA(X)). For every f E Der(mbcl&X)) there exists a g E Der(mbclA(X)) such that S ( g ) = [f]E ArFmbcl(X).
PROOF.We combine the proofs of Theorems 2.5.2, 7.5.3, and 11.5.2. 0 12.5.2. COROLLARY.The category Fmbcl(X) is isomorphic to a subcategory of the sequential category generated by the deductive system mbclA(X) and the interpretation S : Der(mbclA(X))+ ArFmbcl(X).
12.6. The syntax of Fmbcl(X)
We now extend Theorem 11.6.1 to mbclA(X) and use the cut-free representability of the arrows of Fmbcl(X) to develop an effective procedure for deciding the commutativity of the diagrams of Fmbcl(X). In particular, we show that a unit I for in a residuated category determines a whole class of non-commutative diagrams in close analogy with the non-commutative diagrams in a symmetric monoidal closed category determined by the construction in Counter-example 8.6.4. 12.6.1. THE CUT ELIMINATIONTHEOREMFOR mbclA(X). Every f € Der(mbclA(X)) is equivalent to a cut-free g E Der(mbclA(X)).
PROOF.W e combine the proofs of Theorems 2.6.1, 7.6.1, and 11.6.1. 0
184
MONOIDAL BICLOSED CATEGORIES
[12.6
By means of Clauses (D.l), ( D . 5 4 , (D.11-14), (D.40-47), and (D.6470) of the normalization algorithm defined in Appendix D, we can extend Theorem 11.6.2 to monoidal biclosed categories: 12.6.2. THE NORMALIZATION THEOREMFOR mbclA(X). Every f E Der(mbclA(X)) reduces to a unique equivalent normal g E Der(mbclA(X)).
PROOF.We combine the proofs of Theorems 2.6.2, 7.6.2, and 11.6.2. 0 We now construct the analogue of Counter-example 8.6.4, determined by the joint presence of j, and the constant I in Fmbcl(X). For this purpose, we associate with every A E ObFmbcl(X) a sequence of objects A'''), defined inductively as follows:
e,
(1) A'') = A.
(2) A("+')= A('":> I if n is even, I c$ A'") if n is odd.
{
The objects defined by these equations are hybrids of their namesakes in 8.6.5 and 11.6.2, and it is clear from the description in 11.2.1 of symmetric monoidal closed categories as residuated categories, that for any object A E Fmbcl(X) containing an atomic subformula distinct from I,Derivations (1*) and (2*) below represent the same distinct arrows in the category V of real vector spaces as do their counterparts (1) and (2) in 8.6.4, and that they are therefore non-equivalent elements of Der(mbclA(X)):
12.61
THE SYNTAX OF
Fmbcl(X)
185
Any derivation of the sequent A'''+ A''' representing the identity arrow of A in Fmbcl(X) determines three non-equivalent normal derivations of A'4'+ A(4' in mbclA(X):
186
MONOIDAL BICLOSED CATEGORIES
r12.6
A("A(4)+ 1 A(4)+ A(4)
The N ( p , q ) non-equivalent normal derivations of the sequent A'"+ A('), for arbitrary p, q E w , are represented by similar configurations. In this context it is understood that A contains an atomic subformula distinct from I and that the derivations are based on a derivation of the sequent A'o'+A'o' representing the identity arrow of A in Fmbcl(X). As in 8.6.5, these derivations are completely coded by corresponding sequences of pairs of integers. The appropriateness of the formula N ( p , q ) is thus proved as in 8.6.5. Derivations (l*), (2*), (l), (2), and (3) above, in particular, are coded by the following sequences:
0, (2, a,(393)). ((0, O ) , (0,2), (3, 0,(3,3)). ((0, O), (1, 0,(2, a,(3,3)9 (494)). ((0, O), (1,
(1")
(2*) (1)
As the notation suggests, Derivations (1*) and (2*) are subderivations of Derivations (1) and (2), respectively. The remark following Section 11.6.2 concerning the inapplicability of the Arens construction of 8.6.7 to non-symmetric residuated categories continues to hold for Fmbcl(X): Since the formula a in any sequent of the form r a A - /3 cannot be the active formula of an instance of (R15) or (R17) if both r and A are non-empty, a sequent of the form A@)B(q)-,(A H B)'" can have at most one normal derivation in mbclA(X).
12.6.3. THE CHURCH-ROSSERTHEOREMFOR mbclA(X). If f = g , then there exists a normal h E Der(mbclA(X)) such that f 1 h and g L h.
12.61
T H E S Y N T A X OF
FrnbcKX)
187
PROOF. By virtue of the preceding discussion and in view of the syntactic relationships between the deductive systems mA(X), mclA(X), rA(X), and mbclA(X), the theorem follows easily from a combination of the relevant sections of the proof of Theorem 8.6.9 with the proofs of Theorems 2.6.3, 7.6.3, and 11.6.3. 12.6.4. COROLLARY. The word problem f o r the functor Fmbcl is solvable. 0
Since the rules of inference of mbclA(X) result from those of rA(X) merely by the inclusion of (R2), and since instances of (R2) do not affect the width of a derivation, it continues to be true for mbclA(X), as it was for rA(X) and all other non-Cartesian categories considered above, that all normal derivations of a sequent A + B have the same width and are effectively determined by the syntax of Fmbcl(X) relative to any fixed assignment of axioms to the top nodes of the underlying trees. Hence theorems 12.5.1, 12.6.1, and 12.6.2 characterize ArFmbcl(X): 12.6.5. THECOMPUTABILITY THEOREM FOR Fmbcl(X). Relative to X, the sets Fmbcl(X)(A, B ) are computable f o r all A , B E ObFmbcl(X). 0 12.6.6. COROLLARY. The embedding X + Fmbcl(X) defined by f +If] is full and faithful.
PROOF.Similar to the proof of Corollary 2.6.6. 0 12.6.7. COROLLARY. Zf A E ObFmbcl(X) has an atomic subformula distinct from I, and if Il(C,D)ll denotes the cardinality of the set Fmbcl(X)(C, D ) , then (1) I((A(2n), A(2m+l))l( = Il(A(2n+'), A'2m')1( = 0.
where A""), etc., have the same meaning as in 12.6.2. 0 12.6.8. REMARK.In view of our earlier discussion of the connections between certain types of arrows in Fmbcl(X) and Fsmcl(X) it is not
188
MONOIDAL BICLOSED CATEGORIES
[12.6
surprising that Estimates (1)-(3) are identical to their counterparts in Corollary 8.6.13. Estimates (4)-(5) of 8.6.13, however, have no counterpart in Fmbcl(X). 12.6.9. COROLLARY. If X is discrete, the sets Fmbcl(X)(A, B) are finite f o r all A, B E ObFmbcl(X). 0
CHAPTER 13
QUANTIFIER-COMPLETE CATEGORIES
We now complete our algebraic study of intuitionist proof theories by giving a functorial description of quantifiers. This particular approach to [1974a], and desabstract quantification was first discussed in SZABO cribed in detail in SZABO[1976a], and is consistent with and inspired by the view of universal and existential quantifiers as generalized conjunction and disjunction operators. By analogy with their properties in the Lindenbaum-Tarski algebras of first-order formulas (cf. RASIOWA [1970]), we define V and 3 as appropriate functors whose and SIKORSKI values lie in bicartesian closed categories with additional structure. Because of its specialized nature, we call this structure quantifier completeness. Among the non-trivial bicartesian closed categories satisfying this additional completeness property are categories arising in algebraic geometry known as Grothendieck topoi (cf. REYES [1974] and WRAITH [ 1975]), i.e., categories equivalent to subcategories of categories of the form Funct(CoP,Ens), where C is a small category sharing certain properties with the category of open sets of a topological space. The relevance of this type of category to the semantics of intuitionist proof theory is not too surprising in view of the fact that the Heyting-algebra semantics of intuitionist logic is given precisely by the lattices, i.e., categories, of open subsets of topological spaces (cf. RASIOWAand SIKORSKI [ 19721). At the level of model theory, the relevance of topoi to the study of intuitionist first-order logic was discovered by Lawvere (cf. the Introduction of LAWVERE[ 19721) who noticed that the operations of first-order logic could actually be internalized, i.e., considered as arrows and endofunctors, of special types of categories obtained from Grothendieck topoi essentially by deleting all references to non-finite settheoretical conditions. The resulting structures are now known as elementary topoi. As mentioned at the beginning of Chapter 9, these structures are Cartesian closed categories with a subobject classifier, i.e., 189
190
QUANTIFIER-COMPLETE CATEGORIES
113.0
a distinguished object R and a natural isomorphism Sub(-) = C(-, R) classifying the subobjects of an object A in terms of the characteristic [1972]). In Ens, this axiom simply records the functions on A (cf. FREYD correspondence between subsets and characteristic functions, with R = 2, i.e., the carrier of the Boolean algebra of truth-values of classical logic. In a general elementary topos E, the object R always carries an internal Heyting algebra structure in terms of arrows of E, but this structure is rarely Boolean since the arrow corresponding to double negation is rarely an identity arrow (cf. MACLANE[1975]). The importance of Cartesian closed categories in mathematics arises in part from their central role in the theory of elementary topoi and Lawvere’s discovery of the importance of this type of structure not only to algebraic geometry, but also to intuitionist logic and abstract proof theory (cf. the Introduction of LAWVERE[1972]). It follows from a remarkable theorem of Mikkelsen (cf. PARE [1974] and LAMBEKand [ 19751) that the additional properties demanded of an elemenRATTRAY tary topos, e.g., the existence of finite coproducts, are a consequence of the existence of a subobject classifier in Cartesian closed categories. The internal logic of elementary topoi is described intuitively in MACLANE [1975]. The actual details may be found in KOCKand WRAITH[1971] and REYES[1974]. It is a logic strictly weaker than intuitionist logic since it takes the problem of quantification over empty domains seriously and since therefore certain intuitionistically valid formulas such as (V&$(t) 3 (35)&([) no longer hold. The importance of this fact for model theory is argued forcefully by Lawvere in the Introduction of LAWVERE et al. [1975]. The present chapter develops the proof-theoretical complement of the model-theoretical properties of intuitionist logic in bicartesian closed categories with additional structure. It is non-elementary since we are not dealing with the semantics of formulas, but rather the semantics of relations on sequents of formulas. Thus we show that the usual order properties of quantified formulas in the Lindenbaum-Tarski algebras of formulas lift to a more general functorial level at which the algebraic connection between quantification and infinitary operations becomes apparent. We show that relative to this interpretation, the Gentzen rules for intuitionist quantification admit a non-trivial semantics and that the algebra of quantifiers fits naturally, although not elementarily, into the calculus of adjoints.
13.11
CATEGORICAL PRELIMINARIES
191
13.1. Categorical preliminaries
In this section, we introduce the relevant new definitions and the required generalizations of the categorical concepts defined in Chapter 1. We include a number of categorical digressions with the intention of deepening the reader’s appreciation of the mathematical context into which our results are intended to fit. For details, we refer to FREYD [1972], HERRLICH and STRECKER [ 19731, KOCK and WRAITH[ 19711, MACLANE[1971], REYES [1974], and WRAITH[1975]. 13.1.1. DEFINITION. A natural source for a functor F : I+C is a pair (L, A ) consisting of an object L E ObC and a natural transformation A : Const L + F. 13.1.2. DEFINITION. A limit for a functor F : I+ C is a natural source ( L ,A ) with the property that for every natural source (E, i) for F there exists a unique arrow f : L-, L such that h(i) = comp(A(i),f) for all i E ObI. 13.1.3. DEFINITION. A natural sink for a functor F : I + C is a pair (K,
K :
K) consisting of an object K E ObC and a natural transformation F+ConstK.
13.1.4. DEFINITION. A colimit for a functor F : I+ C is a natural sink
K) with the property that for every natural sink (i Z?) , for F there exists a unique arrow g : K + K such that K ( i ) = comp(g, K(i)) for all i E ObI. (K,
Limits and colimit of functors are unique up to isomorphism, and we write limIF(i) and colimIF(i) for a limit and colimit of a functor F : I+ C . If the domain of F is a category of the form I x J, we write limIxJF(i,j ) and colimIxrF(i,j ) for a limit and colimit of F, etc. B y virtue of their ubiquity and importance, several types of limits and colimits and the categories possessing them have special names: (1) If I is the category whose objects are i and j , and whose non-identity arrows are f : i + j and g : i + j , then a limit of a functor F : I+ C is called an equalizer and a colimit of F a coequalizer of Fcf) and F(g) in C.
192
QUANTIFIER-COMPLETE CATEGORIES
[13.1
(2) If I is the category whose objects are i, j , and k, and whose non-identity arrows are f : i+ k and g : j + k, then a limit of a functor F : 1- C determines a commutative square W)
F( i ) A F( k ) A(i)
called a pullback (square), and h ( i ) is called a pullback of F ( g ) along FCf). (3) If I is the category whose objects are i, j , and k, and whose non-identity arrows are f : k + i and g : k +j , then a colimit of a functor F : I+C determines a commutative square
called a pushout (square), and
Fk).
K(j)
is called a pushout of FCf) along
(4) A category C is I-complete if IimIF exists in C for all functors F :I+C, and I-cocomplete if colimIF exists in C for all such F. ( 5 ) A category C is finitely complete if it is I-complete for all finite categories I , and finitely cocomplete if it is I-cocomplete for all such I. (6) A category C is complete if it is I-complete for all small categories I , and cocomplete if it is cocomplete for all such I. (7) A category C has finite products if it is finitely complete for all finite discrete categories I , and has finite coproducts if it is finitely cocomplete for all such I. (8) A category C has products if it is complete for all small discrete categories I , and has coproducts if it is cocomplete for all such I. By the axiom of choice, any category with products and coproducts admits a product and coproduct functor whose values are chosen from the isomorphism classes of the limits and colimits of that category. Conversely, all product and coproduct functors determine suitable limits
13.11
CATEGORICAL PRELIMINARIES
I93
and colimits with respect to which the given category has products and coproducts in the above sense. The concepts of equalizer, coequalizer, pullback, and pushout generalize to arbitrary sets of arrows with appropriate domains and codomains and serve to characterize the completeness and cocompleteness of a category: 13.1.5. THEOREM. A category is complete iff it has products and equalizers, o r products and pullbacks, and is cocomplete i f f it has coproducts and coequalizers, or coproducts and pushouts. 0
Finite completeness and finite cocompleteness are characterized analogously. In the case of Cartesian closed categories, the latter concepts have a striking alternative description. Its enunciation requires two definitions: 13.1.6. DEFINITION. An arrow f of a category C is a monomorphism if comp(f, g ) = comp(f, h ) implies g = h for all g , h E Arc for which comp(f, g ) and comp(f, h ) are defined. 13.1.7. DEFINITION. A subobject classifier of a category C possessing a terminal object T consists of an object R E O b C and an arrow t : T + R E Arc with the property that for all A, B EObC and all monomorphisms m : B + A E Arc there exists a unique arrow xm : A + R E Arc making the diagram
a pullback square. Mikkelsen’s result can now be stated as follows: 13.1.8. THEOREM.Every Cartesian closed category with a subobject classifier is finitely complete and finitely cocomplete. 0
194
QUANTIFIER-COMPLETE CATEGORIES
[13.1
An elegant proof of Theorem 13.1.8 may be found in PARB[1974]. A and RATTRAY[1975]. more constructive proof is contained in LAMBEK The importance of this' theorem lies in the remarkable simplification of the axioms of an elementary topos which it affords. Originally such structures were conceived of as finitely complete and finitely cocomplete Cartesian closed categories with a subobject classifier. By Theorem 13.1.8, it suffices to define them thus: 13.1.9. DEFINITION. An elementary t o p s is a Cartesian closed category
E with a subobject classifier.
It should be pointed out that even some of the closedness aspects of elementary topoi follow from the existence of subobject classifiers. The existence of all objects of the form A ja, for example, entails that of all objects of the form A jB, for all B. In view of its importance for elementary topoi, the concept of a subobject needs some clarification. It constitutes a synthesis of two levels of insight: On the one hand, it generalizes such notions as subset, subgroup, subspace, etc., by recognizing that these objects are uniquely determined by their monomorphic insertion arrows, and on the other it reflects the fact that categorically two objects, arrows, functors, etc., are essentially the same if they differ by an isomorphism: Let E be an elementary topos, A E ObC, and define Mon(A) = { m E ArE 1 cod(f) = A and m is a monomorphism}. We introduce an equivalence relation = on Mon(A) by defining two monomorphisms rn : B 3 A and n : C + A to be equivalent iff there exist arrows f : B + C and g : C + B such that m = comp(n, f ) and n = comp(m, 8). (Since m and n are monomorphic, the arrows f and g are necessarily isomorphisms.) 13.1.10. DEFINITION. Sub(A) = Mon(A)/=.
An element of Sub(A) is called a subobject of A. Whilst this notion makes sense in any category, the formation of Sub(A) may cause set-theoretical difficulties if some equivalence classes are not sets in the sense of 1.1.3. In the case of elementary topoi, this difficulty does not arise. In fact, as hinted at earlier, for each object A of an elementary
13.1)
C ATE<;ORIC A L P R EI.1M IN ARIE S
I95
topos E, the class Sub(A) is itself a set and is indexed by the elements of the set E(A,R). More precisely, the formation of Sub(A) is actually contravariantly functorial, and we have the following isomorphism of set-valued functors: 13.1.11. THEOREM. Sub(-) = U-, 0).0
Theorem 13.1. I 1 explains the sense in which SZ is a subobject classifier of E. Any elementary topos E yields an enormous supply of Heyting algebras since for all A E ObE, there exist set-theoretical functions con : Sub(A) x Sub(A)+ Sub(A), dis : Sub(A) x Sub(A)+ Sub(A), imp : Sub(A) x Sub(S)+ Sub(A), t : { *}+ Sub(A), f : { *}+ Sub(A), with respect to which the structure Sub(A) = (Sub(A), con, dis, imp, t , f ) is a Heyting algebra in the sense that the functions con, dis, imp, t , and f satisfy the equations ( I ) con(t( *), x ) = x = con(x, x), ( 2 ) con(x, Y ) = con(y, x), (3) con(x, con(y, z ) ) = con(con(x, y). z ) , (4)dis(f( *), x ) = x = dis(x, x), (5) dis(x, y ) = dis(y, x), (6) dis(x, dis(y, 2)) = dis(dis(x, y ) , z), (7) con(x, dis(y, z)) = x = dis(con(x, y), x), (8) i m p k x ) = t( * 1, (9) con(x, imp(x, y ) ) = con(x, Y 1, (10) con(y, imp@, Y ) ) = Y, (1 I ) imp(x, Cody, 2 ) ) = con(imp(x, y), imp(x, z ) ) , for all x, y, z E Sub(A). As the notation suggests, the functions con, dis, imp, t, and f are the analogues of the usual operations of conjunction, disjunction, implication, truth, and falsity, respectively. The above equations can be couched in the language of commutative
I96
QUANTIFIER-COMPLETE CATEGORIES
[13.1
diagrams in Ens. Equation (l), for example, is equivalent to the commutativity of the diagrams
lCO" -
-1
rxl
{ * } x Sub(A)-
Sub(A) X Sub(A)
I
(1)
Sub(A)
Sub(A)
Sub(A)-
6
Sub(A) x Sub(A)
.
S u b ( A ) A Sub(A) The remaining equations have similar translations. All hom sets of E of the form E ( A , n ) carry an analogous Heytingalgebra structure. For details, we refer to FREYD [1972]. If E is not Ens, the Heyting algebras just described are external in the sense that Sub(A) E ObE, and con, dis, imp, t, f E ArE. This suggests the definition of an internal Heyting algebra of E, or of a Heyting-algebra object, as it is called, as a structure
H = ( H , con, dis, imp, t, f ) consisting of an object H E ObE, and arrows con, dis, imp, t, f E ArE satisfying the commutativity conditions obtained by translating the above diagrams into the language of E. Diagrams (1) and (2) above, for example, become:
8
H-HAH
'1
H-H
,
Icon
13.11
CATEGORICAL. PRELIMINARIES
I97
It turns out that an elementary topos E has an abundance of Heytingalgebra objects : 13.1.12. THEOREM.The object R E ObE and all objects of the form A 3 R E ObE are the underlying objects of Heyting-algebra objects of E.
For a proof of Theorem 13.1.12 and a description of the arrows con, [19721. Not dis, imp, t, and f on a, we refer the reader to FREYD unexpectedly, t : T + R is the same arrow as that mentioned in the definition of a subobject classifier of E. Since the Heyting-algebra object fi is the analogue in E of the algebra 2 of truth-values in Ens, the arrow t is often called true. Next we assemble the definitions and examples required to describe the world of proofs with quantifiers. Although it suffices for this purpose to consider bicartesian closed categories with enough infinite products and coproducts for the interpretation of quantified formulas and their derivations, the mathematically most important models arising in this connection are categories with broader completeness properties. As mentioned at the beginning of this chapter, such categories are known as Grothendieck topoi. They are characterized by an extraordinary theorem of Giraud which says that every Grothendieck topos E is equivalent to a category of set-valued sheaves Sh(C) Funct(CoP,Ens) over some small site C. We now define these notions. We recall that, classically, a set-valued sheaf is simply a functor F : Open(X)"'+ Ens on the category of open subsets and inclusion functions of a topological space X, satisfying two (coherence) conditions, for all families of open sets { A i I i € I}, open sets A = U i E , A i , and inclusion functions f i : Ai +-A : (1) For all s, t E F ( A ) , s = t, provided that F ( f i ) ( s )= F ( f i ) ( t )for all i E I. (2) If Ai n Aj# 0 and i j f j : Ai fl Aj+ Ai and i j f j : Ai f Aj+ l Aj are the appropriate inclusion functions in Open(X), and if s; E F(Ai) and Sj E F(Aj) and F(iifi)(si)= F(iifj)(sj),then there exists a s E F ( A ) such that F ( f , ) ( s=) si for all i E I. Examples of such sheaves and their use in mathematics are described in detail in SEEBACHet al. [1970] and SWAN[1964]. They include the familiar sheaves of germs of continuous real-valued functions on a
198
QUANTIFIER COMPLETE CATEGORIES
[13.1
topological space X, i.e., functors with values F ( A ) = (f : A --* R I f is continuous}, F ( f i ) c f )= f r Ai, the restriction of f to Ai.
For the purposes of algebraic geometry, the right generalization of these concepts turned out to depend merely on the reflexivity, transitivity, and stability under intersections (i.e., pullbacks) of the opensubset relation. Thus a topology on a category C is defined as a class of classes Cov(A) of arrows of C, called coverings of A E ObC, satisfying three simple axioms: (1) For all A E ObC, {1(A) : A + A} E Cov(A). (2) If cfji : Aii + A ; I i E I , j E J } E Cov(Ai), and c f ; : A i + A I i E I}E Cov(A),
then
{comp(fi,fjj) : Aii + A I i E I, j E J } E Cov(A).
(3) If (f; : A; + A
1 i E I } E Cov(A),
then { A ( B ) : Ai XA B -+ B 1 i E I } E COV(B), for all f : B + A E Arc, and all pullback squares
13.1.13. DEFINITION. A site is a category C together with a topology. 13.1.14. DEFINITION. A sheaf on a site C is a functor F : Cop+ Ens satisfying the following (coherence) conditions for all A E ObC, and all cfi : Ai + A} E COV(A):
13.11
CATEGORICAL PRELIMINARIES
199
(1) For all s , t E F ( A ) , s = t , provided that F(fi)(s) = F(fi)(t)for all
i E I.
(2) If F(Ai) --(A)
FU,)
is the commutative square determined by F in Ens from the pullback square Ai-
fi
A
in C, and if si E F(Ai) and s, E F(Aj) and F(A(i))(si) = F(A(j))(sj), then there exists a s E F(A) such that F ( f i ) ( s = ) si for all i E I. The class of sheaves on a small site C gives rise to a full subcategory Sh(C) of Funct(CoP,Ens). By virtue of the theorem of Giraud (cf. REYES [1974]), it now suffices to define our desired class of structures thus: 13.1.15. DEFINITION. A Grothendieck topos is a category equivalent to the category of sheaves over a small site.
The usefulness of Grothendieck topoi in the present context derives from the following theorem: 13.1.16. THEOREM. Every Grothendieck topos is a complete and cocomplete elementary topos. 0
The converse of Theorem 13.1.6 is false: The category of finite sets and functions is an elementary topos, but fails to have the infinite limits and colimits, e.g., products and coproducts, existing in a Grothendieck topos. We end this section with the announced functorial definition of universal and existential quantifiers. For this purpose, we assume as
200
QUANTIFIER-COMPLETE CATEGORIES
[13.1
given a fixed, but arbitrary, small discrete index category I.(In practice, I will be countably infinite and isomorphic to the discrete category of terms of the language L*(X) defined below.)
13.1.17. DEFINITION. A universal quantifier o n an I-complete category C is the unique functor V : Funct(1, C) + C such that if IimIF = ( L ,A), IimIG = (M,p ) , and 7 : F + G is a natural transformation, then V(F) = L, V(G) = M, and V(7) : V ( F ) - , V(G) is the unique arrow of C which makes the following diagram commute, for all i E ObI: Ui)
V( F)__* F( i)
13.1.18. DEFINITION. An existential quantifier on an I-complete category C is the unique functor 3 : Funct(I, C)+ C such that if colimIF = ( K , K), colimIG = (v,N), and 7 : F + G is a natural transformation, then 3 ( F ) = K , 3 ( G ) = N, and 37):3(F)+3(G) is the unique arrow of C which makes the following diagram commute, for all i E ObI:
We write VI and 31 in place of V and 3 if the index category I is not clear from the context, and define the special kind of completeness required below: 13.1.19. DEFINITION. A category C is I-quantifier-complete if it admits a universal and an existential quantifier with respect to I.
The next theorem shows that the concept of quantifier-completeness meets our expectations: 13.1.20. THEOREM.A category C is I-quantifier-complete if every I-indexed family of objects of C has a product and coproduct in C.
13.11
20 1
CATEGORICAL PRELIMINARIES
PROOF.If I is a small discrete category, then a limit for a functor F : I+C consists of a product object L for the I-indexed set of objects { F ( i )I i E ObT), together with an I-indexed set of arrows { A ( i ) : L + F ( i ) E A r C I i E O b I ) , and a colimit for F is a coproduct object K for the same set of objects, together with a set of arrows { ~ ( i: )F ( i ) + K E A r c I i E ObI). Conversely, the axiom of choice permits the selection of the necessary representative products and coproducts from the isomorphism classes of limits and colimits of C for the definition of the functors F : I+ C which underlie the quantifiers VI and 31.0 Finally, we define the particular class of I-quantifier-complete categories which generalize the Lindenbaum-Tarski algebras of formulas of classical and intuitionist first-order logic and serve as models for intuitionist proof theories. By analogy with the quantifier algebras of RASIOWAand SIKORSKI [1970], we call the resulting structures quantifier-complete categories. In order to simplify the exposition, we let I be the discrete category w of natural numbers, i.e., the cardinal of the set of terms of the language L*(X) defined in Section 13.2. 13.1.21. DEFINITION. A quantifier-complete category is a bicartesian closed category C with the following additional structure: (9) A universal quantifier V : Funct(o, C ) + C. (10) An existential quantifier 3 : Funct(w, C ) + C. (1 1) Two adjunctions (YV and ( ~ 3 ,where (YV
= {(Yv(A,F ) : C(A, V ( F ) ) + X n E wC(A, F ( n ) )E ArEns 1 A E ObC,
F E Funct(w, C)},
and a3 = { ( Y ~ ( A) F , : C(3(F), A ) +
X ,,
C ( F ( n ) , A) E ArEns I A E ObC, F E Funct(o, C)}.
13.1.22. REMARK.As the existence of the quantifiers V and 3 on C implies, a quantifier-complete category is of course o-quantifier-complete in the sense of 13.1.19. 13.1.23. EXAMPLES. Natural examples of quantifier-complete categories
202
QUANTIFIER-COMPLETE CATEGORIES
[13.2
abound since, by Theorem 13.1.8 and 13.1.16, every Grothendieck topos is quantifier-complete. More elementary examples include the category of Kelly spaces kTop described in 7.2.6 and all o-complete Boolean and Heyting algebras. [1970] fail to be The quantifier algebras of RASIOWAand SIKORSKI quantifier-complete since the limits V ( F ) and colimits 3 ( F ) exist only for definable functors F. However, the infinitary methods of this chapter may be specialized to produce quantifier-completions for these algebras. 13.2. The language L*(X)
In this section, we extend the language bcclL(X) of Chapter 10 to a language L*(X) which allows for the presence of quantifiers and infinitary operations. The definitions are again formulated relative to a fixed, but arbitrary small category X. The language L*(X) consists of the following data: (1) A class TL*whose elements are called terms. (2) A class FL*(X) whose elements are called formulas. (3) A class seq~*(X) whose elements are called sequents. These data are defined on the union of the following disjoint sets of basic symbols: ( 1 ) F " = C f : ( a ~ w (} n = 0 , 1 , 2,...). (2) FV = {x, I a E o}. (3) R o = ObX U {I, T}. (4) R" = { R : I a E o} ( n = 1 , 2 , 3 , . . .). (5) BV = (4I a E o}. (6) UQ = {(VZa) I a E ~ 1 . (7) EQ = { ( g t a ) I a E ~ 1 (8) SC = { A , V , 31. (9) IC = { A , V}. The symbols f : , xo, I,T, R:, &, We,), (35,),A , v, 3,A , and V serve as n-ary function symbols, free variables, falsity, truth, n-ary relation symbols, bound variables, universal quantifiers, existential quantifiers, conjunction symbol, disjunction symbol, implication symbol, infinitary conjunction symbol, and infinitary disjunction symbol, respectively. 13.2.1. DEFINITION. Let 2 be the union of the sets F" and FV, and let
13.21
THE LANGUAGE
L*(x)
203
M ( Z ) be the free monoid generated by Z. Then TL* is the smallest inductive subset of M ( X ) satisfying the following conditions: (1) F" C TL*. (2) F V TL*. ( 3 ) If tl, . . . , t, E TL*,then f t l . . . t, E TL*. 13.2.2. DEFINITION. Let n be the union of the sets R" and TL*,and let M ( I I ) be the free monoid generated by II. Then At FL*(X)is the smallest inductive subset of M ( n ) satisfying the following conditions: ( I ) R o At FL*(X). ( 2 ) If t , , . . . , tn E TI-*and R E R", then Rtl * * . t,, E At FL*(X). The elements of At FL*(X) are called the atomic formulas of L*(X).
13.2.3. DEFINITION. Let E be the union of the sets At FL*(X), BV, UQ, EQ, and SC, and let M ( Z ) be the free monoid generated by Z. Then Fin FL*(X) is the smallest inductive subset of M ( E ) satisfying the following conditions: ( 1 ) At FL*(X)C Fin F L ~ X ) . ( 2 ) If a , p E Fin F L ~ X ) , then (aA p ) , ( a v p ) , and ( a 3 p ) E Fin FL*(X). ( 3 ) If a ( t )E Fin FL*(X), 5 E BV, and [E a ( t ) , then (V5)ar[51 and (35)a1[51 E Fin F L ~ X ) , where ( a A p ) , (a v p ) , and ( a j p ) denote the strings A ap, v cup, and j a p , where a ( [ )says that the term t occurs in the formula a , where 5E a ( t ) says that the bound variable 5 does not occur in a , and where a,[,$]is the string which results from a by the replacement of every occurrence of t in a by 5. The elements of Fin FL*(X) are called the finitary formulas of L*(X). Next we define the infinitary formulas of L*(X). At this point, we are leaving the area of linguistic effectiveness since the new formulas are made up of infinite sets of formulas. A precise description of the set-theoretical ideas involved may be found in BARWISE[1968] and FEFERMAN [ 19681. 13.2.4. DEFINITION. The set FL*(X) is the smallest set satisfying the following conditions: ( 1 ) Fin FL*(X)C FL:(X). (2) If A = { A ( n ) I n E w } G FL*(X), then ( A A ) and ( V A ) E F L * ( X ) .
204
QUANTIFIER-COMPLETE CATEGORIES
[13.3
+
(3) If a,p E FL*(X),then (aA p), (a v p), and (a p ) E F L ~ X )where , p). (a v p ) , and (a3 p ) denote the expressions A cup, v a@, and +a@, respectively. The elements of FL*(X)are called the formulas of L*(X).
(aA
13.2.5. NOTATION.We follow OUT earlier practice and simplify the notation by writing FinL*(X) and L*(X) in place of FinFL*(X) and FL*(X)whenever the intended meaning is clear from the context. We also write ( A A ( n ) ) and ( V A ( n ) )in place of ( A A) and ( V A).
In Section 13.3, we extend the deductive system bcclA(X) of Chapter 10 to a deductive system A*(X). Therefore we must extend the concept of a sequent of formulas to L*(X): 13.2.6. DEFINITION. A sequent of formulas of L*(X) is an element of the class SeqL*(X)= M(FL*(X))x M(FL*(X)). This completes the description of the language L*(X). The restriction to countable sets of symbols, except possibly for ObX, and to countably infinite conjunctions and disjunctions simplifies the notation and certain other aspects of our exposition. Appropriate extensions to other regular cardinals are routine. 13.3. The deductive system A*(X) We now extend the deductive system bcclA(X) of Chapter 10 to L*(X). For this purpose we assume that the relations (Rl), (R2), (R3), (R4), (R5), (R6), (RlO), (Rll), (R12), (R13), (R14), and (R15) of Appendix B have been extended to SeqL*(X),and define the deductive system A*(X) to be the relational structure
obtained from the linguistic extension of bcclA(X) by the inclusion of eight additional rules of inference:
13.31
THE DEDUCTIVE SYSTEM
A*(X)
205
where x E FV, t E TLI,and x does not occur in any formula of r, A, and @ in (R18) and (R21).
rA(n)A+ @
(R23)
r(A A(n))A+
(I3251
TA(O)A+@, TA(l)A+@, . . . , rA(n)A+@, . . . r(VA(n))A+@
@
In order to be able to define the derivations of A*(X) involving instances of Rules (R22) and (R25), we now augment the class of trees used in Chapters 2-12, and defined in 1.2.6, by allowing a tree T to have a countably infinite domain N. We continue to assume that for each x E N * , the set T-'(x) is well-ordered, and that all branches of T have finite length. If the set of these lengths is unbounded, we define the height of T to be w. Similarly, we define the width of r to be w if one of the sets T-'(x) is infinite. As in 1.2.9, we define the height and width of a derivation fs to be the height and width of its underlying tree T. Relative to this more general class of trees, we define the derivations of A*(X) as follows: 13.3.1. DEFINITION.A derivation of A*(X) on a tree T : N + N * is a function fT : N + SeqL*(X)satisfying the following conditions: (1) If T-'(x) = 0, then f 4 X )E (Ai), for some i E {1,3,4}.
206
QUANTIFIER-COMPLETE CATEGORIES
[13.4
(2) If T - ' ( x ) = {y}, then ( f T ( y ) ,f4x) > E (RO, for some i E {2,3,.4,5,6, 1 1 , 13, 15, 18, 19,20,21,23,24}. (3) If T - ' ( x ) = {y, z } and y 5 z in the well-ordering of {y, z}, then (fr)E (Ri), for some i E {1,8,10, 12,14}. (4) If T - ' ( x ) = { y n I n E 01, then (f,(yo), . . . ,fr(x) > E (Ri), for some i E {22,25}. We denote the class of derivations of A*(X) by Der(A*(X)) and, as in 1.2.8, call a sequent r+ @ E SeqL*(X)derivable in A*(X) if there exists a fT E Der(A*(X)) such that + 'I Q> = f T ( r )with , ~ ( r=)w .
13.4. The semantics of Der(A*(X))
Small quantifier-complete categories are the objects of a category qcCat whose arrows are functors @ satisfying the conditions of arrows ) V(@(F)), in bcclCat, and have the additional property that @ ( V ( F ) = @ ( 3 ( F )= ) 3 ( @ ( F ) ) , and that a v ( @ ( A ) ,Q>(F))(@(f)) = (@(f(n))) and crg(@(F),@ ( A ) ) ( @ ( g ) )= [ @ ( g ( n ) ) ] ,for all F E Funct(o, dam(@)), and all f, g , f(n), g ( n ) E Ardom(@) connected by the equations w ( A , F ) c f )= ( f ( n ) ) and cr3(F, A ) ( g ) = [ g ( n ) ] , and where @ ( F )E Funct(o, cod(@)) is the functor whose object values are of the form @ ( F ( n ) ) .There exists an obvious forgetful functor Uqc : qcCat+ Cat, and the construction of Fbccl(X) adapts easily to the present situation and produces a left adjoint Fqc : Cat+ qcCat of Uqc: (1) We form the sublanguage qcL*(X) of L*(X) generated by ObX, T, I,A , v, 3,A , and V . (2) For all F = { F ( n )I n E o} qcL*(X), we .put V ( F ) = A { F ( n )1 n E o}, 3 ( F ) = V { F ( n )1 n E 0 ) . (3) We augment the class of labels of bccl(X) by allowing all new formulas of qcL*(X) in the label schemes for bcclL(X), and include as additional labels all elements of the form r,,(V(F),F ( n ) ) , r X F ( n ) , 3(F)), c f ( O ) , . . . ,f(n),.. .) and If(O),. . . , f ( n ) , . . .I, for each V ( F ) , 3 ( F )E qcL*(X), F ( n ) E F, and arbitrary labels f(n). (4) We augment Axioms (A2), (810), (All), (A12), (A13), (A14), and (815) by allowing A , B, C E qcL*(X), and adjoin two new axioms:
13.41
(A17)
THE SEMANTICS OF
Der(A*(X))
207
If V ( F )E qcL*(X) and F ( n ) E F, then a,(V(F),F ( n ) ): V ( F )+ F ( n ) is an axiom.
(Al8)
If 3(F)EqcL*(X) and F ( n ) E F , then a ? ( F ( n ) ,3 ( F ) ): F ( n ) + 3 ( F ) is an axiom.
(5) We augment Rules (Rl), (R3), (R4), (RlO), and (R11) by allowing the premisses and conclusions to be sequents in the extended language qcL*(X), and adjoin two new infinitary rules of inference: (R 12)
f(0) : A + F(O),. . . , F ( n ) : A + F ( n ) ,. . .
(f(n)): A + V ( F ) g ( 0 ) : G(O)+ B , . . . ,g ( n ) : G ( n ) + B,. . . k ( n ) l : %GI-, B
(R13)
where (f(n)) abbreviates (f(O), . . . ,f ( n ) ,. . .) and [ g ( n ) ] abbreviates [g(O),. . . ,g ( n ) , . . .I. The described extension of bccl&X) yields a deductive system h*(X) and thus a class of derivations Der(h*(X)) representing the arrows of Fqc(X). More precisely, ObFqc(X) = qcL*(X), and ArFqc(X) = Der(d*(X))/=, with = being the obvious extension of the equivalence relation defined in 10.3.4. The definition of Fqc on the arrows of Cat is obtained by routinely modifying that of Fbccl. We call the category Fqc(X) the free quantifier-complete category generated by X. The objects of qcCat constitute the desired models for Der(A*(X)). We now describe the details of this semantics. It consists of an interpretation S of the derivations of A*(X) as arrows of the free quantifier-complete category Fqc(AtL*(X)) generated by the category AtL*(X), i.e., by the category whose objects are the atomic formulas of L*(X) and whose arrows are those of X, together with the additional identities required to make AtL*(X) into a category. By the freeness of Fqc(AtL*(X)), any functor F : AtL*(X)--* Uqc(C) extends to a unique functor F' : Fqc(AtL*(X)) + C of quantifier-complete categories, and thus induces an interpretation of Der(A*(X)) in any small quantifiercomplete category C. As a preliminary, we interpret the formulas of L*(X) as objects of Fqc(AtL*(X)). The definition proceeds by a transfinite induction on
208
QUANTIFIER-COMPLETE CATEGORIES
[13.4
13.4.1. REMARK.A new phenomenon at the level of predicate and infinitary formulas is the possibility of several distinct formulas representing the same object of a category. Thus for a ( x ) E AtL*(X), for example, S((VSn)a(Sn))= S ( ( V S m ) a ( S m ) ) = A { a x [ T l 1 7 E TL*), S(EISn)a(Sn)) = s ( ( 3 6 m ) a ( ~ m ) = ) V{ax[TI 1 E TL*),
etc. The function S induces an equivalence relation on L*(X) obtained by defining a = P iff S(a)= S(P), and it is easily seen that the resulting equivalence classes correspond to the objects of Fqc(AtL*(X)): L*(X)/= = ObFqc(AtL*(X)). We now define the interpretation S : Der(A*(X))+ ArFqc(AtL*(X)) by transfinite induction and put f = g iff Scf) = S ( g ) . As in Chapters 2-12 above, we do not distinguish notationally between an object of Fqc(AtL*(X)) and a formula or finite sequence of formulas in a sequent representing such an object. This simplifies the notation and the context easily eliminates any ambiguities arising from this practice. The function S satisfies the conditions of its namesake in Section 10.5, together with the following additional clauses:
where F, = {S(ax[~]) I T E TL*}.fX[7] is the derivation obtained from f by the replacement of every occurrence of x in f by T, and (Scfx[.r]))is the arrow obtained from the corresponding sequence by applying aG'. The definition of fX[7] makes sense by virtue of the restriction on variables in Rule (R18).
13.41
THE SEMANTICS O F
Der(A*(X))
209
with Fa having the same meaning as in (1) and nr(V(Fa))being the t-th projection, i.e., the t-th component of the natural transformation A defined in 13.1.17.
with F, having the same meaning as in (1) and .rrT(3(Fa))being the t-th coprojection, i.e., the t -th component of the natural transformation K defined in 13.1.18.
where F, and fX[7] have the same meaning as in (1). The definition of makes sense by virtue of the restriction on variables in Rule (R21). The arrow 6* is the codiagonal of @, i.e., the value under a;’ of the sequence of identities of a, and the arrow 6, is an infinitary analogue of the left distributivity defined in 6.5, i.e., 6, is the value of l ( r A 3(Fa)) under the following string of isomorphisms:
fX[7]
210
[13.4
QUANTIFIER-COMPLETE CATEGORIES
where (S(f(n))) has the same meaning as in (1).
where rnhas the same meaning as in (2). 4-
where r?:has the same meaning as in (3).
f (0) f(1) f( n ) rA(0)A + @, r A ( 1)A + @, . . . , TA(n)A + @, r(V A(n))A + @
...
13.51
T H E SYNTAX OF
Fqc(AtL*(X))
21 1
where a,, [ S C f ( n ) ) ]and , 6* have the same meaning as in (4). The obvious transfinite extension of the proof of Theorem 10.5.1 yields the desired completeness of Der(A*(X)): 13.4.2. THE COMPLETENESS THEOREM FOR Der(A*(X)). For every f E ArFqc(AtL*(X)) there exists a g E Der(A*(X)) such that S ( g ) = f. 0 13.4.3. COROLLARY. The category Fqc(AtL*(X)) is isomorphic t o a subcategory of the sequential category generated b y the deductive system A*(X) and the interpretation S : Der(A*(X))+ ArFqc(AtL*(X)). 0 13.5. The syntax of Fqc(AtL*(X))
We end this chapter by giving a composition-free characterization of the arrows of Fqc(AtL*(X)), outlining a normalization theorem for A*(X), and describing a weak Church-Rosser theorem for finitary derivations. As corollaries, we obtain the decidability of the restriction of the equality relation on ArFqc(AtL*(X)) to finitarily representable arrows, and the fullness and faithfulness of the embedding X-+ Fqc(AtL*(X)). We prove the cut elimination theorem for A*(X) by a transfinite induction along the lines of the proof of Theorem 10.6.1. The proof therefore provides an effective procedure for reducing finitary derivations to cut-free ones. Because of the undecidability of quantificational logic, our methods fail to extend Theorem 10.6.2 to a computability theorem for all finitarily representable arrows of Fqc(AtL*(X)). In order to be able to prove the cut elimination theorem for A*(X), we must extend the definitions of the degree and rank functions of Appendix C to ordinal-valued partial functions on Der(A*(X)). For this purpose, we let Ord stand for the class of all ordinals, and first define the complexity of the formulas of L*(X). 13.5.1. DEFINITION. The degree of a formula a E L*(X) is an ordinal deg(a) determined by the following conditions: (1) If a E AtL*(X), then deg(a) = 0. (2) If a = P A y, P v y , or P y. then deg(a) = sup{deg(P)+ 1, deg(y) + 1).
+
212
QUANTIFIER-COMPLETE CATEGORIES
[13.5
(3) If a = (VS)Pt[S1 or (35)Pt[51, then deg(a) = deg(P(t))+ 1. (4) If a = ( A A(n)) or ( V A(n)), then deg(a) = sup{deg(A(n)) + 1 I n E a). With the help of the degrees of formulas, we now define the degree and rank functions deg, rnk : Der(A*(X))4 Ord relative to a cut-free derivation f, and to an arbitrary derivation g ending with an instance of (Rl), i.e., a derivation of the form
13.5.2. DEFINITION.Let rnk,(g) be the supremum of the lengths of all branches of h ending with r+ @ y q whose elements contain the cut formula y in the succedent, and rnk,(g) be the supremum of the lengths of all branches of k ending with AyA-8 whose elements contain the cut formula y in the antecedent, and let m be the total number of consecutive applications of (R6) at the end of Derivation h, and n be the total number of consecutive applications of (R3) at the end of Derivation k. Then the ordinals degCf), rnkCf), deg(g), and rnk(g) are defined by the following equations: (1) degu) = 0. (2) rnk(f) = 1. (3) deg(g) = deg(y) + 1. (4) rnk(g) = A * p + p, where A = rnkA(g) ( m+ l), and p = rnk,(g) (n + 1).
-
-
23.5.4. REMARK.The factor p in the term A * p in (4) above guarantees that rnk(g) is greater than both rnkA(g)and rnk,(g), even if rnkA(g)is finite and rnk,(g) is infinite. Since this possibility did not arise in the finitary case, it was sufficient, in Appendix C, to define rnk(g) as A + p. Next we define the required extension of the relation > of Appendix C for the proof of the cut elimination algorithm for A*(X). For this purpose, we must first restrict Der(A*(X)) beyond the restrictions imposed in 10.4.2. Again the restrictions are semantically unnecessary, but are required in the cut elimination procedure. A brief reflection on the consequences of these restrictions shows that they do not affect the truth of Theorem 13.4.2.
13.51
THE SYNTAX OF
Fqc(AtL*(X))
213
13.5.5. Terminology. Following Gentzen (cf. SZABO[1969]), we call the free variable x in the active formula a(x) of an instance of (R18) and (R21) the eigenvariable of that instance of (R18) and (R21). 13.5.6. Restriction on eigenvariables. A derivation f belongs to Der(A*(X)) iff all its eigenvariables are distinct. In KLEENE [ 1962, 19721, derivations satisfying the condition of 13.5.6 are called pure variable proofs. Their existence is clear from the restriction on variables in Rules (R18) and (R21), and the fact that every derivation f can be converted to an equivalent pure variable proof by the renaming of free variables follows from the interpretation of Der(A*(X)) in ArFqc(AtL*(X)) and the infinity of the set FV of free variables of L*(X). 13.5.7. Restrictions on (Rl). Two derivations of the form
belong to Der(A*(X)) iff @ = Q = 0. 13.5.8. REMARK.Without Restriction 13.5.6, a reduction of the form
might be illegitimate because of the restriction variables in (R18), and without Restriction 13.5.7, a reduction of the form
f I--+
g
A yA -+ a(x) @ Y V AYA-+ W5)ax[51 > ATA @(V5)ax[61Q -+
r+f aYq
g
A ~ A - + ~ ( X )
A r A + @a(x)Q A r A + @(V6)ax[61Q
214
QUANTIFIER-COMPLETE CATEGORIES
[I33
might be illegitimate because the expression on the right-hand side violates the form of (R18). Its interpretability in Fqc(AtL*(X)) would require the existence in ArFqc(AtL*(X)) of infinitary analogues g , : A (A v A(n))+ A v ( A A(n))
of the distributivity arrows g :(A v B ) A ( A v C ) + A v (B A C) of Fbc(X) described in 5.4. The following counter-example, taken from RASIOWA and SIKORSKI [1970], shows that not even at the level of non-Boolean Heyting algebras can we expect the existence of such arrows: 13.5.9. COUNTER-EXAMPLE. Let X be the space of real numbers with the usual topology, let Open(X) be its associated category of open subsets, and put A = ( - l , O ) U ( O , l ) and A ( ~ I ) = 1( - ~ + ~. , ~ + ~
)‘
Then A U A ( n ) = ( - 1 , l ) for all n E m , and A.,,A(n)=O (since the singleton (0) is not open). Hence A v A A(n) = 0 and A(A v A(n)) = (-1.1). Since 0c (-1, l), we have an arrow A v A A(n)+ A (A v A ( n ) ) , but there is obviously none in the opposite direction. We now augment the relation > of Appendix C. We require twentysix additional reductions, classified again, as in Appendix C, according to the rank of the derivation to be reduced. We simplify the notation by since writing (V5)a[5] and (35)a[5] in place of (V4)aI[5J and (35)a1[51 the term f is always clear from the context, and we write fx[t] for the derivation which results from the derivation f by the replacement of every occurrence of the eigenvariable x in f by the term t. (R18, R19)
> (R18, R2)
(C.47)
13.51
THE SYNTAX OF
Fqc(AtL*(X))
215
(R5, R19)
(C.50) (R20,R2) Dual to (C.49).
(C.5 1)
(R5, R21) Similar to ((2.49).
(C.52)
(R22, R2)
>
A A -0 ~ ArA+ 0 (C.54)
(R5, R23) Similar to (C.49).
(C.55)
(R24, R25) Dual to (C.53).
(C.56)
(R24, R2) Similar to (C.51).
(C.57)
216
QUANTIFIER-COMPLETE CATEGORIES
[13.5
(R5, R25)
r+f
do) s(n) .. AA(O)A+ 0 , .. . ,AA(n)A+ 0,. @( V A(n))V A(vA(n))A+ 0 > AFA+ (PO* (C.58)
(-,R19) Similar to (C.59)
(C.60)
(-,R20) Similar to (C.59).
(C.61)
Similar to (C.60).
((2.62)
(-, R21) (-.R22)
ArA + ( A A(n))'
f
.
I,
g(0) f g(n) AyA+A(O) r+y AyA+A(n) ArA+ A(0) ,. . . , ArA+ A(n) ,. . . ArA+(AA(n))
r+y
>
(C.63)
(-,R23) Similar to (C.60).
(C.64)
(-,R24) Similar to (C.61).
(C.65)
(-,R25) Dual to ((2.63).
(C.66)
(R19,-) Dual to (C.61).
(C.67)
(R20,-) Similar to (C.61).
(C.68)
13.51
THE SYNTAX OF
Fqc(AtL*(X))
217
(R21,-) Similar to (C.60).
(C.69)
(R23, -) Similar to (C.64)
(C.70)
(R24, -) Similar to (C.65).
(C.7 1)
(R25, -) Similar to (C.63).
(C.72)
This concludes the definition of the extension of > required for the proof of the cut elimination theorem for A*(X). The equivalences of the above pairs of derivations under the interpretation of Der(A*(X)) in ArFqc(AtL*(X)) follow easily from considerations analogous to those required for proofs of equivalence of their finitary counter-parts in Der(bcclA(X)). Taken in conjunction with Theorem 13.4.2, a transfinite induction on the ranks and degrees of the derivations of A*(X) ending with instances of (Rl) establishes the desired composition-free describability of ArFqc(AtL*(X)): 13.5.10. THE CUT ELIMINATION THEOREMFOR A*(X). Every f € Der(A*(X)) is equivalent to a cut-free derivation g E Der(A*(X)). 0 13.5.11. REMARK.In Theorem 13.5.10 and in the remainder of this chapter, Der(A*(X)) denotes the class of derivations of A*(X) satisfying the restrictions on derivations imposed in 10.4.2, 13.5.6, and 13.5.7. Finally, we extend the reducibility relation z of Appendix D to a reducibility relation on the set of finitary derivations of A*(X) by specifying the following hierarchy of application of the rules of inference, whenever there exists a proof-theoretical choice:
5 5 13 5 101201 1 2 5 2 1 I1 9 1 1 4 1 3 5 11 5 2 1 4 , 151 1 2 5 2 1 I1 9 1 1 4 1 3 5 11 12114,
18~12121~19~141131115214,
where i 5 j says that Rule (Ri) has priority over Rule (Rj), in the sense of Appendix D. Let 2 be the obvious extension to Der(A*(X)) of its namesake in Appendix D, generated by the prescribed hierarchy of application of the finitary rules of inference of A*(X) and the analogues of Conditions
218
QUANTIFIER-COMPLETE CATEGORIES
[13.5
(D.l-85) for Rules (R18)-(R25), and extend the concept of the normality of derivations of Chapter 10 to Der(A*(X)) in the obvious way. Then an argument similar to that required for the proof of Theorem 10.6.9 shows that the relation L determines an algorithm for normalizing the finitary derivations of A*(X): 13.5.12. THE NORMALIZATION THEOREMFOR A*(X). Every finitary derivation f E Der(A*(X)) reduces to a unique equivalent normal derivation g E Der(A*(X)). 0
The syntactic benefits of Theorems 13.4.2, 13.5.10, and 13.5.12 for Fqc(AtL*(X)) derive from the decision procedure, relative to X, which they entail for the commutativity of all diagrams of Fqc(AtL*(X)) whose vertices are representable by elements of FinL*(X): An argument analogous to that required for the proof of Theorem 10.6.10 established the desired procedure: 13.5.13. THE CHURCH-ROSSER THEOREMFOR A*(X). If f and g are two equivalent finitary derivations of A*(X), then there exist equivalent normal derivations hf, h, € Der(A*(X)) such that f 2 hf, g 2 h,, and hf and h, differ at most in their bound variables. 0 13.5.14. COROLLARY.The embedding X + Fqc(AtL*(X)) defined by
f + If1 is full and faithful.
PROOF.Similar to the proof of Corollary 2.6.6. 0
APPENDIX A
THE LABELLED DEDUCTIVE SYSTEM
d(X)
A . l . The class Lb(&X))
Relative to a fixed, but arbitrary small category X, the class Lb(&X)), whose elements are the labels of the sequents of the language L(X) underlying &X), is defined inductively: ( L b l ) If f € ArX, then f € Lb(&(X)). (Lb2) If A E FL(X) and A E ObX, then 1(A) E Lb(A(X)). (Lb3) If A E FL(X),then A(A), A-'(A),p(A), p - ' ( A ) ,T ( A ) ,and T*(A)E Lb(d(X)). (Lb4) If A, B E FL(X),then a ( A , B ) , m ( A , B),TJA, B ) , %-?(A,B ) , and a*,(A,B )E Lb(&X)). (Lb5) If A, B, C E FL(X), then a ( A , B, C ) and & ' ( A , B , C) E Lb(&X)). (Lb6) If f E Lb(&X)), then so do a ~ ( fand ) ap(f). (Lb7) If f , g E Lb(&XN, then so do comp(f, g ) , f n g , EAU,g ) , and eP(f,g).
(f, g ) , [f, gl, (f, 81,
(Lb8) There are no other labels. A.2. The axioms of &X) The axioms of
d(X) are defined inductively, relative to the category X:
( A l ) If A, B E ObX, and f E X(A, B), then f : A + B is an axiom. (A21 If A E FL(X) and A e ObX, then 1(A): A + A is an axiom.
(A3 ~f
A, B, c E F ~ ( x ) , then a ( ~B,, C ) : A U(B axiom. 219
c)+( A ~ B )cXis an
220
THE LABELLED DEDUCTIVE SYSTEM
d(x)
fA.3
(A4) If A, B, C E Ft(X), then cu-'(A, B, C ) : (Am B) m C + Am (B m C ) is an axiom. (AS) If A, B E FL(X), then a ( A , B ) : A m B + B m A is an axiom. (A6) If A E FL(X), then h(A) :I N A + A is an axiom.
(A7) If A E FL(X), then h-'(A) : A + I m A is an axiom. (A8) If A E FL(X), then p(A) : A m I + A is an axiom.
(As) If A E Ft(X), then p-'(A) : A +
A m 1 is an axiom.
(AlO) If A E Ft(X), then T(A) : A + T is an axiom. ( A l l ) If A E FL(X), then T*(A) : I+ A is an axiom. (A12) If A, B E FL(X), then TA(A,B ) : A
A
B + A is an axiom.
(A13) If A, B E FL(X), then .rr,(A, B) : A
A
B + B is an axiom.
(A14) If A, B E FL(X), then d ( A , B) : A + A v B is an axiom. (Al5) If A, B E FL(X), then TZ(A, B) : B + A v B is an axiom.
(A16) There are no other axioms. A.2.1. REMARK.The restriction in (A2) to formulas A E ObX ensures the required uniqueness of the identity arrows of the categories constructed by means of &X). A.3. The rules of inference of d(X)
(R1)
f:A+B g:B+C comp(g, f ) : A + C
f:A+B g:C+D (R2) f n g : A m C + B m D (R4)
f:A+C
g:B+C [f, g ] : A v B --* C
f:A+B g:C+D (R6) a(f,g ) : A m (B J C ) + D
f:A+B (R3) (R')
g:A+C (f,g):A + B A C
f:AAB+D g:AAC+D ( f , g ) : A A ( B v C)+D f:AmB+C (R7) a ~ ( f B) :+ A J C
A.41
THE CLASS
f:A+B g:C+D (R') E p ( f , g ) : ( A D ) n C + B
+
(Rlo)
22 1
f:AnB+C (R9) a , ( f ) : A + C + B
f:A+B g:C+D g ) :A A ( B C ) + D
+
EA(f,
Der(b(X))
(R")
f:AAB+C a,i(f):B+A+C
A.3.1. REMARK.The use of identical labels in the conclusions of Rules (R6) and (RlO), respectively (R7) and (Rl l), is convenient and harmless since neither pair of rules is required simultaneously in practice. A.4. The class Der(d(X))
Relative to the category X determining the axioms of &X), the class Der(d(X)), whose elements are the derivations of d(X), is defined inductively. As usual, we represent derivations by configurations from which the underlying trees and assignments of values to the nodes are clear.
(Dl) If f E X(A, B ) , then f : A + B E Der(d(X)). (D2) If AE ObX, then 1(A) : A + A E Der(d(X)).
(D3) a ( A , B,C) : A n ( B n C ) + ( A n B)n C E Der(d(X)).
(D4) a - ' ( A ,B, C ) : ( An B ) n C + A n ( B n C) E Der(d(X)). (D5) a ( A , B ) : A n B + B n A E Der(d(X)). (D6) h ( A ) : In A + A E Der(d(X)).
(D7) h - ' ( A ): A + I n A E Der(d(X)). (D8) p ( A ) : A NI+A E Der(&X)).
(D9) p - ' ( A ): A + A n I E Der(d(X)). (DlO) T ( A ): A + T E Der(d(X)). (Dl 1 ) T * ( A ): I+ A E Der(d(X)). (D12) r , i ( A ,B) : A
A
B + A E Der(d(X)).
(D13) r , ( A , B) : A
A
B + B E Der(d(X)).
222
THE LABELLED DEDUCTIVE SYSTEM
(814) vX(A, B ) : A + A v B
i\(x)
E Der(&X)).
(615) wZ(A, B ) : B + A v B E Der(&X)). P
(816) I f f : A< B and g : B+ C E Der(d(X)), then so does P 4 f:A+B g:B+C comp(g, f ) : A+ C
'
4
(617) Iff : A 5 B and g : C+ D E Der(&X)), then so does P 4 f : A + B g:C+D f n g :AnC+ BnD'
4 (018) JI f : A$ B and g : A+ C E Der(&X)), then so does P 4 f : A + B g:A+C (f,g) : A + B A C
*
4
(019) Iff : A 2 C and g : B+ C E Der(&X)), then so does P 4 f : A + C g:B+C [f,g]:AvB+C .
P
4
(620) I f f : A A B+ D and g : A A C+ D E Der(d(X)), then so does 4 f : A A B z D g:AAC+D ' (f,g ) : A A ( B v C ) + D
(D21) I f f : A+P B and
4
g : C+ D E Der(&X)), then so does
P
(622) I f f : A )x B+ C E Der(d(X)), then so does P
f : AnB+C
[A.4
A.41
THE CLASS
P
Der(d(X))
9
(823) If f : A + B and g : C+ D E Der(d(X)), then so does P f:A+B &f, g ) : ( A
4 g:C+D D)n C + B'
P
(D24) If f : A n B+ C E Der(&X)), then so does
f : A n B+P C ap(f) :A+ C B '
+
P 4 (D25) If f : A + B and g : C+ D E Der(d(X)), then so does P 4 f:A+B g:C+D eA(f, g) : A A ( B 3 C ) + D'
(D26) If f : A
A
B Z C E Der(d(X)), then so does P f:AhB+C aA(f): B + A + C '
(827) There are no other derivations of d(X).
223
APPENDIX B
THE UNLABELLED DEDUCTIVE SYSTEM A(X)
B.l. The axioms of A(X)
Relative to a fixed, but arbitrary small category X, the axioms of A(X) are defined inductively: ( A l ) Zf A, B E ObX and X(A, B) is non-empty, then the sequent A + B is an axiom. (A2) The sequent +I is an axiom. (A3) The sequent + T is an axiom. (A4) The sequent l+ is an axiom. (AS) There are no other axioms. B.2. The rules of inference of A(X) B.2.1. Structural rules
B.2.2. Operational rules
B.31
THE CLASS
Der(A(X))
225
B.2.3. REMARK.The restrictions to single formulas in the left, respectively right, premisses in (R14) and (R16) are proof-theoretically unnecessary, but facilitate the categorical interpretation of these rules and make the definition of normality in Appendix D somewhat easier. The corresponding restrictions in (R15) and (R17), however, are required in order to make the system A(X) intuitionistic. B.3. The class Der(A(X))
Relative to the category X determining the axioms of A(X), the class Der(A(X)), whose elements are the derivations of A(X), is defined inductively. As usual, we represent derivations by configurations from which the underlying trees and assignments of values to the nodes are clear.
f
(Dl) If f E X(A, B),then A + B E Der(A(X)). (D2) If a E ObX, then a --+ a E Der(A(X)). (D3)
+ I E Der(A(X)).
(D4)
+ T E Der(A(X)).
(D5) I-,E Der(A(X)). (D6) If
r+f @ y q and A y A s 0 E Der(A(X)), then f
g
AyA+0 AFA-+@09
r+@yq
'
so does
THE UNLABELLED DEDUCTIVE SYSTEM
226
(D7) If
rA+f
Q, E Der(A(X)), then
so does
rA+f
raA+
f
(D8) If raaA+
Q, E
A@)
Q, Q,'
Der(A(X)), then so does
f
raaA+ raA+
Q, Q,'
f
(D9) If rapA --* Q, E Der(A(X)), then so does
f
ra/3A+
rpaA+
(D10) If
Q, Q,'
r+f Q,Q E Der(A(X)), then so does f Q,Q r-+ r+ saw
(D11) If
r+f @aaQE Der(A(X)), then so does r+f OaaQ r+cpao .
(D12) If
r+f QapY EDer(A(X)), then so does f ~WBQ r+ r+ @paw*
(D13) If
f r+a
g
and A+p EDer(A(X)), then so does
f
F+a
g A+p
I'A+crnp (D14) If
rapA+f
Q, E Der(A(X)), then
'
so does
[B.3
THE CLASS Der(A(X))
B.31
r+aaApq
f
(D16) If rapA+ @ E Der(A(X)),then so does
rapA-,f @ raApA+@.'
f
(D17) If raA+ @ and
rpAZ @ E Der(A(X)),then so does f
raA+@ I'pAZ@ ra v P A + @
(D18) If
r+f @apq€Der(A(X)),then so does r+f oapq r+aaVpq\II'
f
g
(D19) If r + a and A p A + @€Der(A(X)),then so does
r +f a A B A Z ~ Ara+pA+@
.
f
(D20) If T a A + p E Der(A(X)),then so does
f
~
f
(D21) If A p A +
and
TaA+ B I'A+a+p'
r+g a E Der(A(X)),then so does f
MA+@
g r-ta
227
228
(D22) If
THE UNLABELLED DEDUCTIVE SYSTEM
rcu+f /3 E Der(A(X)),then so does f r+pecr*
Ta+ 6
(D23) There are no other derivations of A(X).
h(X)
tB.3
APPENDIX C
THE CUT ELIMINATION ALGORITHM
In this appendix, we describe a partial algorithm on Der(A(X)) which proves that for every f E Der(A(X)) which represents an arrow of one of the categories defined in Chapters 2-12, and which contains an instance of the cut rule (Rl), there exists a cut-free derivation g E Der(A(X)) deriving the same sequent. The algorithm is a generalization of the cut elimination process first introduced by Gentzen (cf. SZABO[1969] pp. 88-103). We enunciate the algorithm in terms of the transitive, monotone (i.e., if f > g , and k results from h by the replacement of the subderivation f by g, then h > k) relation > on Der(A(X)) generated by the following conditions: (Al, A l ) For all A, B, C E ObX, all f E X(A, B), and all g E X(B, C),
f
g
A+B B+C >A-C. A+C
comp(g, f )
(C.1)
(Al, R2) For all A, B E ObX, and all f E X(A, B),
f
I'AZ @
A+B I ' B A + @ > I'AZ@ I'AA+@ rAA+@
(C.2.1)
(C.2.2)
(C.2.3) 229
230
(R10, R2)
APPENDIX C
h AA+ 0
(R13, R2)
(R15, R2)
(R17, R2)
(C.7.1)
THE CUT ELIMINATION ALGORITHM
23 1
r+f (C.7.2)
(RS, R l l )
(C.6)
(RS, R12)
(RS, R14)
232
APPENDIX C
(RS, R16) n
r+f QVI
(C.11)
(C. 12)
(R10, R l l )
(C.14)
'THE C U T E L I M I NAT I O N ALGORITHM
233
(R15, R14)
(C.16) (R17, R16)
(C.17)
(C.18.l)
(C. 18.2)
(C. 19.1)
(C.19.2)
234
APPENDIX C
(C .20.3)
(C .20.4)
THE CUT ELIMINATION ALGORITHM
235
236
APPENDIX C
T H E C U T E L I M I NAT I O N ALGORITHM
137
238
APPENDIX C
(C.31.2)
(C.33)
(C.35)
T H E CUT ELIMINATION ALGORITHM
239
(C.37.1)
(C .37.2)
(C .38.2)
ArA+ @OVr
(C.38.3)
240
APPENDIX C
(C.39.3)
(C.39.4)
THE
cur
ELIMINATION AL GOR ITHM
24 1
242
APPENDIX C
A ~ A Zr fjCa ~ ~h ~
g h ApA+ @ y q E y n + 0 Ap+arA+@yq SyrI+@ EApAII+@@V r fj a > ~A~+~~AII-+@WP EA~+~~AII+~CYP (C.46) This completes the description of >. In order to be able to prove inductively that the relation > has the desired algorithmic properties, we require two measures of complexity, called degree and rank, which associate with each cut-free derivation f and each derivation g of the form
r+h
k
A r A + @@q
o
suitable natural numbers. The following two partial functions deg, rnk : Der(A(X))+ w , defined relative to f and g, are adequate for this purpose: (i) degCf) = 0. (ii) deg(g) = deg(y ) + 1. (iii) rnkCf) = 1 . (iv) rnk(g) = mkr(g) ( m + 1) + rnk,(g) (n + 1). (v) deg(y) = the total number of occurrences of the symbols N, A , v, and in y. (vi) rnkA(g)=the length of the longest branch of h ending with r + @ y q whose elements contain the cut formula y in the succedent. We call rnkr(g) the left rank of g. (vii) rnk,(g)= the length of the longest branch of k ending with AyA+ 0 whose elements contain the cut formula y in the antecedent. We call mkp(g) the right rank of g.
-
+,
+
THE
cur
E L I M I N A T I O N ALGORITHM
243
(viii) m = the number of consecutive applications of (R6) with which the derivation h ends. (ix) n = the number of consecutive applications of (R3) with which the derivation k ends. The pairs ( p , q ) in Conditions (C.1-46) are classified in such a way that in (C.1-17), rnk(p) = 2, in (C.18-33), rnk,(p)> 1, and in (C.34-46), rnk,(p)= 1 and r n k A ( p ) >1. An argument by cases shows that an induction on rank proves that > indeed determines the desired algorithm. The induction basis is established by a separate induction on degree. In each case, the instance or instances of (RI) in q has or have either lower rank or lower degree than the instance of ( R l ) in p. Gentzen’s original proof of the cut elimination theorem avoids the difficulties in the induction on rank caused by (R3) and (R6). Rule ( R l ) is replaced by a more general rule, called the mix, in which consecutive applications of (R3) and (R6) are collapsed into a single step. In the present context, this device is not available since the relation > is intended to be stable under various categorical interpretations of Der(A(X)). Hence Gentzen’s notion of rank must be replaced by that of weighted rank which counts the number of applications of (R3) and (R6) with which the premisses of an instance of (Rl) terminate. It is clear that any derivation with several cuts can be reduced to a derivation without cuts by applying the described algorithm to each cut separately from the top of the derivation down.
APPENDIX D
THE NORMALIZATION ALGORITHM
In this appendix, we extend the relation > of Appendix C to a global reducibility relation L which determines the choice and order of application of Rules (R2)-(R17) in cases of syntactic ambiguity. The relation L is defined on three subclasses of Der(A(X)) whose elements represent the arrows of (a) non-Cartesian, non-symmetric, (b) nonCartesian, symmetric, and (c) Cartesian categories, respectively. The adopted priorities may be summarized as follows: (a)
(R8) 5 (R14) 5 (R9) 5 (R2), (R15) I(R14) I(R9) I(R2), (R17) I(R14) I(R9) I(R2).
(b)
(R8) I(R14) I(R9) I(R2) I(R4), (R15) I(R14) I(R9) I(R2) I(R4).
(c) (R5) 5 (R13) 5 (R10) I(R12) 5 (R14) I(R3) I( R l l ) 5 (R2) 5 (R4), (R15) I(R12) I(R14) I(R3) 5 (R11) I(R2) I(R4), where I is transitive, and (Ri)<(Rj) indicates that (Ri) takes precedence over (Rj) whenever there exists a choice in their order of application. An argument by cases shows that the selected priorities are compatible. Specifically, the relation 2 is the smallest monotone partial ordering on Der(A(X)) containing > and satisfying the following further conditions:
(R2-R2) f
I
244
T H E N O R M A L I Z A T I O N AI.GOR1THM
245
(R2-R3)
(D.2.1)
(D.2.2) h TaA+ @ (D.2.3)
(D.2.4)
(R2-R4)
(D.3.1)
(D.3.2)
(D.3.3)
(D.3.4)
246
APPENDIX D
(R2-R5
(R2-R8)
(D.5.1)
(D.5.2) (R2-R9)
(D.6.1)
(D.6.2) (R2-R 1 0)
T H E NORMAL.IZATION AI-GORITHM
247
(R2-Rll)
(D.8.1)
(R2-R 12)
(R2-R 13)
(D. 10)
248
APPENDIX D
(D.12.1)
(D. 12.2) (R2-R 16)
(D.13.1)
(D.13.2)
(R2-R 17)
(D.14.1)
provided that in (D.14.2),I is the only atomic subformula of a.
T H E NORMALIZATION ALGORITHM
249
(D.15.2) where n L 3, A = ( Y I . * an, ai = a ( 1 5 i 5 n ) , and (a)and ( 7 ) denote n - 1 instances of (R3), with ai active before aj in ( 7 ) if i < j.
(D.16.1)
(D.16.2)
(D.16.3) (R3-R5)
(R3-R10)
250
APPENDIX D
(R3-Rll)
(D. 19.1)
(D. 19.2)
(D. 19.3)
(R3-R 12)
25 1
T H E N O R M A L I Z A T I O N ALGORIT HM
(R3-R14)
(D.22.1)
(D.22.2)
(D.22.3)
(R3-Rl5)
(D.23.1)
(D.23.2) (R4-R4) For any permutation r of the integers 1 , . successions (cr) and ( 7 ) of instances of (R4),
r +f @
A+@
. . , n , and
any
(D.24.1)
provided that T = a1 * * an,A = PI * . . p., pi = aa(i)for 1 5 i 5 n, and ( 7 ) is the unique string of interchanges which first moves a,,(~) to PI, then a,(~)to 0 2 , etc. If r is the identity permutation, the right-hand side denotes f.
252
APPENDIX D
If I is the only atomic subformula of a,or if a = T, then
and
where g and k are the unique cut-free derivations obtained by applying the cut elimination algorithm of Appendix C to the derivations
where m is the derivation of -+ (Y described in 8.6.2, 9.6.2, and 10.6.4, and where ((T)involves no instances of (Rl) and (R4), and contains at most instances of (R8) or (R10) whose premisses have empty antecedents, and at most instances of (R14) whose left premisses have empty antecedents.
(R4-RS)
(D.25) (R4-R8)
(D.26.1)
(D.26.2)
T H E NORMALIZATION ALGORITHM
253
(R4-R9)
(D.27.1)
( D. 27.2)
(D.27.3)
(D.27.4)
(R4-RlO)
(R4-Rll)
(D.29.1)
254
APPENDIX D
(D.29.2)
(D.29.3)
(D.29.4)
(R4-R12)
(R4-R13)
(D.31)
T H E NORMALIZATION ALGORITHM
255
(D.32.4)
(D.32.5) (R4R15) (D.33.1)
(D.33.2)
(D.33.3)
256
APPENDlX D
(D.33.4) (R5-R5)
(D.34)
(R5-Rl0)
(D.35.2)
(D.35.3)
(D.35.4)
(D.35.5)
T H E NORMALIZATION ALGORITHM
257
(D.35.9)
258
APPENDIX D
(R5-R 1 1 )
(D.36)
(R5-RI2)
(R5-Rl3)
(D.38.1)
(D.38.2) (R5-RI4)
(D.39)
T H E NORMALIZATION ALGORITHM
259
(D.40.1)
n
(D.40.2)
(R8-R 14)
(R8-R 16)
(R9-R9)
(D.43)
260
APPENDIX D
(R9-R 14)
(R9-R 15)
(D.45.1)
(R9-R 16)
T H E NORMALIZATION ALGORIT HM
26 I
(R9-R 17)
(D.47) (R 10-R 10) c
262
APPENDIX D
(D.51.2)
(R 10-R 14)
(D.52)
(R1I-R11)
(D.53) (R11-R12)
T H E NORMALIZATION ALGORITHM
263
(R11-RI3)
(D.55) (Rll-R14)
(R11-Rl5)
264
APPENDIX D
(D.57.2)
THE NORMALIZATION ALGORITHM
265
266
APPENDIX D
(R14-R 15)
(D.65.3)
(D.65.4)
(D.65.5)
T H E NORMALIZATION ALGORITHM
-2
261
(D.65.7)
(R14-R 16)
(R14-R17)
(D.67) (R15-R 16)
268
APPENDIX D
(R16-R 16)
(R 16-R 17)
(D.70) (R2-R2-R 10)
(R2-R2-R 12)
I'HE N O K M A I I 7 A T I O N A I . ( i O R I T H M
(R2-R3-R 10)
(R2-R3-R 12)
269
270
(R2-R4-R 10)
(R2-R4-R 12)
APPENDIX D
T H E NORMALIZATION ALGORITH M
27 I
(D.76.9)
(D.76.10)
(D.76.I I )
(D.76.12)
(D.76.13)
(D.76.14)
(D.76.15)
(D.76.16)
THE NOKMAI 1 / 4 1 1 0 N
(R3-R3-R 10)
(R3-R3-R 12)
A I CnOKIIHM
273
214
APPENDIX D
(R4-R4-R 12)
n
r S y A a v PA-+ @
(D.80.
(D.81.1)
(D.8 1.2)
T H E NORMALIZATION ALGORITHM
rrAajph+ rra 3 P A A + r a 4 rra+pA+
Tct+PA-f2 If a
= p, and
ra+$A+
if I is the only atomic subformula of a,or if a
275
(D.81.3)
= T, then (D.81.4)
t
(D.82.2)
-
P
(D.82.4)
(R8) If I is the only atomic subformula of a and /? and of the terms of r and A, then r m n +a &(,) r+a A+P, - + a n p (D.83) TA+auP rA+anP
276
APPENDIX D
with r, s, and (a)involving at most instances of (R8), resp. (R14), whose premisses, resp. left premisses, have empty antecedents, as described in Lemma 8.6.2.
(R14) If I is the only atomic subformula of a and p and of the terms of A, and A, then
r,
(D.84) with r, s,(a), and (7) involving at most instances of (R8), resp. (R14), whose premisses, resp. left premisses, have empty antecedents, as described in Lemma 8.6.2.
(R15) If I is the only subformula of a,or if a =T, then
(D.85) where g is the unique cut-free derivation obtained by applying the cut elimination algorithm of Appendix C to the derivation
where h is the derivation of + a described in 8.6.2,9.6.2,and 10.6.4, and where (a)involves no instances of (Rl) and (R4), and contains at most instances of (R8) or (R10) whose premisses have empty antecedents, and at most instances of (R14) whose left premisses have empty antecedents. This completes the description of the global defining conditions of 2 . All additional local requirements ensuring the uniqueness of representation of unique arrows are listed in the main body of the text. The effectiveness of 2 requires that the semantic condition in (D.12.3), (D.12.4), (D.24.2), (D.81.4). and (D.85) is given a syntactic
T H E NORMALIZATION ALGORITHM
277
characterization. Corollaries 4.6.3, 5.6.6, 6.6.6, and Lemmas 9.6.3 and 10.6.2 achieve this purpose. We define a derivation f to be normal if it is cut-free and if f 2 g implies that f = g . We say that f reduces to g if there exists a finite sequence ( f l , . . . f n > of derivations of A(X) such that f = f l , fn = g, and f l 2 f z 2 . . . 2 fn, and say that f reduces immediately to g , written as f % g , if f = g or if f 2 g by virtue of precisely one of the defining conditions of 2 . An argument by cases shows that if f % g and f % h, then there exists a derivation p such that g 8 p and h ~ p and , an induction on n + m extends this result to show that if f % f l % . . . % fn and f % g l % . * * + gm, there exists a derivation q with the property that fn 2 q and gm 2 q. Hence any derivation fEDer(A(X)) reduces to at most one normal derivation g . Since the relation > is contained in 2 , every fEDer(A(X)) which represents an arrow of one of the categories constructed in Chapters 2-12, reduces to a cut-free derivation g , and an induction on the number of violations of Conditions (D.l-85) in g shows that f reduces to a normal, and hence unique normal, derivation h. The relation 2 thus defines an algorithm for normalizing any f E Der(A(X)) belonging to one of the subclasses Der(xA(X)) of Der(A(X)) mentioned at the beginning of this appendix. Let = be the equivalence relation on Der(A(X)) generated by 2 . Then an induction on the length of the proof that f - g shows that for all f, g E Der(A(X)) representing an arrow of one of the categories constructed in Chapters 2-12, there exists a derivation h such that f 2 h and g 2 h. This property is called the Church-Rosser property of 2 . The proofs of the normalization theorems for the various subsystems xA(X) of A(X) in the main body of the text consist of the appropriate verifications that the relation z Xis contained in where = x is the equivalence relation on Der(xA(X)) induced by the interpretation S : Der(xA(X))+ ArFx(X), and where Z x is the reducibility relation on Der(xA(X)) generated by the local refinement of the restriction of 2 to Der(xA(X)). The proofs of the Church-Rosser theorems for the various subsystems xA(X) of A(X) in the body of the text, on the other hand, consist of the appropriate verifications that distinct normal derivations f and g of a sequent r + @represent distinct arrows of Fx(X), i.e., that f = * g iff f - x g , where z Xis the equivalence relation on Der(xA(X)) generated by zx.
BIBLIOGRAPHY ABBOTT,J. C. [1%9] Sets. Lattices, and Boolean Algebras (Allyn and Bacon, Boston). AMBROSE,W. [I9451 Structure theorems for a special class of Banach algebras, Transactions of the American Mathematical Society 57. 364-386. ARENS,R. [I9511 The adjoint of a bilinear operator, Proceedings of the American Mathematical Society 2, 839-848. BARENDREGT,H. P. [I9711 Some extensional term models for combinatory logics and A-calculi, Ph.D. thesis. Utrecht. BARR, M. [ 19731 The point of the empty set, Cahiers de Topologie et Giomitrie Diferentielle 13, 357-368. BARWISE,J. (editor) [1%8] The Syntax and Semantics of Infinitary Languages, Lecture Notes in Mathematics, Volume 72 (Springer, Berlin). BENABOU,J. [ 19631 Cattgories avec multiplication, Comptes Rendus Hebdomadaires des Siances de I'Acadimie des Sciences de Paris, Sirie A 256, 1887-1890. [ 19641 Algitbre tltmentaire dans les cattgories avec multiplication, Comptes Rendus Hebdomadaires des Siances de I'Acadimie des Sciences de Paris, Sirie A 258, 771-774. [ 1%5] Categories relatives, Comptes Rendus Hebdomadaires des Siances de 1'Acadkmie des Sciences de Paris, Sirie A 260, 3824-3827. BIRKHOFF,G. [ 19671 Lattice Theory (American Mathematical Society, Providence, Rhode Island). BOURBAKI, N. [ 19481 Algibre Multiliniaire (Hermann, Paris). CHURCH,A. [I9401 A formulation of the simple theory of types, Journal of Symbolic Logic 5, 56-68. [ 19411 The Calculi of lambda Conversion (Princeton University Press, Princeton, N. J.). [ 19561 Introduction of Mathematical Logic (Princeton University Press, Princeton, N. J.). 278
BIBLIOGRAPHY
279
COYLE, D. [I9741 Gentzen systems with negation and Craig factorization in the associated categories, M.Sc. thesis, Sir George Williams, Montreal. CRAIG,W. [1957a] Linear reasoning. A new form of the Herbrand-Gentzen theorem, Journal of Symbolic Logic 22, 250-268. [1957b] Three uses of the Herbrand-Gentzen theorem in relating model theory and proof theory, Journal of Symbolic Logic 22, 269-285. CROSSLEY,J. N. and DUMMETT,M. A. E. (editors) [ 19651 Formal Systems and Recursive Functions (North-Holland, Amsterdam). CURRY,H. B. [1952a] On the definition of negation by a fixed proposition in inferential calculus, Journal o f Symbolic Logic 17, 98-104. [ 1952bI The permutability of rules in the classical inferential calculus, Journal of Symbolic Logic 17, 245-248. [ 19571 A Theory of Formal Deducibility (Notre Dame University Press, Notre Dame, Indiana). [1%3] Foundations of Mathematical Logic (McGraw-Hill, New York). CURRY,H. B. and FEYS,R. [ 19581 Combinatory Logic, Volume I (North-Holland, Amsterdam). CURRY,H. B., HINDLEY,J. R. and SELDIN,J. P. [ 19721 Combinatory Logic, Volume I1 (North-Holland, Amsterdam). DAIGNEAULT, A. (editor) [ 19741 Studies in Algebraic Logic (The Mathematical Association of America, Washington, D. C.) DIACONESCU,R. [I9731 Change of base for some toposes, Ph.D. thesis, Dalhousie, Halifax. EILENBERG, S., HARRISON,D. K., MACLANE,S. and ROHRL. H. (editors) [1%6] Proceedings of the Conference on Categorical Algebra, La Jolla f%5 (Springer, New York). EILENBERG,S. and KELLY, G. M. [1966a] Closed categories, in: EILENBERGet al. [I9661 pp. 421-562. [1966b] A generalization of the functorial calculus, Journal of Algebra 3, 366-375. FEFERMAN,S. [1%8] Lectures on proof theory, in: LOB [I9681 pp. 1-107. [1%9] Set-theoretical foundations of category theory, in: MACLANE[1%9] pp. 201247. FENSTAD,J. (editor) [19711 Proceedings of the Second Scandinavian Logic Colloquium (North-Holland, Amsterdam). FITTING, M. C. [1%9] Intuitionist Logic, Model Theory and Forcing (North-Holland, Amsterdam). FOURMAN, M. P. [1974] Connections between category theory and logic, D.Phi1. thesis, Oxford. FREYD, P. 119721 Aspects of topoi, Bulletin of the Australian Mathematical Society 7, 1-76.
280
BIBLIOGRAPHY
GANDY,R. 0. and YATES, C. M. E. (editors) [ 197 I ] Logic Colloquium ’69 (North-Holland, Amsterdam). GRATZER,G. [ 19711 Lattice Theory (Freeman, San Francisco). HERRLICH,H. and STRECKER,G. E. [I9731 Category Theory (Allyn and Bacon, Boston). HILTON,P. (editor) [1969a] Category Theory, Homology Theory and their Applications I, Lecture Notes in Mathematics, Volume 86 (Springer, Berlin). [1969b] Category Theory, Homology Theory and their Applications 11, Lecture Notes in Mathematics, Volume 92 (Springer, Berlin). HOWARD,W. A. [ 19691 The formulae-as-types notion of construction, Manuscript. KELLY, G. M. [ 19641 On MacLane’s conditions for coherence of natural associativities, commutativities, etc., Journal of Algebra 1, 397-402. KELLY,G. M. and MACLANE,S. 119711 Coherence in closed categories, Journal of Pure and Applied Algebra 1, 97-140. KINO, A., MYHILL,J. and VESLEY, R. E. (editors) 119701 Intuitionism and Proof Theory (North-Holland, Amsterdam). KLEENE, S. C. 119521 Permutability 3f inferences in Gentzen’s calculi LK and W ,Memoirs of the American Mathematical Society 10, 1-26. [ 19621 Introduction to Metamathematics (North-Holland, Amsterdam). [1972] Mathematical Logic (Wiley, New York). KOCK, A. and WRAITH,G. C. [ 19711 Elementary Toposes, Lecture Notes Series, Volume 30 (Aarhus Universitet, Aarhus). KREISEL, G. [I9651 Mathematical logic, in: SAATY119651 pp. 95-195. 119681 A survey of proof theory I, Journal of Symbolic Logic 33, 321-388. [I9711 A survey of proof theory 11, in: FENSTAD [1971] pp. 109-170. KRIPKE,S. 119651 Semantical analysis of intuitionist logic I, in: CROSSLEYand DUMMETT119651 pp. 92-130. LAMBEK,J . [1%1] On the calculus of syntactic types, Proceedings of the American Mathematical Society 12, 166-178. [ 19661 Lectures on Rings and Modules (Blaisdell, Waltham, Mass.). [ 19681 Deductive systems and categories I, Mathematical Systems Theory 2, 287-318. [1969] Deductive systems and categories 11, in: HILTON [1%9a] pp. 76-122. [I9721 Deductive systems and categories 111, in: LAWVERE119721 pp. 57-82. [ 19741 Functional completeness of Cartesian categories, Annals of Mathematical Logic 6, 259-292.
BIBLIOGRAPHY
28 1
LAMBEK,J. and RATTRAY,B. A. [ 19751 Localization and sheaf reflectors, Transactions of the American Mathematical Society 210, 279-293. LANG,S. [ 19651 Algebra (Addison-Wesley, Reading, Mass.). LAPLAZA,M. [I9721 Coherence for distributivity, in: MACLANE[I9721 pp. 29-65. LAUCHLI, H. [I9701 An abstract notion of realizability for which intuitionist predicate logic is complete, in: KINO et al. [I9701 pp. 227-234. LAWVERE, F. W. [1%9a] Diagonal arguments and Cartesian closed categories, in: HILTON [1969a1 pp. 134- 145. [ 1969bI Adjointness in foundations, Dialectica 23, 281-296. [1970al Equality in hyperdoctrines and comprehension schema as an adjoint functor, Proceedings of Symposia in Pure Mathematics 17, 1-14. [ 19701 Quantifiers and sheaves, Actes du Congres International des MathCmaticiens, tome 1, pp. 329-334. [ 19721 (editor) Toposes, Algebraic Geometry and Logic, Lecture Notes in Mathematics, Volume 274 (Springer, Berlin). [ 19731 Metric spaces, closed categories and generalized logic, Rendiconti Seminario Matematico e Fisico di Milano 43, to appear. [I9751 Continuously variable sets: algebraic geometry = geometric logic, in: ROSE and SHEPHERDSON [I9751 pp. 135-156. LAWVERE,F. W., MAURER.C. and WRAITH,G. C. (editors) [I9751 Model theory and Topoi, Lecture Notes in Mathematics, Volume 445 (Springer, Berlin). LEBLANC,H. and THOMASON,R. H. [ 19661 The demarcation line between intuitionistic logic and classical logic, Zeitschrift fur mathematische Logik und Grundlagen der Mathematik 12, 257-262. LINTON,F. E. J. [I9651 Autonomous categories and duality of functors, Journal of Algebra 2, 315-349. LOB, M. H. (editor) [I9681 Proceedings of the Summer School in Logic, Lecture Notes in Mathematics, Volume 70 (Springer, Berlin). LORENZEN,P. [ 19511 Algebraische und logistische Untersuchungen uber freie Verbande, Journal of Symbolic Logic 16, 81-106. MACLANE,S. [ 1%3] Natural associativity and commutativity, Rice Unioersity Studies 49, 28-46. [ 19671 Homology (Springer, Berlin). [I9691 (editor) Reports of the Midwest Category Seminar III, Lecture Notes in Mathematics, Volume 106 (Springer, Berlin). [ I 9 7 1 1 Categories for the Working Mathematician (Springer, Berlin).
282
BIBLIOGRAPHY
[ 19721 (editor) Coherence in Categories, Lecture Notes in Mathematics, Volume 281
(Springer, Berlin). . [I9751 Sets, topoi, and internal logic in categories, in: ROSE and SHEPHERDSON [I9751 pp. 119-134. MACLANE,S. and BIRKHOFF,G. [I9671 Algebra (Macmillan, New York). MA", C. [ 19731 Connections between proof theory and category theory, D.Phil. thesis, Oxford. [ 19741 Equivalence of deductions in proof theory and free Cartesian closed categories, Journal of Symbolic Logic 39, 380. [ 19751 The connections between equivalence of proofs and Cartesian closed categories, Proceedings of the London Mathematical Society, Series 3 31, 289-310. MA R TI N- L~ FP., 119751 An intuitionist theory of types, in: ROSE and SHEPHERDSON[I9751 pp. 73-1 18. MINC,G. E. [I9771 Closed categories and the theory of proofs, 3 a n a c ~ aHaywibix ceMmapoB JIOMM, 68.
PARE, R. C. 119741 Colimits in topoi, Bulletin of the American Mathematical Society SO, 556-561. PRAWITZ,D. [ 19651 Natural Deduction (Almqvist & Wiksell, Stockholm). [I9711 Ideas and results in proof theory, in: FENSTAD [I9711 pp. 235-307. PRAWITZ,D. and MALMNAS,P.-E. [ 19681 A survey of some connections between classical, intuitionistic, and minimal logic, in: SCHMIDTet al. [I9681 pp. 215-229. RASIOWA,H. and SIKORSKI,R. 119701 The Mathematics of Metamathematics (Polish Scientific Publishers, Warsaw). REYES, G. [I9741 From sheaves to logic, in: DAIGNEAULT[ 19741 pp. 143-204. ROSE, H. E. and SHEPHERDSON,J. C. (editors) [ 19751 Logic Colloquium '73 (North-Holland, Amsterdam). ROSEN, B. K. 19731 Tree-manipulating systems and Church-Rosser theorems, Journal o f the A s sociation f o r Computing Machinery 20, 160-187. ROSENBLOOM,P. 119501 The Elements o f Mathematical Logic (Dover, New York). ROSSER, J. B. [I9351 A mathematical logic without variables, Annals of Mathematics 36, 127-150. [19421 New sets of postulates for combinatory logics, Journal of Symbolic Logic 7 , 18-27.
SAATY,T. L. [I9651 Lectures on Modern Mathematics, Volume I11 (Wiley, New York). SCHMIDT,H. A., SCHUTTE, K. and THIELE, HA.(editors) [I9681 Contributions to Mathematical Logic (North-Holland, Amsterdam).
BIBLIOGRAPHY
283
SCHONFINKEL, M. [ 19241 Uber die Bausteine der mathematischen Logik, Mathematische Annalen 92, 305-316. English translation in: VAN HEIJENOORT[ 19671 pp. 355-366. SCHULTE-MONTING, J. [ 19731 Die algebraische Bedeutung der Schnittelimination nebst Anwendung auf Wortprobleme, Dr. rer. nat. thesis, Tubingen. SCHUTTE,K. [ 1%8a] Vollstiindige Systeme modaler und intuitionistischer Logik (Springer, Berlin). [1968b] Zur Semantik der intuitionistischen Aussagenlogik, in: SCHMIDT et al. [ 19681 pp. 231-235. SCOTT,D. [ 19701 The Lattice of Flow Diagrams (Oxford University Computing Laboratory, Oxford). [1972] Continuous lattices, in: LAWVERE [1972] pp. 97-136. SEEBACH, J., JR., SEEBACH, L. A. and STEEN.L. A. [I9701 What is a sheaf? The American Mathematical Monthly 77,681-703. SHOENFIELD, J. R. [ 19671 Mathematical Logic (Addison-Wesley, Reading, Mass.). SMULLYAN, R. M. [1%1] Theory of Formal Systems, Annals of Mathematics Studies, Volume 47 (Princeton University Press, Princeton, N.J.). [ 19681 First-order Logic (Springer, Berlin). STEENKOD, N. E. [ 19671 A convenient category of topological spaces, Michigan Mathematical Journal 14, 133-152. SWAN,R. G. [1%4] The Theory of Sheaves (The University of Chicago Press, Chicago). SZABO,M. E. [1%9] (editor) The Collected Papers of Gerhard Gentzen (North-Holland, Amsterdam). [I9701 Proof-theoretical investigations in categorical algebra, Ph.D. thesis, McGill, Montreal. [I9711 Gentzen methods applied to category theory I: free symmetric monoidal closed categories, Journal of Symbolic Logic 36, 705. [I9721 Gentzen methods applied to category theory 11: Free Cartesian closed multicategories, Journal of Symbolic Logic 37,434. [1973] Multinomial coefficients in closed categories, Notices of the American Mathematical Society 73T,A 190. [1974a] A categorical equivalence of proofs, Nofre Dame Journal of Formal Logic 15, 177- 191. [ 1974bI A categorical characterization of Boolean algebras, Algebra Universalis 4, 192-194. [ 1974~1Classically, rational simplicity = simple rationality, categorically, International Congress of Mathematicians, Vancouver. [ 19741 Normalization in quantifier-complete categories, Notices of the American Mathematical Society 711-02-28, A25.
284
BIBLIOGRAPHY
[ 1975aI Polycategories, Communications in Algebra 3, 663-689. [ 1975bl A counter-example to coherence in Cartesian closed categories, Canadian Mathematical Bulleth 18, 111-1 14. [1976a] Quantifier-complete categories, Journal of Pure and Applied Algebra 7, 97-1 14.
[1976b] An addendum to my paper “A categorical equivalence of proofs”, Notre Dame Journal of Formal Logic 17, 78. [I9771 The logic of closed categories, Notre Dame Journal of Formal Logic 18, 441-457. TAIT, W. W. [1%8] Normal derivability in classical logic, in: BARWISE [1%8] pp. 204-236. TAYLOR,A. E. [1958] Functional Analysis (Wiley, New York). VOLGER,H. [I9711 Logical categories, Ph.D. thesis, Dalhousie, Halifax. [1975a] Completeness theorem for logical categories, in: LAWVEREet al. [I9751 pp. 5 1-86. [1975b] Logical categories, semantical categories and topoi, in: LAWVEREet al. [I9751 pp. 87-100. VOREADOU [1972] A coherence theorem for closed categories, Ph.D. thesis, Chicago. 119741 Some remarks on the subject of coherence, Cahiers de Topologie et Gbmetrie Differentielle 15, 399-417. [ 19751 Non-commutative diagrams in closed categories, Manuscript. [ 19771 Coherence and non-commutative diagrams in closed categories Memoirs of the American Mathematical Society 9, Number 182. WRAITH,G. C. [I9751 Lectures on elementary topoi, in: LAWVEREet al. [1975] pp. 14-206.
INDEX OF SYMBOLS
286
INDEX OF SYMBOLS
Axioms
17, 19, 24, 33,41,55,72,95, 108, 130, 152, 167, 181, 219 (A2) 17, 19, 24, 33,41, 55.72.95, 108, 130, 152, 167, 181, 206. 219 ( i 3 ) 17, 19, 24, 33, 9.5, 108, 167, 181, 219 (A4) 17, 19, 24, 33, 95, 108, 167, 181, 220 ( i 5 ) 17, 19, 33, 108, 220 (A6) 17, 19, 24, 33,95, 108, 181, 220 ( i 7 ) 17, 19, 24, 33, 95, 108, 181, 220 (A8) 17, 19, 24, 33, 95, 108, 181, 220 (h) 17, 19, 24, 33, 95, 108, 181, 220 (i10) 17, 19.41, 55.72, 130, 152, 206,219 (A1 I ) 17, 19, 5 5 , 72, 152, 206, 220 (A12) 17, 19, 41, 5 5 , 72, 130, 152, 206, 220 (i13) 17, 19, 41, 5 5 , 72, 130, 152, 206, 220 (i.14) 17, 19, 5 5 , 72. 152, 206, 220 ( i 1 5 ) 17, 19, 5 5 , 72, 152, 206, 220 ( i 1 7 ) 19, 207 ( i 1 8 ) 19, 207 (Al) 17, 19.26, 33,43,60,73, 96, 109, 131, 153, 168, 182, 204, 225 (A21 17, 19, 20, 26, 33, 96, 109, 182, 224 (A3) 17, 19,20,43,60,67,73,86, 131, 1.53, 159, 204, 224 (A4) 17, 19, 20, 60, 67, 73, 86, 153. 160, 204,224 (C1) 4 (C2) .5 (C3) 5 (F1) 6 (F2) 6 (F3) 6 (F4) 6 (F5) 15 (MI) 21, 164 (M2) 21, 164 (M3) 22, 164 (M4) 31 (M5) 31 (M6) 31 (il)
Categories P 6
7 Funct(C,D) 7 hom(P,Q) 7 P P 7 Cat 8, 23, 71, 72 CxD 8 Ens 8, 23, 66,71, 92, 93, 190, 197 Mon 11 prOrd I 1 Ens, 23, 71, 93, 129 Fm(X) 23 mCat 23 RMOdR 23, 32, 94, 107, 108, 164, 179 Fsm(X) 32 KMod 32 ModK 32 smCat 32 cCat 40 Fc(X) 40 bcCat 55 Fbc(X) 55 comRng 66 Ab 71,92 dbcCat 71 Fdbc(X) 71 L 92 Fmcl(X) 94 kTop 94, 202 mclcat 94 Fsmcl(X) 108 smclCat 108 V 116 B 119 cclCat 129 Fccl(X) 129 Funct(CoP,Ens) 129, 189, 199 H 149, 196 bcclCat 152 E 152, 189 Fbccl(X) 152 2’ 165, 180 cop
INDEX OF SYMBOLS
Fr(X) 166 rCat 166 Frnbcl(X) 181 rnbclCat 181 I 191. 192, 200, 203 Sub(A) 195 E(A,R) 196 Sh(C) 197. 199 Open(X) 197, 214 Funct(1, C ) 200 w 201 qcCat 206 Fqc(X) 207 Fqc(AtL*(X)) 207 Classes ObC 4 Arc 4 ArCx.,, Arc 4 C(A,B) 5 [ABI 5 0 (empty class) 5 I*} (singleton class) 5 horn(P,Q) 7 Funct(C,D) 7 Nat(C(A, -), F) 9, 129 w (finite ordinals) 12 A r c Xc,.v)ArC 12 ArCx,,,ArC 12 TL' 15,202 L*(X) 15, 204 L(X) 16, 20 FL(X) 16, 20 SeqdX) 16 LbSeq,(X) 16, 17 Lb(i\(X)) 17 N 17 N* 18 B: 18 Der(d(X)) 19,221 Der(A(X)) 19, 20, 243, 244 M(FL(X,, 20 Der(mA(X)) 23
Der(rnA(X)) 26 Der(sm&X)) 33 Der(srnA(X)) 34 Der(cd(X)) 41 Der(cA(X)) 44 Der(bc&X)) 55 Der(bcA(X)) 60 Der(dbci\(X)) 72 Der(dbcA(X)) 74 Der(rncli\(X)) 95 Der(mclA(X)) 97 Der(srnclA(X)) 108 Der(smdA(X)) 109 Der(ccl&X)) 130 Der(cclA(X)) 132 L(T) 135, 159 Der(bccl&X)) 153 Der(bcclA(X)) 157. 217 L(1) 159 Der(r&X)) 167 Der(rA(X)) 169 Der(mbcl&X)) 181 Der(rnbclA(X)) 183 Mon(A) 194 Sub(A) 194 E(A,R) 195, 196 Cov(A) 198 BV 202 EQ 202 FL.(X) 202-204 F " 202 F V 202, 213 IC 202 L*(X) 202-204 Ro 202 R" 202 sc 202 SeqL*(X) 202 UQ 202 AtFL.(X) 203 Fin FL*(X) 203 FL*(X) 203-204 FinL*(X) 204, 218 Seq,*(X) 204 Der(A*(X)) 206, 207, 211-213, 217
287
288
INDEX OF SYMBOLS
Der(h*(X)) 207 Ord 211 Lb(&X)) 219 Der(A(X)) 221 Der(A(X)) 225,229 Deductive systems
&X) 17, 19, 219-223 A(X) 17, 19, 22&228 m&X) 24 mA(X) 26 sm&X) 33 smA(X) 33-34 cA(X) 41 cA(X) 43,57 bc&X) 55 bcA(X) 57.60 dbc&X) 71-72 dbcA(X) 73-74 mcI&x) 95 mclA(X) 96-97 smcl&X) 108 smclA(X) 109 ccl&X) 130 cclA(X) 131 bccli\(X) 152 bcclA(X) 153-154, 156, 204 r&X) 166-167 rA(X) 168-169 mbclb(X) 181 mbclA(X) 182 6*(X) 206-207 Formulas
Functions dom 4 , 5 cod 4 , 5 comp 4, 5 F. 6 Fa 6 Y 9 subst 12 subst(p, u ) 13 T 18, 205 f, 18-19, 205-206 S(m) 26-27
(i) (binomial coefficient)
30, 118, 127,
177, 187 S(sm) 26-27, 34 n ! (factorial) 39, 52, 121, 127 S(c) 44-45 S(bc) 44-45,61 S(dbc) 44-45, 61, 76-77 S(mcl) 26-27, 98 S(smc1) 26-27, 98, 109-110 N ( p , q ) 117, 121, 173, 176, 177, 186, 187 r 121 Il(C,D)lI 127, 177, 187 S(ccl) 44-45, 132-133 S(bccl) 44-45, 61, 76-77, 132-133 S(r) 26-27,98, 170-171 S(mbcl) 26-27, 98, 170-171 k 103 con 195 dis 195 f 195 imp 195 t 195 S(L*(X)) 208
INDEX O F SYMBOLS
s ( q c ) 4 4 4 5 , 61, 76-77, 132-133, 208-211 deg 21 I , 212, 242 rnk 211, 212, 242 rnk, 212, 242 rnk, 212, 242 Functors
Const B 6
C(A,-) 8 C(-. A ) 8
F (pre-order) 11 M (monoid) I 1 F (free object) 12 U (forgetful) 12 (-)N(-) 21, 163 Um 23 Fm 23-25 Fm(H) 25 I-1 (m) 29 Usm 32 Fsm 32-33 Fsm(H) 33 U-1 (sm) 38 (-) A (-) 40 Uc 41 Fc 41-43 F c ( H ) 42-43 1-1(c) 52 Ubc 55 Fbc 55-57 Fbc(H) 42-43, 56 1-1(bc) 69 (-) v (-) 70 Udbc 71 Fdbc 71-73 Fdbc(H) 42-43.56.73 I-1 (dbc) 91 (-)*(-) 93, 128, 145, 163 Umcl 95 Fmcl 95-96 Fmcl(H) 25, 96 A J ( A M(-)) 97 A * ( A % - ) ) 97 8-1 (mcl) 106 Usmcl 108
Fsmcl 108-109 Fsmcl(H) 25, 33.96, 109 i-1 (smcl) 126 Uccl 130 Fccl 130-131 Fccl(H) 42-43, 96, 131 (ccl) 144 Ubccl 152 Fbccl 152-153 FbccKH) 42-43, 56, 96, 131, 153 [-I (bccl) 162 (-)H-)163 Ur 166 Fr 166-168 F r ( H ) 25, 96, 168 II-1 (r) 177 Umbcl 181 Fmbcl 181-182 FmbcKH) 25, 96, 168, 181-182 (mbcl) 187 F(1) 191 F ( I x J ) 191 Sub(-) 195 E(-,n) 195 F (sheaf) 197-198 v 200,201 3 200,201 u q c 206 Fqc 206-207 Fqc(H) 42-43, 56.96, 131, 153, 207 !-I (qc) 21 1, 218
u-11
u-n
Languages L*(X) 15, 213 mL(X) 24 smL(X) 33 cL(X) 41 bcL(X) 55 dbcL(X) 71 mclL(X) 95 smclL(X) 108 cclL(X) 130 bcclL(X) 152 rL(X) 166 mbclL(X) 95
289
290
INDEX OF SYMBOLS
FinL*(X) 218
L(X) 219
Natural transformations comp(p.u) 7
1(F) 7 u 9
a(-,-)10 q 10, 97-98, 107 10, 97-98, 107, 128 a 21, 22, 32,44, 163 A 21, 22, 32, 107, 178 p 21, 22, 32, 107, 178 u 31, 32, 52, 107 a, 40, 128 a, 40 a, 54, 70
a. 54, 70 70 aA 93, 128, 145, 164 (A,V,+) 150 ap 164 4 169-170 Z 169-170 ( L A ) 191 ( K , K ) 191 a v 201 a3 201 a8
Rules of inference
(R1) 17, 19, 23, 33,41, 55,72,95, 108, 130,
152, 167, 181 (R2) 17, 19, 24, 33, 95, 108, 167, 181 (R3) 17, 19, 41, 5 5 , 72, 130, 152 (R4) 17, 19, 55, 152 (R5) 17, 19, 72 (R6) 17, 19, 95, 108, 167, 181 (R7) 17, 19, 95, 108, 167, 181 (R8) 17, 19, 167, 181 (R9) 17, 19, 167, 181
( R l O ) 17, 19, 130, 152 ( f i l l ) 17, 19, 130, 152 (R12) 19, 207 (R13) 19, 207 (RI) 17, 19, 26, 27, 33, 43, 60, 73, 76-77, 96, 109, 131, 153, 156, 168, 182, 204, 213, 217, 224, 229 (R2) 19, 20, 26, 27, 33, 43, 44-45, 49, 60, 66,67, 73, 79, 85, 86, 96, 109, 131, 136, 154, 182, 204, 224 (R3) 17, 19, 20, 43, 44-45, 49, 60, 66, 73, 85, 131, 136, 154, 160, 204, 212. 224 (R4) 17, 19, 20, 33, 109, 113, 131, 132-133, 136, 154, 160, 204, 225 (R5) 17, 19, 20, 60, 61, 66, 67, 73, 85, 86, 154, 159, 160, 204, 224 (R6) 17, 19, 20,60,61,66,73,85, 154, 160, 204, 212, 224 (R7) 17, 19, 20, 154, 156, 224 (R8) 17, 19, 20, 26, 27, 34, 96, 109, 168, 182, 224 (R9) 17, 19, 20, 26, 27, 34, 96, 109, 168, 182, 224 (R10) 17, 19, 20, 43, 60, 67, 73, 74, 76-77, 86, 131, 154, 159, 205, 225 (RII) 17, 19, 20,43, 44-45, 67, 74, 86, 131, 154, 160, 204, 225 (R12) 17, 19, 20, 60, 67, 73, 74, 86, 154, 160, 204, 225 (R13) 17, 19, 20, 60, 61, 67, 74, 86, 154, 159, 204, 225 (R14) 17, 19, 20, 97, 98, 109, 131, 132-133, 136, 154, 156, 160, 168, 182, 204, 225 (R15) 17, 19, 20,97, 98, 109, 131, 132-133, 154, 156, 159, 169, 182, 204, 225 (R16) 17, 19, 20, 169, 170-171, 225 (R17) 17, 19, 20, 169, 170-171, 225 (R18) 19, 204-205, 213, 214 (R19) 19, 205 (R20) 19, 205 (R21) 19, 205, 213 (R22) 19, 205 (R23) 19, 205 (R24) 19, 205 (R25) 19, 205
INDEX OF SUBJECTS
Active formula, 20 Adjoint functor, 10 Adjunction, 10. 97 10.97 Counit of an Unit of an -, 10. 97 Admissible (rule of inference). 19 Algebra Boolean -, 148 Heyting -, 148 20 I Quantifier Algorithm Cut elimination -, 20. 229-243 Normalization -, 244-277 And, 2 Antecedent, 17 -symbol, 20 Application (of a rule of inference), Arrow, 4, 12 De Morgan -, 147-151 Finitarily representable -, 21 I Identity -, 4, 5 , 13, 20, 220 Arrowgram, 5 Atomic formula, 16, 203 Axiom, 19, 206-207.219-220, 224
Branch - of a tree, 18, 205 Length of a -, 18 Maximal -, 18
-.
Cartesian - category, 40 - closed -, 128 Category, I . 4, 5 Bicartesian -, 54 - closed -, 145 Cartesian -, 40 - closed -, 128 Closed -, 92, 107 Cocomplete -, 192 Complete -, 192 5 Discrete Distributive bicartesian -, 70, 145 Equivalent 9 I-cocomplete -, 192 I-complete -, 192 Large 5 Monoidal 20. 21, 22 - biclosed -, 178-179 - closed -, 93 - of finite sets. 199 Opposite -, 7 201 Quantifier-complete Residuated -, 163-164 Sequential -, 12-14 Simple -, 5 Small -, 5 Structured -, 1, 21, 40, 54, 70, 92, 93, 107, 127, 145, 163-164, 178-179, 190, 20 I Symmetric monoidal -, 31 - - closed -, 107
-.
-.
19
-.
-.
Bicartesian - category, 54 - closed -, 145 70. 145 Distributive Biclosed Monoidal - category, 178-179 Bifunctor, 8 Binary tree, 18 Boolean algebra, 148 w-complete -, 202 Bound variable, 202
-.
-.
-.
29 1
292
INDEX OF SUBJECTS
Church-Rosser - property, I , 3, 277 -theorem (cf. Theorem) Class. 5 Classifier Subobject 193, 195 Closed Cartesian 128 -category. 92. 107 Monoidal -, 93 Symmetric monoidal -, 107 Cocomplete category, 192 Codomain, 4 Coequalizer, 191 Coherence. 20, 22, 29, 32. 35, 36 Colimit, 191 Commutative diagram, 6 Complete - category, 192 Quantifier 189 Completeness theorem (cf. Theorem) Component (of a natural transformation), 7 Composition, 4 - of natural transformations, 7 Generalized 12 Internal -, 103 Computability theorem (cf. Theorem) Concatenation, I I Conclusion (of a rule of inference), 19 Conjunction. I , 195 -symbol, 202 Generalized -, 189. 204 Constant functor, 6 Contravariant functor. 7 Coproduct, 22, 192. 193. 200, 201 Finite -, 22, 192, 193 Counit (of an adjunction). 10, 97 Counter-examples, 32. 36, 40, 54, 71, 108, 118. 129, 139, 149, 152, 179, 214 Cut, 19 - elimination, 60 - - algorithm, 20, 229-243 - - theorem (cf. Theorem) -formula, 20
-. -.
-.
-.
Degree of a -, 211, 212 Cut-free derivation. 19. 229 Deductive system Labelled 17, 206-207. 219-223 Unlabelled -, 17, 204-205, 224-228 Degree - of a cut, 211, 212 - of a derivation, 212, 242, 243 - of a formula, 211 De Morgan arrows, 147-151 Derivable sequent, 19, 206 Derivation, 18-19, 205-206 Cut-free 19, 229 Degree of a -, 212, 242, 243 Height of a -, 19 Normal -, 29, 36, 50, 67-68, 86, 101. 114, 136-137. 160-161, 172, 184. 217218, 277 Width of a -, 19 Diagram, 6 Commutative -, 6, 7 Discrete category, 5 Disjunction, I , 195 -symbol, 202 Generalized 189, 204 Distributive bicartesian category, 70, 145 Distributivity, 57-60 Domain, 4 Dots, 35 Double negation, 156
-.
-.
-.
Eigenvariable, 213, 214 Elementary topos, 194 Embedding, 6 Faithful - (cf. Embedding) Equalizer, 191 Equivalence relation - on h r (d ( X ) ) , 41. 55. 95, 153 - - Der(A*(X)), 45, 61, 99, 157, 208-21 1 - - Der(bc&X)), 41, 55 - - Der(bcA(X)), 45, 61 - - Der(bccl&X)), 41, 55, 95, 153
293
INDEX OF SUBJECTS
Equivalence relation on (cont.) - - Der(bcclA(X)). 45. 61.99. 157 - - Der(cd(X)). 41 - - Der(cA(X)). 45 - - Der(ccl&X)). 41. 95. 130 - - Der(cclA(X)), 45. 99. 133 - - Der(dbc&X)). 41. 72 - - Der(dbcA(X)). 45, 77 - - Der(mi\(X)), 24 - - Der(mA(X)), 27 - - Der(mbcl&X)), 24. 95, 167. 181 - - Der(mbclA(X)). 27, 99. 171. 183 - - Der(mcl&X)), 24. 95 - - Der(mclA(X)), 27, 99 - - Der(r&X)), 24, 95, 167 - - Der(rA(X)), 27. 99. 171 - - Der(sm&X)), 24, 33 - - Der(smA(X)). 27. 34 - - Der(smcl&X)), 24. 33. 95, 108 - - Der(smclA(X)). 27. 34, 99, I10 - - L*(X), 208 - - Mon(A), 194 Equivalent categories, 9 Examples - of bicartesian categories. 54. 71, 149152, 189, 195-199. 201-202 - - - closed 149-152, 189. 190, 195199, 201-202 - - Boolean algebras, 150-151 - - Cartesian categories, 40,54, 71, 129, 149-152, 189, 190, 195-199, 201-202 - - - closed -, 129, 149-152, 189, 190, 195-199, 201-202 - - distributive bicartesian -, 71, 149152, 189, 190, 195-199, 201-202 --elementary topoi, 189, 190, 197-199 - - Grothendieck topoi, 189, 197-199 - - Heyting algebras, 149-150, 190, 195197 --monoidal categories, 22-23,40,54,71, 93-94, 107, 115-122, 129, 149-152, 179180, 189-190, 195-199, 201-202 - - - biclosed -, 107, 115-122, 129, 149152,179-180,1893 190,195-199,201-202 - - - closed -, 93-94, 107, 115-122, 129,
-.
149-152, 179-180, 189-190, 195-199, 201-202 - - quantifier-complete -, 189, 197-199, 201-202 - - residuated -, 107, 115-122, 129, 149152, 164-166, 179-180, 189-190, 195199,201-202 - - sequential -, 15-16,28,35,46,62,78, 99, 110, 133, 157, 172, 183, 211 - - sheaves, 197-198 - - symmetric monoidal categories, 32, 40,54, 71, 107, 115-122, 129, 149-152, 189, 190, 191-202, 195-199 - - - - closed -, 107, 115-122, 129, 149-152, 189, 190, 195-199, 201-202 Existential quantifier. 200 -symbol, 202 Export-import law, 92 External hom functor, 92 Faithful functor, 6 ’ False, 1, 20, 195 202 Symbol for Finitarily representable arrow. 21 1 Finitary formula, 203 Finite Category of - sets. 199 - coproduct, 22, 192, 193 - product, 22. 40, 54 - sequences, I 1 - tree, 18 Forgetful functor, I I Formal proof (cf. Derivation) Formula, 16, 202-204 Active -, 20 Atomic -, 16 c u t -, 20 Degree of a -, 21 1 Finitary -, 203 Passive 20 Sequence of -s. 20 Free - bicartesian category, 55-56 - - closed -, 152-153
-.
-.
294
INDEX OF SUBJECTS
Free Cartesian category, 40-42 - - closed -. 130-131 - distributive bicartesian 71-73 - monoid. I I - monoidal category, 24-25 - - biclosed -, 181-182 - object functor. 12 - pre-ordered set. 1I - quantifier-complete category. 206-207 - residuated -, 166-168 - symmetric monoidal 33 - - - closed -, 108-109 - variable. 202 Full -functor. 6 - subcategory, 15 Function symbols, 202 Functor, 4. 6. 14-15 Adjoint -s, 10 Bi-. 8 Constant -, 6 Contravariant 7 92 External horn Faithful -, 6 II Forgetful Free monoid -, 12 Free object -, 1 1 . 12 Full -, 6 Hom-. 8 Identity -, 8 Internal horn -, 92. 93 Set-valued -, 8
-.
-.
-. -.
-.
Generalized - composition, 12 - conjunction, 189 - disjunction, 189 - natural transformation, - transitivity. 12 Grothendieck topos, 199 Height - of a derivation, 19 - of a tree, 18, 205
97, 140
Heyting - algebra, 148 - - object, 196-197 External - algebra, 92 92, 93 Internal w-complete - algebra. 202 Hom functor, 8 Homomorphism - of categories (cf. Functor) - of pre-ordered sets, 6. 7
-.
Identity - arrow. 4. 5, 13. 20. 220 -functor. 8 I f . . . then, 2 Immediate reduction. 277 Implication. I , 195 -symbol. 202 Inference Operational rules of -, 3, 224, 225 Rules of 19. 220. 221, 224, 225 Structural rules of 3, 20. 224 Infinitary - conjunction symbol, 202 - disjunction symbol. 202 Infinite - coproduct functor (cf. Existential quantifier) - product functor (cf. Universal quantifier) Initial object, 22 Internal - composition, 103 - Heyting algebra, 196-197 - hom functor, 92 Interpretation - of Der(A*(X)), 44,61, 76, 132, 208 - - Der(bcA(X)), 44,61 - - Der(bcclA(X)), 44,61. 76, 132 - - Der(cA(X)), 44 - - Der(cclA(X)j, 44, 132 - - Der(dbcA(X)), 44,61, 76 - - Der(rnA(X)), 26 - - Der(mbclA(X)), 26.98, 170 - - Der(mclA(X)), 26, 98 - - Der(rA(X)), 26, 98, 170
-.
-.
295
INDEX OF SUBJECTS
Interpretation of (cont.) - - Der(smA(X)), 26, 34 - - Der(smclA(X)), 26, 34, 98, 110 Isomorphic objects, 9 Isomorphism, 8 Natural -, 8 Label, 17, 206, 219 Labelled - deductive system, 17, 206-207, 219223 -sequent, 16 Language, 16, 202-204 Large category, 5 Left rank, 211, 212, 242, 243 Length of a branch, 18, 205 Limit, 191 Maximal branch of a tree, 18 Mix, 243 Monoid Free -, 11 Monoidal Biclosed - category, 178-179 Coherence in - categories, 20 - category, 20, 21, 22 - closed 93 Symmetric - -, 31 - - closed 107 Monotone relation, 229, 244 Monomorphism, 193
-.
-.
Natural Component of a - transformation, 7 Generalized - transformation, 97, 140 - isomorphism, 8 - sink, 191 -source, 191 - transformation, 7 Negation operator, 147 Node, 18 Normal derivations - of bcA(X), 50,67-68 - - bcclA(X), 50, 67-68, 86, 136-137, 160-16 1 --cA(X), 50
- - CCIA(X), 50, 136-137 - - dbcA(X), 50.67-68,86 - - mA(X), 29 - - mbclA(X), 29, 101, 172, 184 - - mclA(X), 29, 101 - - rA(X), 29, 101, 172 - - smA(X), 29, 36 - - smclA(X), 29, 36, 101, 114 - - A*(X), 50, 67-68, 86, 136-137, 160161, 217-218 Normalization - algorithm, 244-277 - theorem (cf. Theorem) Object, 4, 12 Coproduct -, 23 196-197 Heyting-algebra Initial -, 22 Isomorphic -s, 9 Product -, 23 Terminal -, 22 Only if, i Operational (rule of inference), 3, 224 Opposite -category, 7 - pre-ordered set, 7 Or, 2 Ordered -tree, 18, 205 Pre- - set, 4, 6, 7, 11
-.
Passive formula, 20 Premiss (of a rule of inference), 19 Pre-ordered set, 4, 6, 7, 1 1 Free 11 Homomorphism of -s, 6, 7 Product, 22, 192, 193 Finite 22, 40, 54 Infinite - functor (cf. Universal quantifier) -object, 23 Proof Formal - (cf. Derivation) Pure variable 213 Proof theory of -I,M , 21.31
-.
-.
-.
296
INDEX OF SUBJECTS
Proof (cont.) - T . A . 32 - T. A . 1.v. 54. 70 -I.a . 3.92, 107 - T . A . 3. 128 - T, A . 1,v . 3. 145 - 1. 3. C. 163 178 - I, xx. 3. - T . A.I. v.j.V.3. 189 Pullback. 192, 193 Pure variable proof, 213 Pushout. 192. 193
e.
Quantifier. 189. 200 Existential 200 - algebra. 190, 201 - completeness. 189 - symbols. 202 Universal 200 Quantifier-complete category.
-.
-.
-.
20 I
Rank, 211, 212. 214. 217, 242. 243 242. 243 Left Right -, 242, 243 Weighted -, 243 Reducibility relation, I , 3, 244-277 - on Der(bcA(X)), 50, 68 - - Der(bcclA(X)), 50, 68, 87, 137 - - Der(cA(X)). 50 - - Der(cclA(X)). 50, 137 - - Der(dbcA(X)). 50, 68, 87 - - Der(mA(X)), 29 - - Der(mbclA(X)). 29, 101, 172. 184 - - Der(mclA(X)), 29, 101 - Der(r(A(X)), 29, 101, 172 - - Der(smA(X)), 36 - - Der(smclA(X)), 29. 36, 101, I14 - - Der(A*(X)), 50, 68, 87, 137. 217-218 Reflexive relation, 4 Relation Monotone 229. 244 244-277 Reducibility Reflexive -, 4 - symbols, 202 4, 229. 244 Transitive
-.
-
-.
-.
-.
Residuated category. 163, 164 Restrictions - on Der(A*(X)). 212 - - eigenvariables. 213 - - (ki2). 220 - - (RI), 156-157. 213 - - (R14). 154-155. 225 - - (RIS). 225 --(Rl6). 225 --(Rl7). 225 - - (R18). 205. 208. 213 - - (R21). 20.5, 209. 213 Right rank, 211, 212, 242, 243 Rule of inference. 19, 220-221, 224-225 19 Admissible 19 Application of a Application of a structural -, 20 19 Conclusion of a Finitary -, 217 Instance of a -, 19 Operational -, 3, 224. 225 Premiss of a -, 19 Quantificational -, 204-205 Structural -, 3, 20, 224
-. -.
Sequence Finite -, 1 1 - of formulas, 20 Sequent, 16, 202-204, 219, 224, 229 Antecedent of a -, 17 19, 206 Derivable Labelled 16 Succedent of a 17 Unlabelled -, 16 Sequential category, 12-14 Set. 5 Pre-ordered 4, 6, 7, 1 I Set-valued -functor. 8, 10 -sheaf. 197 Sheaf, 197, 198-199 Simple category, 5 Sink, 191 Site, 198 Small category, 5 Source. 191
-. -I
-.
-.
297
INDEX OF SUBJECTS
Stability (under intersections), 198 Cut elimination -, 28,35,47,63,78, 100, Strictness (of an initial object), 85, 145 1 1 I , 134. 158, 172. 183, 21 I , 217, 243 Structural (rule of inference), 3, 20, 224 Normalization 29, 36. 50, 68, 87. 101. Structured category. I. 21, 40, 54. 70, 92, 114. 137, 161, 172, 184, 21 1, 218, 277 93, 107. 128, 145, 163-164. 178, 179. Topos 190,201 Elementary -, 194 Subcategory, 15 Grothendieck -, 199 Subderivation, 20 Transformation (cf. Natural transSubformula, 20 formation) Sublanguage, 20 Transitive relation, 4, 229 Subobject, 194 Transitivity - classifier, 193, 195 Generalized -, 12 Substitution. 12, 15, 16 Tree, 17, 18, 205 Subsystem Binary -, 18 Deductive 19. 20 Branch of a -, 18, 205 Succedent, 17 Finite 18 -symbol. 20 Height of a -, 18, 205 Symbols, 16, 202 Ordered -, 18. 205 Antecedent 20 Width of a -, 18, 205 Succedent -, 20 True, 1, 20, 195 Symmetric Symbol for 202 , - monoidal, 31 - - closed, 107 Unit System - of a tensor product, 23, 163 Labelled deductive 17. 206-207. 219- - an adjunction, 10, 97 223 Universal quantifier. 200 Unlabelled 17, 204-205. 224-228 -symbol, 202 Unlabelled Tensor product, 23, 92, 93 - deductive system, 17, 204-205. 224Terms, 15, 202-203 228 Terminal object, 22 -sequent, 16 Theorem Church-Rosser -, 3, 29, 36, 50, 69, 89, Variable 106, 110, 118, 122. 143, 162, 176, 186, Bound -, 202 2 18, 277 Free -, 202 Coherence - for mCat, 29 - - - smCat, 35, 36 Weighted rank, 243 Completeness 27, 34, 45, 61, 77, 99. Width 110. 133, 157, 171, 183, 211 - of a derivation. 19 Computability -, 29, 38, 52, 69, 91, 106, - _ -tree, 18, 205 127, 143. 164, 177, 205 Word problem, 11-12
-.
-.
-.
-.
-.
-.
-.
-.