C AHIERS DE
TOPOLOGIE ET GÉOMÉTRIE DIFFÉRENTIELLE CATÉGORIQUES
F ERNANDO G ONZALEZ R ODRIGUEZ
A NTONIO B AHAMONDE
The topology of continuous partially-additive monoids
Cahiers de topologie et géométrie différentielle catégoriques, tome 31, n
o1 (1990), p. 13-19
<http://www.numdam.org/item?id=CTGDC_1990__31_1_13_0>
© Andrée C. Ehresmann et les auteurs, 1990, 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.
Article numérisé dans le cadre du programme
THE TOPOLOGY OF CONTINUOUS PARTIALLY-ADDITIVE MONOIDS
by
Fernando Gonzalez RODRIGUEZ and Antonio BAHAMONDECAHIERS DE TOPOLOGIE ET GÉOMETRIE DIFFERENTIELLE
CATÉGORIQUES
VOL. XXXI -1 (1990)
ReSUMe.
LaS6mantique
dénotationnellepeut
être 6tudi6e dupoint
de vue ordonn6 (Scott) oupartiellement
additif(Arbib &
Manes);
ici1’equivalence
des deux est mise enrelief par 1’etude des
propri6t6s topologiques
du cadrenaturel pour cette
s6mantique:
1’ensemble des fonctionspartiellement
d6finies d’un ensemble de donn6es A vers unensemble de r6sultats B. Cet ensemble est muni d’une
topologie
naturelle induite par sa structurepartiellement
additive
(pam);
et on prouve que dans cetype
de pam, l’ordre estequivalent a
latopologie.
INTRODUCTION.
The
question
ofproviding
a mathematicalmeaning
tocomputer
programs hasgot
severalapproaches
in last decades.The denotational semantics introduced
by
Dana Scott (see[9,6])
offersalgebraic techniques
forcharacterizing
the denotation of aprogram; so, a
partially-defined
functiontransforming input
datato
output
results can becomputed
from thesyntax
of the program.Therefore,
theproperties
of a program can then be checkedby
directcomparison
of the denotation with thespecifi-
cation.
Nowadays
we have twoviewpoints
in denotational seman-tics : order semantics (Scott) and
partially-additive
semantics(Arbib and Manes
11,2,51).
In any case, whendealing
with recur-sive programs, one has to
compute
a limit in the set ofpartial- ly-defined
functions from a set ofinput
A to a set ofoutputs B,
denotedPfn(A,B) .
In this paper we try to reinforce the
equivalence
of thoseapproaches providing
astudy
of thetopological properties
of aspecial
kind ofpartially-additive
monoid(pam)
definedby
Arbiband Manes in order to have an
algebraic setting
to build their semantictheory.
The
topology
of pams was introducedby
Bahamonde in[3] and here we prove that in continuous pams
(Pfn(A,B)
is one of thosepams)
thetopology
inducedby
its additive structure isequivalent
to theirordering.
1. THE ALGEBRAIC STRUCTURE OF PARTIALLY-ADDITIVE MONOIDS
(PAMS).
1.1. DBFINITION [1]. A
partial1.J
-additive monoid(pam)
is apair
(A,EA),
Vrhcrc A Is a iiiriiempty set, EA
is d partial operation on countable (i. e. finite or denumet-able) families in Asubject
tothe
following
axioms:(Pam 1)
Partition-associativity
axiom: If the countable setI is
partitioned
into(Ij: j E J) (i.e., (Ij: j E J)
is a countable fami-ly
ofpairwise disjoint
sets whose union isI),
then for each fa-mily (Xi: i e I)
inA,
in the sense that the left hand side is defined iff the
right
isdefined,
and then the values areequal.
(Pam2)
Unary
sum axiom: For the one-element families the sum is defined andEA(a) = a .
(Pam 3) Limit axiom: If
(,x-i: i
E I) is a countablefamily
inA and if
LA(:B i:
i E F) is defined for every finite subset F ofI,
thenEA(xi: i
E I) is defined.The families for which
LA
is defined are called A-summable.1.2. From (Pam 1 ) we infer that any
subfamily
of a summable fa-mily
issummable,
sogiven
that (Pam 2)guarantees
the existence of some sums, the sum of theempty family
is defined. Thissum will be denoted
by lA
and can beeasily proved
to be thecountable zero element of
(A,sA).
We
usuallly drop
the A from2:A. lA
and A-summable ifno confusion arises. To ease the
reading
weeventually
write1.3. It can be
easily
seen that a pam is countable-commutative.In
fact,
if(xi: i
E I) and(yj: j E J)
are countable families inA,
and
Y:I->J
is abijection
such thaty Y (i)= xi
for all iel,
then from (Pam 1) and (Pam 2) axioms we have thatin the sense that the left side is defined iff the
right
side isdefined,
and thenthey
areequal.
1.4. A pam satisfies the
following "positivity property":
That is
why
pams are calledpositive partial
monoids in 181. Toprove
this,
let i E I and set i- to bei
E 1- {i}). Then1.5. If
(A,£)
is apair satisfying
(Pam 1) and(Pam 2),
then (Pam 3)is
equivalent
to thefollowing
axiom:(Pam 3’) If
(.,1(i: j
E N) is afamily
in A such that(xi:
i :=0,...,
n)is summable for all n
E N,
then(xi:
i E N) is summable.1.6.
Types of
Pams.DEFINITION. Let
(A, 7-)
be a pam anda , b
E A, we say that a is smaller than b(denoted,
asusual, by
a s b) iff there exists C E A such that a + c = b . Insymbols
This is a reflexive and transitive relation
but,
ingeneral,
it fails to be
antisymmetric;
we willgive
somecounterexamples
below.
DEFINITION.
(A,Y-)
is an ordered pam iff the relation "s" defined above is anordering
inA;
that is to say, iff "" isantisymme-
tric.
DEFINITION C3J. A pam
(A,E)
is said to be a continuous pamprovided
that whenever7-(xi: i := 0, ... , n) s a
for all nE N,
then7- (.Vi : i
EN)sa.1.7. EXAMPLES.
The basic
example
in denotational semantics ofcomputer
programs is the set ofpartially
defined functions from a set A to a set B:Pfn(A,B).
Here the sum is defined for families of functions(fi : i
E I) whose domains of definitionDDfi
arepair-
wise
disjoint,
and we defineThis definition can be extended to allow sums of coherent over-
lapping
families offunctions,
i.e.,fi(a) = fi(a)
whenever a is inDDf¡n DDfj.
We will l denote this extended sumby
Y-".Obviously,
the "" relation defined in 1.6 is the same for these sums and it is an order relation inPfn(A,B). Moreover,
it is the usual extensionordering
ofpartial functions;
thatis,
Let
(L,)
be an ordered set with least upper bound (lub)of any countable
subset,
then(L,lub)
is a pam where the order relation inducedby
its pam structure is thegiven
one at thebeginning.
Let W be a set and let S be a
nonempty
collection of subsets of W closed foi- countable unions.Then, (S,
U) is apam. Moreover, S endowed with the
disjoint
union is also apam, and in any case we have the natural order of subsets.
In the unit interval 10.11. we define the sum
E(xi: i
E I) tobe: the usual series sum whenever it is defined and
belongs
to[0,1], ¿(.1(j:
iE0):= 0;
andE(xi:i
E I) is undefined otherwise. Sodefined,
thepair (10,11,F)
is an ordered pam which induces the usual orderagain.
Let
(G,+)
be a commutative monoid and define G^ (cf. [7]) to be thedisjoint
union of G and(i,T),
where 1 and T do notbelong
to G. Then it ispossible
toprovide
G^ with a pam structure such that 1 is the countable zerodefining
the sum forfamilies in GU{T} as follows:
7-(a i: i
E I):= { T
if I is infinite or finite butai = T
for some i E Ia 1+ ... + anI if
I = {1, ... , n}
and4i E I, a i E G
where a 1+ ... + a n is the sum in
(G, +) .
It caneasily
be shownthat in
general
the "smaller than" relation here is not an order-ing.
2. PAM TOPOLOGY.
A pam
(A,Y-)
can beprovided
with a naturaltopology
aswas shown in [3]. In this section we recall this
topology
andsome immediate
properties.
DEFINITION. Let
(A,E)
be a pam. A subset UCA is said to be in il iff it satisfies thefollowing
two axioms:(1) y E U
whenever X E U and x y(1.6);
(2) if
E-(Xi: i
EN) E U,
then there exists n E N such thatE(xi;i :=o,...,n) E u.
The collection i£ is a
topology
(the additivetopology)
in A.Given that the countable zero,
1,
is "smaller than" any other element inA,
from the first axiom we infer that theonly
open set that contains 1 is A. Therefore rE is
trivially compact
and connected.3. MAIN THEOREM.
This section is devoted to prove the central result of this paper which stresses the relation between the
topology
and the"smaller than" () relation for continuous pams.
3.1. To prove this theorem we will need to state the
following:
PROPOSITION. Let
(A, 5-’)
be a continuous pam and let a. b E A.Then the next statements ar-e
equivalent:
(i) a b:
(ii) a E {b}^ (the
topological
closure of {b} in(A,tL);
(iii)
V U e rE,
a E U => bELI.PROOF. The
equivalence
between (ii) and (iii) is standard. Mo- reover, (i)implies
(iii) from the defintion of t L. To prove that (iii)implies
(i) let us assume that a Tb;
i. e.,So it will be
enough
if we show that Rb is an open set sincewe have b 9
Rb;
but this is trivial because ifthen there exists an
integer
n such thatE(xi:
i:= 0,... , n) E Rb
since otherwise.
V n
E(xi :
i :=0, ... ,
n) bimplies
thatE(xi :
i E N) s bgiven
that(A,Y-)
is continuous3.2. THEOREM. Let
(A,¿)
and(A,I")
be continuous pams. then the associatedtopologies
areequivalent
iff the induced "small er than" relations are. Ins..’.mbols:
PROOF. The induced "s" relations coincide if rE = rE’ due to the last
proposition.
To see theopposite
it isenough
to establishthat rE C rE’. To do this let U E rE be such that
E’(xi: i
E N) E Ufor some
family
E’-summable in A. We must find aninteger
n for whichE’(xi: i := 0,..., n) E U.
First of all. we aregoing
tobuild up
by
induction afamily (yi: i
E N) such thatDefine y 0
:= xo andhaving built -i-,,
notice thattherefore
Now -we have that
and
taking
account that(A,£’)
is continuous, we have thatSince Ueil we have that
E(yi: ieN)~U
and therefore thereexists an
integer
n such thatas we wanted to show.
3.3. Now it is trivial to show that the pam
topologies
inducedby (Pfn(A,B),Ldi)
and(Pfn(A,B).E0v)
(1.7) are the same sincethey
have the same
ordering
associated.Moreover,
the pamtopology
of
Pfn(A,B)
is the Scott countabletopology.
Infact,
letsup( f; :
i E I) be the least upper bound of
(fi: i
E I} whenever this is acountable directed
family.
Thepair (Pfn(A,B),sup)
is a pam that induces the naturalordering
ofpartially-defined
functions. The- refore its pamtopology
is the pamtopology
of(Pfn(A,B),di)
or (Pfn(A.B).E’v).
On the other
hand, LI C Pfn(A,B)
is an open set(i.e., Ueisup)
iff: .
(1)
g E U
whenever f E U andf g :
(2) if D is countable
directed,
andsup (D) E D,
then D n U # ø.But this is the Scott
topology
ofPfn(A,B)
[9].3.4.
Finally,
it isnoteworthy
that theprevious
theorem does not need theantisymmetric property
of the "smaller than" () rela- tion.Moreover,
due to theProposition
(3.1) a continuous pam (A,£) is ordered iff(A, t E )
is aTo-space;
and, in that case, the"smaller than" relation is the
specialization
order 161 of aTo-space.
REFERENCES.
1. ARBIB,
M.A.
& MANES, E.G.,Partially-additive monoids,
graph-growing,
and thealgebraic
semantics of recursivecalls,
Lecture Notes in
Computer
Science73, Springer (1979),
127-138.2. ARBIB, M.A. & MANES, E.G., The
pattern-of-calls expansion
isthe canonical
fixpoint
for recursivedefinitions, J.
of the As- sociation forComput. Machinery,
ACM 29(1982),
577-602.3. BAHAMONDE, A.,
Partially-additive monoids,
CahiersTop.
etGeom. Diff. Cat. XXVI-3
(1985),
221-244.4. BAHAMONDE, A., Tensor
product
ofpartially-additive monoids, Semigroup
Forum 32(1985),
31-53.5. MANES, E.G & ARBIB, M.A.,
Algebraic approaches
to programsemantics,
Texts andmonographs
inComputer Science, Sprin-
ger 1980.
6. GIERZ, G., HOFMANN, K. H., KEIMEL, K. LAWSON, J.D., MISLO- VE, M. & SCOTT, D., A
compendium
of continuouslattices, Springer
1980.7. GONZALEZ RODRIGUEZ, M. F., Monoides
parcialmente aditivos,
PhD
dissertation,
Univ. of Oviedo 1989.8. MANES, E. G. & BENSON, D. B., The inverse
semigroup
of asum-ordered
semiring, Semigroup
Forum 31(1985),
129-152.9. SCOTT, D., Continuous
lattices,
Lecture Notes in Math.274, Springer
(1972).F. GONZALEZ RODRIGUEZ :
DEPARTAMENTO DE MATEMATICAS UNIVERSIDAD DE LEON
SPAIN
A. BAHAMONDE:
ARTIFICIAL INTELLIGENCE CENTER UNIVERSITY OF OVIEDO AT GIJON C. RAMIRO DE MAETZU
E-33201 GIJON. SPAIN