• Aucun résultat trouvé

Free, iteratively closed categories of complete lattices

N/A
N/A
Protected

Academic year: 2022

Partager "Free, iteratively closed categories of complete lattices"

Copied!
11
0
0

Texte intégral

(1)

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

o

4 (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.

(2)

FREE, ITERATIVELY CLOSED CATEGORI ES OF COMPLETE LATTICES

by

Mitchell WAND

CAHIERS 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 is

well-known [5]

that

there is a

morphism

Y E CL

( MM , M )

whose

underlying

map takes each con-

tinuous function

f E CL ( M , M)

to the least x E M such that

f (x)= x ) = x .

Let

T be an

algebraic theory

and A : T -CL a faithful

product-preserving

func-

tor. We say that A is

iteratively

closed iff for each t E

T(

n + m ,

m )

there exists a

( unique)u (t) E T (n,m)

such that

A ( u,( t)) = Y.A t ( where

« » denotes

exponentiation).

The existence of

iteratively

closed A is also well-

known,

and these structures are

important

for formal

language theory and

oth- ’

er theoretical areas in computer

science [8,6] .

Our

object

in this Note is

to construct free

iteratively

closed

algebras.

1. Definitions

and

notations..

We will

regard

a

theory

T as a category whose set of

objects

is ú)

and in which the

object

n is the n-fold

product

of the

object

1.Theories form

a category Th when

equipped

with

product-preserving

functors as

morphisms.

re denote

by

RS

(«ranked sets »)

the category

(S ets , úJ)

of maps

r : Q - w and

rank-preserving maps h : Q -Q ’ .

If r :

Q- w

is a ranked set,

we use

f2n

to denote

r-1 ( n ) .

There is a

forgetful

functor V : Th - RS sen-

ding

’I’ to r :

Q-w

where

Qn

=

T ( n , 1 ) .

As is

well-known,

V has a left

adjoint,

the

free-theory

functor.

Let u Th denote the category whose

objects

are

iteratively-closed

faithful

product-preserving functors,

and with

morphisms

from A : T -CL to

.1’ : T’ -CL

precisely

those

morphisms

h : T - T’ such that for each

morphism t

E T .

Let V also denote the

forgetful

functor V :

u Th - RS .

Our main result is

(3)

that V has a left

adjoint.

Since A is

faithful,

we can enrich T over the category of posets

by setting

t t’

in T ( n , m )

iff A t A t’ in the

lattice [An-Am].

If t E

T ( k+

n ,

n )

then

Y . A t

is

given

as follows :

P ROPOSITION 1. 1.

If

A is

iteration-closed,

then

u.(t) - Utp .

P ROO F . If A is

iteration-closed, 1

E

T (

k ,

n ) ,

so the

t p

are well-defined.

A ( u(t ))

--U

A ( tp) , by

definition. So A

( u(t)) &#x3E;

A

tp for

each p . whence

u(t) &#x3E;tp,

Assumethatforall p, u &#x3E;

tp.

Then

So

So

4( t)

is a least upper bound

for f tp I . 0

2. Lattice-theoretic preliminaries.

In

constructing

the free

theory over D

the most

important

step is fin-

ding

the smallest set X such that

In 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 such

fixed-point equations

as a ser-

ies [4,2] ,

but in this case we can obtain a tractable

representation

as a

lattice of

(possibly

infinite) trees. We restate the theorem here for

precision

and

completeness.

Recall that for any set

S ,

we denote

by

S* the ( under-

lying

set of

the)

free monoid

generated by S ;

we denote the

identity

of S*

by e .

TH EO REM 2. 1

131.

Let

r: Q

-+ ú) he a ranked set, and let t

Pr)

Q denote the

lattice II {s lsEQ }.

L et

Lo =

L be the set

mf functions

t : w*-Do sat-

(4)

isfying

the

following

conditions:

( Ranking) If t (w)

= s and

r( s ) =

n , then

t ( w j ) = l for all j &#x3E;

n ;

( Truncation ) If

t

( w) c f 1, T 1,

then t

(

w

x)

= t

( w) for

all x E w*.

Let

for

all w. Then L is a

complete

lattice and

PROOF.

Figure

2.1 illustrates the lattice

DQ .

To see that L is a

complete

lattice,

let . Define

t( w) by

induction:

We claim t is the least upper bound

in .L

of

the ta .

First of

all, t E L ;

clauses

( ii - a )

and

( ii - b )

force t to

satisfy

the

truncation

axiom,

and it is easy to

verify

that the

ranking

axiom holds also:

if

t( w) = sE Dn ’

then it rnust be that

ta ( 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- per

bound,

assume that

Then Assume If

t ( w ) = T ,

then

If /

, th en

Else

(5)

Last,

we must show

The lattice on the

right-hand

side consists of the

following

components :

( i )

a bottom

1 , ( ii) a top T ,

( iii )

for

each sEQ,

a copy of

Lr (s). (See figure 2.2.

FIGURE 2.2

Define a map as follows :

and ) in the s-th com-

ponent of

I

where

This is

clearly

a

bijection

and I is

clearly

continuous over directed ch ain s . ·

L Q

is in fact an initial

object

in an

appropriate

category of solu- tions

to [2]

We view t as

defining

a countable labelled tree, truncated at nodes labelled

1 or ] .

We say t is finite

iff {w 1 t( u’)EQ

is finite. We use

E (Q)

to denote the

underlying

set of

LQ .

LQ

is a

subposet

of

D"4*

but not, in

general,

a sublattice. Ilowever,

we have:

LEMMA 2.2. L et

u0

u 1 ... be an

increasing

chain in 1, Lo. Then

(6)

PROOF. we calculate

( Uui) ( wn)

from the defini-

tion. If i then But

implies

that

uj (w) = T

for

some j .

Hence

Similarly, if ( U ui) ( w ) = 1 ,

then

ui (w)=l

for all

i ,

and

ui ( w n ) = l

for all i . So

COROLLARY.

L et {ui}

be an

increasing

chain as

be fore. If s E Q ,

Furthermore,

then

If

r : Q

-- w is a ranked set,

let Q + X

denote the ranked set

that

is,

the ranked set

consisting of 0

with the members of X

adjoined

as

new

0-ary

elements

( r’ ( X ) = 0) .

We will write the new elements of

D+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

(7)

Let

AEQ. TEQ

-CL be the

product-preserving

functor

given by :

AEQ(1) =LQ

and

AEQ (t): (u1,.. un) (-t. u1,...un&#x3E;

All of our theories will be subtheories of

TEQ

and our

algebras

will be con-

structed as

composites

We will

usually

delete the

AE Q

and write A :

T - TE Q

- CL .

Now, TEQ ( k , n )

has a lattice structure

imposed

upon it

by LnQ+k .

Thus

AEQ , acting

on

TEQ ( k , n ) ,

is a function whose domain and codom- ain are both

underlying

sets of lattices. In

fact, 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 let

u0 u1

be a chain

in L Q + k.

We want to show that for any

t1, ... , tk E LQ.

&#x3E;

We refer to these two

objects

as F and

G ,

and we must show

that,

for all

wEw*, F ( w ) = G ( w ) .

We can calculate

F (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 and

no j i s

So , which is

1 by

the trun-

cation rule. So

Now assume that for

no j

is there a z such that

(Uui) ( z ) = x i.

Th en

(8)

Since the

ui

form a

nondecreasing

chain and for

every i

and initial

segment

z of w ,

U ui (z)= xj , if

the second set is nonempty there must be some i such that

ui(z)&#x3E; 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 a

product-preserving functor,

there

exists

an

object JL ( A): T1 -

CL

o f

u Th and a

Th-morphism

T -

T1

such

that, if

B:

T2 -CL

is any other

object of u

Th

satisfying

then

T’1

is a

suhtheory o f T2

and

Furthermore,

if

A is

faith ful,

so is T -

T1.

PROOF.

T1 ( n , k)

will be a subset of

CL ( A n ,

A

k) , given inductively

as

follows :

Then

’I’1 (r1, k) =UT(i)( n,k) clearly

has the

required properties.

LEMMA. For any A : T - CL the constant

function 1

is a

morphism of u( A ).

PROOF.

1 = f1( idl).

Let

7’Q

be the free

theory generated by Q.

There is an obvious in-

clusion

TQ- TEQ ,

since

To

consists

precisely

of finite trees in which

(9)

1 and I

do not appear, except for

1’s

introduced

by

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 a

le ft adjoint.

PROOF. The

object

function is calculated as follows:

Given Q E R S ,

con-

struct

TQ-TEQ-CL .

Then the desired

object

is the closure of this func-

tor. Call this

object BQ : TBQ - CL .

We must then show thai for any

A EuTh

any R

S-morphism

h :

Q-

V A extends

uniquely

to a ;1

Th-mrophism

Let A : T - CL be any

object

of

/-1 Tb

and h :

Q -VA =VT

be an N S-mor-

phism.

Hence h extends

uniquely

to a

Th-morphism

b’

satisfying:

Now for let

h * is

easily

shown to be a

Th-morphism,

and continuous on the

(enriched) morphism

sets. To show h * preserves

iteration-closure,

let t E 7

BO( k, ,

n) .

Recalling Proposition 1.1,

set

and then .

However,

we then have

and

Furthermore, by

the

proof

of Theorem

3.1,

h * is

clearly unique.

4.

Characterization of T BQ .

Our last result is a characterization of

T BQ . Again,

let S* denote

(10)

the free monoid

generated by

S . We say G

C S*

is

recognizable

iff there

exists a finite monoid

M ,

a monoid

homomorphism Q:

S* -M and a subset I,- ÇM such that G =

Q-1 (F) .

W e say t E

LQ

is rational iff :

(i)

is

finite,

(iii)

is a

recognizable

subset of

w*) . TBQ

may now be characterized as follows:

’I’ll EO REM 4.1 1. T

13 Q

is the

subtheory of TEQ consisting of

the

rational

frprs.

The

proof

is a redious but

comparatively straightforward

exercise in

automata

theory, relying heavily

on Lemma 2.3. Since

quite

similar results

have

appeared

elsewhere

[ 8,7,1] ,

we will

forego reproducing

the

proof

here.

While this characterization of the iteration-closure of

was

known,

its freeness was not. One may then

apply

the

triangular

identi-

ties to find identities in

/-1 The . These,

in turn,

yield

a number of

interesting

results, primarily

in the area of formal

languages [ 8,7]

and the semantics of

programming languages.

(11)

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

&#x26;

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 &#x26;

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.

Références

Documents relatifs

The approach we propose in this paper relies on the remark that the prob- lem of estimating unknown parameters from a set of experimental observations can be naturally cast as

As we have seen in this section, due to the exponential problem of computing concrete repairs, our approach explores all combinations of values and tests whether they fix

To per- form a complete lattice learning with manifold learning, a vertex is associated to each input vector data and a neigh- borhood graph is constructed.. Then, we consider only

In this talk we will summarize the main concepts of mathematical morphology and show their instantiations in different settings, where a complete lattice can be built, such as

JADEL, which stands for JADE (Java Agent DEvelopment framework) Language, is an agent-oriented programming lan- guage designed to help the development of JADE [1] agents and

This paper presents the ACT (Abstract to Concrete Tests) tool, an approach of generating concrete executable Selenium RC JUnit test cases from a formal State chart specification

This subject has been thoroughly explored in Formal Concept Analysis, Galois analysis and Data Mining when considering support-closed patterns where we have a set of objects O and

The challenge for language designers is to devise appropriate abstractions and linguis- tic primitives to deal with the large dimension of systems, and with their need to adapt to