University of Warwick institutional repository: http://go.warwick.ac.uk/wrap A Thesis Submitted for the Degree of PhD at the University of Warwick
http://go.warwick.ac.uk/wrap/59620
This thesis is made available online and is protected by original copyright. Please scroll down to view the document itself.
Categories
for fixpoint
semanticsby
Dani.el
J,
LehmannDepartment
of
Cornputer ScienceUniversity
of
WarwickCO\ENTRY CV4
7AL
U.K.Fon Yael
A
dissertation
submittedfon the
degreeof
Doctorof
Philosophy.PREFACE
I
amextreneiy gratefui to
m}r -chesis eidviscr- 'rr:ofes.sorii'iahu
Shamir.
for his
constant encouragemeiit and ainicabic he-p cr.i.riirsl In)/siay at tne
Hebnew UniversitY.I
have been, dur"ingthe
eiabor"ationof ttris work, in coilstdnt
antufnuitful
discussionswith
MichaeiB.
Smyth andit is ry
pleasuretc
thank himfor the patient
cane hetook to
ne-intrr:auce r:e j-rrtothe intnicacies of
continuouspantial
ordens.i
havebenefitted
from cenversationswith
Davidrark, liichael
Pa-cersr:n,-l{. Wadge, M. Beynon and
A.
Shamir'.ABSTRACT
A pnecise mea:ring
is
givento
generai necuns-ve clerin;tionsof
functionals
of
anbitr:arily high type,
incluciing non-<ieterministicdefinitions.
Domain eguationsinvolving
products,
sums, powers and functo:: domainsare
soived.The use
of
categor:ieswith
rrl-colimits
as semantic domainsis
invssllgsted
andit is
shownthat
such categonies pnovidea
genenal constnuctionfo::
powerldomains andthat
no suchconstruction
can be obtainec wi-thpartial
orciers.Initiat fixpoints of
continuous fr.rrctors on such categories aredefined and
studied.
They providea
meaningfon recursive
definitions
of
the
type
x:=f(x).
The category
of
domainsis
defined and shownto
possess i,i-col-imits.r-':+"-r
€'i-'^^"-is
of
continuousfunctors
onthe
categoryof
domains rtta Lrqa f r^i/vrll Lprovide
the solution
to
domain equations.The
product,
sum, power andfunctor
domainof
<iomainsare
defiaed andstudied.
Productr sum, power andfunctor
domain are provedto
beA\ c+F;
-1-Int:roduction
I.Fixpointsemanticsr<ionainecluationsanonon-determinism
II.
Categories andinitiai
fi>4:ointsIiI.
The categoryor
domarnsIV.
Pro<i.ucts and Sumstl v. ?nr^ton-rlnrnai n<
VI.
Functor domainsINTRODUCTION
This
work definesthe
mathematical semanticsoi
rerunsivenon-deter:ministic pr?ograms and provides
the
techniques necessary for" handlingthe
semanticsof
pnog:ramming languagesexhibiting
non-deten'ninistic
featunes such as pa::allelism.It
should al-so bea
finst
step towardsa
genenal theonyof
computability including
non-detenminism and fr:nctional-sof
anbitrarily
high
type'gener.alizing
Kleeners attempt [6] "The second
step
in that
direction
coul-d bethe defi-nition
of
asuitable
categor5rof effectively
given <iomains andthe
third
theelabonation
of
a
theonyof
computable objects.The
cent::al idea
in this
wo::kis
that
when considering non-deterministicprograms
the notions
of
completepartial
order,
l-eastfixpoints of
eontinuous
functions
and domain equations naveto
be
Ecneraj-izcC"It
irsnot
sufficient
any more, when consic.eningthe
processof
successive approxirnations converging
to
the
final
value,
to
look at
the
sequenceof
objects
but
it is
also
necessaryto
considerthe
wayin
which each appnoximationis
nelatedto
the
preeeding one, thusneplacing
a
partial-
orderby'a
catego::y anda least
upper bound bya colimit.
If f is
a
reeursively
defined non-detenministicfirnction,
f(x) will
be
the
colimit of
a
sequenceof
appnoximations"Typicatly
these appr"oximationswill
give
pantial
information
of
theGiven two successive such appnoximations
it is vital
inCeed,if
onewants
a
cf.earpictune
of f(x), to
know howto
::elate the diffe:rent
branches
talked
aboutin
the
two successive apprroximations.If
oneis
not
intenestedin
non-deterministic
computable fr:nctions an adequate theory,of
computability
can be desc::ibed using completepartial
o:rdens andso,
one couLd questionthe interest
of
usingcategories as
domains.
Butmulti-valued functions
area
verynatural-object fo:. a
theony of. computation,quite
independentlyof
non-determinisn, as waspointed out
by Ma:rtin Hyland[4J.
The useof
categories asdomains,
by
the
gener:alityit
introduces,
shouldalso
have abeneficial
heuristic
effect in
the
choiceof
definitions.
This
been
wo::k
is
made
to
by no means self-contdr:i,ned
but a
consistent
effor"t
hasfollow the notation
and tenminologfof
Mac Lane[7].
Pnevious re.l-ated wonk
Two p::evious attem;lts
to
define
a mathematical semanticsfor
non-determinism have been rnade:the
first,
byR.
Milner
[10],
uses thenotion
of
an onacl-e whichstill
has an oper"ationarfravour,
and the secondby
G"Plotkin []-fJ
w4ich definesa::est::icted
categoryof
gomplete
pantial
orde::s, those which ar:ecolimits
of finite
ones(calIed
SFPobjects)
and definesthe
power"of
suchobjects
to
be certainc.p.ors
(themselves SFPobjects).
This
last
attemptgives the best results
that
may be obtainedin
the
fr"ameworkof
pa::tial
orde:rs and, though boldarrd
elegant,
is
quite
difficult to
foll"ow, only
pantially
motivated anciM. Smyth
[15]
genenalizedPfotkin?s construction
to
algebnaic domainsand
noticed
that
a
quasi-o::de:: coarser thanPiotkinfs
coul-d be defined whieh would makethe
whofe treatment much simplerbut
also
the
semanticsless
pnecise andso, less interesting.
The p::esent powen-domain
construction
is
a
categor"ical vensionof
Smythts proposal whj-ch keepsthe
conceptual andtechnical simplieity
of
Smythbut
nemedythe
impnecisionin
the
semantics and givesa
fully
precise
semanticsin
which no twodifferent
sets are
identified.
The idea
of
using categories insteadof
par^tial
or.ders was pnobablyfir^st
advocatedby
H.Egfi.
On why
it is
imper"ativeto
sol-ve domain equations, seePfotkin
[i1]
on Smyth
[15].
The categonical- appncach
to
the solution
of
<iomain equations (foz'c.p.o.ts)
appea::sin
one sentenceof
Scott
[lS]
ancl has been developedby
Reynolas[f2].
Plag
Chapter:
1
r.eviewsfixpoint
semantics andthe
problems involvedin
domain equations and non-dete::ministicdefinitions. it
sets
the casefon using
categonies as domains.Chapter"
2
necalls
somedefinitions
about categories and proves theexistence
of
aninitial- fixpoint
for" every continuous f"'.rnctor.Chapter 3 defines
the
categoryof
domains: Domin
whictr domain equationsar"e solved an<i proves
the
existenceof
colimits
in
Dom.
Thecolimits
in
Dom may be seen as bothdinect
and inve::selimits.
Chapter
4
definesthe
usual sum and productof
domains and proves theincontinuity.
Chapten
6
definesthe functor
spaceof
two domains and provescontinuity
for
the
annowfunctor.
Chapten
I
Fixpoint
semantics, domain equations and non-dete::ininism.I.
t
Fixgo_int segagticsThe pnoblem
to
whichfi>point
gemanticsis
an answeris
the
following:
how can we make senseo
in
a consistent
and meaningful way,of
general necunsive equationsof
the
type
x=f(x)?
Typicaj-iythe
precedingeguation may be thought
of
as def:-ninga
function
whenf is
a
functional,
but
moreinvolved
cases should. be considened.1)
Whenf is
anon-deterministic
functional the
equation should definea non-deterministie function.
2) In
most pr.ogr"amming languages, proced',:res which take procedunes asparametens may
be
defined (even necur:sively) and thenthe
type of
the
frinctj-on defined j"snot clear
any mone andthe
distirction
betweenfunction
andfunctional
fadesout.
To g:..rematlrernal-j-c,:l-l-sense
to
sucha
phenomenonit is
necessa::yto find
a
semantiedomain (meanings
for
prog::ains)
D whichsatisfies
the
equation D=[D+D] (= means isomor"phlc) wher.e tD-+Dl shoui-d bea
substantiaisubsei:
of
DD, containingat least
the
"computablert furrctions.If
iD+Dlis
w:ritten
*(Drb)
ia
becomes obviousthat
the
above equationis
also
of
the
forrnx=f(x).
The message
of fixpoint
semanticsis that
those equations should be solved andnot
considered as openationaldefinitions
of
a process" The advantageof
sucha solution
is
two-fo1d(the
second reason given hene hasnor
yet
neceivedthe
conside::ationit
desenves).2)
Fixpoint
semanticsallows the
:recu::sivedefinitions
to
be consideredas equations and
this is
the
only
wa1r towards p::oofsof
correctnessin
somplexsituations
r
particulaniy with
non-.cets:ministic pnogramswhich tend
to
be mone complex thandeterministic
ones.The main
tool,
and.until
[fS]
tiletype
mentioned above was Tar"skitsvaniations
onthe
sametheme.
Thesemantics
will
benapidlv
neviewedonly
one,to
solve
eeuationsof
theleast
fixpoint
theorem and some .successes
of this
least-fixpoint
now.
I.2 _
Leas-L-fixpoint semanticsThe message hene
is: all
intenesting
equationsof
the
t5pex:f(x)
anesuch
that x
vanies oven an o-completepantiar
orden D wirich has aleast
eilement,f is
an o-continuous endo-firnction D+D, and theinteresting solution
is
the
]east-fi>cpoint
of f.
Definilion
t :
A pantial- or:de:: Dis
ur-completeiff
eveny denumerabledirected
SgD hasa least
upper bor:rid(i.u.b.
)Definition
2
:Let
A and B bepa::tial
or"dens, f:A+Bis
ul-continuousiff f
presenvesall
existing
l.u.b.rs of
denumerabledirected
subsets.The theoren
that
asse::tsthe
existenceof
a
least
fi>rpoint
under theconditions
aboveis
a
vaniation
on Tanskitsfixpoint
theorem.
Therethe
assumption on Dis
stnongenbut the
assumption onf
weaken(in
fact this
vaniation
is
easier
to
pnove thanTarskifs
or"iginal
result
anciis
quite
tr"ivial).
Some peopie have prefe::::ed
to
use Ta::skitsresult
about monotonefunctions
but
the
useof
monotone non-o-continuousfunctions
d.oes notLeast-fixpoint
semantics have pnovedto
be ext::emeiy successfufin
defining
the
meaningof
a
l-argeciass of::ecu:rsive
programs,essentially
dueto
the
fact that
ur-completepartiat
or<ier:sare
prleber"-;ed.by
maryconstructions
andthat
nnnyuseful
functions
al?e o-eontinuous.We shal-l
r"ecall
(r^riththe
notation
of
[13]).
Theonem
1 : If
A and B a::e o-completepartial
orderswith
leastel-ements then so ar"e AxBr A+B and [A+B].
[a+e]
is
the set
of all
ro-continuousfunctions:
A+B wi.ththe
pointwise ondering.Theonem
2 :
f:AxB+Cis
ur-continuousiff it is
separately ol-continuousin
eachvariablen
and [4x3+g]:[A+[B+CiJ.Theorem
3 :
The eval-uation map:
eval
:
Ax[A+B]-+Bis
ul-continuous. The abst::action map:
larrbda:
[AxB+C]+[A+[B+C]_]is
o-continuous.
The
least-fi>qpoint
map: gfix :
[A-+A]+Ais
u:-continuous.The composition
of
two o-continuousfulcticns is
trr-continuous. The composition map:
o
:
[A+B]x[B+C]+[A+C]is
ul-continuous.The pnojection maps
r pl t
AxB+A andp, :
AxB-+B aneo-continuous.
Constant
functions
are o-continuous.Thene
are
two dark spotsleft in this
nosypictrlre:
non-detenministicpnograms and domain equations.
I.
3
9om€n_equationsThe necessity
of
solving
domain equations was e>piained abovein
nelation with the
eguation D=[D-]DI whichis
a
preiiminar.yto
anysemarrtics
fo::
untyped pnocedur.esbut
other
similar
examplesare
found.In Ie]
Plotkin
showsthat,
when dealingwith panallel
processesn the prognams should be given as meanings resumptions, elementsof
ad.omain R which
satisfies
R=[S+p[S+(SxP.)]l wher,e S j.sthe
oornainof
final
values and Pis
the
powe::-domain constructor.The
fir"st
fai.lure
of
fi><point semanticsis that
such inter:estingequations cannot b'e solved by
least-fixpoint
methodsfor
the
obvious reasonthat
no reasonablepantial
orden can be defined on domains. What wouldit
meanfon a
domainto
beless
than another one?Fo::
the
first
time,
in,[fs]o
Scott
solvedthe
equation D=[]>Dl andhis
method was genenalizedto
other: equationsinvolved:
+r
x
and +(witir the
exceptionof
P) by
Reynoldstl2l.
The method used thene
is
categonical:
the
class
of
domainsis
category andif
the
arrowsar€ car:efully
sel-ected (they haveto
bepairs of
continuouspnojections)
th€
categoryray
be provedto
have di:rectedcoi-imits
and+r
x
and + may be seento
be
continuous functor:s.Domain equations may then be solved
by
initial-fixpoint
nethodsin
categonies which genenalize
the
least-fixpoint
theorem.I.4
_
[on-.delerminis_tig pr:o4lams_ and pgwgr-domainsThe neat way
to fixpoint
semantic-sfor
non-detenministic pnogramsis
the
definition of
a
powen-constnucto:: P whichacts
on domainsto
givea
domain neasonab\r closeto
what could be expectedfon
a power-set.Non-deterrninistic continuous
functions
fnom Ato
Bare
then elements gn [6+p(B)i
.'rjnfor"tunately
the
pnoblems ane power-domainof
an o-completepartial
order.numerous when one
fi:ies
to
define
theLet
usfir,st list
twoconditions
that
should befulfilled
bv Pto
be semantieally acceptabf e.l-)
The unionmp
U:
;iP(tr)xp(6)+P(A)is
u*continuous.2)
Thesingleton
map: {} :
A+P(A)is
irr-continuous.The neason why these,
conditions are
impe::ativeis
that the
rule of
thegame
is that
al-l
semantically meaningfulfunctions
should be ul-continuous and irnionwill
be usedto
translate
the non-deterministic
or
and thesingleton
mapto
t:ranslate
deter:ministic fi:nctions.The pnoblem
of
finding
an acceptableconstructor
Ph.s
been solved(independentl-y)
by Milner
andEgli
fo::
a
very special
case: for flat
domains (those domains whenex*y
andxspx=rrr is
the
reast
erement).This
solution
is
too
r:estricted
to
beof
:reaIinterest
beeause evenif
A and B ar"eflat
[A+B] and P(A) anenot
flat
any more and theconstructions
cannot beitenated.
Plotkin [11]
has a more useful const:ructionwhich,
thoughnot neaIly
gener:alois
generat enorrghfor
iteration of
constructionsto
bepossible.
The au.thor^thinks
that
hisconstruction
should be pnefe::r"edto
Plotkinrs
on thnee counts.1) It is
mathematicallJr simplen (much simpler).2) It is
fuJ-Iygeneral:
it
gives a
power domainto
any trr-complete-posetwher"eas
Plotkin
defines poWen-domainsonly
for:
afgebr.aic countably based posets.3) it
p::eser"vesthe
identity of
eveny subsetof
possible
vaiues wheneasPlotkin
definesthe
elementsof his
powen-domainto
be onlyequivalence classes
of
subsets and soidentifies
many differ"entsrrbsets.
An exampie
of
1i1s problems ar:ising when onetries to
sol-ve equations onnon-flat
domainswill
be givennow. It
showsquite
concrusivelythat
no satisf5ring
pa::tial
onden may be defined onthe
powen-setof
a
domain.Let
E bethe
domainconsisting
of
aninfinite
countable ascending chainwith a top element.
Eis
a
non-flat
continuousiattice
(seeI-ig.I)
6
.2
.1 .0=r
r !6.
isj iff i5j
ig-6Eo
Let
s:
E+E be definedby
:
s(n):n11 and s(o)=o.s is
a
continuousftrnction
totally
acceptable semantically.Let
now S_ and S^ bethe
two fol-lowing :recr.:rsivedefinitions:
tz
Sf :
x::=s(x)
S^:
x::=s(x)
or
OS-
L2and S^ mav be considened as necul3sivedefinitions
of
constantfirnctions.
Any neasonable semeiptics shouLd associatewith
S., anelement
of
E andwith
S,
a
subsetof
E.As
far:
as Sais
concernedit ls
a
deterministic
definition
and theneis
no question aboutits
meaningif
westick to
a
fixpoint-semantics,there
is
a uniquefixpoint : * .
Operationally we could saythat
S.',computes
the
l-.u.b. of
the
sequence:
oss(o)cs(s(o))=... "t(o)". ..
whichis
@ .For
S, things
a::enot
sosimple.
The semanticintenpretation of
g
At 1)
Cleanly ther:e
are
two suchsets
:
E and Eo:E-{e}. Which oneof
them should be chosen?If
the
semantics hasto
have any operational- relevanseat
':;1" tl:ie setdefined
ly
SZ should containthe
singleton
definedby
S.
becauseS, is
nicher than
S,
in
possibie computations.
Theonly
acceptable meaningfn- Q iq than E
rvl' sA !e
ff n i" to
bein
some sensethe
least-fixpoint of
S,
then we must haveEcE
-o
.But
clea::Iy
in
any reasonable orden(in
pa::ticular
in
Milner-Eglifs
order
defined by ArBiff
VaeA Erb€B agb and V-beB SaeAagb)
E^gE.M
In fact
in
Milne::-Eglirs
o:rden"fro.
this
point only
th::ee possible ways seem open :Abancion
the
idea
of least-fixpoint
semantics anci adopta
I'bestilfixpoint
semantics as oneof
those studied byA.
Shamir"[I4] (for
apreview
of
thesenesults
see[8]).
Forthe
momentnot
enoughis
known on continuous
best f,ixpoints
onnon-flat
domainsto
see whethe::this is
a promising avenuefon
fu::then nesearch.Decide
that
no diffenence should be made between E and E,.Plotkin
[1r]
and Smyth[15]
develop sush ideas"It
wonksbut
the
t:reatmentis
mathematicallydifficult
and, mostimportant,
manyidentifications
ane madefon
which no convincingnon-technicaf neason can be given.
Abandon
the
ideathat
domains ar"epartial
o::dens and admitthat
theyare
categonies on which every denr.une::ab1e chain hasa colimit.
This
third
proposaiis
the
one whichis
developed here.A fr.inge
benefit
of this
idea
is
that
now domain equationsfaIL into
thesame basket as meanings
of
pnograms.In
other" ter:ms nowthe
equationl=[Pn] is
a
r"ecunsive program.2)
Before
the technicai results
one wordis in
or"den on why col-imits anebette:: than
i.u.b.rs for
semanticsof
non-determiriisticprograms.
Ina
category thene anedirected
ar.rows betweenobjects
with
an associative compositionof
aruows andsuitable
identity
arrows.
Apartial
ordenis
a
categoryin
which theneis at
most one arrow between any two objects.The
notion
of
a
col-imit
which genenalizesthat of
1..r1.b. has thefollowing
distinctive
featur:e.Let
Cbe a
chainof
arnows andobjects
:C - a;--)a---) ac_-2 ...di€d_.ri
rr.r^f.
otzL
Its col-imit
dependsnot only
onthe objects aoeo.odir... but also
on thearr?ows f -
,. ..
,f_.,. ..
n- - l
By
contrast
in
a
pantial
ondenthe
colimit (I.u.b.)
cannot depend on the amows because theneis
no possiSle choicefon
the
arrows(at
most onebetween
a.
l- and a-.,, a+-L). In
our
semanticinterpnetations
the
objects
will
nepresent
partial
information
andthe
a::::ows possible waysin
which twosuccessive pieces
of
information
may benelated. In
the
caseof
non-deterministic functions
anobject
wilL
consist
of partial
info::matien concenning eachpossible
conputation and vlhen two suchobjects
fol'l-ow eachIn the
above examPle the computation defined bY S^wili
be represented bY :z
Ei-g. 2
which
will
be seento
bea
chainin
P(E) andthe
meaningof
S,
will
bethe
colimit of this
chain,
pr"ovedto
be E.Due
to
ourwill to
t::eat
domain equations,the
detail-eddescription of
the
categor:y P(D)will
comeonly
in
chapte::5.
Thefirst
par:tof
Chapter 5 may be read. immediately by
the
readertoo
curiousto
wait'
{ttt\
.t\
turlJ
r i\
JJI
1.vtLrzI
I i t\
J
'
J\
tn 'r t :q]Lvtrt4tvJ
{QrrtZr...iJ
,ji,l,{iJ+},,
:
A
i;
1C
lrr
\Yr
'',
I ra
+r
,"1
l-f $1
A
--i+1
a
q
a
Chapten
II
Categonies and
initiai
fixpoints.
Two wond.s
of
caution ane needeci lrene,the
first
on foundations andthe
secono on isomonphi-sms. Onepoint,
on which our'terminolory
differs
fr"om Mac Laners[7] is that
the
wond rfsetrrwill
always be usedin its
stnict
sense (sayin
Zer.mello-Fnaenkel axiomaticset theor"y).
The word ffclassil wiJ-l- denotea
coll-ection
of
sets
satisfying a
centain pnopenty(definable
in
the
languageof
set
tb-eory); when anobject
is
said
to
bea
subsetof
a
class the
wond ttsetn hasto
be understoodstrict.ly :
notall
sub-classesare
subsets, andit
should come as no surpnise that soi-utionsto
the
equation D=P(D)are
foundrbut
obviously sueh solutions iha hn^rah -'l:qcles.Ali
the
categories usedin this
paperas
domainsare
large
categori.es :the
objects
and monphisms forma class
(pnopen o:: otherwise ).Definition
I :
A categorSris
smalIiff
the
cfassof its
objects
andthe
cl-assof its
anrows anel.sets .Cat
wil-I
denotethe
categoryo{
al-I
small
categories(it is
a pnoper: lange category).Catr
will
denotethe
categoryof all
lai:ge categories(it is
not
alarge
category).Now comes
the
secondof
oun wondsof
eaution.An impor.tant diffenence between
partial
orders and categoriesis
theexistence,
in
catego::iesoof non-trivial
isomorphisms.Definition
2 :
In
a
category C an anrowf:a+b
is
an isomorphismiff
In this
caseg
is
also
an isomorphism anda
andb
are said
to
beisgrorphic
(noteda-b).
The image
of
an isomorphismby
a
functor^is
an isomorphism.Clearly
the
identities
CI"
fon
eachobject a)
ar"e isomorphisms' butthere
could be othe::.cnes(cafled
abovenon-trivial)'
Isornor.phisms
in
the
functon category BA a::ecailed
natural
equivalenceson
bette::
n3lsral
isomorphisms and notedt :
SgI'A
universal
a::rawr whenit
existso
is
always uniqueonly
upto
isomorphisnr(in
the
commacategory);
in
particular
initiat
objects,products,
co-prod'ucts,l'imits
andcofimits, left
andright
adjointsare
definedonly
upto
isomonphism.This
is
a
fact that
weshall
haveto
bear
in
mind and weshall
try
to
usethe
definite a::ticle
only
fo:: objects
which ane rrricluely deterrnined'on
the
othe:: hand isomorphicobjects
ane indistinguishabl-e and when weshalI
look
fo:: solutions
of
equationsin
categories we sha-I] besatisfied
with a solution
uPto
isomor:Phism'In
the
categor:ies whichwill
be used as domainsit is
c::itical-
that
thecoLimits
(the object) are
defined r.uriquely andnotonly
upto
isomonphism(we want
tne
left-adjoint
r"ight-inver"seof
a
frnctor to
be uniquely dete::mined) and wenecall the following
definition
:Definition
3
:
A categoryis
skeletal
iff
any two isomonphic objectsare
identical.
The term
skeletal
shouldnot frighten
anybodyothe
authorthinks
that
those catego::iesare
quite
pleasantto
workwith'
If
Cis
a
category anyskeletal
fulI
sub-catego::yof c is
caiied
askeleton
of c. c is
equivalentto
anyof its
skeletons and any twoskeletons
of c
aneisomonphic.
weshall
admitthat
any lange category hasa large
skeleton.In
a
skeletal- categorythe
limits
andcolimits
are
r.rniquely detenmined asfa::
asthe
objects are
concerned,the
aruowsof
the
limiting
cones being detenminedonly
upto
isomonphism (evenin
a skeletal
category theneare
non-tnivial
isomonphisms).The theonems about
initial
fixpoints that
will
be pnovedin
the
sequelof this
chapter ane fonmul-atedfon
anbitnary eategonies(not
necessanilyskeletal-), a
slightly
sharpen vension rnay be obtainedfo:: skefetal
categor:ies
if
one nemembensthat
isomonphicobjects are
identical.
Definition
4 :
The catego:ty (,)is
the
category whoseobjects
ane thenatural
numbers and suchthat
theneis
an annow: mt iff
m(n andin this
case theneis
exactly
one arnow:
rlF n.trt
is
the set
of
natural
nunbens onderedby the
usual ondening.Picto::ially
:1,1
:
O--.1'l+l€
oo.
i--+i+I*....
where
identities
and arrows,. obtainedby
composition anenot
drawn.Pantial
ordens aneexactly the
categor.iesin
which ther:eis at
most oneEu?r^ow between two qbjgsls.
Colimits
in
pantial
ondensare
exactly
l.u.b.
o
is
apa:rtial
onder.
Pantial
onder"sare
skeletal.
Posets
are
the
smaLLpartiaL
ondens anda
poset has aninitial
el-ementiff it
hasa least
element.In
the
sequelonly
o-categonieswill
be conside::ed,but
any directedcategory containing
o
asa
sub-category could have ireen chosen.&J-posets
with
initial
element,in
the
preseat termi:roiogytare
exactiythe
{rFchain-cornplete posetsof
Ma::kowsky & Rosen[9]'
Definition
6 :
A functon H:A-+Bis
an 6'-fr'tnctoniff it
preservestrr-col-imits.
Cautign
:
Fon every F:upA which hasa colimit,
H hasto
presenve thecolimiting
conesrnot only the colimit objects'
Lemga-l
:
If
H:A+B and G:B->Care
trl-frurctors, sois
GoH'Pnoof
:
Obvious.Lemma
2 :
If
H:AxB+Cis
abi-functorr
His
ano-functor
iff for all
objects
b in
Bthe restniction
of
H,
li:At (\(f)=tt(f,\)
is
anu)-functor and
for all
objects
a
in
AH,:Bt is
an ll-functo:l.In
short
abi-functo::
is jointly
continuousiff it
j-s separatelycontinuous.
The Pr:oofis
obvious.The fundamental
fixpoint
theoremof
categorytheory
shall
be proved now'Its
present formis
dueto
M. SmYth.Theonem
1 :
Let c
be ano-category'
F ano to-endo-functor F:c.>c andh:a+Fa be an arnow
of c,
then theneare
allrows n:Fb+b and g:a-+bsuch
that
:1)
11is
an isomorPhismg=1 o f'gofu
3)
Fo:: any arnows k:a+c and rn:Fc->c suchthat
k=moFkoh ther:eis
a
unique d:b+c suchthat
qoq=6ofs.I
{ {
*
p
\&,
Fb
\F
m\
HFc
! !Ei. r
Pnoof:
Let
H:trPC bethe following
:h
llr'*
n 'rir.
-' , 1a
+
Fa----t,
lza+...
Faa-)
Ft+ta-Jr:....
C
is
an o-category and H hasa
col-imit.Let
j:Hib
bethe
col-imiting
cone and g beits fi::st
arrow jo:a+b. F being ano-functor
Fj is
a colimiting
conefor
FH.Fh ^
r2nu=!r2a-
r13."l J-'r 1
ITI
fi-l.
2 EbI
nlr
bv
Let
n:Fb+b bethe
unique arrow suchthat jr=n'Fjr-,
for
i>1.CleanLy g=jo=jlnh=noFgoh .
To see
that
n
is
an isomonphismjust
observethat U:iiil-l
defined byuo=Fjooh,and
ili=Fji-I
foo
i>l is
a
cone andimplies
the
existenceof
aunique tr:b+Fb such
that li=l"ji
.Clearly
then 11o)':b+b suchthat
nolojl:rloili=j1
which
implies
qol=t'
and simila::IYIoq;F!+Fb
is
suchthat
),o1"fji=Fji
which impJ-ies lorl=115 .Let
us now plrovethe
riniversal property
3 )The
diagnam
-
a----4 Fa
commutes.,\
/^"r*
\/
cA commuting cone
e:His
may be definedby
eo=k and e.*t=m"Fei (ernr"rih:InoFe . oFih=r-noP(eioFi-\ )=moFe .-r=e . )
Then thene
exists
a
unique 8:b-+c suchthat
"i=B'jj,
.-] -l
But m"FB"q-roj.-rhoFgorl-'oqrFj._r=moFEoFji_l_=toF(Boir_r)=rn"F"i_I="i
moFpon-i
is then also a solution to
e-.=xoj* and $=111opgon-l, $o1:pof$.f!
Fon uniqueness supPose
that
sonslnoFor
then€o:ft=pog.ol=6o!'6of'go[=61o11ofgo[=61og-cro j
o
andby
induction
for i>I:
e. =moFe.-t=m"FcloFji-l=oon"Fji-t=ooji, whiehimpries a=B'
Q.E. D.
If
Cis
apartial
onder" Theoneml- states
that if
Cis
an o-cornpletepartial
onde:: and f:C+Cis
an o-continuousfwrction, fo::
each aeC suchthat
aEf(a) (a
is
a pne-fi:<point)
ther:eis
a
fi:<point
b of f
which-is
the least
post-f*point
gfeater
or
equalto
a.For categories
a
theoremwith a
sirnil-an diaglam appearsin
Wand [16]but in
a
different
setting.
When C has an
initial
elementinitial
fixpoints
mav be defined.Definition
7 : t is
aninitial-
object
in
Ciff
there
exists
a
uniquearrow
i-_:t+a
fron
r to
everyobject a
in
C.a
Def_rnitlgq
8
:
A categoryis
aninitial
categoryiff it
has aninitial
object.Theorem
2 :
Let
C be aninitial
uj-categor:/,F
an o-endo-functon F:C+Cthen
there
is
an ar?ow 1:Fb+b suchthat:
l-)
n
is
an isorno::phism2) for
any arrow m:Fc->c ther:eis
a
unique cr:b+c such that go1:pofg .b is called
aninitial
fixpoint of F; it is
unique upto
isomorphism.Proof :
Appiv TheoremI to
f=t-LI
If
Cis
a skeietai
categorythen the
b
of
Theorems J- and 2verifies
b=Fb,and
is
uniquely
deterrnined which allowsthe definition
of
aninitial
f rxpol-nt
functor.
Theorem
2
saysthat
(brn)
is
aninitial
elementin
a
suitable
category. r-cis
the
authonrs guessthat
such categoniesare
rel-atedto
those desoribedin
[3]
Definition 9 :
infix :
[C*C]+Cis
defined by- infix
F=bor the
uniqueb implied
by Theonem 2F
- infix
*r =o. , the
unique o:br+bpr suchthat
F
0on_=n_, r ts' o
T,
n oFc
."Fl
The main claim
of this
paperis that all
necursirrc programs, evenNeve::theless
there
are
cases when othenfixpoints
of
the
type
consideredin
Theonemt will
beof intenest. It
witl-
be shownthat
a
dornain equation maybe
conside::ed. as an o-endo-fi:nctorin
the
categc.r'yof
aomains, whichis
arro-category,
but
in
cerEain casesthe
initial fixpoint is
too
triviaL
to
beof interest
and..other fixpoints
will
haveto
heconsideredl a
goodexample
of this fact is
the
equation D:[D+D] whoseinitial- fi>point
is
the
onepoint
domain.Chapter
III
The categony
of
domainsThe purpose
of this
chaptenis to
define
the which domain equaticnswil-I
be solved and to o-categorywith
aninitiat
object.
catego:ry
of
ciomains,in
prove
that it is
anThe
objects
of
the
categonyof
domains, which shall- becarled
domains,should be
the
structunesin
whichto
give
meaningro
prognams.There are many pr:operties
that
one couidthink
of
and which ar:e probabtynecessary
if
one wantsto
havea
neasonable theonyof
computation, butas
it is
not
yet
clean what pr:opertiesexactly
ane needed on whatprope::ties should be
helpful, this
wonkis
aimingat
the
b::oadest possiblenotion
of
a
domain which can auppontthe
pi:oduct, sum, functon domain and powen domain constnuctions andwith
which ciomain equations can be solved.rt is
cj-earthat
the notion
of
a
domain p::esented he::eis
too
bnca6for
a
theory
of
computation because domains anenot
necessanilyeffectiveiy
given, but
the
r"ight
categoryfo1
a
theory
of
computationis
centainlya
sub-cdtegoryof
the
one whichis
definedhere.
Oneof
the
aimsof
this
workis to
showthat
domaia equations may be sol-ved.without
bother"ing whetherthe
domains involved.are
effectively
givenor
even rrcontinuousrrin
the
senseof
Scottts
continuouslatticeso but
obviously any neasonablenotion
of
a
"continuousrr domain would invol_vea
sub-categoryof
ours, cl-osedunden
oolimits
of
countable chains.The
following
definition is
the
br"oadestthe
authon couldthjnk of.
A domain
is
a large skeletal
initial-
o-category.A domain has
to
bea
category becausethe
power dornainof
a
par"tialorden
is
not
a
partial-
or,<ier andit
hasto
be aninitial
6-category becauseinitial fixpoints of
o.r-frnctorswil-i
bethe
meaningsof
pnog:rams.It is
::easonableto
supposethat
domains aneskeletal
because isorno:'phicobjects
cannotbe
distinguished and should havethe
same semanticinterpnetation.
Theneis
also
a
conpelling technicaf
reasonfor
considering
only skeletal
categor"iesfo::
domains: it is
only
onskeletal
catego::iesthat
the
left-adjoint
right-invense
of
a functor
is
uniquely determined aswill
be seenin
the
sequel.One could
also
wish domainsto
be smallbut that
wouid leadto
someslight
technical
problemsin
the
definition of
powe::domains.
Theobjects
of
a
domain may be seen as piecesof
incomplete information andthe
mor:phisms as possible waysin
which two itemsof
information nay benel-ated.
Theinitial
object
is
the
absenceof
information
andar-colimits
nepresentthe
infonmation gathened thnough aninfinite
sequenceof
exper"imentsincluding
the
way successive items r€l-ate to eachother^.
The nonphismsof'.the
categoryof
domains shouldallow
thesolution
of
domain equations,that is to
saythey
should make the categorlrof
domains an 6i-category andthey
should makethe
producttsr.m,
functor
dornain and powen domain openations o-functors.I'lhen one
looks
at
the
methods usedto
solve
domain equationsrin
Scott[1g]
and Reynolds[]-2lo
one seesthat
they
amor:ntto
the
const:ructionof
langer
andlarger
domains, each domainin
the
seqluence being asub-domain
of
the
next
one.
Asa
consequence, an anr€w F:A+B should ensurethat
Ais
a
sub-categoryof B. In fact
A should even bea
full
sgb-category
of
B,
because B sh-oul-d bericher
irr
objects
but
not
in
arlrcws between
the
o1dobjects. Ir
othenwords
f :A-+B shouldyield
a functor
F:A+Bboth
ful-I
andfaithful.
To pnesenvethe coiimit
struetune
F
shouldalso
be ano-functor:.
This
r:rrfor.tunatelv does not ensunethat
the
functo:: domain eonstr:uctoris
a functor
in
the
catesor.'\/of
domains.
(We wanta
functor. covar:iantin
both
vaniabl-es).
More pneciselyto
any coupfeof
ar.rowsin
the
categor3yof
ciomains: f:A+At and g:B+Br an arrowh
shouid beassociated: h:[A+g]+[Ar+Br].
The wayto
ensurethat is to
askthat
an anrowf:A+Ar,
yields not only
afuncto:: F:A-rAr
but
also
a
functor" H:A!+A.If
f:A+Aryields
F:A+A!.and H:AI+A and g:B-+Btyields
G:R>B' and L:B!-+B thenM:lf
Qof.His
a functo:::
[4+$]+[At+Bt] and N:],9 LogoFis
a
functon[At-tBt]+[A+B].
Tonecapitulate
f:A+Ar shoul-d bea
pair of
functons (FoH) F:A+A! and H:A!+A suchthat
F and H ane u:-functons,(both should pnesenvethe
st::uctu::e) andF
is fulI
andfaithful.
This
doesnot
makethe
categor5rof
domains an 6-category andto
ensurethe
existenceof
ur-colimits
someconditions
onthe
r"elation betweenthe
twofunctors
Fand G a:re
needed. Returning.to the basic
intuition
tir,at f:A-iAr shcuidmake A
a
sub-categoryof
Ar
one may seethat in
the
construction
of
solutions
to
domain equationsit
wil-l- be usedin
the
waythat
the
objectsof
A ane approximating thoseof Ar,
Ais
a
sub-categonyof
Ar
on whichAr
may bepnojected.
Nowonly
a
smal]leap
is
neededto
conceivethat
A shoul-d bea co-reflective
sub-categor.yof Af
(see F::eydi2l p.79).
Thismeans
that
given anobject
b
in
Ar
theneis
anobject
E'in
e
which best appnoximatesb
by 'barr annow rn:F*l in
the
sensethat for
anyobject a
in
Aand
fo::
any mor"phismf:a+b
in
Af
theneis
a
uniqueg:a+;'in
A suehthat
f=n
og.Equivalently
(see Maclanet7l
p.gg-gO)oin
termsof tiie
funetors
F and H abover (FrH) shour-d bea pain
of
aojoint
functor.s suchthat
HoF:I" the iienr-iiv A _rrurLJ rutruLLrr.urr frrnnrn, nn A, alid the Lfit n _f the adjufrction
:
toiHop
the
identity
natunar-tnansforrnation"
rn
the
terminororyof
Maclane
[7]
(p.92)
r.
is
a
left-adjoint
night-inverse
for
Hor
there
i.s
an
adjunction
<FrHlIre>with
unit
the identitv.
The
notion
of
a
pair of
adjoint
functor.s has been defined by Kan[5]
in
1958 and has been sinqe then necognized asthe
most i-mpor"tant eoneeptof
categenytheor:y.
Thebest
upto
d.ate suinmary onthe
subject
is
p::obably Maclane
[7J
chaptersiv
andv. rf
A and B arepar:tia]
or,densr
F:A+B and H:B-+A (FrH)
is
a pain
of
adjoint
functc*s
iff
F and H aremonotone
f'nctions
suchthat:
HoFE'ide and F.HEidB(Galois
connection).Thnee
facts
about adjunctionswiil
be necall_ed.Fac!
r:
The compositionof
two adjunctionsis
an adjunction (Maclane[7]
Theo::emf
p.
'l_01).rf
<FrGrrrr>
:
X+A and<Fr6ri'oE
,
A-+Dare
two adjunctions thenthe composite fr::ictor"s
yield
anadjunction
:
.Frrg6rei-r.nrf.Fr6,
:
X_+D .Note
that if
r1=f-, andf'=I^
GnF.i-=f.. .zrAX
Fact
2: If
(FrG)is
apain
of
adjoint
funetors
F:A_+B, thenF
pneselrves
al-l
colimits existing
in
A and G p::esenvesal-I fimits
existing
in B.
(Maclane[Z]
theor"ern 1p.
114).This
makesthe
condition
that
F be an o-fr:ncto:: nedundant,but
the
condition
that
Gis
antl-functon
is stitr
necessarrf andnot
implied bythe
other
conditions. In
the
categoryof
domains an anrowis
arfcontinuoustr co-projeeton and
if
f :A+At then A
is
a
ncontinuousrlco-reflectir,'e
sub-categor5rof Ar.
Thefact that
G preserves al-Iexisting
timits will
not
be usedin
the
sequel andtire
authon has noj-ntuitive
ex?lanation asto
whyit
sirould be so.$!;|r
If
CfrG)is
a pair:
of
adjoint
functors
then each oneof
then detenmines
the
other
upto
natural
equivalence (Maclane[?]
Corot}aryI
P"
83).This
is
not
sufficient for
our purpose and we need :Theo:.egl
:
Let
B bea
skeletal- category and G:B+Aa
functor" which hasa
ieft-adjcint
right-inverse
thenthis left-adjoint
right-inverse
F
is
uniquely deterrnined bY G.P::oof
:
Byfact 3
F:A+Bis
detenminedrp to
natural
equivalence; B being skel-etalthe
effect of
F onobjects
is
r-rniquely determined and Maclane[Z]
Theorem2(ii) (p.8I)
implies
that
an ad-jirnctionis
nomnlefelrr determined
by
its
night
functon G,the
effect of its
feft
functo:: onobjects
andits unit. In
ou:: qasethe
unit
beingthe identityo the
effect of
F on arnowsis
defined by FGh=h.The::e
is
then no needto
considerthe
morphism f:A+Ar as bei"nga
couple(FrG) and
f
may be definedto
bea
G suchthat
a
suitable
Fexists.
Contnary
to
Smyth[:-Sl,
the::ight
adjoint
will
be emphasizecihere,
bothfor:
the lack
of
an acceptabl-e termfon the
left-adjoint
(embeddingis
used
with
anothen meaning by Maclane), and becausethe
left-adjoint
doesnot
seemto
determine uniquelyits right-adjoint
left-invense.
Definition
2 :
Afi:nctor
G:B+Ais
a
co-neflectoniff it
has aThe tenm o-eo-::eflecton
will-
be usedfor.
suchfunctcrs
which areo:-functons.
If
A and B arepartial
onciens, G:B-+Ais
an o-co-nefLectoriff it is
an o-continuouspnojection
in
the
senseof
Scott
ll-31(Definition 3.6).
A cha::actenizationof
o-co-refl-ectors
shail
bepnoved now .:
Theonem2:
IfAand
B ar"e catego::iesn Ga functor
B-+Ar Gco-neflecton iff to
eachobject
aeA may be associate,fFoaeB such
that
GFoa=a andfor
any arnowf irr A :
a+Gbexists a
unique arnowF in g :
Foa+b suchtha't
f=G?"Pnoof : An llr vrr+J r f
an object +hera
by Maclane
B(F"arb
)
to
: let F
be the-nA nr
L
/J
Ineonem _L p.A(a,Gb ) .
left-acijoint
right-ir-.verseof
G;80 Q:ft>69
f"
an isornor.phism fnomif : the sentence
trfor: anyannow
f=CF"equivalent to
rrthe couple(Foarl.) is iliiversai
from ato
C",the
p::esenceof
GFoa=a; By MaclaneIZ]
Theorem2(ii)
p.Bfdefines
a left-adjoint
r.ight-inver"sefor
G.The category
of
domains may now bedefined
:Definition
3:
The categonyoi
domains, Dom,is
the
catego::y whichhas as
objects the
domains and as anrowsthe o-co-reflectors.
In
Doma
monphism f :A+Bis
an ul-co-reflecton G:B-IA.Thene
are
twonatural fongetful
functo::sthat
one candefiae
from Domto
Catf
ihe
categonyof
la::gecategor"ies.
Ttr-eleft-forgetful
functon(Fonr)
is
a
covariant
functor
that
sends an o-co-.neflector" Gto its
left-adjoint
::ight-i-nver-se F andthe night-fongetful
flurcton
CFor^n)is
a
contravar"iant functo::that
sends an uJ-co-reflector Gto
tb-efunctor
G.The main Theorem wiJ-l now
give
the
important pnope::tiesof
Dom.I>
'ln
Theonem
3
:
The category Domis
aninitiat
ul-categoqr, andthe
night-forgetful
functor
Fono tr"ansfonmscolimits
onu
into limits
onoP tr).
Before we proceed
to t;.c proof of
Theorem 3 sometechnical
lemmas.Lemma
l- :
If
A and B ar:eskeletaf initial
categonies and G:B-+A aco-neflector
then Gr=rr ato=tao,
andif
Fis
the
l-eft-adjoint
::ight-invense
of
Go Fr=l- and Fj.u=r-u ,^.
.&-.-Pr"oof
:
A(r,Gb):B(irrb)
impiies
that flr is
aninitial
object,B being
skeietai F.i-=t.
F-.t-u hasto
be anarrow:
r:Fr+Fa butthene
is
only
one such aruowtF* .
Gt:GFr=r because G.F=IA " G1. hasto
be an arrow f:rom r=Gt+Gb andthere is only
one sucharrow l_Gb
Q.E.D.
i.,emma
2 : trf
A and Bare
categonies, G:B+Aa
co*r:eflectol. withlaft-aciioint r^isht-inverse
F ande :
FoGiIothe counit of
the*v- e **J
u
adjr:nctiono then Goe=G, and eoF=F.
Remank
:
Following Maclane[7],
G denotes boththe
furrcton and thenatural
transfonmation:
e]Ccorisisting
of
iclenti.ty
anr.ows;thus
Goe=Gis
equivalentto : for
al-1objects
beB, GeO=]Gb, o"^ -i
j-
+L^-^tations
of
Theonem 2."b-rcb -r, LrrE rru
P::oof
:
Maclane[7]
Theorem1 p.80(ii) implies
G=[G.a).(noG) andLemma 3
P::oof :
v)
if
ArBrFrG and Eare
asin
Lemma 2o and g:b-+bf an arrow.-tnen ug=goeL
IJ
G(g"eb)=GgoGeb=Gg
by
Lenma 2.Pr"ogf
€
Tle
_r,em3
:Let
us showfinst
that
Dom has aninitial
object
:
the
category 1with
oneobject
(.
)
and one(identity)
arnow.
Clearly, 1
is
a
dcmaj-nand given any domain A thene
is
a
unique functon GO:A+1. GOis
ano-functon" It is left
ro
provethat
GOis
a
co-neflector.
LetF^ A-:1+6 be
the functor
that
sendsthe
uniqueobject
of
i-to
the
initial
ol5""a
of
A
: t
andits
only
an3owto 1, .
Given any arrowf in
l(.rGa)
-A
there exists a
unique arr\f,wF
in
a(rOra)
andGf=f=l.
.
Clear:ly GOoFO=I, .By Theor"em
2
Gis
a
co-::eflecton.Let
us now showthat
Dcmis
ano-category.
Let
0:r,;-r,:lom"0
: A.C-T-
ArFf
42F...
oi
C-C-Ai*f-...
tl-G..
H--Let
F_. bethe l-eft-adjoint right-inve::se of
G_.: A,$)A_.
,,L
-
r
r
t;
1+IIf,
as ass.ertedin the
Theorem, Fon* transfo::ms col-imitsinto
l-imitsthen the colimiting
conev:OiA-
should bethe iimiting
conein
Catt.Let
A_ then be ttr-e categorywith objects the infinite
sequences :(dor... rair...>
suchthat for ie/i/ .i.Ai
and Giui*I=-i ,
and witharrows
the infinite
sequenees! .forflr...rfir.oo)
suchthat for
ieff. f.eA.
- l- 1
andG.f. .=f. . Let G :
rr+l-
a
@a @
A +A. bethe functor that
]-fh
pnojects
onthe
i"'
coordinate.AzF
AiFilAi+:
f-a-_
The above rone
is
a limit:ing
conein
Catr
andthe
thec;r.em assents that : A is a <j---.:- @ .Lrurdllr 1 a_i ^ :a --,.!-^n-r,nn;a^*n- f D qrr uJ-(jv-PluJsu LU! and given a cone;i
r
B+0,if
Bis a
domain andp
compose,i.of
-rl-eo-F:-'jectors then the rrn:".rra frrncl-na J:B+A- SUChthat
!='VoHiS
alSO an 1J-CO-projectOr.@
l,ot
us Dr?ovetnat A 'is a domain. A is lar.qe. A is
skeletal- because@@v@
isomo::phisms
in
A_are
sequencesof
isomorphisms.A*
is initial
because.rA ,rA-r...1r0.0.""> is
aninitial
object by
Lemmai. It is
easy tosee
thai
A-
6is ln
r-""augory
whenethe colimits
a:re taken cocr dinatewiseinemember
that
the
G--ts pneser"veeolimits).
.L
Let
us prove nowthat the
G--- @ars are 0:-co-projectons.
G__.is
an@a
i,.;-=f",::rctor because
the coiinits irr
f:.- flldi be computed coo'ndina'tewise.:f f- is
an cirrowin A., let F'*f'=.forfl o...rfirfi+l
,...>
where
for -i<i f .:C.f . -
' ancfo:'i>i f .=F. .f .
Ciear:y F. is
af -i '-l +; - I -l-l -t-l - a@
,))Ji_'J-Urctor :
A.-+A (G.oF.=I^)"
ai:d G ",i. :i.
"
Sutl,:s.. r- :.', --l
;)]-s)Jl^j@1
a@^i1i-@]-is
an arnowin
A..
Then b=<b!.
L
\ -'-''r f
. =Q .tr.f o ..1-i2oto' rrLll :L @i
Let F. a.=(a...a...).
Let s:F.
a.-+b be an anrowin A
:a@l'L-1@I@
8=tgor...
oBi'...>.
G-.8=fi iff gi=fi .
Supposegi=fi,
thenfor j<i
g=G"...G" r-i-t"
and for"i>i
q.:a.->b. I a suchthat G.
a-l-r -9.=q.vi-lJJa4JUJJ-LJJI
But
a-=F.
.d- ,
andby
Theorerir2
there
is
exactly
one amow!
suchthat
G._.E._i=gj_i
.
The anr?owg
definedby
:q-=f.. for ici
-i i_-
-
g.=G....G.
-l I
a-I r
.f.
andfo::-i>i e.=;" - is
-
-a -l*r
the
oniv
anrow-i-n