C AHIERS DE
TOPOLOGIE ET GÉOMÉTRIE DIFFÉRENTIELLE CATÉGORIQUES
S. K ASANGIAN G. M. K ELLY
F. R OSSI
Cofibrations and the realization of non- deterministic automata
Cahiers de topologie et géométrie différentielle catégoriques, tome 24, n
o1 (1983), p. 23-46
<
http://www.numdam.org/item?id=CTGDC_1983__24_1_23_0>
© Andrée C. Ehresmann et les auteurs, 1983, tous droits réservés.
L’accès aux archives de la revue « Cahiers de topologie et géométrie
différentielle catégoriques » implique l’accord avec les conditions
générales d’utilisation (
http://www.numdam.org/conditions). Toute
utilisation commerciale ou impression systématique est constitutive
d’une infraction pénale. Toute copie ou impression de ce fichier
doit contenir la présente mention de copyright.
COFIBRATIONS AND THE REALIZATION OF NON-DETERMINISTIC AUTOMATA
by S. KASANGIAN*, G. M. KELLY** and
F.ROSSI*
CAHIERS DE TOPOLOGIE ET
GÉOMÉTRIE DIFFÉRENTIELLE
Vol. XXIV -1
(1983)
ABSTRACT.
We first consider modules
( = profunctors)
betweenC-categories
fora monoidal
biclosed U,
and show that any module8; a-> e
withsmall (f
has a canonical
decomposition
as0
=G* Y* ,
where Y:Cl P li
is the Y onedaembedding
andG; C => PS
is theC-functor corresponding to 8 ; observing
further thatG*
is in fact the«right-extensions [Y ,
*8]
of0 along Y*
in thebicategory
of modules. We thenapply
this to show thatthe
forgetful
2-functor from thecofibrations a -> e
to the modulesa -> C
has a «weak»
right adjoint.
We observefinally
that thisincludes,
as a spe- cial case, a theorem of Betti andKasangian
on the existence of a weakright adjoint -
which we may call « canonical realization » - to the « behav- iour» 2-functor defined on non-deterministic automata.1. INTRODUCTION.
It is a
banality .that
the mathematical structures of anygiven
spe-cies, along
with theappropriate morphisms,
form a category. A much morestriking
observation is due to Lawvere[8] : namely,
that many of the basicstructures of mathematics are themselves
categories ;
while others are func-tors between
categories.
It is clear that
monoids,
groups,groupoids,
ordered sets, andequi-
valence
relations,
aresimply ordinary categories
ofspecial
kinds. A top-ological
space isessentially
aspecial
case of a topos, which is a categ- ory. Analgebraic theory
was exhibitedby
Lawvere[7 ]
as a category, and*
Partially supposed by
the Italian CNR .* * The second author
gratefully acknowledge s
the a ssistance of the Australianits models as
functors,
Aring R
is aone-object a dditive
category - thatis,
one enriched over the category Ab of abelian groups; and an R- module is an additive functor R -> A b. In[8],
Lawvere exhibits metric spaces as(symmetric) categories
enriched over the category of extendedpositive
realnumbers. Joyal
treatsspecies
of combinatorial structures in[4]
as endofunctors of the category of finite sets andpermutations. Walters
h as
emphasized
thenotion,
in[ 11J
and[ 12],
ofcategories
enriched over abicategory B ,
and has identified the sheaves on a site as theCauchy-com- plete symmetric B-categories
for a suitableB ;
with thepromise
of a sim-ilar
description
of manifolds and of other structures formedby «patching
models
together».
The list could be continued: suffice it to recall that ascheme can be identified with a functor from commutative
rings
to sets.It is of course of no value to
identify
some structure with a categoryor a functor or some more
general categorical situation,
unless the naturalmorphisms
between such structures, and theimportant operations
onthem,
themselves turn out to be those
appropriate
to thecategorical
context -which is indeed the case in the
examples
above.Our present purpose is to
point
out one moreexample,
of a some-what novel kind. Betti and
Kasangian [3],
in the context of non-determinis- tic automata, have described a canonical realization functor that is a very weak kind ofright adjoint
to the behaviour functor. Our observation is that this relation between automata and behaviours is but aspecial
case of asimilar relation between cofibrations and codiscrete cofibrations
(in
thesense of Street
[9])
in the2-category
of0-categories.
To encompass the case of automata, we must allow
the V
here tobe a
not-necessarily-symmetric
biclosed monoidal category. Because there is no sufficient account ofprofunctors -
which weprefer
to callmodules-
in the
non-symmetric
case, wegive
onebriefly
in Section2;
a still moregeneral
account,with S
now a biclosedbicategory,
isgiven
in a forth-coming
paper[ 10]
ofStreet,
but this does not contain all that we need. In Section3
we establish the weakadjunction
between cofibrations and co-2.
0-MODULES
FOR A MONOIDAL BICLOSED0.
2.1. We consider a
locally-sm all
monoidal categoryC = (Vo , @ , I)
whichis
biclosed,
in the sense that we have naturalisomorphisms
As in Sections 1.2 and 1.3 of
[5],
we have the2-category IOOCAT
ofCr- categories, 0-functors,
andS-natural transformations,
and the 2-functor( ) o : I- CAT -
CATrepresented by
theunit V)-category 9 ;
this much re-quires
no symmetry. We here denote a0-functor by
a double arrow, as inT’: a => B, keeping single
arrows forS-modules,
which occur below morethan
0-functors.
In the absence of symmetry we have neither theopposite
(!-category Q °P
nor thetensor-product V-category a @ B
of[5]
Section1.4,
so that we have neither contravariantC-functors
ingeneral,
norC-
functors of two variables.
We
do,
of course, have as in[5]
Section1.5
variousisomorphisms
concerning S itself,
obtainedby specializing (1). Thus, writing
V forVo(I, - : Vo -> Se t ,
we haveWe also have
[I, Z] = {I, Z I == Z ;
and besides theisomorphism
and its dual
IXGY, Zi = {Y, {X , Z}} ,
we also have2.2.
Symmetry
was in fact not needed for the observation in[5]
Section1.6
that there is a0-category called 0,
with the sameobjects
aslo
andwith V(X, Y) = [X, Y],
whoseunderlying ordinary
category is(canonic- ally isomorphic to) Vo ;
and that eachobject
A of aV-category Q
det-ermines a
representable 0-functors Û( A, -): a => V sending
B toa(A, B).
Now, however,
there is also a0-category called V,
with the sameobjects as Vo
andwith V(X, Y) = Y, X},
whoseunderlying ordinary
is
(canonically isomorphic to) Voop. Although
do havea contravariant functor
from li to 0 ;
and each B c8
determines a repre- sentablea(-, B) : a -> V sending
A toa(A, B).
The
ordinary
functorsand
are
easily
verified to be thepartial
functors of a bifunctorsending ( A, B )
toli(A, B ),
whose value onmorphisms
we write asa(f, g).
We still find theexpressions (1.31 )
and(1.32)
of[5] for a (A , g)
and a(f, B),
and hence the alternativeexpression [5] (1.39)
of0-natural- ity. Then,
after the easy verification thatV(f, g) = [f, g],
we get essen-tially
as in[5]
Section1.9
the Yonedalemma, giving
forF : a => V
a nat-ural
bijection
betweenC-natural
transformations(Ï( A I -) -+ F
and maps I -> FA. There is also a dual Yoneda lemma for transformations G ->a(A, B)
where G :
a=>V.
Although
it nolonger
makes sense tospeak,
as in[5]
Section1.6,
of a
V-functor Ten : V®V -> V,
it is still the casethat -® Z : Vo -> Vo
has an evident enrichment to a
G-functor -® Z : V => V ;
while Z 0 - hasa similar enrichment to a
V-functor
Z 0 -:is => V.
2.3.
GivenV-categories a and 93, by
a module(or U-module) 0: (t -+ 93
we mean what has been
variously
called aprofunctor,
adistributor,
or abimodule.
It is a functionassigning
to each A c(f
and each BE B
an ob-ject 0 (A, B ) of d , together
with actionsB(B, B’)@0(A, B)-> 0(A, B’), 0(A, B)® a(A’, A) -> 0(A’, B),
subject
to five axioms: the evidentassociativity
and unit axioms for the left actionof j3 on 0,
whichequivalently
assert that each A cS gives
aV-functor 0(A , - ) : B => V ;
thecorresponding associa tivity
and unitaxioms for the
right
actionof (i on 0 ,
whichequivalently
assert that eachB c
S gives
aV-functor O( -, B ) : a=> V ;
and the axiomasserting
theequality
of the two mapsFor a
symmetric S ,
it is immediate from[5]
Section1.4
that such a moduleis the same
thing
as aV-functor aop® B => V.
See inparticular [1].
A
morphism a : O -> y : Q -> B
of modules issimply
afamily
of maps which commute with the two actions. It comes to the same
thing
to say that each aA - :
O(A , - ) -> y (A , -)
and eacha.B : 0 ( -, B) -> y ( -,B)
is a
C)-natural transformation.
Thus we have a categoryMOD(Q,S)
ofmodules
from 8 to B.
If 9
is the unit0-category
with oneobject 0,
amodule I -* 93
i s
essentially
aV-functor O:B => V,
and we maywrite rp
Bfor O(0, B) ;
and moreover
MOD (J, B)
is the categoryV-CAT’ (B, V). Similarly
a mod-ule 0: (1
isessentially
aV-functor O:Q o d ;
while a moduleO:J->J
is
just
anobject 0 of V,
andMOD is Go.
2.4. Consider
O-functors 0, 8 : a => V
andY,
X :li - d (or
the corres-ponding modules).
We need below a notion ofV-naturality
for familiesUnder the
isomorphisms (1),
there is abijection
between such families aA , familiesa Á : tfr A -+ [O A, Z],
and familiesaA": 0 A -+ I qf A, ZI.
Sincefi
and[O -, Z]
are bothO-functors Q => V,
we know what it means for a ’ to beC-natural;
andsince 0
and{Y -, Z }
are bothV-functors Q => V,
we know what it means for a " to be
V-natural.
An easy calculation shows that theC-naturality
of a’ isequivalent
to that ofa " ,
andequivalent
tothe
commutativity
for allA,
B c8
of thediagram
which now becomes our
definition
ofV-naturality
for a .Similarly
the(3-nat- urality
ofj6
is defined as that of thecorresponding family X @ Y A -> x A ,
or
equivalently
as that of thecorresponding family Y A -> {X, X A} ,
whichturns out to mean the
commutativity
for allA ,
B of thediagram
Finally, 0-naturality
of y is defined as thatof O A @ Y -> 8 A
orequally
that
of 95 A -. [ Y, 8 A] ,
whichgives
adiagram analogous
to(4).
To say that a is the universal
U-natural family
with domainY A @ O A
is to say that( 3),
taken for allA ,
Bc Cl,
is a colimitdiagram.
We then call Z the
coend fA Y A @ O A of Y A @ 0 A.
If the coend existsbut Z is
arbitrary,
togive
a0-natural
aA as in( 2 )
isexactly
togive
amap a :
fA Y A @ 0 A ->
Z . We henceforthsuppose Vo
to becocomplete;
so that the coend
certainly
exists if8
is small.Similarly 8
is universalexactly
when(4)
is a limitdiagram,
where-upon we call X the end
fA [Y A, X A]. If
the end exists but X isarbitrary,
to
give
a0-natural 8 A
as in( 2 )
is togive
a mapB : X -> fA [YA, X A].
We henceforth
suppose 0.
to becomplete ;
so that the endcertainly
existsif
8
is small.Again,
in the case of y , we define the endfA{O A, 8 A}
as thelimit of a
diagram analogous
to(4),
whichcertainly
exists if8
is small.Whether 8
is small or not, we have the resultsEach of these follows
directly
from the Yonedalemma ;
forinstance,
in thecase of
(5),
aU-natural Q(A , B) 0 O
A - Zcorresponds
to aV-natural
Q(A, B) -> [O A, Z]
and hence to amap O B -> Z.
So we maycall (5) - (8)
Yonedaisomorphisms.
2.5.
Givenmodules 0 : Q -> B
andVi : B -> C,
we define theircomposite
tA 0: (1 -* C- by
if the coend
exists ;
otherwise thecomposite
is undefined. The module-structure
of t/J 9
is inherited from thoseof 0 and x using
the universalproperty of the colimit and the
preservation
of colimitsby
X 0 - and - ø YIn so far as we
suppose 0 o
to have chosencolimits,
thecomposite
is welldefined;
butequally
it does noharm,
whereconvenient,
toreplace
theright
side of
(9) by
anisomorph.
The
preservation
of colimitsby
X ø -and - @ Y ,
and the commuta-tivity
of colimits withcolimits, easily give associativity isomorphisms
(X Y) O = X (qf 0)
whenever the innercomposites
and one of the outer onesexist. For any
Q
we have the modulegiven by .
and if
O : Q -> B
is any module we haveby ( 5 )
and( 6 )
unitisomorphisms
The universal property of
Y O
tells us how to defineand
and easy verifications confirm that modules and their
morphisms (which
we may now call
2-cells )
« constitute abicategory
MOD in so far as comp- osition is defined». We of course get a truebicategory
Mod if we consideronly
modules between smallC)-categories.
2.6. Consider modules
O : Q -> B, Y : B -> C,
and8 : Q -> C. We
define a module[O,8] : fl - e by
whenever this end exists - its module structure
being
inherited from thoseof 0
and0 . Similarly
we defineI Vi, f) I : Q -> 93 by
If tAo and [O, 8]
bothexist,
a 2-cella : y O -> 8 corresponds
to a
family
that is
C-natural
in allvariables,
and henceby
2.4 to afamily
that is
V-natural
in allvariables,
and sofinally
to a 2-cell a’: w - [O 0].
Similarly
acorresponds
to a 2-cella" : O -> {Y, 8}
if the latter exists.It follows that Mod is a biclosed
bicategory,
while MOD is « par-tially)
one. We have anevaluation [O, 8]O -> 0 only
when the domain hereexists ;
andsimilarly
for theevaluation Y{Y, 8} -> 8. Isomorphisms
of thekinds
and
which are automatic in a true biclosed
bicategory
such asMod ,
need to beexplicitly proved
inMOD ,
under thehypotheses
that the inner limits orcolimits and one of the outer ones
exist ;
we shall notexplicitly
use them.There
is, however,
noproblem
with theisomorphisms
which follow from
(7)
and(8).
2.7. When the
C-category S
issmall,
we can represent modules0 : (î -+ e
as
C-functors G; C => P Q,
therebeing
anisomorphism
ofcategories
for a suitable
0-category P Q.
Thecase e = g
shows that anobject 6
ofP
S
must be amodule : Q -> G
orequally
aV-functor Z : Q => V.
We setwhich as a
module J -> J
is anobject of C.
Thecomposition
inp Q is the
obvious one
deriving
from the biclosed structure of Mod via the evaluation[Z, Z]Z -> Z.
Amorphism Z -> Z
in theunderlying ordinary
category( P Q) o
of
P Cl, being
a mapI -> (PQ) (Z, S) = [Z, S],
isequivalently
a mapZ = I Z -> S,
so that(PQ) o = Mod (Q, P) ,
which is thespecial
caseC = J
of(14 ).
For the
general
case of(14),
we leave the reader toverify
thatif we set
then the data and axioms
making
G into aV-functor C => P (i correspond exactly
to thosemaking 0
into a moduleQ-> e ;
and thatp C : GC ->
G’Care the components of a
0-natural
p : G -> G ’ if andonly
if their compon-ents
pCA : (GC)A -> (G’C)A
constitute a 2-cell p :0 - 0’.
In
particular
theidentity
module1Q : (i -+ d corresponds
to aC-
functor Y :
Q -> PS (the
Yonedaembedding ) sending
A to Y A =(f ( -, A ) .
From
( 15 )
and(7)
we have a naturalisomorphism
from which it follows in
particular
that( 18)
theL-functor Y : Q =>
P(i
isfully faithful.
In the case of a
symmetric 0,
it is immediate thatand then
(14)
isjust
the remark of 2.3 that amodule fi - e
is a0-functors Qop @ C => V
orC => [Qop, V].
Dually
to theabove,
we have forsmall
aV-category P’ C
whoseobjects
aremodules 6 : 9
->0
orequivalently V-functors
with In
place
of( 14 )
we have2.8.
Any V-functor
T :Q => B gives
rise to evident0-modules
T :Q -> 93
*
and
T * : B -> Q,
whereand a
V-natural
a : T - Sgives
rise to evident 2-cells andSince
a |-> a *
anda |-> a*
are bothfully
faithfulby
the Yonedalemma,
any one of a ,
a*,
a * determines the others.For
T: Q => B
andY : 93 -+ e
we get from(6)
and(7)
natural iso-morphisms
and
dually, for O: Q -> 93
and S :C => B,
In
particular,
for T :Q => B
andQ : 93
=>e.,
we have naturalisomorphisms
and
Thus we have
locally-fully-faithful embeddings
and of
«partial bicategories
».The
isomorphisms
resp.
resulting
from(20)
and(21)
admit of furtheranalysis
when8 (resp. e)
is small. We consider the first of
these,
and observethat,
when8
issmall, 0T*
exists for any0 : (î -+ e.
Inparticular T * T * exists,
and we have acanonical 6:
T* T * -> 1B
inducedby
thecomposition
On the other
hand, T*T always
existsby ( 20 ),
withand we have a canonical 11:
1Q -> T * *
withcomponents
An easy Yoneda-lemma calculation shows that 11, E are the unit and counit of an
adjunction T* J
T* in MOD . It is further easy to check that the evaluation[T*, Y]T*-> Y corresponds
under(22)
toY E : T*T * -> Y. Now
the conclusion from
(22),
that there is a naturalbijection
between 2-cells() -+ tfr T *
and 2-cells8 T * -> Y,
isjust
a classical consequence(see [6])
ofthis
adjunction.
The other classical consequence - thebijection
between2-cells T*X -> Y
and 2-cells x -T *Y - corresponds
to the second isomor-phism
in(22).
Note that the unit
n : 1Q -> T * T* of
theadjunction
above is an iso-morphism exactly
when T isfully fa ith f ul.
In this case we have a some-what less evident result:
PROPOSITION 1. Let
Q be small,
let T :Q => B
befully fa ith ful,
andlet
8 : Q -> C.
Then[T*,8]
*exists,
and the evaluation[T*,8] T* ->
* * 0 isan
isomorphism.
P ROO F.
Since 8
issmall, [T*, 8]
existsby (11)
and isgiven by
By (20)
we haveBecause T is
fully faithful,
theright
side here isisomorphic
towhich is itself
isomorphic by (7)
to8(A’, C).
It is an easy verification that thisisomorphism
is in fact the evaluation. 0REMARK 2. If we were
prepared
to use theisomorphism
of
2.6,
which we havepreferred
not todiscuss,
we could haveexpressed
the evaluation here
directly
as thecomposite isomorphism
R EM ARK 3.
When e
too issmall,
and8 : Q -> e corresponds
as in 2.7 toH : Q
=>p , e, Proposition
1 reduces to the classical result(see [5] Prop-
osition
4.23)
that( LanT H )
T = H for afully
faithfulT ;
at least for sym-metric C ,
but in fact forany 0
if the(pointwise)
left Kan extension isappropriately
defined.Similarly
for the dual resultS*{S*,8} = 0
when Sis
fully faithful, interpreting 0
now as aV-functor C => PS .
R EM ARK 4. In so far as
composition
of modules is definedonly
to withinisomorphism,
it does no harm to expressProposition
1 as[T*, ,0] T* = 0
with the
identity
as the evaluation.PROPOSITION 5.
Let Q be small,
let the module8 : Q=> C correspond
asi n 2. 7 to the
V-functor
G :C =>
P(1,
and letY : Q =>
pQ
be the Yonedaembedding.
Then we have a naturalisomorphism
and
taking this,
as we may, to be aneq uality,
we have thedecomposition
P ROO F . Since Y is
fully
faithfulby (18),
we haveby Proposition
1 andRemark 4
only
toverify ( 23 ). By ( 19 )
and( 17 )
we haveso that
(11 ) gives
By (16)
this isfA [Z A, (GC)A],
whichby (15)
is(PQ) (Z, GC) ;
thatis, G*(S, C ) ,
as desired. 0REMARK 6. We
regard (24)
as thecanonical decomposition
of any0 : (t -+ C-
with
S
small. There is a dualdecomposition when e
issmall,
and8
cor-responds
toH : Q => P’,C ; namely 0
=Y’*H*,
where Y’ :C => p,e
isthe dual Yoneda
embedding ;
and inplace
of(23)
we now haveREMARK 7. We
generalize Proposition
5 follows. LetQ Q
be fullsubcategory
ofP8 containing
therepresentables,
and letZ: 8
=>Qfi
bethe Yoneda
embedding
seen aslanding in QQ.
Let0 : (i , e
be such that thecorresponding G : Q
=>P C-
landsin Q e, giving K: (i
=>Q C.
Thena trivial modification of the
proof
ofProposition
5gives [Z* ,8] = K * ,
sothat
0
=K *Z .
*3. COFIBRATIONS.
3.1. For any
objects Q, C
of anybicategory
K with finitebilimits,
Street[9]
defines thebicategory Fib(Q,C)
offibrations Q -> e
in K as thatof the
algebras
for a certain bimonad on thebicategory
of spans fromQ
toe.
One can define « discreteobjects
in anybicategory ;
and the full sub-bicategory
ofFib(Q, C) given by
its discreteobjects
forms the categoryD Fib(Q,C) of discrete fibrations Q -> C.
When K = Cat there is a
biequivalence
betweenFib(Q,C)
andthe
bicategory
ofbifunctors * QopxC=> Cat ,
and anequivalence
betweenD Fib (Q, C)
and the category offunctors Qop x C => Set (or
modulesQ-> C) ;
so that in this case fibrations are, ineffect,
two-sided versionsof those first introduced
by
Grothendieck. However theequivalence
betweenD Fib (Q,C)
andMod(Q, C)
failstotally
for K =V-Cat ,
even forgood V.
Nevertheless,
as Streetobserves,
we can still recoverV-Mod
di-rectly
from the2-category C).Cat, by looking
instead at fibrations in(V-Cat)op,
which he callscofibrations
inV-Cat.
Heanalyzes
the natureof these in
elementary
terms, and shows that the codiscreteco fibrations Q -> C
are(to
withinequivalence)
themodules Q -> e.
3.2.
Since we do not want to restrict ourselves to smallC-categories,
wefirst
give
the results of Street’sanalysis
in a form which makes sense with-out smallness. We
a lso, by
abuse oflanguage,
use the name « cofibrations » for the concreteobjects
to which the actual cofibrations areonly biequi-
valent.
* We use «bifunctor» for what some call a
«pseudofunctor»
or a«homomorphism of
Then a
cofibration Q -> 6
inI-Cat
may be identified with a cospan(i
=>S C-
of thefollowing special
kind: theV-functors Q => D
ande =D
arefully faithful,
and may as well be taken to be the inclusions of fullsubcategories ;
thesesubcategories Q and e
aredisjoint;
and ifB
is the fullsubcategory of 5) given by
theobjects
neitherin 12
nor ine , we have
(the
initialobject of V)
whenever A ES,
BE B,
and C fe.
Amorphism
of cofibrations from
Q => D = C to A => D’ = C
is a0 -functors
T :D => D’
which is theidentity
onQ
andon C
and whichmaps 93
into thecorresponding 93’.
A 2-cell Q: T -> T is aV-natural
transformation whose componentso-D
are identities when D c3
or D cC.
Thebicategory
Co fib(Q, C)
so described is in fact a2-category.The
codiscrete cofibra- tions are those forwhich 93
is the empty0-category
0.3.3.
Street carries theanalysis
further in terms of modules. Togive
thecofibration
N => D = C
is togive
theV-category B,
theobjects 9 (A , B ), D(B, C ), and D (A, C ) of V,
and the law ofcomposition
inT.
If we writeO(A, B), Y(B, C),
and0 ( A , C)
forD(A, B), T(B, C),
andD(A, C),
the
composition
is
just
a left actionB(B, B’) @ O (A, B) -> O (A, B’),
and so on; inshort,
we are to
give modules 0: " (f -+ B, Y : B -> C,
and8 : Q -> (2. The composi-
tion is now determined except for its components
and the
giving
of the cofibration iscomplete
when wegive
this as afamily
that is
V-natural
in all variables. When thecomposite qf 0
exists this isjust
togive
a2-cell k : y O -> 0
of modules.Since we need below the case
where 93
is aslarge
as P8
for abe
intolerably
tedious to work withÀA B C
instead of k .Accordingly
wesuppose 0 embedded,
as in[5]
Section3.12 (which
does not use the sym- metryof 0),
into a0’ corresponding
to ahigher
universe Set’ that seesSet
and 0
assmall,
in such a way that the inclusionof (3
in0’
preserveslimits and Set’-small colimits. Then we
have Vf 0
as aV’-module,
whichcoincides with the module
Vio
when the latterexists ;
andsimilarly
forsuch other
module-composites
as we need below.Tith this
understanding, then,
acofibration 8 => D = C
is iden- tified with apentad (J9 ;q5 , x ,8; k) where 93
is aV-category, O, fjI ,0
aremodules, and X
is a2-cell,
as inThe
corresponding analysis
of amorphism T : D => D’
inCofib (Q, C)
identifies it with a tetrad(S ; a, B, y)
whereS : B => B’ is
a
0-functor
and where a ,f3 ,
y are 2-cells of modulessatisfying
the equa- tionHere S is the restriction of T to
CJ3,
the componentaAB : O (A, B) -> O’(A, SB) of a : O -> S*O’
is
T A B: D(A, B) -> D(TA, TB),
and the component yACof y:8 -> 8’ is
T A C: T (A, C) -> D(TA, TC).
On the other handT B C
is the component,not of
B : Y S * -> Y’,
but ofthe 8: Y -> Y’S*
whichcorresponds
it underthe
adjunction S* -|
S* of 2.8. Theequation (26)
is what is needed toWhen
are
given by (S; a, B, y)
and(S ; a, B ,y) ,
it is easy to see that there areno 2-cells T’ -> T in
Co fib (fi, e)
unlessWhen this does
hold,
a 2-cell a: T - T is at once seen to be aV-natural
Q: S -> S satisfying
theequations
The full
sub-2-category
of codiscrete cofibrations is obtainedby
setting 93
= 0throughout.
Anobject
isjust
a module 0 :(i -+ C ,
and a mor-phism just
a 2-cell y:8 -> 8’ ;
there are nonon-identity
2-cellshere,
sothat we are
dealing
with a mere category. We need no new name forit;
itis
just MOD(8,e).
3.4.
"1ie define the behaviour 2-functorto be that
sending (B ; O, Y, 8 ; k)
to8 : Q -> C, sending (S;a ,(3, y) to
y :
0 - 0’ ,
andsending
a 2-cell Q to theidentity.
For small
Q ,
we define a functorR : MOD (Q, C) -> Co fib(Q, C)
that we may call
(canonical)
realization. It sends0 : (f -+ e
to the cofibra- tionR0 given by
using
the canonicaldecomposition (24)
of0 .
As for its effect on a 2-celly :
8 -> 8’,
we canby
2.7identify
y with aC-natural
y : G ->G’ ,
and henceby
2.8 with a 2-celly*: G* -> G’* ;
and we setRy=(lp(Ï; id, y*, y) .
This is indeed a
morphism.
inCo fib (Q, C),
for the condition( 26 )
reduceshere to
y * Y*
= y , which follows from thenaturality
of the evaluation inProposition
1 and of theisomorphism ( 23 ). Clearly
B R= 1 ;
in this senseR 8
is a «realization) of0 ,
since its «behaviour» is0.
If X is an
arbitrary
cofibration(B ; O, Y, 8 ; k)
and8’ : Q -> C
anarbitrary module,
the categoryCo fib (Q, C) ( X, R 0 ’ )
is neitherisomorphic
nor
equivalent
to the discrete categorygiven by
the set MOD(Q,C)(BX, 8’) ;
so that R is neither a
right adjoint
nor even aright biadjoint
to the 2-func-tor B . We have
only
thefollowing
still weaker result:PROPOSITION 8. The
functor
has a
left adjoint.
Since the codomain of
(30)
isonly
a set, this has a verysimple meaning
inelementary
terms. The functor(30)
sends atypical morphism (S; a, B, y) : X -> R 0 ’
of cofibrations toy : 8 -> 8’,
and a 2-cell between suchmorphisms
to theidentity.
To say that it has the leftadjoint
L isto assert a natural
bijection
between 2-cells o- ;Ld -> (S ; a, B, y) and
maps8 - y
in the dis crete category MOD(A, C) (8 , 8’) .
Thus there is to beexactly
one 2-cello- : L d -> (S ; a, B, y) if 0 = y,
and none otherwise. Since theequality ( 27 )
is a necessary condition for the existence of a2-cell, Proposition
8 in fact asserts thefollowing :
T HEO REM 9. Let
Q be small,
letX = (B ; O, Y, 8; k)
be aco fibration lii - e
and let0 ’: Q -> C be a
module. Thenfor
each y : 8 ->0’,
thefull subcategory of Cofib(Q, C)(X, R8’), given by those (S ; a, B, y) :
X -R 0"
with this
particular
y , has aninitial object.
PROOF. To
give
amorphism (S; a, (3 , y)
fromX = (B ; O, Y, 8 ; k) to
to
0 ": Q -> e ,
isby
3.3 togive
and
satisfying
theappropriate
instance of(26).
Togive
S :B => P Q
isequally
to
give
the moduleX : S ->S
whichcorresponds
to it as in 2.7. ThenS* Y* = X by (24),
so that ais justa 2-cell O -> X. Since G’* =[Y*,8’]
by (23),
and since theevaluation [ Y*, 0 "] Y* -> 0’
is theidentity by
Rem-ark
4,
there is abijection
between 2-cells8 : Vi S * -+ G I *
and 2-cellsE : Y S* Y* -> 8’,
wheree = BY*. Using S* * = X
once more, we concludethat to
give
amorphism ( S ; a,,8, y) :
X -> R0 ’
is togive
and
satisfying
the instance of(26)
which now becomesConsider now a 2-cell
o- : (S ; a , B, y) -> ( S ; a, B, y),
where y re-mains fixed. To
give
the0-natural o- : S -> S
isequally by
2.7 togive
a2-cell
o- : X -> X
of modules. The condition(28),
sinceQ*Y*
= o-by
thenaturality
inProposition
1 and that of( 23 ),
becomesand the condition
(29)
becomesWe get the initial
object by setting X = O,
a =id ,
and cequal
tothe
composite yÀ
on the left side of(31 ).
Forthen, by (32),
a 2-cell . 0i s forced to
by a itself ;
and this satisfies(33) by the (X ; a, e, y)-case
of
( 31 ),
whose left side is stilly À
= c. 0REMARK 10. There is a dual
result, when
issmall, corresponding
tothe dual
decomposition
of 0 in Remark 6.R EMARK 11.
Clearly
the results ofProposition
8 and Theorem9’remain
un-changed
if we restrict ourselves to those cofibrations(B ; O, Y, 8 ; k)
inwhich A is the
identity.
4. NON-DETERMINISTIC AUTOMATA .
4J.. We recall the
description
of non-deterministic automata in terms of enrichedcategories, given by
Betti[2].
The
dynamics
of a deterministic automatonwith Q
for its set ofstates and L for its
alphabet
ofinputs
isgiven by
a function LX Q -> Q ,
which at once extends to an action M X
Q -+ Q
where M is the free monoidon the set L . Because there are also
practical applications
where the mon-oid M is not
free,
it is usual togeneralize
at once to the case of any mon- oid M. Thus a deterministicdynamics
is a monoid Mtogether
with an M-set
Q .
To obtain the notion of a non-deterministic
dynamics,
wemerely replace
the function MX Q -> Q by
a relation - betweenM X Q
andQ,
sat-isfying
thefollowing generalizations
of theassociativity
and unit laws foran action:
if (m, q)
-r and(n, r) =s
then(nm,q) ~ s ;
and
(
e ,q) ~ q
forall q ,
where e is theidentity
of M.A relation between
M x Q and Q
isequally
a relation betweenQX Q
and
M,
which is in turn the samething
as afunction 2 ; Q X Q - $’ M into
the
set T M
of subsets of M.The ordered
set P M ,
is in fact biclosedoidal
category U.
The tensorproduct
X 0 Y isjust
the setand
while the unit
object
I is{ e} .
One intemal-hom[ Y, Z]
isfor all y E Y},
and the other one is
for all
The transforms of the
generalized associativity
and unit laws arethe
inequalities
and
which inform us
precisely
that we have aV-category 2 with Q
for its setof
objects.
Thus a non-deterministicdynamics
with monoid M isnothing
but
aD-category :2, where V = P M .
Accordingly,
if we now fix once for all the monoidM ,
thepossible dynamics
form theobjects
of a2-category, namely
the2-category C-Cal
ofsmall
0-categories.
Thus amorphism S: 2 => 2’
ofdynamics
isjust
a11-functor;
andsince TM
isonly
an ordered set, this isjust
a functionS :
Q - Q ’
suchthat 2(
q,r) 2’( Sq, S r ) ;
orequivalently,
such thatimplies
Again,
there is at most one 2-cello-: S -> S ,
thisexisting
whenfor all q .
4.2. A non-deterministic automaton is a
(non -deterministic) dynamics 2
together
with asubset J C Q
of initial states and some notion ofoutput.
We restrict ourselves to the
simplest
case where the automaton is a mererecognizer,
withpossible
outputs 0 and1 ;
so that togive
the output func- tionQ -> {0, 1}
isjust
togive
a subset TC Q
of terminal states. Thenthe behaviour
b (2 ; J , T )
of the automaton is the subset of Mgiven by
those m such
that,
forsome /6 7
and some t cT ,
we have( m, j) ..
t. Inother
words,
where the
coproduct S in 0
is in fact the unionin P M .
Following
Betti[2],
we define amorphism (2 ; J , T) -> (3B’/B T’)
of automata
(still
for the fixedM )
to be amorphism S : 2 => 2’
ofdynam-
ics such that the function S ;
Q - Q’
satisfiesand
and we define a 2-cell to be
just
any 2-cell or: S -> S ofdynamics.
Thusautomata are the
objects
of a2-category
Aut . Since( 35 ) clearly implies
that
b (2 ; J , T’ b (2 ’ ; J’ , T’) ,
behaviour becomes a 2-functor b from Aut to theunderlying
categoryVo = P M
oflj ;
of course b sends any 2-cell to anidentity.
The condition
( 35 )
is not, on the face ofit,
a« categorical)
one.Still
following
Betti[2] (although
not interminology),
we define a 2-cat-egory Gen of
generalized
automata(for
thegiven
monoidM ).
Ageneralized
automaton is a
dynamics 2 along
withmodules O : P -> 2 (the input)
andY : 2 -> J (the output).
Amorphism (2 ; O, Y) -> (2 ’; O’, Y’)
is amorphism
S : 2 => 2’
ofdynamics satisfying
theinequalities (that is,
2-cells ofmodules)
and a 2-cell is any o- : S -> S. There is a behaviour 2-functor
s endin g (ill ; O, Y)
to thecomposite Y O : J -> J ;
forclearly (36) implies
that Y O tjJ’,p’.
We have a 2-functor F : Aut -> Gen ,
sending (2 ; J, T)
to(2 ; 0, Y)
where
and