C AHIERS DE
TOPOLOGIE ET GÉOMÉTRIE DIFFÉRENTIELLE CATÉGORIQUES
M ITCHELL W AND
Free, iteratively closed categories of complete lattices
Cahiers de topologie et géométrie différentielle catégoriques, tome 16, n
o4 (1975), p. 415-424
<
http://www.numdam.org/item?id=CTGDC_1975__16_4_415_0>
© Andrée C. Ehresmann et les auteurs, 1975, 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.
FREE, ITERATIVELY CLOSED CATEGORI ES OF COMPLETE LATTICES
by
Mitchell WANDCAHIERS DE TOPOLOGI E Vol. XVI - 4 (1975)
ET GEOMETRIE DIFFERENTIELLE
Let CL denote the cartesian closed category of
complete lattices,
with
morphisms
continuous over directed chains. It iswell-known [5]
thatthere is a
morphism
Y E CL( MM , M )
whoseunderlying
map takes each con-tinuous function
f E CL ( M , M)
to the least x E M such thatf (x)= x ) = x .
LetT be an
algebraic theory
and A : T -CL a faithfulproduct-preserving
func-tor. We say that A is
iteratively
closed iff for each t ET(
n + m ,m )
there exists a( unique)u (t) E T (n,m)
such thatA ( u,( t)) = Y.A t ( where
« » denotesexponentiation).
The existence ofiteratively
closed A is also well-known,
and these structures areimportant
for formallanguage theory and
oth- ’er theoretical areas in computer
science [8,6] .
Ourobject
in this Note isto construct free
iteratively
closedalgebras.
1. Definitions
and
notations..We will
regard
atheory
T as a category whose set ofobjects
is ú)and in which the
object
n is the n-foldproduct
of theobject
1.Theories forma category Th when
equipped
withproduct-preserving
functors asmorphisms.
re denote
by
RS(«ranked sets »)
the category(S ets , úJ)
of mapsr : Q - w and
rank-preserving maps h : Q -Q ’ .
If r :Q- w
is a ranked set,we use
f2n
to denoter-1 ( n ) .
There is aforgetful
functor V : Th - RS sen-ding
’I’ to r :Q-w
whereQn
=T ( n , 1 ) .
As iswell-known,
V has a leftadjoint,
thefree-theory
functor.Let u Th denote the category whose
objects
areiteratively-closed
faithful
product-preserving functors,
and withmorphisms
from A : T -CL to.1’ : T’ -CL
precisely
thosemorphisms
h : T - T’ such that for eachmorphism t
E T .Let V also denote the
forgetful
functor V :u Th - RS .
Our main result isthat V has a left
adjoint.
Since A is
faithful,
we can enrich T over the category of posetsby setting
t t’
in T ( n , m )
iff A t A t’ in thelattice [An-Am].
If t E
T ( k+
n ,n )
thenY . A t
isgiven
as follows :P ROPOSITION 1. 1.
If
A isiteration-closed,
thenu.(t) - Utp .
P ROO F . If A is
iteration-closed, 1
ET (
k ,n ) ,
so thet p
are well-defined.A ( u(t ))
--UA ( tp) , by
definition. So A( u(t)) >
Atp for
each p . whenceu(t) >tp,
Assumethatforall p, u >tp.
ThenSo
So
4( t)
is a least upper boundfor f tp I . 0
2. Lattice-theoretic preliminaries.
In
constructing
the freetheory over D
the mostimportant
step is fin-ding
the smallest set X such thatIn that case, the solution was the set of
finite .0
-trees.In our case, we seek a lattice L such that
In
general,
we may obtain solutions to suchfixed-point equations
as a ser-ies [4,2] ,
but in this case we can obtain a tractablerepresentation
as alattice of
(possibly
infinite) trees. We restate the theorem here forprecision
andcompleteness.
Recall that for any setS ,
we denoteby
S* the ( under-lying
set ofthe)
free monoidgenerated by S ;
we denote theidentity
of S*by e .
TH EO REM 2. 1
131.
Letr: Q
-+ ú) he a ranked set, and let tPr)
Q denote thelattice II {s lsEQ }.
L etLo =
L be the setmf functions
t : w*-Do sat-isfying
thefollowing
conditions:( Ranking) If t (w)
= s andr( s ) =
n , thent ( w j ) = l for all j >
n ;( Truncation ) If
t( w) c f 1, T 1,
then t(
wx)
= t( w) for
all x E w*.Let
for
all w. Then L is acomplete
lattice andPROOF.
Figure
2.1 illustrates the latticeDQ .
To see that L is acomplete
lattice,
let . Definet( w) by
induction:We claim t is the least upper bound
in .L
ofthe ta .
First of
all, t E L ;
clauses( ii - a )
and( ii - b )
force t tosatisfy
thetruncation
axiom,
and it is easy toverify
that theranking
axiom holds also:if
t( w) = sE Dn ’
then it rnust be thatta ( w ) s
for every a , and hence:For each or ,
ta
t ,by
an easy induction on w . To show t is the least up- perbound,
assume thatThen Assume If
t ( w ) = T ,
thenIf /
, th en
ElseLast,
we must showThe lattice on the
right-hand
side consists of thefollowing
components :( i )
a bottom1 , ( ii) a top T ,
( iii )
foreach sEQ,
a copy ofLr (s). (See figure 2.2.
FIGURE 2.2
Define a map as follows :
and ) in the s-th com-
ponent of
I
whereThis is
clearly
abijection
and I isclearly
continuous over directed ch ain s . ·L Q
is in fact an initialobject
in anappropriate
category of solu- tionsto [2]
We view t as
defining
a countable labelled tree, truncated at nodes labelled1 or ] .
We say t is finiteiff {w 1 t( u’)EQ
is finite. We useE (Q)
to denote theunderlying
set ofLQ .
LQ
is asubposet
ofD"4*
but not, ingeneral,
a sublattice. Ilowever,we have:
LEMMA 2.2. L et
u0
u 1 ... be anincreasing
chain in 1, Lo. ThenPROOF. we calculate
( Uui) ( wn)
from the defini-tion. If i then But
implies
thatuj (w) = T
forsome j .
HenceSimilarly, if ( U ui) ( w ) = 1 ,
thenui (w)=l
for alli ,
andui ( w n ) = l
for all i . So
COROLLARY.
L et {ui}
be anincreasing
chain asbe fore. If s E Q ,
Furthermore,
thenIf
r : Q
-- w is a ranked set,let Q + X
denote the ranked setthat
is,
the ranked setconsisting of 0
with the members of Xadjoined
asnew
0-ary
elements( r’ ( X ) = 0) .
We will write the new elements ofD+k
Consider the
theory TEQ
constructed as follows :with the
following composition
rule :Note that since for all
w’ A e ,
and hence z is un-ique
if it exists.LEMMA 2.3. Let 1. in Then
for s E Q
Let
AEQ. TEQ
-CL be theproduct-preserving
functorgiven by :
AEQ(1) =LQ
andAEQ (t): (u1,.. un) (-t. u1,...un>
All of our theories will be subtheories of
TEQ
and ouralgebras
will be con-structed as
composites
We will
usually
delete theAE Q
and write A :T - TE Q
- CL .Now, TEQ ( k , n )
has a lattice structureimposed
upon itby LnQ+k .
Thus
AEQ , acting
onTEQ ( k , n ) ,
is a function whose domain and codom- ain are bothunderlying
sets of lattices. Infact, AFQ
is(the underlying
map
of ) a morphism
of lattices :LEMMA 2.4.
For any k,
n,i.s a continuous
morphism of
lattices.P RO O F . It will
clearly
suffice to show the case 11 - I . So letu0 u1
be a chain
in L Q + k.
We want to show that for anyt1, ... , tk E LQ.
>We refer to these two
objects
as F andG ,
and we must showthat,
for allwEw*, F ( w ) = G ( w ) .
We can calculateF (uJ)
from the definition as fol-lows :
If for some z and then for every If
ui(z)=xj,
then If and if a is a pro-per initial segment
of z ,
then Hence for no a andno j i s
So , which is1 by
the trun-cation rule. So
Now assume that for
no j
is there a z such that(Uui) ( z ) = x i.
Th enSince the
ui
form anondecreasing
chain and forevery i
and initialsegment
z of w ,
U ui (z)= xj , if
the second set is nonempty there must be some i such thatui(z)> x.. Hence ui (z)=T. So ui ( w )=T. Hence
3.
Main Theorems.
The first theorem asserts that iteration-closures exist.
THE 0 R E M 3. 1.
If
A : T - CL is aproduct-preserving functor,
thereexists
an
object JL ( A): T1 -
CLo f
u Th and aTh-morphism
T -T1
suchthat, if
B:T2 -CL
is any otherobject of u
Thsatisfying
then
T’1
is asuhtheory o f T2
andFurthermore,
if
A isfaith ful,
so is T -T1.
PROOF.
T1 ( n , k)
will be a subset ofCL ( A n ,
Ak) , given inductively
asfollows :
Then
’I’1 (r1, k) =UT(i)( n,k) clearly
has therequired properties.
LEMMA. For any A : T - CL the constant
function 1
is amorphism of u( A ).
PROOF.
1 = f1( idl).
Let
7’Q
be the freetheory generated by Q.
There is an obvious in-clusion
TQ- TEQ ,
sinceTo
consistsprecisely
of finite trees in which1 and I
do not appear, except for1’s
introducedby
truncation. This ob- servation enables us to reach our main theorem.TH E O R E M 3.2. The
forgetful functor
B’:u Th- RS
has ale ft adjoint.
PROOF. The
object
function is calculated as follows:Given Q E R S ,
con-struct
TQ-TEQ-CL .
Then the desiredobject
is the closure of this func-tor. Call this
object BQ : TBQ - CL .
We must then show thai for anyA EuTh
any R
S-morphism
h :Q-
V A extendsuniquely
to a ;1Th-mrophism
Let A : T - CL be any
object
of/-1 Tb
and h :Q -VA =VT
be an N S-mor-phism.
Hence h extendsuniquely
to aTh-morphism
b’satisfying:
Now for let
h * is
easily
shown to be aTh-morphism,
and continuous on the(enriched) morphism
sets. To show h * preservesiteration-closure,
let t E 7BO( k, ,
n) .Recalling Proposition 1.1,
setand then .
However,
we then haveand
Furthermore, by
theproof
of Theorem3.1,
h * isclearly unique.
4.
Characterization of T BQ .
Our last result is a characterization of
T BQ . Again,
let S* denotethe free monoid
generated by
S . We say GC S*
isrecognizable
iff thereexists a finite monoid
M ,
a monoidhomomorphism Q:
S* -M and a subset I,- ÇM such that G =Q-1 (F) .
W e say t ELQ
is rational iff :(i)
isfinite,
(iii)
is arecognizable
subset ofw*) . TBQ
may now be characterized as follows:’I’ll EO REM 4.1 1. T
13 Q
is thesubtheory of TEQ consisting of
therational
frprs.
The
proof
is a redious butcomparatively straightforward
exercise inautomata
theory, relying heavily
on Lemma 2.3. Sincequite
similar resultshave
appeared
elsewhere[ 8,7,1] ,
we willforego reproducing
theproof
here.While this characterization of the iteration-closure of
was
known,
its freeness was not. One may thenapply
thetriangular
identi-ties to find identities in
/-1 The . These,
in turn,yield
a number ofinteresting
results, primarily
in the area of formallanguages [ 8,7]
and the semantics ofprogramming languages.
References.
1. BEKIC H., Definable operations in general algebras and the Theory of Automata and Flowcharts, I.B.M. Vienna, 1969.
2. REYNOLDS J.C., Notes on a lattice-theoretical approach to the Theory of Com- putation, Dept.
of Systems
&Info.
Sc., Syracuse University, 1972.3. SCOTT D., The lattice of flow diagrams,
Oxford
U.Comp.
Lab., Rep. PRG-3, 1970.4. SCOTT D., Data types as lattices, Lecture Notes, Amsterdam, 19, 2.
5. TARSKI A., A lattice-theoretical fixpoint theorem and its applications, Pacific J.
of
Math. 5 ( 1955), 285-309.6. WAGNER E.G., An algebraic theory of recursive definitions and recursive langu- ages, Proc.
3d
ACM Symp. Th.Comp.
( 1971), 12-23.7. WAND M., A concrete approach to abstract recursive definitions, Automata, Langu- ages &
Programming
( M. Nivat ed.), North-Holland, 1973, 331-341.8. WAND M., Mathematical foundations of Formal Language Theory. Project MAC TR- 108, M.I.T., Cambridge, Mass. 1973.
Computer Science Department Indiana University
BLOOMINGTON, In. 47401 U. S. A.