Professional Documents
Culture Documents
ABSTRACT AUTOMATH
A . REZUS
ACKNOWLEDGEMENTS.
This book is the outcome of a not too remote and particularly fruit-
ful period of time when I was employed by the Eindhoven.University of
Technology ( T I T H E " ) ,the
~ ~ Department of Mathematics and Computing
Science.
It is probably premature,for me,to be aware of the various influen-
ces I have undergone during my stay in Eindhoven.Still,I have a num-
ber of specific debts to record.
First among these is to Professor N.G.de Bruijn who has suggested the
subject of this work and has been the main source of counse1,encou-
ragement and criticism during the months I was writing the book.
His views on AUTOMATH and (Typed) Lambda-calculus,in genera1,have
exerced a decisive influence on the present work.
Next I am indebted to my colleagues in the AUTOMATH research group,
who have helped me improve my understanding of the subject-matter.
iii
0.INTRODUCTION
01.AUTOMATH: historical landmarks
02 .AUTOMATH: tracing back motivations
03.AUTOMATH versus semantics
04.The contents of this work
05.Abstract AUTOMATH: definition scheme
REFERENCES
INDEX OF NOTIONS
This work is concerned with the abstract structure of some representative formal
languages in the family of mathematical languages AUTOMATH (cf. DE BRUIJN 70-02,
73-3,73-34,80-72,JUTTING 79-46,VAN DAALEN 73-35,80-73).The basic analysis was
mainly motivated by the need for a theoretical approach to a couple of open pro-
blems concerning conservativity situations in AUTOMATH and closely related formal
systems.Soon it turned out the approach which was taken in analysis is more
significant for the understanding of the nature of an AUTOMATH-language than was
initially thought of.
OI..AUTOMATH: h i s t o r i c a l landmarks.
-
-
(continued from previous page)
-
some of its objectives and prospects would perfectly justify a comparison with
similar far-reaching entreprises (as,e.g. ,I1Hilbert'S program","Curry's program" -
cf. SELDIN 76/77,80,- "Church's program" - cf. REZUS 81 - or,why not,Bourbakils).
There are however many dissimilitudes in such a comparison: AUTOMATH has a ra-
ther weak foundational claim in comparison with any of the "programs" named abo-
ve,while,inasfar feasibility is concerned AUTOMATH remains still one of the
most convincing among these "programs".
A different extension of PAL,called AUT-Pi,was proposed by Jeffery Zucker (cf.
ZUCKER 75-42 for an informal introduction).This seems much easier to write than
AUT-68 (and even AUT-QE),but its "language theory" is considerably more complex
than that of other AUT-1anguages.D.van Daalen has subsequently worked out the main
language-theoretical details of AUT-Pi in VAN DAALEN 80-73,Chapter VIII (for pro-
blems which could not have been solved so far see -- --
op.cit. ,VIII.4.1.).
In the list above all AUT-languages but AUT-Pi -
are elementary - and so are
some derivatives and modifications thereof which will be mentioned later -
in the sense their only "constructors" are the head-constructors ,the applicator
and the abstractor (see -
10. and -
121. for details) .AUT-Pi is not elementary in
this acception and a detailed description of its "grammar" is a tedious affair
diverging in some aspects from the "definition scheme" of PAL,AUT-68 ,AUT-QE,etc.
For this - and some other reason - we shall examine AUT-Pi elsewhere.
AUT-Pi has been used (by J.Zucker and A.Kornaat) in order to write extensive pieces
of "classical" analysis.(A long manuscript on Real Analysis has been produced
which is not the "translation" of some text already existing before in natural
language presentation. In fact,the language which was actually used in this manus-
cript is AUT-Pi-SYNT,an extension of AUT-Pi - cf. below -.It allowed a very "fast
notation" close to the mathematical every-day language.).
Little has been done so far on the implementation of AUT-Pi (and AUT-Pi-SYNT) on
a computer.
The AUT-ST and the AUT-SYNT extensions are practicallyindependent from each other,
but combinations of these facilities starting from the same "basic" AUT-language
are still compatible (and practically very useful).Such combinations (AUT-ST-SYNT-
languages,say) lead to considerably efficient systems of notation and writing
actual pieces of mathematical texts in these extensions amounts to formalizations
that are very close to the every-day mathematical practice (having also the advan-
tage of allowing an automatic verification of correctness).
As noted earlier,J.Zucker was able to use AUP-Pi-ST-SYNT in writing directly an
extended piece of text (on Real Analysis) without using the natural language as
an intermediary step (in axiomatic formal presentation).
Roughly speaking,the languages in the (sub-) family AUT-4 are "segments" of appro-
priate versions of LAMBDA-AUTOMATH (where the maximal "degree" of correct expres-
sions is restricted to 4 - hence the label "AUT-4" -;see VAN DAALEN 80-73,etc. for
details concerning "degree-considerations" in AUTOMATH).
They were mainly motivated by an attempt to separate in a more straightforward
manner matters concerning the "construction of objects" in AUTOMATH from those
concerning proofs of statements "on objects" (without,e.g. ,manipulating interme-
diary "proof-classes").
However,only the "proof-part" of AUT-4 admits of'a natural interpretati~n~whereas
the corresponding "object (-construction) part" has ,mutatis mutandis ,the same
disadvantages - as to a natural "semantics";cf. also -
03. below - as any language
in the LAMBDA-AUTOMATH-family (viz. the correctness rules of AUT-4 would also
allow "ultimate objects" - as the naturals say - to be "inhabited",almost in the
same sense "types" are allowed or stipulated to be "inhabited").
There is some hope that this unpleasant feature of the AUT-4-languages could be
circumvented by establishing appropriate "conservativity"-results (see DE BRUIJN
74-44), but nothing has been done so-far -in this d-irection and no ALJT-4-language
has been implemented until now.
+
On the other hand,van Daalenls extensions AUT and AUT* were introduced for theore-
tical purposes,while studying the epitheory of AUT-68 and AUT-QE (mainly the cor-
responding "closure propertiesl',statingthe invariance of correctness under re-
duction).In genera1,such extensions are conservative over the corresponding %on-+"
or %on-+I1-languages,but the "structure of correctness" is more "regular" inasfar
the former are concerned.
As incidentally noticed by L.S.van Benthem Jutting,it might turn out some of van
Daalen's extensions would also admit of easier and more economical implementations
(as regards the work done by the corresponding verification programs).
The metalanguage and the description-scheme proposed in this paper were actually
intended to cover only what we would call -the elementary AUT-languages (cf. above;
in this sense,both AUT-4 and van Daalen' s extensions are
elementary ,while AUT-Pi,
the AUT-ST,the AUT-SYNT-languages as well as the possible combinations thereof are
not so).
It shouldn't be too difficult a task - however - to adapt the present standards
such as to function as -
a general description-frame for all members of the AUT-
family.
7
The only serious point in the solipsist's objections and arguments concerning
the communication of mathematical ideas/results (cf.,BROUlJER 81,pp.25-35,on
Mathematics and experience ,the fragments of Brouwer's dissertation ~ublished
in VAN STIGT 79 ,BROUWER 07 and,possibly ,more recently ,ZANSTRA 7 1) is that --
an abso-
lutely certain communication -of ("actual")
- mathematical ideas ("proofsl',etc.) is
a very difficult practical problem. In fact ,"absolutely certain" should be always
cautioned as being too strong a requirement in any practically given communication-
situation.In practice,not everything a mathematicisn may have in his mind (a whole
system of intuitive interpretations and references to "models" found previously)
is relevant for the content of some proof he claims to "have" and intends to commu-
nicate.
There are different ways in which one might become aware of the difficulties mentio-
ned above.
(A) Firstyvery often mathematicians are used to and like to practice an ellip-
tical way of speaking.
The mathematical ellipsis can be of many kinds (at least in colloquial speaking) .
Howeverywritten texts offer some uniformity: it won't be too difficult to get a
possible "standardization1'of the ways it is used.For present purposes we shall
essentially distinguish between two such kinds of uses (other uses could be possi-
bly discovered by "empirical" investigation but we suspect they will be either mere
variants of those mentioned below or - still - will be rather irrelevant in the
present context).
So between a label Proof. and some other label (possibly abbreviating "Quod erat
demonstrandum."),indicating the end of the announced proof,a professional mathe-
matician would often want to write either ( 1 ) llObvious.","Evident.","Straightfor-
or (2) "Standard.","As earlier.",etc. 1
ward." or some lexical variant of these - >
Now a "proper" proof is always "a kind of composite reference to previous proofs"
(N.G.de Bruijn) and "filling in" a gap in some proof (or,which is the same,elimi-
nating some elliptical way of speaking in favour of an explicit,"complete" one)
would amount to some recursive search throughout existing mathematical texts (or,
more properly,throughout an existing mathematical practice),which may beyagain,
"elliptic" in nature.The process should always stop somewhere in some "principles"
or "axioms" ,viz. at statements one would rather want to accept without proof .
So the activity of understanding a given mathematical text (i.e.,proof-understan-
ding which is,in the end,a kind of proof-(re-)discovery) can be safely described
as possibly being a kind of tree-like search,where the initial clauses of the under-
lying recursion are a matter of common agreement ('truth by conventiont'say,touse
differently a popular phrase in analytic philosophy).
#
TO restore the proper "composite reference systemw implicit in some mathematical
ellipsis of kind (2) above is - in most of the cases - comparable with the "trivial"
work done by a bibliographer or "documentalist".Of course,this ultimately depends
on one's mathematical experience or knowledge ;still one would hardly need some
"invention" ("proof-discovery") here.The "hard work" was readily done once (some
time,somewhere,possibly by some other people): if some proof is "standard" all we
have to do in order to recover its due "reference system" is to supply some "foot-
noting" say,containing the actual references to the existing literature (the so-
called "mathematical folklore" may be also therein included).
1) In the former case some would also write "omitted." (which has sometimes the
second sense),while in the latter case one may encounter even "As ever."
Hovewer,it is not so easy to supply details of proof in case of elliptical indi-
cations of the form "Obvious. I1,etc.(under (1) above). Indeed,"obvious" and its
lexical variants - when taken as prooi-qualifiersl) - are,to use a word of
112)
B. Russell,"indexical expressions" (like 'lI","today","here" or even "this country
say;cf, MONTAGUE 68,7O ,etc.) .
That is to say: the actual "meaning" of a proof-qualifier of the kind "obvious" (1)
may depend on many pragmatically =obvious parameters,as,e.g.,location in time,
. .
- think that.. ","I- believe that.. ."
personal mathematical experience (cf with "I
expressing propositional attitudes),etc.
In any case,one should take "obvious" - qua proof-qualifier
- - as qualifying some
proof that could have been displayed (in full) and only by some abuse of (meta-)lan-
guage as qualifying the corresponding statement to be proved (phrases like "the
statement ... is obvious" are,therefore,to be interpreted as derived uses of
"obvious" as a proof-qualif ier) .
In other words,"obvious" (and its lexical variants) would rather qualify some
(finite) sequence of steps ("actions") to be performed in order to recover a sys-
tem of - possibly nested - references that -
can-be - at least in principle - -
des-
cribed recursively. (The latter description should be - of course - a piece of e-
mathematics or - to use a word of H.B.Curry - of "epi-theory".)
The underlying necessary tree-like search won't be - in this case - exactly compa-
rable with the documentalist's search in a Universal Mathematical Library: the lat-
-
I) "Obvious" may also occur,incidentally,in colloquial ways of speaking more or
less related to mathematics when it is used to qualify some state of one's
private (i.e. geometrical) intuitions.Then it is not used as a proof-qualifier.
Indeed,if some under-graduate student (in mathematics) claims a given rotation
in 3-d space leaves the set of edges of a given cube invariant and he makes the
additional claim that this very fact is obvious for him (without being able to
display a proof for the first claim) then his use of "obvious" is certainly
different from what is meant here.We should therefore carefully distinguish
between "i-obvious" (= "intuitively obvious") and "p-obvious" (= "obvious -
qua
proof") ,while even if both expressions are indexical in the mathematical every-
day -
language (MEL or WOT,in Dutch),we should consider the first use as being
rnetamathematically (here "proof-theoretically") irrelevant. (The distinguo men-
tioned here and the corresponding example are essentially due to N.G. deBruijn,
in conversation.)
2) In cases where the speaker/writer is not located in the United States (it seems
U.S.A. is the only country where "this country1'is not an indexical expression)-
ter kind of work should certainly presuppose a minimal amount of "invention"
.
(''proof-dis coverytt)
Still,if "obvious" is properly used as a proof-qualif ier,the needed "invention"
should concern rather elementary steps or sequences of steps - "sub-treest' in a
tree-like search - that can be eventually (re-)discovered by any other mathemati-
cian (provided he is sufficiently informed in the articular subject matter of con-
cern).
In the end,the first kind (1) of mathematical ellipsis noted above is not essential-
ly different from the second one (2),inasfar the -
form of eliminating each of them
is concerned.Both kinds involve ("refer to") some common backgrourd of mathemati-
cal experience ("common" to a given group etc.) and differ only in the ways this
experience is invoked or referred to.Anyway,in both cases some pragmatic context
has to be recovered in order to understand what should/might stand for a given
mathematical ellipsis (in some particular - mathematical - text).
( B ) Another way in which one may become aware of the difficulties involved in -
the
process of communication -
of mathematical ideas is to acknowledge the possible dis-
agreements as to the use of what should be an "acceptable/good/correct argumentt'.
One of the motivations underlying the work on AUTOMATH was (DE BRUIJN 73-34)
make something of a universal nature".
Even from a superficial review of results obtained since 1968 in this area,it
should be clear that the claimed universality is to be understood in some
immediate (non-philosophical say) sense : the project is feasible at least in
the sense that large parts of actual ("ordinary": i.e. ,"classical" as well as
"constructivistic") mathematics can be presented in AUTOMATH in a natural way.
1 .?.
(This is a "weak foundational claim" as we may learn from VAN DAALEN 80-73 ,I.-
etc.,and, as the way of understanding "formalization" is quite different from
that intended in mathematical logic or set theory,there is no possible "conflict"
with Godel's results on incompleteness.)
It is not our purpose here to estimate how "large" could possibly be the parts of
actual mathematics that can be fed into and checked by means of an AUTOMATH-veri-
fier (the extant work done in Eindhoven - TH - might offer --
ad hoc,experimental
ZZ" or "at least Classical Real Analysis",etc.).
estimations of the kind: "at least --
Rather we may notice that this claim of universality might be of some immediate
interest for logic and metamathematics;viz. it is a fact that,when provided with
suitable semantics,an AUTOMATH-language would become a useful tool in building up
- theory of constructions ---
a general -- and proofs for mathematics (whether "construc-
tivistic" or not).
Unfort~nately~the
model theory of (the languages) AUTOMATH is a rather undeveloped
topic.
Indeed,the existing work on (the languages in the) AUTOMATH (-family) was ,until
now,syntactically oriented.The main contributions to the topic (labelled within
the project as pertaining to the "language theory") consist,up to date,only of
a few facts concerning the behaviour of "correct expressions" under reduction (the
so called ~eak/StrongNormalization tl~eorems,Church-Rossertheorems,"Closure"-the-
orems,stating the invariance of the correctness categories of a given language
under the underlying notion of reduction;cf.,e.g.,JUTTING 71-23,71-24;NEDERPELT
73-31;VAN DAALEN 80-73).
Besides the philosophical reasons noted above,the situation complained here has
also a deeper motivation in the difficulty --
of the subject: the languages in the
AUTOMATH-family were (and still are) resisting to a model-theoretic approach beta-
use of their intrinsic complexity.The underlying type -structure is - with a
word of D.van Daalen (VAN DAALEN 80-73) - a "generalized" one: one has a I1depen-
dent type-structure" where the "typing expressions1'and the "typed expressions"
are to be generated simultaneously,as in the case of the languages proposed by
Per arti in-L;£ for the formalization of constructive mathematics (cf. MARTIN-LOF
71,72,75,75a,75b,79;ACZEL 77;BEESON 8B;for a di:ferently oriented use of closely
related languages see CONSTABLE 8B).
This difficulty was also incidentally noted in BALSTERS 82.
The present author shares the opinion that some model-theoretic work on the lan-
guages in the AUTOMATH-family is necessary in the present status of research.
Syntactic methods - if somewhat involved - have already played their rale in the
game and shown their strength.It is not too much to be expected in this direction.
A recent proposal for -
a mathematical semantics of the main AUT-languages will
be discussed in detail elsewhere (cf .BARENDREGT & REZUS 8gl ) .
1) To mention only the most important distinctions: any AUT-language has a "stan-
dard reference versionl',as specified in the language definition and a "physical
versionW,as used in displaying actual pieces of AUT-text,whereas the latter
level may be viewed either as a "publication language" - as used by the
translator - or as a "machine-oriented" language, - as processed by a computer
instructed to check the correctness of a piece of "physical" AUT-text.
On the other hand,the "standard reference version" can be specified by diffe-
rent language definiti0ns.E. g.,there is an "E-definition" (VAN DAALEN 73-35,
80-73),which will be used as a starting point in the present description, and
an "algorithmic definitionW,which is very close to a program checking correct-
ness of AUT-books.Other,more pedag~gic~presentations- using a "natural deduc-
- -la F.B.Fitch,say;cf.FITCH 52,MONTAGUE
tion"-style (2 & KALISH 64,etc.) - have
been preferred by N.G.de Bruijn (DE BRUIJN 68-01,73-30 ,etc.) .
2) With a word of Peter Landin,the "syntactic sugar" contains features that are
added to a given formal language in order to facilitate its use without increa-
So,properly speaking,our considerations do not apply directly and -
ad litteram
to things like PAL(-THE),AUT-68,AUT-QE,etc.,but to their abstract counterparts.
For the latter some more economical nomenclature has been established (just to save
symbols),still in close relationship with that in use for "referencen-AUTOMATH.
The due minimal "dictionary" is as follows:
Abstract AUTOMATH "Referencef'-version
PA grimitive @TOMATH PAL (-THE) 1 1
CA Classical AUTOMATH AUTOMATH*) ,AUT-68
QA AUT-QE
Q-A AUT-QE-NTI
AA LAMBDA AUTOMATH h3)
etc.
Variable-s trings
Term-strings
Contexts Contexts
Constructions Lines
- - EB-lines (declaring variables)
- p-constructions - PN-lines (constructing "primitives'?
- d-cons tructions -
definitional lines (constructing
"defined notions")
--
Sites 6 finite sets of constructions). Books (= finite sequences of lines).
-
continued from previous page
sing its (semantic say) strength.
1) See -
01. above.
2) Historical label (used in DE BRUIJN 67-16,68-01,etc.l
.
3) In "book-and-line1'-format (cf also VAN DAALEN 80-73) .
For a detailed explanation of the description-scheme of the abstract AUT-syntax
we refer to 05. below.
Here we give only some hints motivating the main differences.
(2) EB-lines are not essential as separate syntactic units (they can be appropriate-
ly "stored into" contexts;this approach was actually taken by D.van Daalen in VAN
DAALEN 80-73).0n the other hand,the other kinds of lines of the "reference1'-ver-
sion describe "constructions of primitive / defined notionst'while the EB-lines
are,rigorously speaking,"variable-declarations".Putting them together under the
same syntactic rubric would somewhat break the uniformity of the syntactic descrip-
t ion.
(3) The linear order in "referencen-AUT books is completely unessential for the
description/understanding/study of correctness in AUTOYATH.What actually matters
in this respect is a different kind of order (a partial order) describing the
"reference-system" of a given PN- or definitional line (i.e. ,what may be
called,"reference structure" in an AUT-book) .
Accordingly,we shall keep only a syntactic category of Constructions, containing
(i) p-constructions corresponding to the former PN-lines and
(ii) d-constructions corresponding to the definitional lines of the "referenceM-
formulation,
while,instead of considering finite sequences of such items ,we decide to pay atten-:
tion first only to finite sets
--- of constructions (= sites).
The "real" reference structure in sites will be hereafter obtained by an appropria
te analysis of the structure of correctness (cf. 2. below).
The motivating problem concerned the relation of AUT-68 and AUT-QE to the "least"
language in the AUTOMATH-family: PAL(-THE) and it is - in itself - of some philo-
sophical interest.Besides this,it has also a more immediate,practical import.
I) One of the topics on which N.G.de Bruijn lectured (since 1978 on) at the Univer-
sity of Technology in Eindhoven concerns "The Language and Structure of Mathema-
tics" (cf. DE BRUIJN 78-ti1 and the forthconling book DE BRUIJN & XEDEKPELT 8181).
The practical aspect of the conservativity problem mentioned above is somewhat
easier to grasp and concerns the possible economy (in time and computer-memory)
over the work done in the actual verification of *an AUT-text on computer: it turns
out a PAL-text is always somewhat easier to check than an AUT-68- or an AUT-QE-
text.
Now if AUT-68 say is actually conservative over PAL(-THE) - in the due sense -
one can choose to formalize in the PAL-segment as much as possible - from the
very beginning - without thereby loosing "in strength" (and,by conservativity,
any AUT-68-"line" that "can be written in" PAL - in the expected sense - and
admits of a "correctness proof" in AUT-68 should also admit of a "correctness
proof" in PAL).
PAL-Separation Property:
Let AUT be any one of the following languages: AUT-68,AUT-QE,AUT-QE-NT1,etc.
For any "correct" AUT-book B such that I! contains some line k,if
(1) k is "correct" with respect to g and
(2) k is "written in" PAL
then there is a "correct" PAL-book B~ such that
A
(3) gV - sub-sequence
is a "sub-book" of B (qua - of lines),
v
(4) k is "correct" with respect to 2
and,moreover,
(5) gV is --
the least "correct sub-book" of I3,satisfying (3) and (4).
v
(Here is "correct according to the rules of AUT1',$ is "correct according to the
rules of PAL" and "written in PAL" is to be understood "modulo definitional expan-
sionV,viz. any expression which is a "component" of k has a PAL-"reduction graph".
These notions will be made precise,in an abstract setting,in sections 2. -
and 3.
below. )
The main work in -
3. relies on a combinatorial analysis of correctness in sites.
The abstract setting allows to isolate in a straightforward manner the relevant
structure of correctness in sites ("correct" sites are actually posets with res-
pect to the "definitional history" of the constructions they contain):this is the
so-called "reference-order" (ef .-
321 .below). Relying on this order,a precise "measure
of complexity" for constructions is introduced (cf. =.).As the latter is given
by some appropriate recursive function it can be used as a useful meta-theoretic
tool in proving facts -
on corretness in abstract AUT-languages.Finally,the underly-
ing analysis is - in a sense - "globall',for it does not actually depend on the
exact formulation of the "correctness rules" in one or another (abstract) AUT-lan-
guage.So,in the end,the main results can be easily transferred to other AUT-lan-
guages,not actually taken into account and described in detail in this paper (as,
e.g.,ZA - the abstract version of Zucker's AUT-Pi - versus PA,etc.)
Needless to say that the facts established here for the abstract AUT-languages
hold as well for the corresponding 'lreference"-versions.
0 5 . A b s t r a c t AUTOMATH: d e f i n i t i o n scheme.
-
( i ) The a l p h a b e t s %A a r e denumerably i n f i n i t e s e t s of p a i r w i s e d i s t i n c t
s t r u c t u r e d symbols ( i . e . , s e t s of symbols f o r which some i m p l i c i t c a t e g o r i z a -
tion into - pairwise d i s t i n c t - sub-alphabets i s given).Cf. -
10 below.
The -
f r e e s y n t a g m a t i c c a t e g o r i e s of LA may Le chosen from a minimal f a m i l y ,
c o n t a i n i n g a l l and o n l y t h e f o l l o w i n g s e t s of words o v e r %A:
LA
Term , t h e c a t e g o r y of terms (& LA),
sent^^,
- .
t h e c a t e g o r y of -
E-sentences (or -
E-formulas) -
i n LA,
LA
Svar
n- .
, t h e c a t e g o r y of v a r i a b l e - s t r i n g s of l e n g t h n , n r N,& LA,
--
LA
Sterm t h e c a t e g o r y of t e r m - s t r i n g s of l e n g t h n , n ( N , & LA,
n '
and
ContxLA
n '
t h e c a t e g o r y of c o n t e x t s of
l e n g t h n,nC E , k LA.
Of t h e s e , t h e f i r s t two a r e c a n o n i c a 1 , t o g e t h e r w i t h
c o n s t r L A , t h e c a t e g o r y of c a n o n i c a l c o n s t r u c t i o n s
--
& LA and
contxLA = c o n t x L A , t h e c a t e g o r y of contexts* LA.
neN n
05.2.REMARK.
I n t h e p r e s e n t a t i o n adopted h e r e (wliich does n o t concern ZA,the a b s t r a c t
v e r s i o n of Z u c k e r ' s AUT-Pi;cf. ZUCKER 75-42,DE B R U I J N 77-51,ZANDLEVEN 77-
48 and VAN DAALEN 80-73,Chapter V I I I ) i t does n o t seem n e c e s s a r y t o have,
within the l a n g u a g e , s y n t a c t i c c a t e g o r i e s i n v o l v i n g some n o t i o n of reduc-
t i o n ( o r any c o n c e p t d e f i n e d i n terms of some n o t i o n of r e d u c t i o n , a s e . g . ,
" d e f i n i t i o n a l e q u a l i t y " o r " c o n v e r t i b i l i t y " , " r e d u c i b i l i t y " and " c o n t r a c t i o n " ) .
I t i s , h o w e v e r , p o s s i b l e t o a d o p t , f r o m t h e v e r y b e g i n n i n g , t h i s p o i n t of view
by a d m i t t i n g of one o r more of t h e f o l l o w i n g c a t e g o r i e s of s e n t e n c e s (for-
mulas) a s p r i m i t i v e ( b o t h f r e e and c a n o n i c a l ) s y n t a g m a t i c c a t e g o r i e s -
i n LA:
sent^^, t h e c a t e g o r y of -
Q-sentences (or -
Q-formulas) ,& LA,
sent^^, t h e c a t e g o r y of -
R-sentences (or -
R-formulas) & LA,
snd
LA
Csent , t h e c a t e g o r y of -
C-sentences (or -
C-formulas) & LA.
As the latter are intended to "formalize" convertibility,reducibility and
contraction in LA,one has to distinguish carefully between the underlying
"extensionality type" (which can be either "beta-" or "beta-eta-" in the case
of the languages studied below,while the distinctions necessary for the
family ZA of abstract AUTOMATH languages are even more complex).
It will turn out that in all cases of concern below (not involving ZA say)
sent^^ is sufficient for all our purposes (and the remaining categories
of sentences can be appropriately "simulated" or "defined" by a --
Gtour via
the meta-language) .
For some delicate points involving the use of ( b e t a - ) e t a - c o n v e r t i b s i t y in
connection with correctness see,e.g.,NEDERPELT 73-31,pp.16,71 and VAN DAALEN
- - ,for a way out (avoiding
80-73,Chapter VI.See also VAN DAALEN 80-73,2.12.
the use of -
Q-formulas as primitives).
05.3.REMARK.
In the "reference" presentations of the languages ,in the AUTOMATH family
one prefers the following terminology:
LA
- "expressions" in LA for elements of Term ,
- "E-f ormulas" -
for "E-sentences",
- "lines" (specifically,"primitive lines" or "PN-lines" and "definitional
linesl',resp.) for "constructions1'
and,
- 'lbook~~' for "sites" provided with a fixed linear
order (a "book" is a "sequence of lines" and not merely a set,as it is the
case here for our "sites").
Of course,"~ite~~,
as used here,has nothing to do with the sites appearing in
the theory of categories.
The motivation behind our use of sites may be recovered from our manipu-
lation of z different (and more usefu1,both for meta-theoretical purposes and
in practice) concept of order in an AUTOMATH "book" (cf. the discussion of
the "reference order" below).
(iii) In order to give a "global" description of the correctness categories
of LA we introduce some ad hoc set--theoreticnotation and terminology.
05.4.NOTATION.TEREIINOLOC;Y.
.
If R is an n-ary relation on AI, . . ,An (n 3 1) and m & n,then - -
the m-th
section -
of R is just K if m = n,else
If ,moreover,m < n,and S is an m-ary relation on A I ,.. . ,Am then the residual
of S -
- in R is the relation
.5.REMARK.
Now,clearly,if R is an n-ary relation then,the domain of R is the set
Dom(R) = Sec (R) ,
n- 1
and ---
the range of R is the set
Range (R) = R/Dom (R) .
constrLA
a
=
- constrLA x siteLA, such that
constrLA/secl
I (constrLA)
e = siteLA
I - 0.
contxLA;
PI E; contxLA x siteLA,such that
a
contxLA/sec (~ontxr) = SiteLA
I
n t ~ ~ (EsentLA)
~ s eI ~seI c~ = LA '
Contxa
-
TermLA= TermLA x contxLA x siteLA,such that
a
,
TermLA/sec (TermLA) = Contx
I I
LA
I
.
Of course,not
-- any "solution" of the "system" above will be acceptable as a
family of correctness categories for some abstract AUT-language.
l .language definition: well-formedness.
-
I0.Alphabets --
- to use.
The alphabets we are going to use in these notes are singled out from the
following denumerably infinite list of structured symbols.The categorization/
"classification" of these symbols into pairwise disjoint sub-alphabets is to
be recovered from the tree-like indications present on the 1.h.s. of the
list displayed below.
Variables: x
m
(Structured) constants: arity:
Functors :
Floating constants:
p-constants: p (
,),, m
d-constants: d(n) ,m m
Constructors:
Term-constructors:
head-constructors ("instantiatorst'):n ' n
abstractor: A 3
applicator: 3 2
Sentence-constructors :
inhabitability relator: E 2
List-constructors:
variable sequencers: s n
-n
term sequencers: S n
--n
telescope constructor: 2
t t t r i a d t t - ~ ~ n ~ t r u-
D~ t o r : 3
12 Structural constants ("language constants") : arity:
121 Universe symbols:
Super-type symbol: .t
Proof-type symbol: %
10. I. COMMENT.
If the approach indicated in Remark 062. above is taken then one would
also need th& following extra sentence constructors (tree-like "classifi-
cation" as earlier) : arity:
11222 convertibility relator: Q 2
1 1223 reducibility relator: R 2
1 1224 contraction relator: 5 2.
These relators would serve as primitive constructors for the syntactic
categories
LA
Qsent , formalizing convertibility sentences/formulas
LA
Rsent , formalizing reducibility sentences/formulas
LA
Csent , formalizing contraction sentences/formulas
in the correspondingly extended language LA.
From the list above we single out the alphabets to use as follows:
10.2.DEFINITION.
A contains the set of all structured symbols listed above.
A = A - {TI.
C
A = Ac - i n , 33.
P
IO.3.COMMENT.
A is the alphabet of PA (= Abstract Primitive AUTOMATH),
P
A is the alphabet of CA (= Abstract Classical AUTOMATH),
A is the alphabet of Q-A,QA (= Abstract AUT-QE-NTI and Abstract AUT-QE).
In the sequel we shall somewhat simplify the exposition identifying A and AC .
Var stands for the set of variables,whereas constLA is the set of (structured)
constants in LA (with superscript oft omitted).
10.7 .REMARK.
As introduced below,some of the e~ifunctionsappearing here can be defined in
terms of other epifunctions.For our purposes it won't be necessary to have
at hand a "minimal" basic list of such objects (for we do not aim at a comple-
te formalization of the epitheory).
10.8.NOTATION.
Finally, r stands for syntactic identity on Word(LA) and we write " & I' for
its negation.
In set-theoretic contexts "=" has,of course,the usual set-theoretic meaning.
Other set-notation is used as much as possible,in a standard way,and we did
not find necessary to explain it in detail.
-
10 1 . F u r t h e r structure -
on ( f l o a t i n g ) c o n s t a n t s .
A s p e c i f i c f e a t u r e of t h e languages LA c o n s i d e r e d below c o n s i s t s of t h e p r e s e n c e
LA
of (what we c a l l e d ) f l o a t i n g c o n s t a n t s ( i . e . , t h e s t r u c t u r e d symbols i n F1 ) .
These a r e f u n c t o r s of a s p e c i a l k i n d and t h e way we i n t e n d t o m a n i p u l a t e them
i n p a r t i c u l a r languages LA w i l l - surprisingly - c a u s e l o t s of ( a t l e a s t ) the-
o r e t i c a l d i f f i c u l t i e s . T h e d i s c u s s i o n f o l l o w i n g h e r e aims a t e l i m i n a t i n g t h e
most t y p i c a l ones from t h e v e r y b e g i n n i n g .
..
I0 I I DEFINITION.
A ranking function -
f o r some a l p h a b e t i s a map
----
rank: FILA -? B
such t h a t , f o r each ( a r i t y ) n , n e IN,
LA
rank(Pfln
---- ) = IN
and
----
rank(Df ln )
LA
= B .
101.2.CONVENTION.
Any a l p h a b e t ALA i s supposed t o b e g i v e n t o g e t h e r w i t h a f i x e d r a n k i n g f u n c t i o n
f o r i t and t o b e " l a r g e " enough such a s t o h a v e , f o r each a r i t y n , n c N , a n d any
g i v e n i n t e g e r m , i n f i n i t e l y many p- resp. d-constants c with ~ z ~ a
k )( c= m.
-T.
I n d e t a i 1 , t h i s runs a s follows.
I0 1.3.DEFINITION.
For each n e IN ,we l e t t h e a p p r o p r i a t e l y r e s t r i c t e d " k e r n e l s " of ---- be
LA
prankm = f%: (% i s i n P f l n )&(ggnk(%) ---- = m) 1 m t N,
n
orankm = {ln:
n
LA
(Sn i s i n Df ln ) & (ra& ---- ($1 = m) 3 m t N,
10 1.4. REMARK.
Our previous convention on ALA says t h a t , f o r each a r i t y n , n & I N , and each EN,
the "ranks" ~rank:,~rankt can be mapped one-one onto N.
The corresponding b i j e c t i o n s allow t o speak about t h e f i r s t , t h e second, ...,
t h e k-th p- r e s p . d-constant w i t h a r i t y n and rank m (n,m E N) .
-
the p - e m,* d-rank m o r --
t h e rank m resp.(& LA).
m
Altismatively,if some f l o a t i n g c o n s t a n t -
c i s i n Rank we say t h a t c ---
i s of rank
m (mCN) o r (by abuse of language) t h a t t h e rank of --- c i s m.
I n o r d e r t o avoi?d s u p e r s c r i p t i n g we s h a l l a l s o w r i t e ~ a n k ( m ) f o r ~ a n k ~ .
10 I . 7 . REMARK.
The p o i n t of view adopted h e r e i s , i n t h e end,not very c o n s t r u c t i v ~ . S t i l l , w e
can make i t t o be so,by u s i n g e x p l i c i t e l y Cantor's coding of t h e p a i r s i n
INxN onto I N .
-
I n o r d e r t o do t h i s r e c a l l t h a t , i n 10. above, t h e p- and t h e d-constants were
provided ( s e p a r a t e l y ) w i t h some f i x e d l e x i c a l o r d e r ( a l i n e a r o r d e r ) , a n d t h i s
---
was done f o r each a r i t y n , n f N.
LA
Indeed,we had p-constant s p (,I ,n and d-constants d ,where m c N, i n P f l
(m) , n n '
~£1: r e s p . The intended meaning of t h e s u b s c r i p t s "(m)" i s h e r e t h a t p
(m)
- -.n
,
i s t h e (m+l)-th p-constant of a r i t y n i n ItA
and analogously f o r d
(m>,n'
Now Cantor's coding i s a ( p r i m i t i v e ) r e c u r s i v e f u n c t i o n (a b i j e c t i o n )
p gjr: R x N
---- N
w i t h ( p r i m i t i v e ) r e c u r s i v e " p r o j e c t i o n s " ----
kf&,gig;g resp.Where D N and D BxN
a r e t h e diagonals of N and N x N r e s p . ,we g e t (by s u r j e c t i v i t y ) t h a t t h e
Let m be t h e l e x i c a l --
index of p (m) ,n i n k A . T h e n pir-
---- (m) is
(m) ,n resp.
actually a pair, (m ,m ) say ,with m, ,m2 i n N.We may now c o n s i d e r m a s being
1 2 1
t h e rank
--- of t h e p- resp. d-constant w i t h l e x i c a l index m (and a r i t y n) and m2
be - w i t h i n i t s rank (here: e i t h e r prankm o r
index of t h e c o n s t a n t ---
t h e l e x i c a l --
n
m
Drank ).For convenience,call t h e l a t t e r a l e x i c a l rank-index.
n
Taking,in p a r t i c u l a r ,
----
p p i r (ml ,m2> = ( (ml+m2)x(ml+m2+1)112 + m2
k f t , r -----
i t i s easy t o g e t e x p l i c i t forms f o r ---- i g h t and ---- ( s e e , e . g . ,MALICEV 70).
piz-
So i f 5 i s a f l o a t i n g c o n s t a n t w i t h l e x i c a l index r and a r i t y n ( r , n N) then
rank $ (c) = leff
==== - (pir-(r))
---- ----
$
d e f i n e s ( c o n s t r u c t i v e l y ) a ranking f u n c t i o n f o r kA( f o r ----
gggk i s obviously
primitive recursive - and even Kalmbr-elementary).
on t h e p a t t e r n
With t h $ l a t t e r one we can r e p e a t t h e p a r t i t i o n i n g of
sketched above and g e t t h e corresponding s e t s Prank:'m,~rank:ym ,Rankn$ ,m
( f o r a l l m,n i n N ) .
Moreover ,each P ( ~ ,n ) i n Prank $ y m and each d
n ( r ) ,n
in
n
rank"^
w i l l thereby
g e t a l e x i c a l rank-index --
within t h e i r (constructive) rank,viz.
$
q = ------
p z i ~ d enx(P ( r ) , n ) = ==--- ----
r i g h t (p8iE-(r)) and
I0 1.8. REMARK.
I f A+ i s any alphabet c o n t a i n i n g ~l~~
and Word(A+) i s t h e s e t of words over
A+ we may a l s o use t h e c o n s t r u c t i o n above i n o r d e r t o a s s i g n ranks t o elements
of Word(A+) o r t o s u b s e t s of Word(A+).Indeed,let X be i n Word(A+).Then we may
s t i p u l a t e t h a t t h e rank of X i s -1 ( s a y ) , i f X does n o t c o n t a i n l e t t e r s from
~1~ and t h a t t h e rank of X i s En5 (Ewdc(c) : ( 2 occurs i n X) &(e_ i n FLLA
--- ---- )I.
Ranks -1 a r e , o f c o u r s e , a r b i t r a r y (we may l e a v e t h e new ranking f u n c t i o n unde-
f i n e d i n t h o s e cases where X does n o t c o n t a i n f l o a t i n g c o n s t a n t s ) .
Something s i m i l a r can be done f o r ( f i n i t e ) s u b s e t s of Word(A+).
I0 1.9. COMMENT.
The need f o r something analogous t o our ranking f u n c t i o n above was n o t i c e d
e a r l i e r by L.S. van Benthem J u t t i n g and D.van Daalen,in connection w i t h
---
the theory of abbreviations (LSP) in AUTOMATH (see VAN DAALEN 80-73,111. and
also,DE BRUIJN 73-30).1n --
this context one speaks about the date~ -
of-a defined
---
constant (relative to some b o o k ) , ~the
~ choice of a ranking function is a
matter of local decision and has to be performed for each particular book
separately (and anew) .Also,in the latter case,the primitive constants (cor-
responding to our p-constants) must be dated (within "correct books").
Shifting the matter (in)to a very elementary syntactic level (as we did here)
gives some technical advantages over the usual "reference"-treatement of the
AUT-syntax,but also entails some unintended (and somewhat unpleasant) conse-
quences at a later stage (definitional specifications are to be stipulated
once forever for all elements of ~fl~*,etc.).
It w i l l be convenient t o s t a r t by d e f i n i n g s t r i n g s of v a r i a b l e s f i r s t , v i z . t h e
f r e e (syntagmatic) c a t e g o r i e s svarLA,n C N. (We h e n c e f o r t h omit t h e s u p e r s c r i p t s
n
..
IILAII )
I I.I.DEFINITION.
For a l l n i n N , t h e s e t s Svarn a r e t h e l e a s t s e t s such t h a t
i f v1 ,... ,V
n
a r e i n Var and v . $ v
1 j
(I&i # j& n ) then
s OV ]...Vn
II
i s i n Svar
n
.
An element of Svar i s a v a r i a b l e - s t r i n g of l e n g t h n.
n -
1 1 . 2 . REMARK.
Obviously,there i s no p o i n t i n r e f e r r i n g t o LA when speaking about ariabl
s t r i n g s ( t h i s i s a l s o t h e case f o r v a r i a b l e s , f o r we would want t o keep Var
the -
same f o r -
any LA under f o c u s ) .
With t h e d e f i n i t i o n above one h a s a s p e c i a l n o t a t i o n f o r t h e empty s t r i n g
(of v a r i a b 1 e s ; t h i s i s j u s t s D ) and a l s o one can d i s t i n g u i s h .straightforward-
-0
l y - a s intended - between a s i n g l e v a r i a b l e v , t a k e n i n i s o l a t i o n , and t h e
one-element s t r i n g c o n t a i n i n g v ( t h i s i s j u s t s Uv).
-1
11.3.NOTATION.
I := 30,
f v], ...,vn := s QV] . . .v
-n n'
f o r a l l n 2, 1 .
--
I f X i s a v a r i a b l e - s t r i n g we s h a l l o f t e n w r i t e i.(X) f o r t h e l e n g t h of X.
12.Term-s tructures .
-
The LA-terms are the basic syntactic units in any LA and TermLA,the set of
terms in LA,is supposed to be specific for each LA.
For reasons of economy we identify hereafter TermCA,TermRA and,in general,
any set strictly containing TermPA will "collapse" into TermCA.This amounts
to the elimination of the proof-type symbol from the primitive syntax and,
as noted earlier,the procedure is harmless for theoretic purposes.
Indeed,the main differences induced by the presence of fl seem to be rather
semantic --
in nature and we are not concerned with this.
The syntax of LA-terms (at least in the -
free stage) will be not much more
involved than that necessary in the construction of a combinatory reduction
system,in the sense of KLOP 80 say,(this is a mixture of lambda-calculus and
term-rewriting ru1es;cf. also HUET & OPPEN 80,etc.).
121.1.DEFINITION.
For LA as shown below,the set ~ e r is m ~
the~ least set such that
(1) Any variable v is in Term .
LA
LA
(2) The universe symbol T is in Term .
(3,) If r is in F1n LA snd a], . . .,a are in ~ e r then
m ~ ~
n
cfneal.. .an is in also in TermLA . (n C N)
( 4 ) If a,b are in TermLA then so is 3ab.
(5) If a,b are in TermLA and v is a variable then h a b is in TermLA .
In the above,if LA := PA then only clauses (1),(2) and (3,),n€ N ,apply,
for the applicator and the abstractor are not in the alphabet of PA.
I2 1 .2.DEFINITION.
Any element in ~ e r m lis~ -
an LA-= or ---
a term in LA.
121.3.COMMENT.
The "in" above should be unambiguous if we have at hand some appropriate
book-keeping procedure for floating constants (in I?lLA).The latter task
can be somewhat simp1ified:if we choose to take into account the behaviour
of LA-terms "modulo definitional expansion" then one needs to "store" only
information concerning Pfl
LA
.
I21.5.NOTATION.
.
Hereafter a,b ,c,d,e ,f ,g, ... with sub- and/or superscripts (successive primings)
will be used as syntactic variables on LA-terms (with LA duly specified).
Next,we set,for all n N,
.
c(al,.. ,an)
- := Jn-1
ca ...an -c in Fln,a. in TermLA ,OL i S n,
1
LA
{a]b := 3ba a,b in Term ,
12 1 .6.TERMINOLOGY.
(1) The head-terms are all and only the LA-terms of the form
a := c(al, ...,an),
- n E N,
with 5 and a l ,...,an as specified ear1ier;c
- is the head of a and the a. 's 1
(I S i S n) are ---
the arms of a;the head and the arms of a are all and its only
immediate quasi-components (hereafter: - iqcls),while the arms of a are all and
its only immediate components (henceforth: &Is).
---
The length of a is &h(a)
-- = n.
n
---- and arm.
Epifunctions: we let hg_a_d --- (nc N,O 6 i ln) be partial functions
1
from Word (LA) to Word (LA) such that,
0, if a is a head-term andi -= 0,
n
arm.
--- 1 (a) := if a := c(al, . . . ,an)
- and &(a) 7 0 ,Id i s n,
undefined, else.
(2) -
The application-terms are all and the only LA-terms of the form
a := (bl)b2,
with bI,b2 in ~erxu~~;whereb is the argument-part of a and b2 is fhe function-
1 -
--
part of a;the argument- and the function-part of an application term a are
all and the only - - of a.
iqc's (ic's)
---
Epifunctions: the associated epifunctions are,in this case,zag and fun,with
the following behaviour :
I
bl, if a := {b$b2,
a-g(a)
--- :=
undefined , else,
b2, if a := {b;fb2,
fun(a)
--- :=
undefined, else.
(3) -
The abstraction-terms are all and the only LA-terms of the form
Epifunctions: the associated epifunctions are (see also below) ggg and y---
gl,
with:
dom(a)
--- :=
undefined, else
---
y_a&(a) :=
I
undefined, else.
121.8.DEFINITION.
A subterm (resp. a quasi-subterm) -
of an LA-term a is either
(1) an ic (an iqc) of a, or
(2) an ic (an iqc) of some subterm (quasi-subterm) of a,and
(3) nothing else is a subterm (quasi-subterm) of a,except by (I), (2) above.
12 1 .9.TERMINOLOGY.
If a is an abstraction-term then any (quasi-)subterm b of
( i) val
=== (a) is ----
in the scope of the abstraction prefix of a,
(ii) @~(a)
--- ----
is within the scope of the abstraction prefix of a.
This way of speaking will be extended,by abuse of language,to sub-words of
abstraction-terms that are not necessarily (quasi-)subterms of it.
-
For any LA-term a,FV(a) ,the set of free variables of a,and BV(~), the set of
bound variables of a,are supposed to be defined as usual.
We have,of course,BV(a) = $,for any PA-term a.
Further,if v is in Var,then v is said to be -
free (bound)
- a if v is in
~~(a),(resp. in ~~(a),asexpected),and v is fresh for a if it is not in
FV(a) U BV(a) .
We shall also use "fresh for..." in a similar way,in connection with floating
c is --
constants (a constant - fresh for some LA-term a if,simply,c does not occur
in a,as a quasi-subterm of it).
The operator of simultaneous substitution on LA-terms,for which we reserve
the notation
lor w e n a' := a[6 := ,where b and ;stand for the corresponding se-
quences) is supposed to be defined in the familiar way.
This notation is straightforwardly relativized to the case of ordinary
substitution (as in lambda calculus,say) ,when n = 1.
121.11.REMARK.
To avoid difficulties with alpha-conversion (see below) in languages with
abstraction,it seems appropriate to introduce first partial operators of
(simultaneous) substitution,next state the alpha-conversion rule and,finally,
make the former totally defined on the appropriate set of terms,manipulating
conveniently the a,lpha-matters (to handle this automatically some more details
on alpha-conversion strategies are necessary ,however).
This should avoid circularity,in the end,while defining substitution
alpha-conversion (the approach comes ,essentially,from Church).
Alternatively,one has to cope with the alpha-matters in some other way (cf.,
e.g.,DE BRUIJN 72-29,78-55,STAPLES 79 and BARENDREGT 81,Appendix C: Variables).
-
122.Canonical --
terms and definitions.
122.1.DEFINITION.
If 7 := s Ilv].. .v is in Svar and -
-n n n
p is in ~ f l F -
, dis in fly (n 6 N) then
the head-terms
p ( 7 ) := 6nEvI...vn,
-
-
d(V) := 6ncvI...~n,
resp. are said to be (canonical) p-terms (resp. d-terms) --
of length n and
- --of
a canonical LA-term length n is either a p-term or a d-term (of length n).
122.3.NOTATION.
We shall write,everywhere in the seque1,for any LA-term a,
X :: : PRIM for ISPRIM(X)
and
X ::= a for DEFEQUALa(X) ,
where X is a syntactic variable.
122.4.COMMENT.
The stipulation llin/for LA" is essentia1,if we want to recover information
about some LA-term,which is not already "coded into'' its syntactic form
(there are CA-terms say that are apparently PA-terms whithout being actually
so;we have to "restore their definitional history" in order to be able to put
. vs CA) .
them at the due place,here PA -
We let ~ t e r m F , ~ t eLA
rm be,for each n 6 N,the set of canonical p- resp.
n resp.
d-terms of length n and introduce sets ptennLA,~termLAby taking infinite
unions in the obvious way (ptennLA say is the union of all ptermLA,with n in N).
-. n
~ i m i l a r l ~ , ~ t e ris
m~*the set of canonical LA-terms of length n (n G N) ,while
n
ctermLA is the union of the latter sets,with n in N.
122.6.DEFINITION.
(1 ) If p(v) is in ptermLA
n
(n E N) then the epi-statement
p(v)
- ::: PRIM
for LA with definiendum l'
a pseudo-definition -
is - -p(v)'l and definiens PRIM.
(This way of speaking involves some abuse of language but it will be useful
later on.)
(2) Similarly,if -
)
;
(
d is in term: (n E N) and a is in ~ e r such
m ~ that
~
i ) FV(a) C I v l,. .. ,vn] and
(ii) d is fresh for a
then we say that the epitheoretic statement
-
d(Y) ::= a
a proper definition -
is -- for LA with definiendum ' ' ~ ( ~ )and
' ' definiens "a".
122.7. COMMENT.
So far,any language LA would admit of several kinds of definitional ambiguity.
We mention the most annoying cases:
(1) a given floating d-constant may be the definiendum of more than a
single proper definition for LA,
(2) "circular definitions" are not avoided by the restriction concerning
"freshness" in 122.6.
Certainly,(l) can be circumvented by adding a new stipulation concerning
the relation which should subsist between d-constants and proper definitions
in LA (this would be a "global" stipulation,concerning the "totality" of LA).
The difficulty behind (2) was noticed by L.S. van Benthem Jutting (in con-
versation). Indeed,suppose -
d and -.d' are mutually distinct symbols in fly ,for
some LA (PA say).Then each of the following (proper) definitions are well-
formed,and perfectly legitimate,when taken in isolation:
(2. I .) d : : -
- d'
(2.2.) -
d' ::= -
d .
This situation generalizes straightforwardly to any finite number of pairwise
distinct d-constants of the same arity and the requirement of "freshness"
is,obviously ,satisfied;in each case separately.
We may still want to call such situations "well-formed" (one sometimes speaks
about "good" -
vs "bad" definitions or "correct" vs "incorrect" definitions)
and one could imagine that the due place to discuss such a distinguo is
under the rubric "correctness".
- the approach we shall actually take here.Rather ,we have
This is ,however,not
both good reasons and technical means to avoid such unpleasant features of
our syntax from the very beginning.
As for reasons,we need not insist too much in arguing on the meaning of
words.We simply adopt the point of view that 5 "bad / incorrect definition"
---
is not a definition --
at all.
The technical means to eliminate "circular definitions" of the kind above are
provided by putting the ranks (introduced in -
101. above) at work.
122.8.DEFINITION.
---
The rank of an LA-term (relative - rankLA) is defined inductively as
to ====
follows (if a is an LA-term,we write pnk+
----LA (a),for the rank of a in LA,relati-
ve to ----
;ankLA, omitting often "LA") :
-],if a does not contain floating constants as quasi-
+ - - - ,
subterms
rank (a)
----
- is in ~
rank(~) : (c 1 &(c-~ is ~a qst
) of a$
to _rzgLA)
The 2- resp. the d-rank of an LA-term (relative - ---- is defined analo-
+
gously,replacing "FILA" by "pflLA" resp. " ~lLA"
f in the definition of ----
+ +
(notation: p-rank (a),a-zagkLA(a),resp.).
----
===ZA
122.9. REMARK.
It is easy to see that,for any LA-term a,one has
122.10.COMMENT.
+
---- will be relevant.However,using
For most of our purposes below only d-y~gk
+
----
rank instead does not introduce sensible complications.
----
+
l ~ k(a) is -
For any LA-term a ,---- a measure -
of complexity -
for a.Accurately,this
+
is completely relevant only for PA-terms,for _rank
---- (a) "ignores" the number
(say) of occurrences of abstractors and applicators in a.
In order to get a correct estimation of the syntactical complexity of an LA-
term (whether it is a PA-term or not) we would likely need counting - some
way or another - the occurrences of the latter constructors in the term con-
cerned.
A simple solution seems to be as follows: let abe an LA-term and define --
ad hoc
$-gb&(a) := the number of abstractors occurring in a,
$-g~~(a):= the number of applicators occurring in a.
+
Now,with p = $-_ab_ab(a)
--- and q = $-ggg(a) and where r = ---- (a) one may define
- -
the syntactical complexity of an LA-term a as being
We come now back to our main task,viz. we want to give an estimation of the
"freshness" of a floating constant -
for a given LA-term.
The proposal following below is somewhat arbitrary but it will work satisfactorily
in all cases of concern.
122.1 1 .DEFINITION.
+
rank (a) = n,n 7 -1 .Then a floating constant 5 is
Let a be an LA-term with ----
said to be
+
(1) rank-fresh -
for a if ----
xggk(c) > ---- (a)
_rgxik
and
+
(2) minimally --
fresh for a if ----
ngk(c) = ---- (a) + 1.
p&
122.12.REMARK.
LA
Clearly,for all LA-terms a and all -
c in F1 ,
(1) if -
c is rank-fresh for a then -
c is fresh for a
and
(2) if is minimally fresh for a then it is also rank-fresh for a,
but the converses of these implications are,in genera1,not true.
122.13.COMMENT.
We did not restrict the definition of rank-freshness and minimal freshness to
d-constants for reasons which will appear in the statement of the correctness
rules of LA'S below (see -
2.).But for the purposes of this section the restricted
definitions would work.
Now we can state a "global" condition of definitional disambiguation for any langu-
ge LA of concern here.
122.17.DEFINITION.
-
A where-clause
----- -
for LA is an epi(-theoretic)-phrase
where
----- ' definitional specification '
and the definitional specification following the Landin abstractor "where"
-----
is -
the supporting definition -of the where-clause
----- (or its body).
122.1 8.TERMINOLOGY.
We also say that a where-clause
----- has -
- a specified canonical LA-= and
note that the latter is the definiendum of its supporting def i-
nition.The head of the specified canonical term is -
the specified constant of
the corresponding where-clause.
-----
122.19.CONVENTION.
We will often omit where-clauses
----- having a pseudo-definition as supporting
definition (body).
-
123. Combinatory reduction systems.
123.1.DEFINITION.
A binary relation R
- on ~ e r (infix
m ~ ~ notation) is
monotone relative -
to an
(n (l)if ,for all aiyaj in ~ e r and ~ -
m ~all c in
LA (or i< n),
ln
a.1 ~
- a i===+ 6n-
c aI ...
a1....an - d'n-
ca a!1 ...
an'.
monotone relative -
to 3 ,if,for all al,a2,b,,b2 in the set TermLA (where
LA is not PA) one has both
a R b ===+
1 = 1 3ala2 5 3bla2
and
123.2.DEFINITION.
R on ~ e r ims monotone
A binary r e l a t i o n - ~ ~ -
i n LA i f opLA i s
t h e s e t of construc-
R i s monotone r e l a t i v e t o each 2 i n Op
t o r s i n t h e alphabet of LA and -
LA
.
123.3.DEFINITION.
Let R
- be a b i n a r y r e l a t i o n on TermLA (LA,as e v e r ) . Then monotone c l o s u r e
I
- such t h a t R- c o n t a i n s R- and i s monotone i n
-of- _R- i n LA i s t h e l e a s t r e l a t i o n RE
LA.
123.4.REM.ARK.NOTATION.
One d e f i n e s , a s expected,= reflexive t r a n s i t i v e closure of a binary rela-
tion R (-
on ~ e r m ' ~i n LA).
R i s a b i n a r y r e l a t i o n on TermLA then -Rn denotes ;he r i f l e x i v e
Notation: i f -
and t r a n s i t i v e c l o s u r e of R i n LA.
--
t o o l of disambiguating terms c o n t a i n i n g a b s t r a c t i o n terms a s subterms.
A c t u a l l y , i n t h e ("reference1'-)AUT-languages t h e "alpha m a t t e r s " p l a y no e x p l i c i t
r C l e , f o r t h e underlying lambda c a l c u l u s becomes,after implementation,a "nameless
lambda c a l c u l u s " ( c f . DE BRUIJN 72-29,78-55;BARENDREGT 81,Appendix -
C),where
bound v a r i a b l e s a r e not s p e c i f i e d any more,but handled by an appropriate
system of r e f e r e n c e s which e l i m i n a t e s any p o s s i b l e ambiguity.
--
For present purposes,it won't be neccessary to insist with formal details
concerning alpha-convertibility.Rather,we shall adopt a set of practical con- -
ventions which will allow us to work with LA-terms in the "naive way".
Specifically ,where alpha-congruent LA-terms are defined in the usual way (cf. -
muta-
---
tis mutandis,BARENDREGT 81,2.1.11.),we agree to adopt Conventions 2.1.12. and
2.1.13. in BARENDREGT 8 1,say (any two alpha-congruent LA-terms are identified,
and any LA-term is "basically disambiguated" in the sense that no variable occur-
ring in it is both a free and a bound variable in that LA-term).
In particular,this will cause no specific problem when passing from PA to CA,QA,
etc. ,for we won' t work with "equivalence classes" modulo alpha-conversion,but
rather with "representatives" in such classes.
123.5. DEFINITION.
LA
A -- in LA is a binary relation on Term .
notion of reduction -
123.6.NOTATION.
-1! ,R
If I -2 are notions of reduction in LA then 8 R stands for their union.
-1=2
123.7.COMMENT.
The notions of reduction of concern here will be given graphs of.partia1
recursive functions on ~e# (for appropriate LA'S). So it is implicitely
~ f (n t N) are specified recursively,as actually in-
assumed that ~ f l F , lLA
n
tended in the "reference"-versions of AUTOMATH.'
123.9.DEFINITION. ("Delta-reduction".)
Where ;:= f vl,...,vn .
f is in Svarn,al,.. ,a are in ~ e r m -
n
~ ~is, in
d Dfl
n
(n 6 N) and " y ~ zA(;)~ : := b" is a &gg-clause for LA,
d(a ],..., an )
- delta b[~
-we--
:= ,
with -)
;
(
d := d(vl ,...,
vn ),as expected.
In this case,"d(al ,...,a )" is a delta-redex and "b[5 := T
]
" is contractum.
n
For all a 1' a2 ,b in TermLA,all variables v (where LA is not PA),
In the latter two cases redexes and contracta are defined in the usual way.
Hence we should be able to define - as expected - delta- ,beta-,eta-normal forms
as well as combinations of the above. (An LA-term is in delta-normal form if no
subterm of it is a delta-redex,etc.)
We shall however keep using the labels LA ambiguously as long as the distinction
between $d- and &d-red~cibilit~/convertibilityplaysno rsle in the description
of the underlying syntax.
123.16.DEFINITION.
A reduction system (or an LA-calculus or even a crs) on LA is a (relational)
structure
44
-- = < TermLA; GEE
-----
rLA,fegLA, >,
where
(1) ~ e r is
m ~the~ set of terms in LA and
(2) -----
contrLA,ggiLA,scgyLA are resp. contraction,reducibility and convertibili-
ty in LA.
A reduction system on LA is extensional if cpgggLA ---
----- contains gfg,otherwise it is
non-extensional.(This terminology will be also transferred to the corresponding
language LA. )
123.17.COMMENT.
It appears that the behaviour of the extensional abstract AUT-languages (and
associated crs's) diverges in several important respects from that of their
non-extensional variants (due to the presence of "labels",i .e. ,"typest1that are
domain-parts ).This is not so for the corresponding pure ("un-labelledt1or
"type-free") lambda calculi,even if delta-reduction is present.
Hence we have to examine the extensianal case separately.
The latter fact gives the following reassuring result (not very useful,however,
in the present context).
123.21 .COMMENT.
Theorems 123.18.,123.19. and 123.20. hold also for the extensional reduction
mlgqd on ~ e r m ~ ~ , ~ r o v ione
d e dignores "labels" (i. e., "types" that are domain-
parts) .?lore precisely: erase ,from any abstraction term a in ~erm~~,~cl~(a),
---
i.e.,consider the abstraction terms without domain-parts.The resulting set
of (LA-)terms is "type-free" and it is easy to show (by standard methods) that
the corresponding relation g&pd is actually Church-Rosser (in the sense of
123.18.) on this set.
Even in absence of 123.18. ,Theorem 123.20. holds for the "la%elledl' calculi
$?-&A-- (where,of course,LA is not PA) by -
a model-theoretic argument.
Alternatively,one can use the Church-Rosser property for the corresponding
"type-f reel' language/structure ,realizing that one cannot "identify" -
more LA-
terms by "labelling". (See KLOP 80 ,BARENDREGT 8 1 for a detailed explanation
of the "labelling techniques". )
Somewhat more useful a consequence of the Church-Rosser Theorem for PA and @-LA'S
is the Unicity ---
of Normal Forms (UN;cf. KLOP 80,etc.).
-
An LA-term a has a delta- (beta-delta-,beta-eta-delta-)normal form if
(1 ) a ggiLA b
(2) b is -
in delta- (beta-delta-,beta-eta-delta-)normal form.
(Alternative terminology: a is weakly normalizable -
in LA,a is LA-normalizable.)
123.23.THEOREM.
(1) If a PA-term is PA-normalizable then its delta-normal form is unique.
(2) If an LA-term a is fi-LA-normalizable then its beta-deltanormal form
is unique (up to alpha-conversion;but see the conventions on alpha above).
Proof.By 123.18.1
23.24.COMMENT.
Theorem 123.23. does not hold for extensional structures (associated to abs-
tract AUT-languages) .
Indeed,consider the following counter-example (which goes back to NEDERPELT
73-31,and also falsifies Theorems 123.18.,123.19.).
Let 2.2'be floating constants in pflLA (0-ary).They are LA-terms in $Qf-normal
0
form , in some BQ-LA. (As a "reference"-AUT example take,e.g. for -
p and,=
-
real for -
pl,denoting resp. the type of naturals and the type of reals,qua pri-
mitive notions.)
Consider then the LA-terms
and
One has,in -
any firl-~~,
that
13.1. DEFINITION.
The sets stemLA (n & N) are the least sets such that
n
if a , . a
n
are in ~ e r then
m ~ sOal..
~ .an is in S t e m
LA
n
.
13.2. DEFINITION.
An element in stem? is -
a term-string -- - LA) ,n t N.
of length n (in
I3.3.NOTATION.
As earlier,for Svarnls we write
l :=
31D
f a], ...,an + := SnUal.. .an (n b 1).
-- n ) = n,where
The length of a term-string will be denoted by Ih(Z
-
a :=
n
S Oa]. .an
-n
. (n 3 01,
a
(we omit subscripts "n" whenever the length of the term-s tring . n is known) .
We have "sugared" the empty strings 3 0 and 3 0 in the same way (though they
are "syntactically distinct within the theoryl').This is not too important,for
they will be distinguished (again) positionally,in more involved syntactic units
0 he can leavenln
But if the reader does not like confusing empty strings (.)
"unsugared" in both cases.
As epifunctions,on both Svar and ~ t e r m F , n( N,we shall use the following par-
n n
tial functions ---
glL. (Oi id n),defined by
1
if X := €4 (i.e. ,X := -0 s Q or SLl)
Also,we s e t , f o r a l l n E N,&ggte_&t
n
------- := gign (understanding t h a t -------
--- laste1s(I) ' 0).
The l a t t e r gives t h e " l a s t element" of a s t r i n g whenever i t s i n p u t i s of t h e
due kind.
Now we a r e a b l e t o i n t r o d u c e two more e p i f u n c t i o n s from LA-terms t o s t r i n g s .
These a r e v t a i l and t----
----- _ a i l , d e f i n e d by
IP,
, i f X i s a canonical tenn,&5(X) = 0
t a i l ( X ) :=
v----- f vl , ... ,V + , i f X i s a canonical term,)[ := a,
i
n
and a 6cv
n-l
v
n
...
~ . u n d eifn e d , e l s e .
i f X := cfn-c ( a head-tenn,lk(X) = 0)
----
tail(X) := a l , . . . , a n + , i f X := gn2a ]...a n , =
lh(X) = n , n 7 1 .
-
That is: where term^^ i s t h e s e t of head-terms i n L A ----
, ~ g i li s a t o t a l f u n c t i o n
from ~ t e r m
t o ~s t~e m L A = U ~ t e r m ~ * , w h e r e av-----
n
s t a i l i s t o t a l from canonical
terms t o v a r i a b l e - ~t r i n g s . nELN
I 3 . 6 . COMMENT.
Note t h a t f o r vi i n Var (1 C i 6 n) ,whenever ;:= f v l ,. . ., v
f i s i n Svar ,we
n
have v
i
d v
j
f o r 1C i # ' jC n,while i f v i s i n Sterm
LA"
t h i s i s not required.
and S I ) v I . . .vn w i l l be convenient l a t e r
The d i s t i n c t i o n between s & l v l . . .V
n
(although i t looks somewhat s t r a n g e ) .
The sets sent^^ are the least sets such that,if a,b are in ~ e r then
m ~ ~
LA
Eab is in Esent .
-
The elements of sent^^ are called -E-sentences or -
E-formulas -
in LA (LA :=
PA,CA,QA,Q-A,etc.)
14.2.NOTATION.
We shall write in the sequel,
(a:b)
for
E ab
-
but outermost parentheses will be omitted whenever no confusions may arise.
Lower-case Greek letters i/i, y ,possibly with sub- and/or superscripts will be
used as syntactic variables for ksentences.
14.3.DEFINITION.
If Eab is an E-sentence in LA then a is -
:= - of $ and b is -
the subject - its
predicate.
14.4. DEFINITION.
E-sentence $ whose subject is a variable.
An assumption is an -
14.5. DEFINITION.
A (canonical) p-sentence (resp. d-sentence) is an psentence $ whose subject
is a canonical p-term (resp. a canonical d-term).
A canonical -
E-sentence is either a canonical p-sentence or a canonical d-senten-
ce.
14.6. REMARK.
Of course,"in LA" should be supplied everywhere in the above.
14.8.NOTATION.
For all X in Word(LA),
Eva
- I, if X := Avab (an abstraction term)
abs(X)
=L=
:=
undefined,else.
(That is: --- takes the abstraction prefix of any abstraction term into the
corresponding assumption.)
I 4.9. COMMENT.
The intended interpretation of an -
E-sentence is "typingt'.I.e.,if a,b are
- reads "a has type b" or "b is a type of aV',etc.
LA-terms then "Eab"
.
IS. 1 DEFINITION.
LA
The sets Contxn (n 6 N) are the least sets such that
-
if
n
v
is in Svar and a is in stemLA then
n n
T
;
-nn
ais in Contx .
LA
n
An element of Contx? is -
a context --
of length n in LA (nt N) . (LA :=PA,CA,etc.)
-
15.4.NOTATION.
The following epifunctions will be used in order to refer to the strings of a
given context without mentioning them : gEgI(Do) = ~ 0 , g S (f A~ ~ ) and
--
str ( A~)
===I = vn if
-nn
is in contxLA7else eLrl
An := Tv a
n --- is undefined,
-
str n) = an if An := T
===2 n
a
; n n is in contrLA,else g x 2 is undefined (n ), 1 ).
---
n
Sometimes,it will be also convenient to use epifunctions gpp i (ne N,O&i& n)
defined by
if X = A,,
- -
Tva, v := f v I ,...,v + 7
if X = -
- n
a := f a ],..., an +,l&i&n
15.5 .DEFINITION.
Let An := A0rv 1'.a11.. . [vn:ad and A :=
m
a [v; :a;]. ..[vi:a~] be to contexts
in LA (n,m 6 N).
n
is a subcontext
-
of Am (notation: An g& 'Am if
(1)n S m,
n
(2) for all i,ld i& n,if vi r gLfi (zfg l(h,)) then vi =- V!1 '
(3) for all i,lCiSn,if a. ---n ---2 (4n) ) then ai -= a!1
I a dti(s_t_r
(~ence Egg.
---J
an)
is a subsequence of ggg.(%) , j = 1,2 that is: the order
---J
of the elements in strings is preserved when passing from An to Am).
resp.
An element of ~ c o n s t r ~ ~ , D c o n s t r ~ ~ is a (canonical) p-construction,
n n
resp. d-construction -- with length n in LA.
constrLA = U ConstrnLA
nc N
is the set of (canonical) constructions in LA (or the set af LA-construc-
tions) .
k := 4 n,; p(Y) : b $,
-
P
where
-
An := Tva
-
-
v := s uv l...v
il n
-
a := S Oa ]...a
II n
and
Similarly's d-construction in LA will be denoted by a --
dgtour via the meta-
language (epi-theory),viz. ,by restoring explicitely the corresponding ''?h_e_rg-
-----
clauses". This gives :
-
with %,v and a as earlier and,moreover,
16.3. TERMINOLOGY.
Any LA-construction k := Q%InX (with either X r 0 or X in TermLA satisfy-
C
ing the conditions ofthe definition above) has as immediate components
(1) its context-part A
n'
--
(22r) if Yn = ~ t (4)
g ~is a (variable-)string of kc then each g&:(;n)
-
(Od i Q n) is a remote component -of k (from,):A
C -
-str (An ) is a (term-)stringof kc then any quasi-sub-
(23r) if an = ===2
-- - .
. -
term of each d ~ n, is a remoFe component of k
--- f n~) ,O(I iQ -c
(from 4,);
(3r) if now @n is the supporting (canonical) E-sentence of k c then
-
(31r) --- is the subject or the definiendum -
of k C azd
-
----
(32r) p~g_d($~) part of kc-'.
is the category --
(4r) the subject of k- as well as any quasi-sLb-term of its category-part
L
16.4. REMARK.
If k is an LA-construction then no immediate component of k is a remote
C -
C
component of it and conversely.
For reasons that will be obvious later we shall introduce a canonical parsing
of LA-constructions into canonical components (and remote canonical components)
as follows:
The canonical components -of an LA-construction k are all and only the
-C
following components of k C :
-
(1) its context-part,hGreafter denoted by pix(kc),
---
(2) its category-part ,hereafter denoted by g3~&c)
--- - and
(3) its definition-part,denoted by dlf
--- (kC ) .
The remote canonical components -of k are ail and only the following
-
C
remote components of k-:
L
(Ir) any remote component of k from g&g(k
--- ) is a remote canonical compo-
nent of k-;
C - -
C
(2r) if a = &---
k
C
) is in ~ e r then
m ~ any
~ proper quasi-sub-term of a
(i.e. ,any quasi-sub-term of a,distinct from a itself) is a remote
canonical component of k-,
C
C --- (kc)
(4r) the identifier-of k ,hereafter denoted by iclf
-
c ),is a remote
( r -
canonical componentof k .
-
C
16.9.NOTATION.
LA
We let Site := F&(constrLA) ,where for any set $,Pu(A) is the set of
finite subsets of 4.
-
siteLA is -
the category ---
of sites in LA (or fhe category of LA-sites).
2.Language d e f i n i t i o n : c o r r e c t n e s s .
-
-
20.Correctness categories.
We i n t r o d u c e the c o r r e c t n e s s categories -
o f /-
i n LA on an i n d u c t i v e s e t - t h e o r e t i c
p a t t e r n . (LA := PA,CA,QA,Q-A,etc.).
I n i t s most g e n e r a l form,a c o r r e c t n e s s category o f / i n LA i s a r e l a t i o n on syntac-
t i c c a t e g o r i e s o f / i n LA.
- family -
For each LA (as above),the of c o r r e c t n e s s c a t e g o r i e s -
o f /-
i n LA i s a
f i n i t e family of r e l a t i o n s :
20.2. DEFINITION.
For each ~ ~ , ~ o n s i ts rt hFe s e t of p a i r s i k , B > such t h a t B i s i n s i t e L A and
a
k i s i n B.
s t a t e m e n t of t h e c o r r e c t n e s s r u l e s i n each R I L h .
Therefore,it will be appropriate to make use of some additional "syntactic sugar".
The outcome will closely ressemble standard notational habits,as often used in the
language-theory of "referencel'-AUTOMATH (especially by D .van Daalen ;cf .VAN DAALEN
72-28,73-35,80-73).
LA
stands for (q,A,B> E Esent,
where := a:b
LA
stands for <a,A,B7 6 Terns
20.4. TERMINOLOGY.
It is somewhat awkward to provide a consistent and unambiguous reading in
English for the elements of a correctness category of/in LA.
We sh~ll,however,approximate this as follows:
(1) B-is -
an LA-compatible site for "B is in SiteLA,,
I '
(2) B ,& LA-compatible and
-
is LA-admissible -
L\ - for B for "~A,B) is in Contx. LA,,,
(3) B- is LA-compatible -
and
k ----
is sound forlin B for 'Yk,B7 is in ConstrLA,,
I
(4) $ is correct - -A
for B and
--
such that
B-is LA-compatible -
and
is LA-admissible -
A - for B for 'x$i,A,B) is in EsentLA11
I '
(5) a- t-correct) for B
is correct (or - A
--
such that
B & LA-compatible and A
AGLA-admissibleforB for "(a,b,B) is i n ~ e r m ~ ~ " .
m
Slightly elliptic variants of the above will be also adopted in colloquial
ways of speakinglwriting.
20.5. COMMENT.
We shall also introduce a couple of other "derived correctness categories in
(for) LA" by a --
dhtour via the metatheory,using the associated reduction sys-
tem -- (with the appropriate "extensionality type" specified whenever neces-
LA
sary) .
These "categories" will contain (by abuse of language) new kinds of "correct
LA
sentences1' (or "correct formulas") in LA,besides the sets CorrEsent :=
LA
Sec (Esent ).Cf. 05.4. for notation.
1 ez
Specifically ,one has
(-1) contraction-sentences (or -
C-sentences) & LA,
(2) reducibility-sentences (or -
R-sentences) LA and
(3) convertibility-sentences (or -
Q-sentences) & LA
and they are intended to "formalize" resp. the appropriate restrictions of
LA
----- ----LA to the sets corrTermLA := Sec, (TermH ) .
contrLA,fggLA and pppy
Accurately,they must be thought of as being relations
xsentLA t ( ~ e r xm TermLA)
~ ~ x contxLA x SiteLA
- H -
where X := -
C,R,Q
- - such that
LA
a,b7,A,B 6 &sentla
iff
(i) B is in SiteLA
H '
(ii) dA,B? is in contxLA
H and
LA
(iii) <a,A,B) and 4b,A,B) are both in TermH
and such that
(iv) a - b holds,
where
(1') -R := contr
-----LA
if X := - C,
(2') R
- := gSLA if X : = R- and
(3') g
ggggLA if X := -
:= Q.
In some presentations of the "referencew-AUT-languages at least something
analogous to -QsentLA above was taken as a primitive correctness category
E
(this approach was also mentioned in 05.2. and IO.l.;see e.g.,VAN DAALEN 73-35,
80-72) .In JUTTING 82-83 something similar to Rbentf and -
csentLA
H was used
((a,b),A,B) is in CsentLA
a
if
(1) B is in siteLA and <A,B) is in ContxLA
a I '
20.7.NOTATION.
If B is in siteLA and A is in contxLA then
LA
'I &a,b>,A,B> is in CsentI
and it is understood that B is LA-compatible and A is LA-admissible for B
(in current notation,the latter kind of information will be oft made explicit).
Also we write,elliptically,
a
a -----
contr b
LA
if ,for -
some LA-compatible B and some LA-admissible context 4 for B,one has
4 bLA a g4g52 b.
contrI is the restriction of g m ~ g to the corresponding set
That is: -----
LA -----LA
~orr~er x mc o
~ r~ r ~ e r m(where
~~ ~ o r r ~ e r:=m Sec
LA
~ (Terma ) ;cf 05.4. ) .
1
.
In the same conditions as above we write
B,A kLA a copy1
---- b (or even B,A k a gqgXLA
1 b)
for
ynyl b
a ----LA
for cases where
8.4 kLA a g----
my1 b
-
holds for some LA-compatible site B and some context A - ,LA-admissible for B.
20.8.DEFINITION.
sent^
a
is the least set such that,for all a,b in TermLA,all A in ContnLA
and all B in SiteLA ,
a b , ~ ,
is in
~ RsentLA
I
(1) B is in siteLA
H
and (,4,B) is in ~ontr? and
(2) there are LA-terms
a ao,al'.. . 'a a r b
n' n+l
such that
B,A I= a. contrLA
1 ===== (OGiAn).
20.9. DEFINITION.
LA
QsentLA is the least set such that,for all a,b in ~ e r m ~ ~ , aAl lin Contx
H
LA
and all B in Site ,
LA
<(a,b>,A,B) is in Qsent
a
if
(1) B is in siteLA and
IB[
L A ,B> is in ~ontx? and
(2) there are LA-terms
a r ao,al ,...,an ,an+l r b
such that
20.10.REMARK.
By the conventions adopted in 20.7. above,the LA-terms a.
1
(0s i& n+l) in
20.8. and 20.9. haire to be such that
B,A I a;.
20.1 1 .NOTATION.
We shall introduce analogues of the abbreviations in 20.7. as follows:
let B be an LA-site and A be an LA-context,then
resp.
(2) B ,A k a c---- ~ b ~ y ~ ~
stand for
I
LA I#
(1') I <<a,b>,h,~> is in Rsenta
and
I
LA '1
(2') I <<a,b>,A,B) is in Qsenta
resp.It follows that B is LA-compatible and A is LA-admissible for B,but the
latter kind of information will be often made (somewhat redundantly) explicit.
-
If,for some LA-compatible site B and some LA-context A ,LA-admissible for B,
we have (1) or (2) above we also write elliptically
or
(2") a ----
EEELA b
"
resp.
red" and ----
Clearly, ===LA w
"
~ resp.y are
~ the~ restrictions of gggLA,$gmLA resp. to
the appropriate sets
C o r r ~ e r mx~CorrTerm
~ LA
where C o r r ~ e r mis
~ ~as earlier (in 20.7.).
20.12.COMMENT.
a
As used here,cgayLA
---- - in VAN DAALEN 80-73,
corresponds to D.van Daalen's "Q"
except that,in the latter case,"y is a primitive constructor in the language,
while,here,we have preferred to keep the matters concerning reduction and
definitional equality at a meta-linguistic level.
Before going into the details of the correctness rules in each set RILA,we shall
list some more notational conventions and terminology to be used later on.
20.13.NOTATION.
Let B be an LA-compatible site and A be an LA-admissible context for B.
Then,for all LA-terms ao,al, ...,an'ap+l ,the list of epi-theoretic statements
20.14.TERMINOLOGY.NOTATION.
HI(^)
Let B be an LA-site and D be an LA-context with -- = n,n)/O.
A variable v is said to be --
fresh for A if it does not occur in A as
a sub-word of it.
Define
---
idf(B) ---
{idf(k)
= : k in B f .
A floating constant -
- --
c is fresh for B if it is not in --
jdf- (B).
Let an := f a], . ..,an + be in Stemn
LA (n>O).
c is rank-fresh for
Then a floating constant -
-
a
n if it is rank-fresh
for each ai in a
n
.
In analogy with (3) one may say -
c is minimally --
fresh for
n
if a
(41) ---- - = 0 ,whenever n = 0 and
zpdc(c)
+
(42) ---- - = --- [Za&
r-(c) ---- (a.1) : I & i5 n J + 1 ,whenever n >, 1.
2 1. Correctness for Primitive and Classical (Abstract) AUTOMATH.
-
We state first the structural rules in RlpA,RICA (and R1 in fact) .The notation
QA'
and terminology used here is as earlier.The assumption of freshness for variables
will be always made explicit (this is somewhat redundant ,however).
I. STRUCTURAL RULES
I. 1 . ~ . S ~ ~ ~ ~ ~ - R E C U R S I O N .
I
Let An := A ~ :aJE ..~.[vn~:aJ (n TO)
LA
P(v)
- := -
p(vI,. ..,vn), 2 in Pfln
d(v ],.. .,vn), 2
LA
-
)
;
(
d := - in Dfln
and ,where
LA ,
c(F) :=p(;;> or
- -
);(
c d(y),with
:= - c in
- Fln
LA
and a in Term ,
LA
ka := + A n ; c(;):a$ (with ka in Constrn ,n>O).
-
C
-
(Sr- l d) If -
d is fresh for B,
B,An kLA a:C and
d is rank -fresh for
- a' := t a], ...,an' a f
then
B ]:k{ is LA-compatible,
-
with :k := 4 An; d(;):~ f , where d(7)
----- - ::= a.
-
If g is fresh for B,
then
BU { ki 1 is LA-compatible,
- a(;):. 3 ,where
with ki := f An; ----- )-
;
(
d ::= b.
-
then
b0 is LA-admissible for B.
I. 2.2. C ~ ~ ~ ~ ~ ~ - R E C U R S I O N .
a
LetAn := AO[v1:a ;I...[vn:aJ andv
n+ l
be inVar.
( ~ n i+ is not in FV(a))
then
is LA-admissible for B.
Next we state the basic correctness rules for PA and CA (resp. Q-A,QA;C£. below).
They concern the correctness of -
E-sentences in LA ( := PA,CA,etc.) where
--- a variable or a head-term and the correctness of LA-terms
sub(*) is either -
(which,in fact,is a concept derived from the former one).
As variables and head-terms are supposed to be present in any LA,these rules
(or something similar) are ,again,common to all abstract AUT-languages .
1I.BASIC RULES.
LA := PA,CA (Q-A,QA,~~c.)
11.1.1 . E S ~ ~a~ ~ ~ - I N I T I A L I Z A T I O N .
Let := ~~[v,:aJ...[v n:aJ
If B is LA-compatible,
An is LA-admissible for B y
kt is (sound) in B and
such that
Am1 is LA-admissible for B y
then
1
CLA -
c : a b := ;I.
(Tr) If B is LA-compatible,
An is LA-admissible for B and
B,An kLA b:a
then
B,An IkLA b.
111.RULES OF CATEGORY CONVERSION.
LA := PAYCAY(Q-A,QA,~~c.)
Assume B is an LA-compatible site and An is an ,LA-admissible context for B.
bl S2E&fL* b2
then
B,An CLA a:b2.
-----LA b 1
b2 _c_~n&f
then
contrLA:= =====gqd
----- contr ,else.So if LA is not PA,one defines $-LA with -----.g,f
contr
21 1.1 .COMMENT.
This completes the definition of PA.So,for further reference'R1
PA contains
all and only the following rules (as primitive correctness rules for PA) :
21 1.2.TERMINOLOGY.REMARK.
In any siteLA-recursion rule (viz. (Sr-lp) ,(Sr-2p) ,(Sr-Id) and (Sr-2d) above),
I
the LA-construction by which some LA-compatible site B is "extended" will
be said to be correct - -
for B in LA or even B-correct -
in LA.
Now,obviously,if some k is B-correct in LA,for some LA-compatible site B,
then B u [ k3 is LA-compatible and k is LA-sound in B u kj .conversely,if
some k is sound in some LA-compatible site B,then ii & not true that k is
B-correct in LA (since ---
idE(k) is not fresh for B any more).
(Compare with the "correctness of lines w.r.t. correct books" in the "reference"
versions of rhe AUT languages.)
Now the definition of CA(-correctness) will be completed by listing the remaining
rules in R1 (which are not in R1 ) .According to the classification mentioned
CA PA
in 2 1 1.1. above the rules following below are ~ s e n at ~-~ - r u li.
e se.
, ,they will have
outputs in the correctness category Esenta CA .
1V.SPECIFIC RULES FOR CA.
1V.I.APPLICATION RULE 1 .
LA := CA (Q-A,QA,etc.)
(app- 1 ) If B is LA-compatible,
An is LA-admissible for B,
B,An kLA a1:a:r and
'LA b: E:a}b1
then
IV.2.ABSTRACTION RULES.
.
IV.2.1 ABSTRACTION RULE 1 FOR CA.
Let 4 := ~ ~ [ v ~ : a...J[v ,:ad
(abs-1-CA) If B is CA-compatible,
An is CA-admissible,
Let := A [
v
a
0 1:
a3
1
...[vn:an7
and vn+ 1 be in Var.
(abs-2) If B is LA-compatible,
4 is LA-admissible for B,
B,An kLA a : ~ ,
'n+ l := An[vn+l:d is LA-admissible for B,
then
211.3.COMMENT.
For further reference,Rl the set of primitive correctness rules of CA
CAY
contains the rules in R1 together with the following three ~sent'~-rules:
PA I
IV. (app-I), (abs-1-CA), (abs-2).
--
In particular,rule (abs-I-CA) is prima facie a peculiar feature of CA,
when comparing the latter with other extensions of PA. 1ndeed,Q-~,discussed
incidentally below,lacks (abs-1-CA) as a derived *,but it is quickly regai-
ned in QA by the mechanism of category inclusion.So what is rather specific to
CA - when compared with bigger games - is that (abs-1-CA) forbids actually (CA-)
correct terms of the form El:aJfv2:aJ.. .lvn:an1 (n >I).
--
2 12. B a s i c eui-theory f-
o r PA, CA: " s t r u c t u r a l " lemmas.
212.1.NOTATION.COMMENT.
Where Sec i s a s introduced i n 05.4. above and LA := PA.CA,we s e t :
1
(I) corrcontxLA = Sec ( ~ o n t x ? ) .
LA
(2) corrconstrLA = Sec (Constr ) .
1 I
LA
It i s a p p r o p r i a t e t o s t a r t w i t h t h e remark t h a t ( f o r LA := PA,CA) CorrEsent
determines a p a r t i t i o n of corrTermLA i n ( t h r e e ) p a i r w i s e d i s j o i n t equivalence
c l a s s e s .Using a s t a n d a r d terminology i n "reference" AUTOMATH we c a l l t h e s e
equivalence c l a s s e s "degrees" and i n t r o d u c e them by r e c u r s i o n a s follows.
H e r e a f t e r , i f n o t otherwise specified,LA := PA o r CA.
212.2.DEFINITION.
Let B b e an LA-compatible s i t e and A be an LA-admissible c o n t e x t f o r B.
For any LA-term a , i f
B,AlCLA a ,
then ---
t h e degree of a ( r e l a t i v e -
to B A in LA) ,denoted by clgLA(~,b,a ) ,
i s d e f i n e d by:
(1) figLA(B>A,a) = 1 if a = T.
2 12.3. REMARK.
For LA-sites B,B1,LA-contexts &A' and LA-terms a not in Var such that :
(1) B,B' are LA-compatible,
(2) is LA-admissible for B,
(3) A' is LA-admissible for B',
(4) B,A IFLA a and
(5) B' , A t lkLAa
one has also
(6) !g(~,A,a) = --
dg(B1 ,A1,a).
- obtain for a in Var.
It is easy to see that the above does not
212.4.NOTATION.
For all LA-terms a,we write -- (B ,A,a) = n" ,leaving
"qg(a) = nit for "d_g
(the LA-site) B and (the LA-context) A unspecified,if this does not lead to
confusions.
1 g dg(B,b,a)
-- d 3.
Proof.By induction on LA-c0rrectness.H
The following facts can be checked easily: let B be an LA-compatible site and
A be an LA-admissible context for B.
(1) For all LA-terms a,b,if B,A kLA a:b then _dg(a)
-- # 1 .Indeed,in this
case one has
--
dg(B,A,a) dg(B,A,b)
--= + 1,
and there is no degree 0 (zero) in Definition 212.2.
then
--
(3) In particular,if a is a head-term in LA.,with B(a) = n,n >l ,then for
all i,l& id n,
25 d--
g(gE:(a---
)) 6 3.
(4) By clause (1) of 212.2. the only LA-term a with --
dg(a) = 1 is 2 so
there are no variables ,no head-terms ,no application-terms and no abstrac-
tion-terms in LA (:= PA,CA) with degree 1.
for some -
c in l?lLA and LA-terms b
n 1
,...,bn (nh0) then
212.11 .REMARK.
So,correct head-terms in LA can have only degrees 2 and 3.
As earlier,in 2 12.9. we can obtain some more information about correct head-terms
in LA by a mere inspection of the sent^^-rules.~hat
P
is:
212.15.REMARK.
Therefore,for any correct application-term in CA,a say,one has
gg(gzg(a)) = 3.
212.16.COROLLARY.
If B is CA-compatible, A is CA-admissible for B and
IkCA iaIb
then
B,A IFCA a.
Proof .By 212.14. and the definition of ~ e r m F . I
212.17.REMARK.
---
That is: for any CA-correct application-term a,the CA-term grg(a) is again
CA-correct (relative to the same CA-compatible site,B say,and ehe same CA-
admissible context for B).
---
212.18.(fgn-degrees in CA).
If B is CA-compatible, A is CA-admissible for B and
B,A lccA (afb
then
B,A FCA b:b':T,
for some CA-term b'.
212.2 1 .REMARK.
So,for any correct application-term a in CA (relative to some LA-compatible B
and some LA-admissible context for B) we also have that ---
fgn(a) is correct in
CA (relative to the same site and context).
then
B,A kCi4 a:r,
-- ---
i.e. ,one has always _dg(dgm(a)) = 2,for any abstraction term a in CorrTerm
CA .
Proof .As above,by induction on correctness in CA.I
---
212.25.LEMMA.(ygl-degrees in CA).
If B is CA-compatible, A is CA-admissible for B and a is an abstraction-term
with
B,A 1 a
and
-dg(B,A,a)
- = n (n> 1)
then,where a' = val(a)
=== ,a" = clllq(a)
--- and - A' := aE:av1],for some v in Var
such that v is fresh forb ,one has also
dg(B,D1,a')
-- = n.
Proof.By induction on correctness in CA.H
212.26.REMARK.
CA
In particular,by 212.6. (4) one has,for any abstraction term a in CorrTerm ,
--
2 s _dg(a)b 3,
so,by 212.25. and the motivation of the elliptic degree-notation in 212.3.,
we have also
-- ---
2 L_dg(wi(a)) 3.
The following Lemmas will collect information implicit in groups I11 and IV
of correctnCss rules (for CA) listed in 211.
212.27. COMMENT.
We have seen in 2 12.15. and 2 12.19. that m g - and fun-degrees
--- --- in CA have
always "maximal",viz. 3.This will be also the case,in genera1,for abstraction-
terms a in ~ o r r ~ e m ~ * , w h o intended
se meaning is that &(a) = dgtal(a) ) .
- I=
Let B be a CA-compatible site and be CA-admissible for B.If
B,A ,-tI k3b
then there are CA-terms b a' and b ' such that
(1) B,A FCA b :bl :T --
(i.e. ,dg(bl) = 2)
(2) B,b I= b 1 ====cA
conv [;:a1]b'
(3) B,A FCA a : a' : r --
(i.e. ,dg(a') = 2)
where if b' := bb:aI (with A' LA-admissible for B) ,then
(4 B,A1 kCA b' : T! --
(i.e.,dg(bl) = 2)
and also
(5) B,A kCA lafb : b'Ea := vn.
with
(6) --
dg(b) --
= dg(Ia3b) (= 3 ) .
Proof.By induction on the definition of correctness in CA.I
212.29 .REMARK.
H
InLemma212.28. ----~
~
CA
canbesafelyrestrictedto$gmgs
I I ~ andeventorep.
where the underlying atomic reductions can be always "external" (i.e., "head-
reductions",starting "outer-mostlleft-most" in a CA-term) .
Reason: no application-term in ~ o r r ~ e r m 'can
~ have degree 2 (or l).This
excludes applications of ("external") atomic beta- and eta-reductions.
~inall~,"internal"applications of atomic reductions would do no harm,
once we have some a' and some b' satisfying condition (2) in the state-
ment of the Lemma.
b" :=.
i E:alJ b l , --
if gg(b) = 3
212.32.REMARK.
In the statement of 2 12.3 1 . the bound occurrences of the variable v have to be
chosen such as to avoid collisions of bound variables. (See the conventions
-
on alpha-conversion in 123. above. )
212.33.COMMENT.
Lemma 2 12.31. is,implicitely ,part of the "algorithmic" definition of AUT-68
appearing in DE BRUIJN 77-52b (referred to earlier).
It is now easy to see that the preceeding "structural" Lemmas 212.9.,212.12.
212.13. (for LA := PA,CA) and 212.28. ,212.31. d(for LA := CA),together with
the Tea-initialization rule (Ti) (for LA := PA,CA),can be strengthenend up
a
to the corresponding equivalences.
They insure,jointly,the (epi-theoretic) correctness of inductive proofs on the
LA
"structure" of a LA-term in CorrTerm (LA := PA,CA) (whence our qualification
of the Lemmas above).
Moreover,the named Lennnas provide the admissible "predicates" (p_rg_d-parts)
----
LA
for correct Esentences in LA (in CorrEsent ,i.e.,they furnish the admissible
LA
"typings" for LA-terms in ~orrTerm~~,where := PA,CA).
The latter kind of information was actually embodied - in the usua1,more or
less "algorithmic" formulations of PAL(-THE) and AUT-68 - in the action of a
specific epifunction on "correct expressions" (roughly corresponding to our
terms in ~ o r r ~ e r m ~called
~ ) , "mechanical typing function". (This is usually
denoted by "CAT" or "EYE",
--- "cant~p"; ---- ,
------ cf.ZANDLEVEN 77-36 ,VAN DAALEN 73-35,6.4.2.3.
- or Appendix 9_. ,as well as the description
- -.O.
DE BRUIJN 77-52b,JUTTING 79-46,4.1
of tyg stn_typ - relative to "correct books" and "correct contexts"
-- and ------ - in
- - - --
VAN DAALEN 80-73,IV.3.2.3. et sq.,V.3.2.4.,etc.).
--- LA
Accurately,this is 5 recursive epifunction totally defined CorrTenn - {73
---
with values in ~ o r r ~ e r(here:
m ~ ~ LA := PA,CA) and also depends on LA-compatible
sites and LA-admissible contexts.
2 1 3. Basic
-- epitheory: invariance --
under site- and/or context-expansion.
We shall list here several more or less trivialabut useful lemmas concerning
the "invariance of correctness" in syntagmatic categories of LA (:= PA,CA)
under "LA-compatibility and/or LA-admissibility preserving expansions" in the
corresponding correctness categories (i.e. ,siteLA and/or contxLA)
a a
.
Specifically,we establish that "expanding1'correctness categories like siteLA
a
and/
or contxLA preserves correctness for the remaining syntactic categories.
a
"Expansion" in (LA-compatible) sites will simply mean "taking super-sets" within
~iteF,whereas"expansion" of (LA-compatible) contexts will be understood - roughly
LA
speaking - as "increasing contexts-length" within CorrContx .
the LA-context
A := a0 [v' 1 '-a!].I .. b'n :a')n
is LA-admissible for B.
Proof.Easy induction on correctness in LA.@
and
(3) If
where _R
- :=
Proof. By induction on correctness in LA,using 21 3. I .H
This gives the following bunch of consequences (cf. 15. for g---
&).
where R- = -----
contrLA,ggnv$,rgdLA, fonvLA'
Proof. ( I ) By induction on the "derivation" ofB, A kLA a:b in LA. (2) By ( 1 )
and the definition of ~ e r m (3)
a
~ ~From
. - (i.e. ,R restric-
(2) and the definition of grn
ted to CorrTe* x corrTermLA. ) .1
213.4.COMMENT.
Theorem 2 13.3. is the analogue of van Daalen' s Weakening Theorem (for "correct/
---
admissible" contexts) in VAN DAALEN 80-73,V.Z.g. 3.
The "converse" statements (corresponding to 2 13.3. (1)-(3) above) were called
"Strengthening Rule (s)" in VAN DAALEN 80-73. ,V.2.6.
- -
and were taken as primiti-
--
ve rules in some "referencel'-formulations of the AUT-languages studied there.
The corresponding statements for LA := PA,CA are as follows:
Let B be an LA-compatible site and ~ , b ' be LA-admissible contexts for B,
with A~ --- .
,where 8 := nO[vI :a? . .[vn:aJ, and a,b in TermLA such-
Using (1)-(2) -
above qua rules in the primitive correctness part of LA (:= PA,CA)
allows to "simplify" LA-admissible contexts,from the very beginning ,up to
"minimal non-redundant" (LA-admis sible) contexts for given correct LA-terms ,
resp. correct E-sentences in LA. (Indeed, the "strengthening rule" (3) would
follow from (2) and the definition of R
- in our formulations above.)
In VAN DAALEN 80-73,the corresponding "Strengthening Rules" have been employed
only as "technical rules" in order to simplify proofs involving the "extensio-
nal" versions of AUT-68,AUT-QE,etc. and the argument that they are actually
dispensable is rather tedious.
213.5. COMMENT.
As expected,Theorem 213.3. will allow to "modify" LA-admissible contexts
along a given correctness proof ,by additioning "redundant" assumptions
(within the limits of corrcontxLA,of course) .It says,in the endsthat any such
an LA-admissible "expansion" should preserve correctness for any one of the
"bigger" categories depending on Contx
LA
P
.
In particular,this result allows us to pass from some "local environment"
in some LA-compatible site to a more comprehensive one,involving the former.
Something analogous is also possible for sites.
2 13.7.THEOREM. (site:-expansion -
for LA-contexts ,E-sentences and ~ A - t e A s.)
Let B,B' be LA-compatible sites such that B is a subset of B' and let A be
an LA-admissible context for B.Then (for all LA-terms a,b):
(1) A is LA-admissible for B'.
(2) If B,A bLA a:b then also B',A bLA a:b,
(3) If B,A IFLA a then also B*,O LA a*
Proof.By induction on correctness in LA (simultaneously).B
213.10.COMMENT.
The moral of 213.9. is as expected: the addition of "redundant" (B-correct)
LA-constructions to some LA-compatible site B and (the addition of) "redundant"
assumptions within some "correct" LA-context (such as to preserve LA-admissi-
bility) do not alter the corresponding concepts of correctness for LA-
formulas and LA-terms (where "LA-formulas" are to be taken in the extended
sense: either -
E-sentences or -
C- or -
R- or -
Q-sentences).
. -
-
214.Substitution and category correctness.
We are now able to prove some more useful Theocems on the behaviour of LA-terms
in ~ o r r ~ e r(LA
m ~:=
~ PA,CA) .
Specifically,we will be first concerned with deriving several important facts
on (simultaneous) substitutions in CorrTermLA .
then
Similarly,we have the following "elliptic" counterpart of 214.1. ,for correct LA-
terms.
then
The above give immediately the particular cases involving "single substitution^^^.
214.3.COROLLARY.("Single substitution theorem".)
Let B be an LA-compatible site and A be some 'LA-admissible context for B.
Assume that
B,A kLA b : a.
Theh
(1) if B,B[~:~ kLA a t : at'
then
and,similarly,
then
B>* . bLA a - at
8
then
In the statement of the primitive correctness rules for LA (:= PA,CA) the rules
having an output in sent^^ (i.e. ,something of the form B,d kLA a:b,with B in
Site and A in CorrCont>~),no stipulation was made on the correctness of the
I
.
"predicates" b in "a:btt (Correctness for subject-parts follows from (Tr) ,of
course.).This will be obtained now as a metatheorem.
2 1 4 . 5 . THEOREM. ("Correctness for categories". )
Let B be LA-compatible and A be LA-admissible for B.If
B,A kLA a:b
then
Proof .By induction on the "derivation" of B,A kLA a:b using (Ti) ,2 13.3. ,2 1 4 . 1 .
and facts proved in -
2 1 2 . ab0ve.l
T h i s s e c t i o n i s devoted t o t h e s t u d y of c o r r e c t n e s s i n two e x t e n s i o n s of CA
which we c a l l h e r e Q-A and QA.
--
Prima f a c i e , t h e d i f f e r e n c e between QA and Q-A c o n s i s t s of t h e absence of t h e
Rule o f Category I n c l u s i o n ( c f . below) which i s c h a r a c t e r i s t i c f o r QA and does n o t
h o l d i n / f o r Q-A. (This i s a l s o , r o u g h l y s p e a k i n g , t h e d i f f e r e n c e between AUT-QE and
AUT-QE-NT1,where t h e l a t t e r l a c k s t h e analogous r u l e of Type I n c l u s i o n ) .
QA
-
1) N.G. de Bruijn -
et -
al. have repeatedly insisted on the fact any language in
the AUTOMATH-family is neither intended nor suited to be a theorem-proving
system (cf.DE BRUIJN 73-34,80-72,ZI;VAN
- DAALEN 80-73,1.1.9.,etc.;however
-- see
VAN DAALEN -- - - and the suggestion to use "attachments" to an AUT-
6p.cit. ,I.2.3.
verifier in DE BRUIJN 80-72,2
- 1). The point is oft missed and "remarks" like:
"one disconcerting aspect of the AUTOMATH language is ..
. the fact that it
seems not to make any use of the improved automatic theorem proving techniques
developed during the last decade" (BROWN 81) reveal a mere misunderstanding of
the nature of AUTOMATH.
Thus,as a --
system of (correctness) rules,an AUT-language is ,roughly,comparable
with any "deductive system" (a natural deduction system say;actually,T-versions
of some "reference" AUT-languages - where "T-" labels the "natural deduction
style" as in CURRY 63,etc.- have been proposed and worked out so far in the
existing literature on AUTOMATH;cf.,e.g.,van Daalen's Master's Thesis: VAN
- or the informal treatement of AUT-68 in VAN DAALEN 80-73,
DAALEN 72-28,1.5.
I.,4.5. and the general discussion of the subject in NEDERPELT 77-54,etc.).
In this respect an (abstract) AUT-language is a production system,viz. its
(primitive) correctness rules are supposed to generate (uniquely) the family
of correctness categories of the language (where the latter are either sets
--
of words over the alphabet of the language or finite sets of sets of words - in
our present approach).
So far we have been speaking only of "primitive" rules,in any such a production
system,while any "derived" rule of the system has been viewed - somewhat un-
conmitally - as a "meta-theorem" about/on the system.0ne should perhaps insist
more on the possible meaning of "derived" here.Specifically,we did not pay
attention too much in the (epi-theoretic) proofs (on LA'S) above to the "proof-
theoretic strength" of the apparatus needed to obtain "derived" rules (in LA' s).
Indeed,a correctness rule may be called a "derhed rule" in at least two dis-
tinct acceptions (the distinguo is very likely due to LORENZEN 55,if not to
H.B.Curry;we hereafter use Lorenzen's terminology,but only with local import).
Let R10 be a -
set of primitive rules for some (production system) LA.Then the
set of derivable --
rules over R10 (resp. LA) is the least set R1,containing
R10 and which is closed under
(1) ..
reflexivity (i.e., XI,. ,Xn Xi is in R1;where the turnstile is
to be taken in the usual Rosser-Kleene sense;cf .REZUS 81 ,etc.)
.
(2) addition of an arbitrary premiss (i e .,(K) in CURRY 63 ;there "weakening")
(3) contraction of premisses, (i.e., (W) in CURRY 6 3 ) ,
( 4 ) permutation of premisses,(i.e., (C) in CURRY 53)
(5) transitivity (i.e. ,some form of "cut";Curry's (k.) say,or (chain)
----- in
REZUS 81).
(The "closure"-conditions are,obviously,mere variants of the "structural" rules
in some Gentzen-style sequent formulation of first-order logic say.Historically,
this concept -
of derivability --
for rules is explicitely due to J.B.Rosser,whence
"ROSS~~-derivability"
in REZUS 81 ;but apparently earlier implicit manipulations
of it - in a less general setting - can be found already in Gentzen's writings.)
It i s c l e a r t h a t - i n t h e a c c e p t i o n above - o n l y v e r y few r u l e s a r e "de-
r i v a b l e " i n LA (:= PA,CA say),beyond t h o s e t h a t a r e a l r e a d y "primitive'1
i n LA ( i . e . ,with o u r s t a n d a r d n o t a t i o n : i n RILA).
There i s s t i l l a n o t h e r s e n s e i n which a r u l e can be s a i d t o be "derived"
i n / f o r some ( a b s t r a c t ) AUT-language LA,viz. whenever i t i s "admissible" i n
t h e a c c e p t i o n of Curry and Lorenzen.
Roughly speaking and w i t h a p p l i c a t i o n t o ( t h e p r o d u c t i o n systems) LA a s i n t r o -
duced here,we s a y t h a t a r u l e i s (Curry-Lorenzen-) a d m i s s i b l e i n / f o r some LA
i f i t does n o t i n c r e a s e some c o r r e c t n e s s c a t e g o r y of LA when added t o t h e
p r i m i t i v e a p p a r a t u s of c o r r e c t n e s s i n LA. I n p a r t i c u l a r , any d e r i v a b l e r u l e i n
LA i s a l s o a d m i s s i b l e i n LA b u t n o t c o n v e r s e l y , f o r i n t h e c a s e of "admissibi-
l i t y " n o t h i n g i s s a i d about t h e p r o o f - t h e o r e t i c s t r e n g t h of t h e methods
allowed t o o b t a i n some " a d m i s s i b l e r u l e " f o r LA.
Since t h e former s e n s e of "derived" (viz. "derivability") i s r a t h e r poor i n
c o n t e n t we may e v e n t u a l l y need u s i n g "derived" i n t h e l a r g e r a c c e p t i o n (of
Curry and Lorenzen) when r e l a t i v i z e d t o t h e c a s e of r u l e s i n LA. ( I n VAN
DAALEN 80-73,no s i m i l a r d i s t i n c t i o n i s made concerning t h e r u l e s of " r e f e -
rence" AUT-languages t h e r e i n d i s c u s s e d , b u t by a mere i n s p e c t i o n of t h e comple-
x i t y of some p r o o f s "by i n d u c t i o n on c o r r e c t n e s s l ' , i t should be c l e a r t h a t
i n most of t h e c a s e s t h e l a r g e r a c c e p t i o n i s meant by " d e r i v e d r u l e " . )
T h i s d i s t i n c t i o n r e l a t i v i z e s d i r e c t l y t o "rule-extensions";namely,LA is a
1
rule-extension of LA
2-
modulo d e r i v a b i l i t y i f t h e s e t of d e r i v a b l e r u l e s i n LA
1
i s a super-set of t h e s e t of d e r i v a b l e r u l e s i n LA2,whereas LA i s s a i d t o be
1
a rule-extension -of LA modulo a d m i s s i b i l i t y i f t h e s e t of a d m i s s i b l e r u l e s
2-
(2 l a Curry-Lorenzen) of LAI i s a s u p e r - s e t of t h e s e t of a d m i s s i b l e r u l e s of
LA2.
Note a l s o t h a t - i n the p i c t u r e displayed e a r l i e r - "correctness-rule-exten-
s i o n " should be r a t h e r t a k e n modulo d e r i v a b i l i t y . (This i s ,of course , a t l e a s t
i n t h e c a s e of t h e a b s t r a c t AUT-languages of concern h e r e , a m a t t e r of choice
of t h e c o r r e s p o n d i n g s e t s of p r i m i t i v e r u l e s : RILA,in-our no t a t i o n . I n our
p r e s e n t d e s c r i p t i o n t h e s e t s RILA - f o r LA := PA,CA,Q A,QA e t c . - a r e chosen
such a s t o be minimal f o r t h e corresponding f o r m u l a t i o n of LA;in o t h e r words:
no p r i m i t i v e r u l e i n any of t h e s e t s R 1 seems t o b e d i s p e n s a b l e . C f . below.)
LA
22.2.REMARK.
As e a r l i e r f o r PA and CA,the "language d e f i n i t i o n " f o r Q-A and QA i n t h i s
s e c t i o n corresponds t o t h e "-
E - d e f i n i t i o n " of t h e c o r r e s p o n d i n g " r e f e r e n c e "
AUT-languages i n VAN DAALEN 80-73.
22.3. COMMENT.
In detailsthe "structure" of the sets RILA (LA := 4-A,QA) is as earlier
for CA,with some minor modifications.
First,
(1) -
the structural rules,concerning the compatibility of sites and the
admissibility of contexts in LA (:= Q-A,QA) ,.
(2) the basic rules,concerning the correctness of E-sentences and the
correctness of LA-terms not involving abstractions or applications
-
as well as
(3) ---
the rules of category conversion for LA (atomic reduction/expansion)
remain unchanged for LA := Q-A,QA.
Besides t h e ~ e , R l ~ -and
~ R1 contain also
QA
(5) specific rules,concerning
(5 1) the correctness -
of LA-terms (on LA := Q - A , Q A ; ~ O"on"
~ see -
314.),
involving abstractions (and applications): viz. (Tr-QA) and
-
(52) -
the correctness -
of -
E-sentences (on LA := Q A,QA),involving
abstractions and applications,viz.
(52 1) application rules : (app-1) ,as in CA,and (app-2) ,and
(522) abstraction rules: (abs-I-QA) and - as in CA - (abs-2).
Moreover ,RIQA contains a new rule (absent from RIQ-A,too) ,viz.
---
(6) the ;ule of category inclusion: (CI) .
S O , order
~ to prove that Q-A (and therefore QA) is a "correctness-rule-
extension" of CA we should "derive" the specific CA-rule (abs-I-CA).
It will be seen that the restricted sense of ','derived1'
will suffjce for this
(cf. 22.1. above,for "derivability") .
Rigorously,the present formulations are non-redundant when the rules in R1
0-A
and R1 are taken as "atomic units" (i.e. ,if we do not allow l~decompositions'~
QA
in "instances" or "partial casesW).1t is not so after a detailed "degree-analy-
sisl',similar in nature with that performed in -
212. for PA and CA.Indeed,it
will be seen easily that the instances of the "specific" ~erm~~-recursion
a
Rule (Tr-QA) (LA := Q-A,QA) which make sense for CA are already "derivable"
in CA (in the technical sense of "derivable" noted earlier).
This - and some other minor redundancies - are due to the fact we did not
want to include degree-considerations within the language definition from the
very beginning,but prefer to obtain them as meta-theorems.
- rules for Q-A -
22 1. Correctness -- and QA.
For the correctness rules in Groups I through I11 the reader should consult
-
2 11. (This is also the case for (app-1) and (ibs-2) which appear in Group IV
in -
211.)
V . I .T ~ ~ ~ - R E C U R S IRULE.
ON
€f
(Tr-QA) If B is LA-compatible,
4, is LA-admissible for B,
B , A ~ kLA a:T and
a
An+ 1 "-LA b
then
V . ~ . E S ~ ~ ~ ~ ~ - R E C U RRULES.
SION
cs
V.2.1.APPLICATION RULES.
V.2.1.1.APPLICATION RULE 1. - le IV. I. ) .
(app-1) : as for CA (cf.2ll.r~
V.2.1.2.APPLICATION RULE 2.
(~PP-2) If B is LA-compatible,
An is LA-admissible for B,
If B is QA-compatible,
4 isQA-admissible for B and
then
221.1 .COMMENT.
This completes the definition of Q-A and QA (that is 20.1. ,for the cases in
point).To sum up,Rl - contains the rules listed under 211.1.(1.- 111.) and
QA
moreover:
V. (Tr-QA) ,(app-1) , (app-2), (abs-1-QA) ,(abs-21,
whereas R1 has also
QA
VI. (CI)
besides the above.
The classification of the correctness rules according to the (correctness-)
-
categories of their outputs (cf. 211.1.) is,again,preserved for 4 AyQA.
As earlier for PA and CA,the present cases of 20.1. are inductive definitions
where the underlying recursion runs by simultaneous induction as intended.
The "initializationf1-clausesremain for Q-A and QA as they were earlier for
CA,and obviously,only the corresponding "recursion1'-clauses are modified.
221.2. COMMENT.
Note also that (CI),the Rule of Category Inclusion for QA,is a "modifying"
ru1e;viz. it "transfers" information from old QA-compatible sites to new
ones but also "modifies" this information jn some sense different from what
the rules of Category Conversion do. In general,the resulting "modification"
amounts to a "loss of information" and it is,in some sense,"definitiven: the
information "lost" by some application of (CI) cannot be "recovered"-at later
stages any more.
This rule has also some --
ad hoc character which is ,in genera1,absent from
the remaining rules of QA.
In particular,(CI) -
or better,its "reference1'-analogue,called "type-inclu-
sionU,in AUT-QE - is well-known for its unpleasant (if not disastruous)
effects: for instance,it distroys nice properties like the Unicity of Cate-
gories ("types") ,otherwise holding for languages without (CI) - see VAN
DAALEN 80-73.
Quite a lot of work has been spent on the possible approaches to circumvent
(CI) ,still preserving the proper useful (and nice) features of QA (resp.
AUT-QE) .In this sense,the presence of "type-inclusion" in AUT-QE was at least
fertile for it gave rise to a number of "referencew-AUT rivals of the langua-
ges initially devised and implemented in Eindhoven (TH).
As pointed out by N.G.de Bruijn (cf. DE BRUIJN 78-56,etc.) the effect of
"type-inclusion" (and therefore khat of our (CI) above) can be "mimicked"
already in AUT-QE-NTI (and hence in Q-A) once we decide to write only correct
"books" that are proper extensions of a given fixed "book" containing some-
thing similar to the axioms of universal quantification.(In an abstract set-
- -
ting: consider only Q A-compatible sites containing a fixed Q A-site Ball
---
say as a subset,where B contains at least some sound p-construction
all
---
for "all" and sound p-c%structions for "all-introduction" and "all-elimina-
tiont'.).~ot too much has been done in this direction so far (as regards imple-
mentation say).Still this solution is by no means less --
ad hoc than the
presence of Category Inclusion ("type-inclusion") in AUT-QE.
An alternative way-out (due to Jeffery Zucker) consists of strengthening both
the "freef'-part of the language and its correctness-part by addition of
new constructors;this did eventually lead to a very strong AUT-language
("reference") ,viz. AUT-Pi (whose abstract version is not studied here) .Howe-
ver the "official" formulation of AUT-Pi does not contain all instances of
"type-inclusion" as "derived rules" (even in the Curry-Lorenzen sense).
(See,e.g.,DE BRUIJN 77-51,78-56 and VAN DAALEN 80-73,VIII.6.l.,for details.)
An informal discussion of AUT-Pi can be found in ZUCKER 75-42 ,while formal
details can be recovered from VAN DAALEN 80-73.,VIII.
--
222.Basic epi-theory for Q-A and QA.
222.1.REMARK.
The sets ~ o r r ~ o n t x ~ ~ , ~ o r r ~ o n s t r ~ ~ , and
~ o rCorrTermLA
r ~ s e n t ~ are supposed to be
defined as above,in 212.1.
Then,as earlier,CorrEsentLA determines a partition of CorrTermLA into (three)
pairwise disjoint equivalence classes of (correct) LA-terms,called "degrees".
In the case LA := Q-A,QA the definition of degrees will slightly differ from
that given earlier,in 212.1.
222.3. REMARK.
Analogues of 212.3.,212.5. and 212.6. (1)-(3) hold for Q-A and QA,as well.
Also,the notation introduced in 212.4. will be employed in the present case.
LA
--
(Note that dg(a) is defined only for a in CorrTem .)
However,we have already from 222.2. the following specific detail on 1-degrees
in Q-A and QA.
222.4.LEMMA.
LA
If a is in CorrTerm --
and dg(a) = 1 then
either
(1) a f (as in the case of PA and CAI
or
(2) a E :aJ ...
[vn:aa~,for some n 7 1 , and LA-terms a l, ...,an
Proof.Immediate,from 222.2.H
222.5.REMARK.
-
So in Q A and-QA there is no variable,no head-term and no application term
(in corrTermQ A,~orr~ermQA) with degree 1.
On the other handyif some abstraction term (in Q-A,QA) is "correct" and has
degree 1 then so is its value-part and the latter has also degree 1.
222.6. REMARK.
Analogues of 2 12.7. ,212.8. and 212.9. hold,by similar arnuments (for Q-A,QA).
can have only degrees 2 and 3 and they can be always
So variables in ~ o r r T e 2
recovered from appropriate LA-admissible contexts.
in ~ o r r ~ with
e z degree 1.
for B and
B,A ItLA c(bly...,bn
then,for some -
c in
n
N,one has
: T
222.9. REMARK.
So,as earlier,in 2 12.10. ,head-terms in LA := Q-A,QA can have only degrees
2 and 3.Note that,in ger1era1~222.8.holds for both Q-A and QA.Sti11,212.10.
does not hold,in genera1,for Q-A.BU~ due to the presence of (CI) in QA,212.10.
holds for QA,as well.
222.1O.REMARK.
Lemmas 2 12.12. and 2 12.13. hold for Q-A and qA,too (and the corresponding
proofs are as in the case of PA,CA) .
So,it should be already obvious that both Q-A and QA are actually extensions
of PA.
As for CA (cf. 212.14. through 212.17.) one can prove the following.
222.13.LEMMA. (dog-degrees
--- in LA := Q-A,QA).
If a is an abstraction term in corrTermLA then cll(a)
--- is in ~ o r r ~ e rand
m~~
-- ---
dg(dpg(a) = 2.
Proof.By induction on correctness in LA$
However one can readily see from 222.4. and 222.5. that value-parts of (correct)
abstraction-terms in Q-A,QA may also get degree 1 (which was not the case in CA)
222.14.LEMMA. (ygl-degrees
--- in LA := Q-A,QA) .
If a is an abstraction-term in ~ o r r ~ e rthen
m ~ ---
ygl(a)
~ is in corrTermLA and
1 d -- ---
_dg(y_al(a)) S 3.
Proof.By induction on correctness in LA.@
222.15. COMMENT.
Resuming the degree-considerations on LA := CA,Q-A,QA one has the following:
222.16. REMARK.
As earlier for CA,the intended meaning of application- and abstraction-terms
in Q'A and QA is that:
(1) if a is a (correct) application-term in Q-A,QA then
---
dg(a) = -- ---
dg(fun(a))
and
(2) if a is a (correct) abstraction-term in Q-A,QA then
That is: in LA
(1 ' ) correct application-terms can have degrees 2 and 3 only
and
(2') correct abstraction-terms can have any degree (1,2 or 3).
This gives the ollowing "structural" characterization of correct application-
and abstraction-terms in Q-A,QA.
222.19. REMARK.
Lemmas 212.28. and 212.31. hold also for QA,but not for Q-A (in general).
222.20.REMARK.
It is easy to see that the invariance properties under site- and/or
context-expansion established earlier for PA and CA can be also esta-
blished for Q-A and QA.Moreover,the corresionding proofs are completely
similar (mostly,by induction on the definition of correctness in Q-A and
w.
So,in the end,an analogue of Theorem 2 13.9. can be established for LA :=
Q-A,QA .
That is: the addition of "redundant" (B-correct) LA-constructions to some
LA-compatible site and the addition of "redundant1'assumptions within some
LA-admissible context (such as to preserve LA-admissibility) do not alter
the corresponding correctness categories ~ o r r ~ s e nand
t ~~~o r r ~ e r(for
m~~
LA := Q-A,QA) .This is also true for "derived1' correctness categories in LA
(as ,e.g. ,g-,&- and Q-sentences) .
222.21.REMARK.
-
Where LA := Q A,QA correctness is preserved under (simultaneous) substi-
tution in the sense of 214.2. (214.3. and 214.4.) above.
This gives - by the same method as in 214. - "correctness for Q-A and QA-
categories" and,finally the following.
B,A FLA a :b
then
B,A IFLA a,b
Proof.If LA := PA,CA the statement is just 214.6.Else use the fact mentioned
in 222.21. and the due ~erm~~-recursion
rules (LA := Q-A,QA) .1
B
3.Global structure of correctness.PA-separation.
--
In this section we shall study in some detail general properties of the correct-
ness categories in abstract AUT-languages.
The main aspects to be taken into account will concern:
( 1) the "reference order" in LA-compatible sites,
(2) the "complexity1'of sound LA-constructions (in LA-compatible sites) and
(3) the "economy of means" in obtaining sound LA-constructions.
-----
30.What is going on: heuristics.
The significance of the conservation property intended here was already discussed
in a larger context,in -
04. above.It remains to establish a precise,"technical"
acception of "conservativity" as relativized to the (abstract), AUTOMATH-languages
and to insure that the latter one would safely transfer - without loss in preci-
sion - to the corresponding "referencef1-AUT-languages.
In more detail: let B be an LA-admissible site (where LA properly extends PA) and
k be some LA-construction in B.Then a similar question may arise,viz. what is for
k "to be in PA" or "to be a PA-construc;tion"? A possible answer would be: look at
its "components" (both imnediate and remote) ;if every such a "component" is "in PA"
then so should be k itself.Clearly,if some "component" of k is either an application
term or an abstraction term,k is "not in PA1'.Suppose this is not the case;what about
the floating constants occurring as "remote components" of k? The LA-construction k
may well "contain" no application and abstraction terms and still be only "apparent-
ly in PA1'.hdeed,B was supposed to be LA-admissible.Now if some floating constant -
c
occurs as a "remote componen~"of k (k in B) one should have ("by construction")
that 5 ---
jcIf(k1) for some other LA-construction k' in B.So the question about the
"PA-ness" of k is reduced to that of whether some other LA-construction k' is "in
PA1' or not.
One should readily guess that some recursion is needed in order to "isolate" PA
-
qua language whenever it is "used" incidentally in a "larger context".
The exact form of induction necessary here will be explained in 314. below.
Roughly speaking,in order to "locate" some LA-construction (where LA is an exten-
sion of PA) "on PA" (= the technical meaning of "being in the language PA") one
has to "trace back1' or to "restore" the "definitional history" of k.
The main point in 2.
is that no delta-reduction or reduction to PA-normal-forms
are actually necessary along this process.Rather,the underlying analysis can be
done in some "rigid" way (combinatorial in nature) ,relying exclusively on the
syntactic form of LA-constructions (that are known to be elements of LA-compatible
sites).
Now,where "being on PA" has the technical meaning introduced in %.,one can define
conservativity (for extensions of PA) as follows:
It will turn out (22.below) that CA,QA and Q-A are conservative extensions of PA
-
in the acception above,and,moreover,that the existential claim involved there may be
taken in some constructive sense.
In fact,what is actually proved in 33. is a property which is somewhat stronger
than conservativity over PA; viz. a PA-separation property.
PA-separation property.
Let B be any LA-compatible site and k be an LA-construction in B.
v
If k is an LA-construction on
PA then there is a subset B of B such that
k
v
( 1 ) Bk is PA-compatible,(and therefore a site ,n PA)
-7
(2) k is in B~
k
and ,moreover,
v
( 3 ) Bk can be obtained effectively from B and k and
( 4 ) it is the least subset of B (i.e.,both minimal and uniquely determined)
satisfying (1),(2) and (3) above.
It is obvious that the latter property implies conservativity over PA,in the inten-
ded sense.
The abstract approach taken here seems to be significant in some other direction
(more or less related to a possible model-theoretic investigation of th'e AUT-family
of 1anguages):it is relatively easy to establish that,for any LA-compatible site By
the family of its LA-compatible subsets is a T -topology -
on B (3232.
0
Finally,in connection with what has been said in -
02.(c1),some attention has been
given to the "economy of means" in obtaining sound LA-cons tructions .
The latter kind of problem did already occur in work on "referencen-AUT0MATH;namely
in connection with the task of "excerpting" a given correct (AUT-QE-,say) book
with respect to a given line k it contains (as a correct line with respect to B),
such as to eliminate the "redundant" details {fr;om E),not necessary for the
"correctness o$ k with respect to B_" --
(see,e.g.,JUTTING 79-46,3.3.Excerpting.,.
DE BRUIJN 80-72,5.Processing. and our discussion in 321.3.).
In particular,"excerpts of correct books" - corresponding,in an abstract setting,
to our analytic sites;cf. a.below) are shown to be,again,correct books,confir-
ming an earlier conjecture of N.G.de Bruijn --
et al.
In order to evidentiate the combinatorial nature of an (abstract) AUTOMATH
language we introduce several kinds of labelled trees supposed to "repre-
sent" (well-formed resp. correct) syntactic units of the language.
These trees will be used - after appropriate simplifications - in the analysis
of correctness (in abstract languages LA).
-
31 1 .Well-formedness part.
31 1.1.DEFINITION.
(I) - expressions,tor short,or even
The set of well-formed expressions (wf
- of/in LA is a subset WfLA of Word(LA) ,viz. the union of the
wfe's) --
following sets (we suppress here the superscripts "LA1',for convenience):
F1Y \ a ) ,
Term,
Esent,
Svar S t e m ,Contx
n' n n'
n e N,
Constr.
(2) Any element of of wfLA is a -
wf expression - - LA.
of/in
(3) The variables,the universe symbo1,the nil symbol and the floating cons-
tants of LA are (all and the only) ----
atomic wfe's of/in LA;the remaining
wfe's ~ £ / i nLA are non-atomic.
31 1.2.REMARK.
Note that the constructors of LA are not wfe's in LA and they are,clearly,
the only structured symbols in the alphabet of LA to share this feature.
31 1.3.COMMENT.
If X is a wfe in LA let us write --------
leftmpmg(~) for the structured symbol
occurring leftmost -
in X and call it ----
the free head of X.
We have then,for any X in wfLA,that
117
X, i f X i s atomic
311.4.NOTATION.
-
I f X i s i n wfLA then y(X) s t a n d s f o r t h e g e n e r a t i n g t r e e of X.
31 1.5.DEFINITION.
(0) I f X i s e i t h e r
a variable o r
t h e universe symbol o r
t h e n i l symbol o r
a f l o a t i n g c o n s t a n t i n LA,
then
and -
t h e bottom-label of W(X) i s X.
-=
(I) If X is in ~ e r and
m ~ ~
(I I) X is a head-term in LA then
go) W(Z)
-
where
Y := hgpd(X)
---- and either
Z := ~ t a i (X)
----- l ,if X is in ctermLA or
Z := ----
tail(X) ,else,
----
and -
the bottom-label -of
= W(X) is X;
(12) X is an application-term in LA then
g(Y> g m
where
Y := fg"X),
---
z := gzg(X>
and -
the bottom-label -of- W(X) is X;
(13) X is an abstraction-term in LA then
-
W(Y> $
0
where
Y := abs(X),
---
z := v_al
--- (X)
and -
the bottom-label - -
of W(X) is X.
119
where
Y := ---
sub(X),
---
z := gggg (X)
and t h e bottom-label - -
of W(X) i s X.
( 3 ) I f X i s i n Svar resp.
n n
LA
(4,) i f X i s i n Sterm
n
thdn
where
Yi := e===
ltl(~),04iQn,
t h e bottom-label -of- W(X) i s X.
and -
LA
(5,) I f X i s i n Contxn
then
where
Y := ---
strl(X),
---
Z := s---t (X)~ ~
and t h e bottom-label - -
of W(X) i s X.
120
where
Y1 := '
E"(X),
---
Y2 ---
def(X),
:= ---
---
Y3 := ---
cat (X)
and -
the bottom-label -of
= W(X) is the pair ( ~,i_df
--- (X) ).
31 1.6. COMMENT.
It is easy to check that the induction underlying the previous definition
"closes" we1l;so we have a good inductive definition.
A stronger way of "closing" will be introduced next in view of analysing
correctness in LA-sites.
The generating trees of wfe's in LA are best shited to analyse the syntactic
units of LA "in isolationM,i.e. ,disregarding their "site-environment".
Next we shall relativize the tree-analysis of well-formedness above to the
case of correctness.That is: LA-terms,variable- and term-strings in LA,LA-
contexts and LA-constructions will be supposed to "occur in" LA-compatible
sites.
The latter trees - hereafter called analytic trees (of wfe's) - arise,roughly
speaking,by "composition",from appropriate generating trees of wfe' s ("occurring
in" some LA-compatible site B).
312.1.NOTATION.
-
As earlier,if X is in wfLA then W(X) is the generating tree of X;also if
-
X is as above then T(X) stands for the analytic tree of X,where it is suppo-
sed that X is a wfe "occurring in" some LA-compatible site B.
(Here "LA" may ,again,stand for any abstract AUTOMATH language considered
earlier. )
312.2.DEFINITION.
(1) If X is in wfLA - ~l~~ then
-
T(X> := ;(X>,
and bottom-labels are preserved.
(2) If X is a floating constant in LA and Y is a canonical construction
in LA ("occurring in" the same LA-aompatible site as X does) such that
X E jdf
--- (Y) ,then
T(X) := - T(Y>,
and the bottom-label of T(X)
- is the same as the bottom label of y(Y)
-
(that is: it is the pair (Y,jdf(Y) ) := (Y,X );cf. 311.5.(6) above)
The intention behind the previous definition is to "encode" in an intuti-
ve way (nonetheless precise) those aspects of the "definitional history'' of
a wfe that depend only on syntactic considerations in LA disregarding
superimposed ingredients "forcing" the syntax by a --
dstour via the associa-
ted reduction system (LA)
-- or by "collapsing information" on types/categories
(i.e.,by applications of the Rule of Category Inclusion in QA-languages).
Thus the analytic tree of a wfe X in LA may -
not always furnish a complete
record of the "definitional history" of its "components" (here and every-
where in the seque1,the "oomponents" of a wfe are to be understood - more
or less formally - as resulting from a "syntactic" analysis -
via generating
trees).
Specifically,the cases where this analysis fails to be "complete" are
exactly those involving:
(1) in any LA: some application of one of the Rules of Category Conversion,
( 2 ) in QA-languages: some application of the Rule of Category Inclusion.
Let,for any language LA introduced earlier ,LA' be the sub-language of LA
we get by eliminating the Rules of Category Conversion from the primitive
setting.
Then it should beyby now,clear that the analytic trees of wfe's in
PA' ,@-cA' ,$Y-CAO ,P-Q-A' ,~~?-Q-AO
,etc.
do actually provide a complete analysis of the "definitional dependenciesf'
for wfe's "occurring in" sites that are compatible in the restricted langua-
ges.
However - as pointed out by N.G.de ~ruijn- we hardly get something interes-
ting,from both a theoretical and a practical viewpoint,by manipulating LA0-
languages instead of the corresponding "full" ones.
This motivates the next step in the tree-analysis of correctness.
(Analytic trees are nevertheless very useful since,actually,only such trees
will be manipulated in a deeper analysis of the correctness categories of
- --
LA1s.Cf.32. et sqq.)
312.5.REMARK.
Therefore,the closure condition in 3 12.2. won' t give rise to "cycles".
Indeed,for any k in some LA-compatible B,i$L(k) cannot occur in ---
cgx(k),or in
cat(k) or in ---
--- clgf(k) - if,in the latter case,k is a d-construction -.
Moreover,due to the recursiveness of the correctness
categories of LA
(in particular,~iteLA
181
is defined inductively) ,one cannot encounter bigger
Ilcycles".
31 2.6 .COROLLARY.
Let B be an LA-compatible site with k in B.Then for any LA-construction k t (in
-
B) such that k f k t and T(kt) is a sub-tree -of -
T(k) ,one has
----
rank (idf _rank
--- (k') )
- --- (k) )
--- (idf .
Proof.Imediate from 312.4. and the definition of the analytic trees (312.2.)
above.H
124
-
313.Genetic - -
trees: a digression.
TO make the description of the resulting trees complete we have to repeat the
process above for particular applications of (CI) - in QA-languages -,except
that,in the latter case,we must "jump" with any application of (CI) "on the
way of obtaining" k as a sound construction in B.
All this is just to give a feeling about the motivations behilnd the way we are
going to "complete" (or if one prefers,to "complicate") the analytic trees of
wfels in the sequel.Strictly speaking,the heuristic remarks above are theoreti-
cally dispensable.
Next we d e f i n e f o r each wfe " o c c u r r i n g i n " some LA-compatible s i t e B a labelled,
o r i e n t e d t r e e , l o o k i n g v e r y much l i k e t h e a n a l y t i c t r e e of t h a t wfe.The c o r r e s -
ponding t r e e s w i l l be c a l l e d g e n e t i c t r e e s of w f e ' s .
313.1.CONVENTION.NOTATION.
-
H e n c e f o r t h y i f X i s any wfe i n LA,any node of W(X) -
,T(X) r e s p . w i l l b e confused
w i t h t h e l a b e l a s s o c i a t e d t o t h a t node.
It i s a l s o supposed t o b e known what a r e , f o r a given node Y i n some -
T(x) s a y ,
w i t h X a wfe i n LA,
(1) -
t h e ( s e t o f ) immediate s u c c e s s o r s of notation: L ~ s ( Y ),and
(2) -
t h e ( s e t of) successors - --
of Y ; n o t a t i o n : gc(Y).
EXAMPLE: L e t -
T(X) b e t h e f o l l o w i n g t r e e ( i t i s n o t i m p o r t a n t t o d i s c o v e r
what it s t a n d s f o r ) .
313.2.TERMINOLOGY.
I n o r d e r t o r e f e r c o n v e n i e n t l y t o a p p l i c a t i o n s of t h e Rules of Category Conver-
s i o n and Category I n c l u s i o n we i n t r o d u c e t h e f o l l o w i n g way of speaking.
R e c a l l t h a t (CC ) and (CC2) were phrased a s f o l l o w s :
I
I f B i s LA-compatible and A i s LA-admissible f o r B and
B,D a:b
1
B,A I b b
1' 2
then a l s o
B,A a:b2
provided (I ) b pontrLA b2 ( i n (CCI ; (2) b2 SsgQLAb ( i n (CC2)),
F o r any a p p l i c a t i o n of ,(CCi) ,i = 1,2 we s a y t h a t
yl := a:b 1 ---
i s t h e i n p u t of t h a t a p p l i c a t i o n of (CCi) and
$ I ~ := a:b2 i s t h e o u t p u t of t h e a p p l i c a t i o n concerned,
with analogously,
b , a s category-input and
b2 a s category-output f t h e c o r r e s p o n d i n g a p p l i c a t i o n of (CC.).
1
313.3.NOTATION.CONVENTION.
I f X i s a wfe " o c c u r r i n g i n " some LA-compatible s i t e B then -
G(X) w i l l denote
t h e g e n e t i c t r e e of X ( t o b e i n t r o d u c e d n e x t ) .Moreover,B is supposed t o be
"given" t o g e t h e r -----
w i t h t h e way i t was o b t a i n e d qua LA-compatible @.
Now t h e d e f i n i t i o n of t h e g e n e t i c t r e e of a wfe X i n LA can b e completed by:
-
(1) s t a t i n g what i s G(X) i n c a s e no a p p l i c a t i o n of t h e Rules (CCi) ,i = 1,2
were involved i n t h e "process of c o n s t r u c t i o n " of X ( a c c o r d i n g t o t h e
c o r r e c t n e s s r u l e s of LA) and
(2) by making e x p l i c i t t h e due r u l e s of "composition" f o r generating t r e e s
of w f e ' s i n c a s e some LA-term was "modified" by a n a p p l i c a t i o n of one
of t h e i n d i c a t e d r u l e s a l o n g t h e "process of c o n s t r u c t i o n " of X.
We omit below t h e s p e c i f i c a t i o n "according t o t h e c o r r e c t n e s s r u l e s of LA".
313.4.DEFINITION.
(1) I f no a p p l i c a t i o n of t h e c o r r e c t n e s s r u l e s (CCi) ,i = 1 , 2 o r - i n QA-
languages - (CI) ,was i n v o l v e d i n t h e "process of c o n s t r u c t i o n " of a wfe
X i n LA t h e n
g(X> := T(X>-
(2) For any a p p l i c a t i o n of (CC.) , i = I ,2 involved i n t h e "process of construc-
1
t i o n " of a wfe X i n ~ , s u c h t h a t i t s category-input i s an LA-term a and
I28
9 13.6. TERMINOLOGY.
Let --T b e a ( f i n i t e ) 'Iplanted t r e e " ( s o 3- i s an o r i e n t e d t r e e w i t h a "root";
i n t h e above t h e " r o o t " was c a l l e d "bottom-node").
-The = T (or -
paths i n t h-e- T-paths) a r e supposed t o "connect" a "top-node" (= a
"leaf") i n T
- t o / w i t h i t s b o t t o m ; t h e y w i l l b e viewed a s sequences of nodes i n -
2.
- be a node i n 3.A
Let p - -2-path
- - - of g i a a T-path
- containing g- ( v i z . , ~" l a y s on"
-
any one of i t s T-paths) -,g).
and w i l l be ( l o c a l l y ) denoted by p ( T
Every node i n T- -
i s on a f i n i t e n u m b e r , n p l , o f T-paths p.(T,p),lb j Sn.
J - -
--
L e t l.l(p. (T a ) ) b e =
t h e l e n g t h of t h e T-path
- p j (2,g) ; t h i s i s j u s t t h e number
of nodesJ ";i;ing on" t h e p a t h , i n c l u d i n g t h e 'lbottom-node".
- i n 2,
Def i n e , f o r any node p -
I--~
-- ='= ( T
a ) = max{ih(pj ( 2 ,~)): I L j ~ n 3
where g j (2,:) -
, I S j 6 n , a r e a l l and t h e only T-paths -
of p.
T "connecting" g- t o / w i t h t h e bottom of -T and d i s t i n c t
%e number of nodes i n -
- itself i s -
from 5 the distance of g ( t o t h e bottom) ;;notation: ---- ( -2 ,-~ ) .
-
Clearly,dii.k(T,g) does n o t depend on some p a r h c u l a r 2-path -, s i n c e i t
of g
-
"measures" o n l y t h e sub-sequence t h e T-paths - "share" i n common.
of g
Now the :-depth of a node g i s
d--
e-p-t h-( 2-, g-) = I--
h ( 2-, g-) - d----
hst(T
='=a ) .
S ~ , ~ ' t o ~ - n o d (=
e s "leaves")
~~ i n a f i n i t e planted t r e e 2
- w i l l have always T-depth
-
T ) of nodes w i t h -2-depth
0 , t h e y a r e immediate s u c c e s s o r s ( i n - 1 (provided t h e
l a t t e r e x i s t ) and s o o n , u n t i l r e a c h i n g t h e bottom of -
T.
-
C l e a r l y , t h e 2-depth of any node - T) i s u n i q u e l y determined ( i n 2- ) .
g (of -
-
F i n a l l y , l e t a 2-layer T h a v i n g t h e same 1-depth
b e t h e s e t of nodes i n - - and
call this -
T-depth t h e ;-e
Of the (:-)layer.
313.7.COMMENT.
Using t h e terminology of 313.6. we can e a s i l y e s t a b l i s h t h a t , f o r any wfe X
" o c c u r r i n g i n " some LA-compatible s i t e , t h e g e n e t i c t r e e of X h a s t o b e cons-
-
t r u c t e d "by i n d u c t i o n on T-depthsl',where 2- i s here actually -
T(X) , i . e . , t h e
a n a l y t i c t r e e of X.This can be done by f i x i n g - an a r b i t r a r y o r d e r on each - T(X)-
l a y e r (from-left-to-right s a y , u s i n g t h e o r i e n t a t i o n of t h e t r e e i n t h e p l a n e ;
n o t e t h a t thirs i s t h e only freedam we have when performing t h e " t r e e r e p l a c e -
ments" s t i p u l a t e d by 313.4.).
- (X),i.e.,with
E x p l i c i t e l y , o n e h a s t o s t a r t a t t h e t o p n o d e s of T -
t h e T(X)-layer
of depth 0 , e x h a u s t t h e l a y e r by a p p l y i n g c l a u s e s (1)-(3) of 313.4. , t h e n i n c r e a s e
depths by one and go on a p p l y i n g t h e s e s c l a u s e s ( " r u l e s " ) u n t i l t h e maximal T(X)-
-
depth i s reached ( i . e . ,at t h e bottom of -
T(X) ,which - in fact - islbears the
l a b e l X).
It i s e a s y t o s e e t h a t t h e u n d e r l y i n g "algorithm" can b e always a p p l i e d t o
any a n a l y t i c t r e e T(X),provided
- 2 "book-keeping" of t h e a p p l i c a t i o n s of t h e
r u l e s (CC. ) , i = 1 , 2 -
and (CI) --
i s g i v e n ( f o r t h e c o n s t r u c t i o n of t h e s i t e ) .
1
Moreover,the r e s u l t i n g g e n e t i c t r e e ( ~ )w i l l c o n t a i n both t h e information present
i n the original (syntactic) analytic t r e e -
and t h a t c o n t a i n e d i n t h e a p p r o p r i a t e
"book-keeping" of t h e a p p l i c a t i o n s of (CCi) and (CI) , i f any.
In the definition of genetic trees we have adopted - deliberately - an "inten-
sional" point of view on LA-compatibility (in sites) .
Specifically,it was supposed that, whenever some LA-site B is known to be
LA-compatible, we also have at hand some record of the way it was obtained.
In other words,any LA-compatible site B was supposed to be "given" together
with some modus operandi for establishing its LA-compatibility -
via some finite
sequence of applications of the correctness rules of LA.
Now it might well happen that for one and the same LA-compatible site B we
had at hand two distinct sequences of applications of the correctness rules
of LA.If theses "differences" would incidentally concern the number of appli-
cations of (CC.) ,i = 1 , 2 and/or (CI) or even the "places" where these rules
1
were applied (in the analytic tree to start with) one should certainly obtain
genetic trees - 60r the -
same wfe "occurring in" B - which would differ in
structure.
So the genetic tree of a wfe reflects accurately - maybe even -
too accurately -
the "definitional history" of that wfe,in the sense it takes into account de-
tails in the "process of its construction" (according to the correctness rules
of LA) that could have been completely different nonetheless reaching ("exten-
sionally'') the -
same (LA-compatible) site.
It is therefore correct to speak about "5genetic tree" of a given wfe X "occur-
- genetic tree" of the wfe X.
ring in" some LA-compatible site and not about "the
Note that the same kind of "intensional analysis of correctness" is implicitely
present in proofs "by induction on the definition of correctness in LAW.In
the latter case the underlying induction is done "on the length'' of -
some'list
"book-keeping" the applications of the correctness rules of LA - no matter which
one and disregarding possibly different lists which have,so to speak,the same
"effect".
wfe's-"on" PA.
314 .On isolating -
--
A possible - and reasonable - way out (and we couldn't find a simpler alternati-
ve to what follows) is to specify,by positive induction,for any wfe (resp. site)
in LA both the meaning of being-on-PA and the meaning of not-being-on-PA (for -
any
LA;since "not-being-on-PA" is empty for wfels/sites in PA).
So we can obtain inductively (where the induction is as intended,viz. "structu-
PA and -
ral") disjoint sets of wfe's -
+
PA- say,enabling us to rely on a "regressive
search" throughout an LA-site in order to establish the "PA-ness" or the "non-PA-
ness" of a given wfe occurring in that site. 1)
3 14.2. DEFINITION.
(01) If X is either a variable or the universe symbol or the nil symbol then
PA+.
X is in -
(02) If X is a floating constant and X s iig(Y) ,for some sound construction Y in
B then
X is in -
PA-
+ iff Y is in -
+
PA-.
(1) If X is in ~ e r and,specif
m ~ ~ ically,
DEFINITION.
An LA-compatible site B is said to be
+
a site on PA if every construction k in B is in
( 1 ) --- k,
(2) ---
a site on LA if there is some construction k in B such that k is in -
PA-.
314.4.REMARK.
+
If two LA-terms a,b differ only by some alpha-conversions and a is in PA- then
+
we will also let b be in PA-.
314.5.TERMINOLOGY.
The "on1'-terminology will be used in connection with any wfe in LA (especially
for constructions).E.g. ,we say that k (k in some LA-compatible site B) is
+
a construction on PA (resp. on LA,whenever LA is not PA) iff k is in PA (resp.
314.6.REMARK.
There is no point in distinguishing here between PLA
and $?-LA.FO~ the moment
being we shall agree that the way of speaking introduced previously applies to
both llextensionalitytypes".
314.7.COMMENT.
It is easy to see that a proper use of "on" above presupposes that the syntac-
tic unit concerned is already "correct" or "occurs in1' some LA-compatible site.
(Otherwise the underlying induction won't work.)
Of course,for syntactic units -
not involving floating constants "local identifi-
cations" of the language they "belong" to would be possible without paying
attention to matters of correctness. (There are hot too many things left within
the latter rubric,however.)
32 .Global s t r u c t u r e
-- of (LA-compatible) s i t e s .
-
32 1 .Reduced sLtes.Reference --
o r d e r i n LA-sites.
.
32 1 . I DEFINITION.
Let B be an LA-compatible s i t e and k be a c o n s t r u c t i o n i n B (LA a s e a r l i e r ) .
(I) - A --
reduct of B -
f o r k i s a minimal s u b s e t B~ of B such t h a t
k
( i ) k i s i n B~ and
k
(ii) BE
i s LA-compatible.
( 2 ) Let BE b e a s above.Then we say t h a t B i s -
a reduced s i t e f o r k i f
B = B;.
(3) - -i s an LA-compatible
A reduced LA-site s i t e B such t h a t t h e r e i s some k
i n B and B i s a reduced LA-site f o r k.
32 1 .2. REMARKS.
We may s t i p u l a t e , b y c o n v e n t i o n , t h a t t h e empty s i t e i s always a reduced LA-site.
For t h e moment b e i n g we do not c a r e about t h e u n i c i t y of reductslreduced s i t e s .
A reduced s i t e B f o r some k (k should b e i n B) i s i t s own r e d u c t f o r k.
Reduced s i t e s are,so-to-speak,"minimal" f o r a given c o n s t r u c t i o n they c o n t a i n .
I f B i s a reduced s i t e f o r some k than we cannot "reduce" i t any f u r t h e r without
thereby "loosing" k ( i . e . , i t s soundness f o r B).Here "reduction" has not t h e
t e c h n i c a l meaning involved i n t h e n o t i o n s of r e d u c t i o n discussed e a r l i e r .
Note a l s o t h a t reduced s i t e s a r e always (LA-)compatible (and t h i s r e s p e c t s t h e
convention above on t h e empty s i t e ) .
321.3.COMMENT.
The a b s t r a c t n o t i o n of a reduced s i t e has a "reference1'-AUT c o u n t e r p a r t i n
--
what L. S.van Benthem J u t t i n g e t a l . used t o c a l l "excerpted textlbook" (cf .,
e.g.,JUTTING 79-46,3.3.Excerpting.
-- and a l s o DE BRUIJN 80-72,5.Processing.).
-
This has been implemented f o r AUT-QE i n t h e following sense:
Let g be a c o r r e c t AUT-QE book and c a l l any sub-sequence of 5 sub-book
-
of 2 . A program c a l l e d e x c e r p t has been devised which,given any c o r r e c t
AUT-QE book $ and a l i n e i n !,produces t h e minimal c o r r e c t sub-book of
2 containing e (that is: it produces the "excerpted book,from $,for I " ) .
For an example see the excerpted book for Satz 27 (in Landau's Grundlagen
-
der Analysis ,as translated by L. S.van Benthem Jutting in AUT-QE) ,given in
JUTTING 79-46 ,Appendix k.
It is easily seen that "excerpting" makes sense for (any) other "referencev-
AUT language,as well.
321.4.DEFINITION.
Let B be an LA-compatible site and k be a construction in B such that k is
a construction on PA.We then say that B is PA-reducible for k if some reduct
B; of B for k is a site on PA.
If B is PA-reducible for some k we say simply that B is PA-reducible,
while a reduct of B (for k) will be specified as - -- of B (for
a PA-reduct -k) if
it is a site on PA.
321.5.REMARK.
Any compatible PA-site is PA-reducible,of course.
321.6.DEFINITION.
An analyticlgenetic tree - is a construction-tree if it is an analyticlgenetic
tree of some LA-construction (that is: its bottom-label is a pair (k,~) ,
where k is an LA-construction and 2 r ---idf (k) ;cf. 31 1.5. (6) above).
32 1.7. DEFINITION.
if
kl
k2
(2) for no k in B,distinct from both k and k2,0ne can have simultaneously
1
(i) 2 (k) is a sub-tree of 2 (k2) and
T ( k l ) is a sub-tree of
(ii) - T (k).
32 1.8. TERMINOLOGY.
The relation d will be called the atomic reference order (relation) in B;
For k l,k2 in some LA-compatible site B, k l reads: "k 2 depends direct-
k2
ly on klM,or"k2 is an immediate successor of k l (relative to the reference or-
der in B)" or "k is an immediate predecessor of k2 (relative to the reference
1
order in B)" or,even, "k2 covers k 1 I''
32 1 .9.DEFINITION.
The reference order (relation) any LA-compatible site B is the reflexive and
transitive closure of d .
Notation: 4 .
32 1 . l o . TERMINOLOGY.
For k ,k in any LA-compatible site B, k l 4 k2 reads Ilk2 depends on k " or
1 2 1
k 2 (k 1 ) is a successor (predecessor) of k l (k2) relative to the reference order
in B".
321.11.NOTATION.TERMINOLOGY.
For convenience,we shall also use the irreflexive variant of 4 ,hereafter
denoted by "-4".
So for k l,k2 in any LA-compatible site B, k l -4k2 reads: Ilk2 strictly depends
on klf',etc.and k l 4 k2 holds iff k l 6 k 2 holds with k 1 $ k 2 (syntactic
inequality,modulo alpha-convertibility whenever necessary,but see the conven-
tions on alpha-conversions in 123. above).
321.12.REMARK.
The reference order in an LA-compatible site describes completely the
"dependencen-interrelationship between its elements (LA-constructions).
It is obvious that the reference order in any LA-compatible site is
antisymnetric.
So we have the following straightforward fact.
321.13.LEMMA.
Any LA-compatible site is a poset relative to its reference order.
Proof. Clear.B
N.G.de B r u i j n used t o d e f i n e , i n r e c e n t time ( i n l e c t u r e s on AUTOMATH),"correct
AUTOMATH books" a s b e i n g p o s e t s . I n c u r r e n t wgrk on ("reference") AUTOMATH
one speaks about t h e " r e f e r e n c e s t r u c t u r e " of a c o r r e c t book i n order t o
i s o l a t e t h e analogue of what we c a l l e d h e r e " r e f e r e n c e orderW.This way of
speaking i s r a t h e r informal w i t h i n t h e AUTOMATH r e s e a r c h group and t h e f a c t t h a t
c o r r e c t books can be viewed a s p o s e t s b e l o n g s , a c t u a l l y , t c l t h e "folklore" of
the subject.
One should a l s o n o t e t h a t t h e " r e f e r e n c e s t r u c t u r e ' ' of c o r r e c t AUT-books i s t o
be d i s t i n g u i s h e d c a r e f u l l y from both i t s "block s t r u c t u r e " - describing the
n e s t i n g of l i n e s i n c o r r e c t books according t o t h e i r c o n t e x t s - and t h e "para-
graph system structure",which i s a l o c a l ( p r a c t i c a l ) d e v i c e , invented by I.
Zandleven i n o r d e r t o s i m p l i f y t h e a c t u a l checking of AUT-texts on a compu-
t e r ( c f . ZANDLEVEN 77-47 o r JUTTING 79-46,Appendix 2.The paragraph system.)
..
o r d e r they contain.
322.1.DEFINITION.
(1) A (formal) correctness clause (in LA) is an epi-statement
of either one of the following forms:
322.2.REMARK.
The meaning of "follows fromffin 322.1.(3) above can be made
precise upon a suitable formalization of the epi-theory.
We shall,however,skip the formal details,relying on the intui-
tions of the reader.(But see 322.5. below.)
- (lo> T B;AO I- -c
- 1,
s contains a correctness clause
(2O) r - CB:,~);% I- r: T
-
and a correctness clause
(30 ) I B~;A, !- T1 1
preceeding (2') in s,such that B; is LA-compatible,with
A
>
( q0
I
Bi a subset of B
and
1
(5O) k not in B1;.
I
Moreover,~k is uniquely determined in/for any correctness
proof s s
in LA (and any given k in B) ,provided
1
proves (lo).
In the seque1,Bi will be referred to as being the companion
- -of k -
site in s.
(2) If an epi-statement of the form
I1k is (sound) in B u
is actually used at stage m in some correctness proof 9 in LA,
this means that there are correctness clauses
142
(2) -
An extended correctness proof in LA is defined as earlier,
in 322.l.,reading "correctness clause" in the present sense
and including among the (primitivej correctness rules of
(every) LA the structural rule (k) stated below.
(3) As earlier,an extended correctness proof is 5 proof -
of its
last correctness clause.
322.7.COMMENT.
(1) Note that the extended correctness proofs are now allowed to
have terminal clauses of the form
I (k.B) ;Ao I-1,
which was not the case earlier.
(2) As we shall henceforth use only correctness proofs in the
extended sense the specification "extendedw will beyin gene-
ra1,omitted.
whenever k is a d-construction),
with n1,n2,n3.(nr) C n,together with a correctness
3
clause
s := 1 (B,k), A. /- 7,
- at stage n.
(Here B = ~ k ; s ok is not in B and s is actually obtained from
the s i r s by an application of a siteLA-recursion rule.In other
I
words,the disambiguating conditions concerning the freshness of
floating constants occurring in the statement of these rules are
supposed to hold in every case of concern.)
Now we can state the ~lstructural?rulesfor the introduction of
the (new) correctness clauses 1 1 1 (k,B); A. 1 X Ill
and the elimination
of the correctness clauses "1( D , k) ; % ,C 'C
1". -
The terminology and notation are as in 322.8.Hereafter,s is a given
correctness proof in LA,sufficiently long in order to make the stage-
specifications appearing below meaningful.
STRUCTURAL RULES (k):
RULE (k-): If a (Sr-)rule is applied to B' and k at some stage n in
-
s then,for B : = B1(J{k], the clause T
- B;$ / - T 7
- is allo-
wed to occur in sat any stage m,m 7 n.
RULE (kt): If
,1 a (Sr-)rule is applied to B' and k at some stage n in s
and,for some B with B' rS_ B,
and
3O IB;gtx(k) C L A ~ I
occur in 5 at stages m, ,m2 resp. ,with n < m, ,m2,
then
'iO 5 (k,B);Ao F L A ~ I
is allowed to occur at any stage m in ;,with n,ml,m2< m.
322.9.REMARKS.
(1) In the context of the remaining (primitive) correctness ru-
les of LA,the structural rule (kt) says,roughly speaking,that a
correctness clause
1 (k,B);AO k r I
can be introduced,in any correctness proof s in LA,on the basis
of a previous application of one of the Site;A-recursion rules
and only in these conditions.
(2) The foregoing considerations should make now precise enough
the content of the ~sentk~-recursion rule (Er),the only primiti-
ve correctness rule of PA,CA,etc. containing epi-statements of
the form
"k is (sound) in B".
Specifically,in (meta-)proofs by induction on correctness in LA
( = proofs "by induction on the length of a correctness proof in
LAT1),onehas to keep in mind that any application of (Er) at
some stage n in s0m.e correctness proof s is accompanied by a
previous application of the relevant recursion rule at
-
some stage m,with m n,in s.
Concurrently,if some induction concerns (Er) "at stage n u then
the hypothesis of the induction concerns kt)"at any stage m",
with m < n,where (kt)involves a "nestedu inductive step.
(3) It should be clear that the present considerations (and,in
particular,the addition of rules(k) to the primitive apparatus
of the LA'S of concern here) do not actually increase the "deduc-
tive strengthu of the original formulations,but rather make them
more exp1icit.h particular,(k-) has only a notational effect.
322.11.REMARK.NOTATION.
Let B be an LA-compatible site.Recal1 that,according to 101.8.,
---
the rank of B has to be
----
ank(B) --- [z~nk(ldf
= max ---- --- (k)) : k t B).
---- ---
So,for any k in B,zg~k(idf(k)) ----
6 mnk(B).
We shall now introduce an inductive "measure of complexityn for
LA-constructions occurring in LA-compatible sites using the referen-
ce order introduced earlier.This will turn out to have the same
effect as the manipulation of ranks in structured proofs of correct-
ness (in LA).
322.12.DEFINITION.
Let B be an LA-compatible site with k in B.
(1) One defines - the depth of k in B (notation: depthB(k)
----- ) as
follows :
(lo) if,for no k' in B,
k 4 k,
then -----
dgg&hB(k) = 0;
.
(2') if for n > l ,and kl,. .,kn in B
kl, ...
'kn -< k,
(and there is no other k' in B with this property) then
-----
de&hB(k) -----
= mx{&EthB(ki) : IdiCn t 1.
(2) -
The depth -of B (notation: depth(B)
----- ) is then
BBEL~(B) = $gq{dcpthB(k)
----- : k ~ 3 .
322.13. DEFINITION.
Let B be an LA-compatible site with -----
dgpth(B) = m.Then,for all n,
322.1q.COMMENT.
Intuitively,one may think of the depth of an LA-construction/site
as being a kind of "invariance property" of the construction/site
under consideration,relative to the underlying reference order
of the site.
I46
322.15.LEMMA.
Let B be an LA-compatible site.Then every structured proof of
I Bino kLA -E 7-
gives also
(lo> kl -
Let B be an LA-compatible site,with kl,k2 in B.If
k2
.-
then (clearly,kl $ k2 and) every structured proof of
I B;b0 kLA 2: I
gives also
(3O> B S P ~ !(kl
~ ~) 4 d-----
e ~ 4 (k2)
h~
A similar fact holds,mutatis mutandis,for 4 and < .
However,these implications cannot be reversed,in genera1,for one
can have (3') say,without thereby having k1 and k2 comparable
relative to the reference order of B.
322.17.THEOREM.(nUnion Theoremu.)
Let B be an LA-compatible site.If B1,B2 are LA-compatible sub-
sets of B then so is their union.
Proof.Easy.(Hint: use Site-expansion results discussed in -
213.Cf.
also 222.20.The rest is a typical question of "recreational mathema-
tics 1 1 . )l
322.18.COROLLARY.
(1) Any (finite) union of LA-compatible sites (resp. reduced sub-
sites) of an LA-compatible site is,again,LA-compatible.
(2) Every LA-compatible site is a (finite) union of LA-compatible
(and,in particular,reduced) sites.
The r6le of the structured proofs will become now obvious.
gives also
---- ---
reek(ldf(k) = denfhB(k)
-----
and,consequently,
----
rank(B) = depth(B).
-----
Proof.By induction on correctness in LA.@
322.16. REMARK.
(lo> kl -
Let B be an LA-compatible site,with kl,k2 in B.If
k2
then (~1early.k~f kp and) every structured proof of
gives also
322.18.COROLLARY.
(1) Any (finite) union of LA-compatible sites (resp. reduced sub-
sites) of an LA-compatible site is ,again,LA-compatible.
(2) Every LA-compatible site is a (finite) union of LA-compatible
(and,in particular,reduced) sites.
Proof.(l) By successive applications of 322.17.
(2) Take,e .g.,the union of the sets :B t B,such that :B is reduced
for k,with k in B.m
322.19. REMARK.
In general,~iteLA
I
is not closed under finite unions,for the
identifiers of LA-constructions "occurring int1distinct LA-com-
patible sites need not be (pairwise) distinct.But,if we assume
that ---
id_f(ai),l-<i& n,are pairwise disjoint sets whenever so are
the Bi1s,then the union of the B i l s is actually LA-compatible
if so is each Bi (16i,<n).(The first part of the remark is
due to L.S.van Benthem Jutting,in conversation.)
322.20.NOTATION.
Let X be some wfe "occurring inu some LA-compatible site B
and -
T(X) be the analytic tree of X (in B).Then we let ST(X)
-- be
the set of subtrees H X(X) such that 8
- of -- - is a construction-
tree.(Note that one may have H
- = T(X),as
- well.)
322.21.DEFINITION.
Let X be a wfe "occurring inH some LA-compatible site B.Then
- set or -
the analytic site (analytic - - -
a-set) of X (in
- .B) is the
site
GT(X) = {k E ConstrLA : -
-- X(X)
T(k) is in -- 1.
322.22.COMMENT.
That is: given some LA-construction (LA-context,E-sentence or
term in LA) X say,we can always obtain the analytic site of X
in an effective way,by a mere usyntacticlfanalysis of X into
its (both immediate and remote) ~components",providedX "occurs
in" some LA-compatible site B.The ualgorithmfl is,indeed,straight-
forward: construct first the analytic tree of X (this is just
l1syntacticUana1ysis;hence the name above),then collect the
labels of the nodes of this tree and select only those labels
that are pairs of the form < k c , c 7 .The first projection of any
such a pair is an LA-construcTion on which X actually "dependsu,
in the sense of the reference order of B.The set of all these
LA-constructions is the analytic site of X (in B).
(1) If B is LA-compatible and k is in B then
(1') --
C4(k) = ik' 6 B: k 1 6 k]
and
(2O) --
CT(k) r B.
(2) It is possible to define analogously "genetic sitesn of
LA-constructions,LA-contexts,E-sentences,etc. "occurring
in" some LA-compatible site B,replacing the analytic trees
in the definition above by genetic trees (cf. =.).The
"genetic sitesu will,however,depend on particular proofs
of correctness for the LA-site B and,consequently,the cor-
responding analysis will be uintensionaln from the very
beginning .
We shall not pursue the investigation on these lines (i.e.,
using "genetic sitesn),but will employ a different techni-
que,also l'intensionaluin nature,closely related to the
"encoding" techniques of recursion theory.
and
--- I ... B 1 ... 1
resp. stand for the fact that B has been replaced,ceteribus
paribus,with B1,in the corresponding correctness clause.
(This is,accurately,a usubstitution operation" defined -on the
meta-language and,clearly,can be introduced by an obvious
formal definition,upon a suitable lladvanced" formalization of
the epi-theory.)
(3) We use also the following shorthand:
idx
--- 1 ~;ctx(k)
--- C ,ca&(k)
--- --- (k) -
,def 7,else.
(5) If d is LA-admissible for B and a is a head-term with
B,A J- a,
then IL(A)
-- -- ----
= Ih(tail(a)) = n,n?O,and CAT(a) will denote
-
the unique k in B with
(lo) ----
4ig(k) r hgpd(a)
and
(2') &i(k) = n.
(See 212.12.,212.13. and 222.8. through 222.10. above.)
1
(6) As earlier,Bi is the companion site of k in s.
322.25.DEFINITION.(Correctness indices.)
(1 ) With notation as in 322.1 q. ,idx
--- B 1 ...
- . ..
7 is defined by ca-
ses as follows (here: B is an LA-compatible site).
n
cd
V
E-1
4
...
0
111
#
--
n
x
XI1
G
4
.rl
3 GI1
-
4
11
011
rlll
a
k II
a,
4
I
a
cd
a,
-
n
#
SII
rlll
A2
I1
cd
C
rn
-4 a
E:
cd cd
k
.rl
322.27.REMARK.
If sa B fl
:= B1 ... ...
-T is a correctness
-
clause occurring in
some (structured) correctness proof as (and B is LA-compatible)
then ---
&dx(sU B IT)
is an LA-site and a subset of B.
2 := B;AI a 1 1
occurs in s then s, does and
+
sk := -
T (k,B);Ao 7 -
T
occurs in s then
Proof.(l) i's straightforward.(2),(5) and (6) follow by easy induc-
tions.Now (3) is a consequence of ( 1 ) and (2),while (4) is clear
from the definiti.on of ir33.B
---
322.3O.THEOREM.("Index Theorem".)
Let B be an LA-compatible site and ;(B) be a (structured) correct-
ness proof of
where
(12) S(B,)
I
contains (as a sub-proof) a proof of
1 Bi;Ao -
T.
(2) In partic~lar~for - of 8.
all correctness clauses sn B, T[
(21) there is a proof 6 of
sn &(su B E n ) JT := I ...
--- I...B,...r ... I
such that
(22) 6 contains (as a sub-proof) a proof of
Proof.(I) Note first that with "effectively" in (Il),the method
of constructing the required $(Bi)'s in (1) does already guarantee
an effective proof of (21) and (22),whjch are particular cases of
( 1 1 ) and (12) resp.In fact,there is a (nearly mechanical) procedure
of "expanding" the given correctness proof s up to the required
$(Bi)ls,from which we can "read offu (23) directly.The construction
is rather tedious and requires some amount of inventivity in finding
an appropriate system of notation for "proof-analyses" (i.e.,the
indications concerning the way a correctness rule of LA is actual-
ly applied to clauses of ;in order to produce other clauses of ;).
A detailed discussion of the method (of finding "complete expansions
of a given correctness proof in LA") is deferred and will appear
elsewhere.Here,we have to proceed somewhat differently,since the
main interest is,in fact,in the I1partialM case,stated in (2).
(11) Neglecting "effectivelyu in (1) has the effect of commiting us
to prove (2) first.Note that,actually,(l) follows (without effective-
ness,however) from (21 ) and (22) by results on ~ite:~-ex~ansion dis-
cussed in - 213. (and,incidentally,by use of 322.17. and 322.18. (1 )
above).
Now the proof of (2) is by "induction on correctness in LAU,in the
formal setting introduced in this section.Specifically,one has three
"properties" of the formal correctness clauses of LA,viz.
(1 O) I1derivability(-invariance) under self-index replacement",
(stated in (21)),
(2') "LA-compatibility of correctness indices" (22)
and
(3') "fixed-point conditionT1 for indices (23).
Clearly,the initialization clause
I @;Ao k z I
satisfies all these properties andit is an easy (though somewhat tedi-
ous) exercise to show that the correctness rules of everyLA (inclu-
ding the "structura1"rules (k),stated above) preserve these proper-
ties. (Note also that (2') requires the use of the lfUnionTheorem",
specifically: 322.18.(1) above.).Obviously,the Tfmodifyingurules
(CCi),i = 1,2,and - in the case of QA - (CI) are harmless for the
purposes of the proof.(Cf.322.25. again.).Lernma 322.28. has to be
used copiusly at the inductive step,of c0urse.N
322.31.COMMENT.
The specific part (2) of Theorem 322.30. says~roughlyspeaking,
that:
(1) if something can be proved ("inu LA) at allyof some LA-compa-
tible site Bm then the same thing can be shown to hold of/for
the correctness index of the corresponding proof;
(2) in particular,the correctness index of a (correctness) proof
in LA is always an LA-compatible site
and
(3) the correctness index of a given clause s~occurringin some
(correctness) proof s (in L A ) , ~ S the "minimal" LA-compatible
site of which s holds (Iffixed-point condition").
More or less metaphori~ally~onecan say that the correctness indi-
ces are "fixed points" of correctness proofs in LA.(But,accurate-
ly,the "epi-theoretic function(s)"
(£1 Ax.&& I ... ... I
x
has/have correctness indices as fixed points only if it is/they
are "correctly parametrizedu.Indeed,"epi-functional expressions~
of the form ( 2 ) above may also contain "hidden parametersn as,
e.g.,LA-contexts,LA-constructions or LA-terms.).
For the sake of clarity we extract from 322.30. only the information
neccesary for the proof of 322.3q.
-----
(where,by convention,dgg&h(@) = -1;cf. also 322.13.(2) above)
and B(k) need not be the whole section Bn $ - (when n # 0).
Indeed,in general,B(k) is a proper subset of the (n-1)-section
unless B is a reduced site.(See below why.)
Finally,note that
(YO) --
if kTEGT(k) and k 1 f k then k 1 EB(k).
322.3v.COROLLARY.
Let B be an LA-compatible site with k in B.Then -
CT(k)
- is an LA-
compatible site.
Proof.Let s be a (structured correctness) proof of
- B;Ab
-
7
-.
As already noted,s should contain a proof of
I(Bk,k)ibg I- -T I
as a sub-proof.Assume that the latter clause occurs in s
at stage n,
n ?l.Then one can always insert,by applying rule (k+),a' clause
1 I
( k y B 1;)A o I- -t
at some stage m,m > n,in ;,where B' is some LA-compatible site with
B ~ ikfU B 1& B.
1
(In particular,one can take B 1 = B;-- ~ t k j if . the corresponding clause
does not occur already in s.)
Now
idx
--- I (k,B1);dO T I = - CT(k),
- -
by 322.28.(6),and,by 322.32.,indices of correctness clauses are
LA-compatible sites.That is: -- W ( k ) is LA-compatib1e.B
=.Analytic sites qua.reducts --
and some topology.
323.1.LEMMA.("Separationu.)
Let B be an LA-compatible site with kl,k2 in B (kl k2) such
that
k l 4 k2-
Then there is an LA-compatible site Be such that B e G B and
k1 is in I Bm but k 2 is not in Bm.
Proof.Let Bi be the companion site of k2 in some correctness proof
-
s of
T
- B;A,l- z 2.
Then,by 322.5.,there is a proof 6(k2) of
s2 := I(~;,k~);AO t Z 1.
---
Set Be = Xz(s2).This site satisfiesthe requirements since it is
CT(k2) - {k2f,by 322.28
LA-compatible,by 322.32.,and,moreover.B 181 = ==
(5).So Be does not contain k2.Now k l is in Be by the definition of
CT.n
--
323.3.LEMMA.
Let B be a reduced site for k (k in B) .Then B - {k) is LA-compa-
tible.
Proof.Use 322.Y. and the fact that B is reduced for k.B
Let B be a reduced site for kl,k2 (kl,k2 in B).Then k l k2.
Proof.By reductio.If k l f k2 then k,,k2 are both maximal in B,by
323.2,and "extracting" each of them from B gives LA-compatible si-
tes B - Ik13 and B - {k2jresp.This is impossible unless k1 r k2.1
323.5.COMMENT.
So any reduced LA-site has a "supremum" with respect to its
reference order.Specifically,if B is reduced for k then its "su-
premum" is k itself and we call it the bottom of B.(This terminolo-
gy is somewhat artificial but it has something to do with our way
of drawing the "graph" of a reduced site: the "supremumu will
be always placed at the bottom of the picture representing the
reduced site qua poset.).
We may interpret heuristically the reference order of an LA-compa-
tible site B as a rough estimation of the "amount of information"
conveyed by each LA-construction in B.Within this heuristics
one would want to begin with "minimal pieces of information"
(furnished by LA-constructions with depth 0 in B).An LA-construc-
tion k strictly depending - in the sense of the reference order -
...,
on LA-constructions k l , kn (n>/l) in B will be then supposed
to "contain more information" than the kils.In particular,if the
site is reduced (for some k) then its "bottom" provides always
the maximum of information for that site.
-
323.7.LEMMA.
--
Let B be an LA-compatible site with k in B.Then Q(k),the analytic
set of k is contained ( set) in any LA-compatible subset Bk of
B which has k as an element.
Proof.One shows easily,,by a systematic search throughout the analy-
tic tree of k that there is no k 0 in B with ko d k, ko --< k and
ko in B - Bk.I
323.8.COROLLARY.
-.(k-
Let Bk be a reduced site for k (k in B).Then W )C_Bk.
Proof.By definition,Bk is compatible and contains k.Then apply
323.7.1
323.9.THEOREM.
Let B be an LA-compatible site with k in B.Then,for some reduct
:B of B for k,one has B;.)k(='X-C-
-
Proof.CT(k)
== is an LA-compatible subset of B containing k as an
element.Then - -
W(k) contains a minimal subset :B say,which is LA-
compatible and has k as an element.So :B is a subset of - Cl(k)
- .But
CT(~)
--
v = Cl?(k).B
.
is a subset of every reduct of B for k (by 323.8. ) So,in par-
ticular,Bk --
Explicitely,one has a
323.11.THEOREM.
(1) For each LA-compatible site B and every k i n B,there is a
unique LA-compatible subset :B of B such that :B is a reduced
site for k ( = there is a unique reduct of B for k).
(2) Moreover,the reduct of an LA-compatible site B for some k (k
in B) can be obtained effectively from k (by nsyntacticn ana-
lysis,& analytic trees),with specifically,B~= gT(k).
---
Proof.Already completed.@
323.12.COMMENT (historical).
The faets mentioned above have been conjectured - several years
ago - by N.G.de Bruan -
et -
al. in connection with the excerpt pro-
gram for AUT-QE mentioned earlier (321.3.).~he present analysis
was,however,done in complete independence of previous work on
that program and its implementation (at the Technische Hogeschool,
~indhoven).
As the foregoing analysis is a uglobalu one (viz.,it does not
depend too much on the exact formulation of the correctness ru-
les for some particular AUT-language) the results obtained here
can be easily transferred to other AUT-languages,not considered
here (whether in abstract or "reference" formulation).
323.13.THEOREM.("Intersection Theoremn.)
Let B be an LA-compatible site.If B1,B2 are LA-compatible subsets
of B then so is their intersection.
Proof. If B1 n B2 = @ then the Theorem f0 1 1 0 ~ s by (Si) .Else,let
B2 = {kl ,...,kn' ,with n*l.Then,for every j,lQj$n,Cp(k.) -- is
J
--
a subset of both B1 and B2,by 323.7.,and W(k.) is LA-compatible,
J
by 322.3Y.Now ~~n B2 = U-
I SiGn
-(k.),by
QT'
J
the definition if -
CC(k.),and
-
J
the latter set is LA-compatible,by 322.78. 1
323.14.COROLLARY.
~ e t be
. an
~ LA-compatible site.Then any (finite) intersection of
LA-compatible subsets of B is,again,LA-compatible.
Proof.By successive applications of 323.13.1
323.15.THEOREM.
Every section of an LA-compatible site is LA-compatible.
Proof.If the site is empty,use (Si).Else,realize that,for every LA-
$ is the union of analytic si-
compatible B,with dppt,h(B) = n,n>,O,Bn
--
tes Cp(k) with k in-Bz;and apply 322.18.1
Now we have some reason to shift to a topological terminology.
323.19.COMMENT.(Historical.)
To-spaces are usually called Kolmogorov spaces (cf. BOURBAKI 6 q )
and have been - apparently - introduced first in ALEXANDROV &
HOPF 35.They are not very interesting from a geometric point of
view say or in real analysis (where one would want to start with
topological spaces satisfying at least the "Hausdorff separation
property").
I1From a less geometrical point of view To-spaces can be not only
interesting but also natural" (SCOTT 72) and quite a lot of work
has been done around the subject during the last ten years.This
was initially motivated by discoveries of Dana S.Scott,Gordon
Plotkin -et -
alii in the model theory of the "type-free" lambda-
calculus (SCOTT 69,72,73,75,76;PLOTKIN 72,78;BARENDREGT & LONG0
80,8B) and the semantics of programming languages (SCOTT 72a,72b;
MILNE & STRACHEY 76;STOY 77;etc.).In a more general setting,
T0-topologies arise naturally in the study of continuous lattices
(started in SCOTT 72c;cf. GIERZ -et -
al. 80 and BANASCHEWSKI &
HOFFMANN 81),in spectral theory,etc.
In particular,the Scott-topology (cf.GIERZ -et -
al. 80),which is To,
will turn out to be also involved in a mathematical semantics
("model theorytf)of the main AUT-languages discussed here (cf.
BARENDREGT & REZUS 8B).
323.20.REMARK.
Theorem 323.17. is,in fact,an application of the well-known one-
one correspondence between finite posets and finite To-spaces
(cf.,e.g.,BIRKHOFF q8,I.ll.),but the way of obtaining 323.17.
here seems more natural than if one would have defined first
B-closed sets and B-closure.An alternative analogy subsists
between (finite) To-spaces (here LA-spaces) and polyhedral
complexes (see ALEXANDROV & HOPF 35,I.,page 132,BIRKHOFF --
lot-tit,
page 1Y),but we leave the details to the reader.
Finally,it seems worthwhile mentioning the following fact.
323.21.DEFINITION.
Let B be an LA-space.The set
BASE(B) = :B{ : (k is in B) ==$ ( B is
k ~ a reduct of B for k)j
will be called the maximal --
base for T(B).
323.22.THEOREM.
Let B be an LA-space.Then BASE(B) is a base for the natural topo-
logy on B,viz. the maximal base for T(B).
Proof.By 323.11.Bkv = CT(k),for
-- all k in B and B is the union of fini-
tely many members of BASE(B).R
33. Conserving PA-correctness .
-
331. "Conservation" -
over PA.
For simplicity,we shall pay first attention to the "least rule-extension of PA"
of concern here,viz. CA.
some i, 1 C i< n,
with
V I V
i'
and by,possibly,some applications of the Rules of Category Conversion (which are
rules of PA) one has that b cony
---4a.1 (by an argument familiar from "type-free"
lambda-calculus, since pxJ is Church-Rosser;see 123.18. and 33 1.6.).
---&
But A was supposed to be PA-admissible for B,while B was PA-compatible.So,by (Ei)
which is again,a rule of PA,one has that
'
(2) If now a := -
c(bly
4
...,
b ),q 3 0 (i.e.,a is a head-term),each bi,l< j ~ ~ , i s
a term on PA (for so was supposed to be a) and there is some con;truction kc say
, A kCA b ====&
conv b'[~:=yl.
By the inductive hypothesis one has from (iv),whenever qbl,that
- in CA. )
33 1.2. COROLLARY. (~e2~-conservation
a
LetB be PA-compatible and h b e PA-admissible for B.If a is a term on PA and
B,b lkPA a.
Proof. If a = TT, the statement is trivial (use (~i),however) .Else,use (Tr) and
.
33 1 1. above :l
33 1.3. L E W . (cohtxPA-conservation
OI
- in CA. )
If B is PA-compatible (and therefore a site on PA) and h is a context on PA
such that A is CA-admissible for B then is PA-admissible for B.
Proof.Let A := A Cv ]:a? ... [vm:aJ
with Ih(A)
-- = m,m, 0.
First use induction on the length of A.
--
(0) If ih(L\) = 0 then d:= ho.Then,by (Ci),which is a rule of PA,one has that
A is PA-admissible.
(n+ 1) Let _Ih
-- (A) = n+l (n 0) and assumethc L e m a has been proved for
That is:
where v
n+l
= vm and an+l r am'
One has that
(i) B is PA-compatible (hypothesis)
(ii) A - is PA-admissi'bie for B, 4- on PA (inductive hypothesis)
(iii) am is a term on PA (for A is on PA) (hypothesis)
(iv) A is CA-admissible for B (hypothesis)
and one has to show that
(v) is PA-admissible for B.
Now,within the inductive step for ~h(A),use
-- induction on the structure of a
m'
taking into account (iii) above.
(n+l,.l) If am r Y then,by (Cr-1) one has,'from (i),(ii) that A is PA-admissible
for B.Indeed,vm was supposed to be fresh for A-,by (iv) above,and vm is not in
FV (r)= @.
and
331.4.COMMENT. ( ~ s e na t ~ ~ - , I
T e rand
m ~ ContxF-conservation
~- in 9-A,QA.)
It is now easy to see that the proofs of 331.1. through 331.3. above could
have been carried through for the analogous statements with CA replaced by
Q-A and/or QA resp.
Indeed,only the proof of 331.1. depends directly on "structural lemmas" about
CA (specificallp,on 212.9.,212.12. and 212.13.),but analogues of these l e m s
have been seen to hold for Q-A and/or QA,too (cf. 2 g , above).
This gives sent'^-conservation
I
in Q-A and/or QA.
' NOW,TermPA-conservat
5
ion in Q-A,QA follows from sent'^-conservat ion in Q-A,QA
5
on the pattern of proof of 331.2. ,whereas the analogue of 33 1.3. in Q-A,QA
can be obtained by essentially the same kind of argument,using,of course,
sent'*-conservation
a
in Q A , Q A at step (n+l,3).
331.6. COMMENT.
Similar "conservation"-results hold,mutatis mutandis,for the "derived" correct-
ness categories of PA-Indeed,since ~ 2 % is Church-Rosser ( 123.18.) ,one can
show,by an argument familiar from lanbda-calculus,that,e.g.,for all a,h on PA,
a ---- b implies a m=gg b.(Note that the argument necessary here does not
LA
depend on 33l.l.through 331.5.).
-
332.PA-separation -
and conservativity over PA.
Now we are able to prove our main theorem on '"separating" PA-compatible sites
in "rule-extensions" of PA.
First we need some trivial considerations on contexts that are PA-admissible for
the empty site.
332.1.DEFINITION.
Let B be an LA-compatible site with k in B and A := cfx(k).
---
Then ---
the local depth (or - of A -
the owndepth) - in B is defined as follows:
332.2. REMARK.
If B is LA-compatible and k is in B then
g%$gg&kB (gg(k) ) 4 -----
_dppthB(k) < depth (B) .
-----
Proof.The r.h.s. of the statement is obvious from the definition of depths.To
d b ~ ) is majorized by -----
show that g n ~ ~ p p (~fg(k) depth (k) recall that ,by definition,
-B
one has
-- ---
_CT(_cgx(kl)) - ==
r~ CT(kl) B
for all k' in B.
The argument is by induction on sections in B.Assume -----
ckpgh(B) = m,m>O.
(0) If m = 0 then,in particular,_CT(k)
-- = 0 (for k is in B,by hypothesis) and so
-- ---
is _CT(c~x(k)),by the inclusion noted above.Hence =====-==B
owndepth (ctx(k))
=== = _depth
-----
--B
(k) =O.
(n) Now let m7/1 and -----
depth $ = n.So 1 6 n l m,by the definition of depths.
--B (k)
Let also,for all n , l i n Q m,B be the n-section of B.
n
AS k is supposed to be in B with depth n in B,k is in B:.B~ the definition of
$ C_ Bn.
sections we have,for all n,1 & n< m,Bn,l $
332.3.DEFINITION.
A context in LA is PA-initial if it is of the form
A := ~ ~ r . , : a..
[
v
J n:aJ
whith ,whenever &(A)
-- = n ,n >, 1 ,for all j ,I C j G n ,
(I) either a s 2
j
(2) or aj 3v
i' for some i,iL j, and a.1 r T.
The following fact will be useful below.
332.4.LEMMA.
If B is LA-compatible,k is in B and c&q(k)
--- is a context on PA then the follo-
wing (epi-)statements are equivalent:
(1) c&x(k)
--- is PA-admissible for the empty site.
() g ~ d ~ ~ & h ~ ( g & g ( ~=) )O'
'
(3) cgx(k)
--- is PA-'initial.
Proof.Set A := Aglvl:aJ .. .
---
[vm: aml = efx(k). Obviouslv,(3) imnl ies ( 2 ) .
Now (2) implies (3),by induction on the length of A ,using the fact that k is
@-correct (in PA).
Similarly,(3) implies (I) ,by induction on the length of A ,using the due correct-
ness rules (in order to realize that the latter are only rules of PA).
Indeed,if - -
lh(A) = 0 then a is PA-admissible for the empty site,by (Ci).
--
Moreover,if &(A) = 1 then a r r and h is PA-admissible for the empty site,by
1
(Cr-1) .
If &&b)= n+l then,with A- := dobl:a;] ...[v n:adone has d l d-[~~+~:a~+$
The hypothesis of the induction gives I\ - PA-admissible for the empty site and,
- or vi,for some i,(,I i6 n,where a. n C.In the first
an+ l is assumed to be ekher T -
1
case, A is PA-admissible for the empty site by (Cr-l),while in the latter case
one has that
@,A-
bpA vi: ai (I 6 i S n)
by (Ei) ,so A is,again,admissible for @,by an application of (Cr-2).
Finally,(I) implies (3) ,by induction on correctness in PA,i. e. ,by checking the
conclusions of the correctness rules in PA,producing PA-admissible c0ntexts.l
332.5. COMMENT.
A deeper "context-oriented" analysis of LA-compatible sites is certainly
possible,using a "nested blocks"-pesentation of LA.In particular,the "nested
blocksn-structure of an LA-compatible site can be described labelled
trees .The latter (called by N.G. de Bruijn,"trees of knowledge";cf. DE BRUIJN
- - may be helpful in the analysis of an LA-compatible site if one
70-02,3.7.)
wants to display a "context-sensitive organization" of the information present
in that site.
Howeverythe "nested blocksu-structure and the associated "trees of knowledge"
are unessential in the language definition of an AUT-language (whether in
abstract or "reference"-version) and play no actual r81e in the analysis of
correctness.(Accurately,these ingredients would appear only in particular
presentations of an AUT-language and there is no point in stressing their
theoretical import.Cf.RUS 71.)
332.6.THEOREM.(PA-separation property).
Let B be an LA-compatible site with k in B.If k is a construction on PA
--
then CT(k),the analytic set of k,is PA-compatible.
Proof.By induction on the depth of a construction in B.Let A := ---
c~q(k).
(I) If k is in &(B,O) then -----
depthB(k) = O.Then,by 332.2.,
-----
owndeprhB(d)
-------- = -----
depthB (k) .
But k was supposed to be on PA,therefore so is A.
Hence,by Lemma 332.4.,A is PA-admissible for the empty site.
Now,by "induction on the structure of kn,one has that k is @-correct in PA
(by either one of the rules (~r-lp) ,(Sr-2p), (Sr-Id) or (Sr-2d) ,which are rules
of PA,too). So --
Q(k) = {k3 is P,A-compatible.
(2) Assume k is in &(B,n+l) and suppose k depends directly on LA-constructions
.
kI,.. ,k (p > l ) and only on these,with ki in B $ ( I i s p).
P n
The inductive hypothesis says that,for each k' in ~t,~C(k')
is PA-compatible.
In particular,this is true of the constructions k ,..., k on which k depends
1 P
directly.
set,£or convenience
B," -
CT(ki). U
--
As each _CT(ki)
Iiiip ==
is PA-compatible (and a subset of B),so is B ,by 322.~8.(1),
"
n
--*
(Moreover,for each i,l i s p,CCT(ki)
.-
pi
(2.1.2~) Bn,A CLA a : T with a on PA.
Next
(2.2.) k := kd z f A; d(;) : a 4, where )
;
(
d
----- - ::= b, with k in DconstrPA
That is: eihher
- -
d
A
,
:
B kLA b : a T with b on PA,
or
P
(2.2.2d) Bn,A FLA a :2 with a on PA,
e
Bn,A k L A b : a with b on PA.
I
In any case,B is PA-compatible and A is a context on PA (LA-admissible for ,):B
n
for k was supposed to be a construction on PA and A = ctx(k).
---
This give* ,by contxPA-conservation (33I. 3. for CA;cf.33 I. 4. for the remaining
e
languages) that
(iii) A is PA-admissible for Bn.
H
In subcase (2.1. lp) one hks,by (Sr-lp) that k is BE-correct
n for PA (for this is
a rule of PA,too).So C--
J(k) $
= Bn V (kf is PA-compatible,by the same token.
In subcase (2. I. 2p) one has ,by ~sent'~-consekation
a
in LA (cf . 33 I. 1. ,33I. 4. )
that
a
Bn,A kPA a : 7
a
(for :B is PA-compatible and A is PA-admissible for 8
,)
.
n U Lk3
Hence,by (Sr-2p) ,one finds that k is BI-correct in PA and --
_CT(k) = BE is
n
PA-compatible (for this is a rule of PA,too).
a
In subcase (2.2. Id) one has ,under the same assumptions on Bn and ,that
VP
Bn,A kPA b : a = T
f
(by ~senty-conservation in LA,again).Hence,by (Sr-ld),k is Bn-correct in PA and
CT(k)
-- :B U {k) is PA-compatible.
=
Finally,in subcase (2.2.2d) ,we can replace "LA" by "PA" again,by two applications
of sent'^-conservation
I
in LA,getting
A
,
:
B kpA b : a : .t.
I
Hence,by (Sr-2d),which is a rule of PA,we have that k is Bn-correct in PA and
CT(k)
-- ( = :B U Ik))
is PA-compatible.
This completes the induction "on the structure of k" and also the main induction
on depths.So the proof of the Theorem is comp1eted.l
With terminology from 321.4. we have the following nice consequence from 332.6.
Puttings things somewhat differently one has the following conservativity result.
see CURRY -
et -
al. 58
52 SymboZic Logic.
Ronald Press,New York.
GABBAY ,D.M.
80 SemanticaZ Investigations in Heyting's Intuitionistic Logic.
D. Reidel ,Dordrecht,etc.
GIERZ,G. -
et -
al.( = K.H.HOFFMANN,K.KEIMEL,J.D.LAWSON,M.MISLOVE & D.S.SCOTT)
80 A Compendium of Continuous Lattices.
Springer Verlag,Berlin,etc.
GIRARD,J. -Y.
71 Une extension de l'interpretation de Gisdel b llanalyse,et son applica-
tion b l'slimination des coupures dans l'analyse et la thsorie des types.
Proceedings of the Second Scandinavian Logic Symposium,edited by J.E.
FENSTAD,North Holland,Amsterdam,pp.63-92.
72 Interpretation fonctioneZZe e t dZimination des coupures de Zfarith-
me'tique d 'ordre supe'rieur.
Dissertation ("ThSse de doctorat d16tat"): University of Paris VII.
HINDLEY ,J .R.
88 The completeness theorem for typing lambda-terms.
Theor. Comput. Sci. to appear
Preprint: University College of Swansea,Department of Pure Mathematics,
27 pp. (1980).
HINDLEY,J. R. ;SELDIN,J.P. & LERCHER,B.
72 Introduction t o Combinatory Logic.
Cambridge University Press,London.(London Math.Soc.Lecture Notes 7).
see CURRY -
et -
al. 72
see SELDIN & HINDLEY 80
admissible comphtible
LA- = context 66 LA-= site 66
= rule 100,101 component
alpha-convertibility = (of a term) 38,39
SEE convertibility = (of a construction) 62,63
ambiguity immediate = 38,39,62
definitional (un)= q5 remote = 62
arity (of a constant) 28 canonical = 63
assumption 57 conservation property 18,112
specific = 163,171
base (maximal) 162 conservativity (over PA) 163,171
book 26 consistency (for LA) 53
constant
calculus structured = 28
LA- = 52 floating = 28,32
SEE reduction system p-= 28
category d-= 28
syntactic = 2q structural = 29
syntagmatic = 2q "lang~age-=~ 29
free = 2L1 date of a = 35
canonical = 2Y fresh = q5,70
text = 2q,26,6Y (SEE site) construction 61
=-string (of a context) 59 canonical = 61
=-part (of a construction) 63 p-= 61
correctness = 65 d-= 61
primitive correctness = 65,67 B-correct = 77
derived correctness = 65 context 59
rule of =-conversion 76 string of a = 59
=-inclusion rule 79,IOY sub= 60
Church-Rosser =-part 63
= property 52 admissible = 66
= theorem 53 SEE telescope
clause contraction (in LA)
-- 51,52,53
correctness = 138,lql convertibility (in LA)
-- 51,52
initial(ization) = 138 alpha-= q9,50
xhere-= q6
-----
correct epi-functions:
LA-= (for) 65 ---
eltq 55
---
B-= (in LA) 77 v4aLL 56
-----
correctness
tail
---- 56
= category 65
(formal) = clause l38,l yl
Lastel%
------- 56
= rules (SEE rules) sub 58
---
(PA-,CA-)= 86 sq. gggp 58
(Q-A-,QA-)= 98 sq.,103 sq. abs 58
---
= index 1Y8-150 head
---- 39
function-part = 86,107 a---
m ni 39
domain-part = 86,107 ---
arg 39
category = 97 fun
--- 39
=-rule extension 98 sq. don
--- 39
global structure of = 112 sq. vaL
--- 39
= proof 138
extended = proof 192
===a
str ,str 59
assi 59
---
---2
leftmost
- ------- 1 1 7
date (of a constant) 35
definition equality
pseudo-= Y2 (SEE convertibility)
proper = 92
(in)correct = y3 fresh Y5,70
supporting = V6 rank = 45,70
=-part (of a construction) 63 minimally = Y5,70
definitional
= ambiguity V3,Y5 index
= equality (SEE equality) lexical = 33
= specification 96 lexical rank = 3Y
"= historyn 122,129 sq. correctness = 1 Y8-150
degree (of a term) 80,106
depth 1L15 layer 195
local = 167 length
derivability (for rules) 100-101 = of a head-term 38
domain 27 = of a string 36,55
--
length (UI) rank 33,Y'i
= of a context 59 p-rank 33,Yq
= of a construction 60,61 darank 33,YY
ranking function 32
normal form 51 reducibility 51 -52
unicity of = 5q reduct of B-(reduced site) 137
normalizable 5H reduction 50-51
combinatory = system 52
open reference
B-open ,160 = order 136
order atomic = order 136
reference = 136 residual (of a relation) 27
atomic reference = 136 rule(s)
correctness = 71 sq.
part (of a term) 39 structural correctness = 71-72
argument = 39 basic correctness = 71,7Y-75
function = 39 CA = (specific) 78-79
domain = 39 abstraction = 78,10q
value = 39 application = 78,103
part (of a construction) 63 = of category conversion 71 ,76
context = 63 SiteBLA -= 72-73
category = 63 contxkA-= 73-7q .
symbol
structured = 28
universe = 29
super-type = 29
empty = 29
TITLES I N T H E SERIES MATHEMATICAL CENTRE TRACTS
(An asterisk before the MCT number indicates that the tract is under prep-
aration).
MCT 1 T. VAN DER WALT, Fixed and almost fixed points, 1963.
ISBN 90 6196 002 9.
MCT 2 A.R. ELOEMENA, Sampling from a graph, 1964. ISBN 90 6196 003 7.
MCT 3 G. DE LEVE, Generalized Markovian decision processes, part I : Mode2
and method, 1964. ISBN 90 6196 004 5.
MCT 4 G. DE LEVE, Generalized Markovian decision processes, part 11:
Probabilistic background, 1964. ISBN 90 6196 005 3.
MCT 5 G. DE LEVE, H.C. TIJMS & P.J. WEEDA, Generalized Markovian decision
processes, Applications, 1970. ISBN 90 6196 051 7.
MCT 6 M.A. MAURICE, Compact ordered spaces, 1964. ISBN 90 6196 006 1.
MCT 7 W.R. VAN ZWET, Convex transformations of random variables, 1964.
ISBN 90 6196 007 X.
MCT 8 J .A. ZONNEVELD, Automatic numerical integration, 1964.
ISBN 90 6196 008 8.
MCT 9 P.C. BAAYEN, Universal morphisms, 1964. ISBN 90 6196 009 6.
MCT 10 E.M. DE JAGER, Applications of d i s t m b u t i o n s i n mathematical i;hysics,
1964. ISBN 90 6196 010 X.
MCT 11 A.B. PAALMAN-DE MIRANDA, Topological semigroups, 1964.
ISBN 90 6196 011 8.
MCT 12 J.A.'Ih.M. VAN BERCKEL, H. BRANDT CORSTIUS, R.J. MOKKEN & A. VAN
WIJNGAARDEN, Formal properties of newspaper Dutch, 1965.
ISBN 90 6196 013 4.
MCT 13 H.A. LAUWERIER, Asymptotic expansions, 1966, out of !)ri.nt; replaced
by MCT 54.
MCT 14 H.A. L A W R I E R , CaZculus of variations i n mathematical physics,
1966. ISBN 90 6196 020 7.
MCT 15 R. DOORNBOS, Slippage t e s t s , 1966. ISBN 90 6196 021 5 .
MCT 16 J.W. DE BAKKER, Formal d e f i n i t i o n of p r o g r m i n g languages with an
appZication t o the d e f i n i t i o n of ALGOL 60, 1967.
ISBN 90 6196 022 3.
MCT 17 R.P. VAN DE RIET, Formula manipulation i n ALGOL 60, part 1, 1968.
ISBN 90 6196 025 8.
MCT 18 R.P. VAN DE RIET, Formula manipulation i n ALGOL 60, part 2, 1968.
ISBN 90 6196 038 X.
MCT 19 J. VAN DER SLOT, Some properties related t o compactness, 1968.
ISBN 90 61 96 026 6.
MCT 20 P.J. VAN DER HOUWEN, Finite difference methods for soZving partial
d i f f e r e n t i a l equations, 1968. ISBN 90 6196 027 4.
MCT 21 E. WATTEL, The compactness operator i n s e t theory and topology, 1968.
ISBN 90 6196 028 2.
MCT 22 T . J . DEKKER, ALWL 60 procedures i n numerical algebra, part 1, 1968.
ISBN 90 6196 029 0.
MCT 23 T.J. DEKKER & W. HOFFMANN, ALWL 60 procedures i n numerical algebra,
part 2, 1968. ISBN 90 61 96 030 4.
MCT 24 J . W . DE BAKKER, Recursive procedures, 1971. ISBN 90 6196 060 6.
MCT 25 E.R. PA^, Representations of the Lorentz group and projective
geometry, 1969. ISBN 90 61 96 039 8.
MCT 26 EUROPEAN MEETING 1968, Selected s t a t i s t i c a l papers, part I , 1968.
ISBN 90 6196 031 2.
MCT 27 EUROPEAN MEETING 1968, SeZacted s t a t i s t i c a l papers, part 11, 1969.
ISBN 90 6196 040 1.
MCT 28 J. OOSTERHOFF, Combination of one-sided s t a t i s t i c a l t e s t s , 1969.
ISBN 90 6196 041 X.
MCT 29 J. VERHOEFF, Error detecting decimal codes, 1969. ISBN 90 6196 042 8.
MCT 30 H. BRANDT CORSTIUS, Exercises i n computational l i n g u i s t i c s , 1970.
ISBN 90 6196 052 5.
MCT 31 W. MOLENAAR, Approximations t o the Poisson, binomial and hypergeometric
d i s t r i b u t i o n functions, 1970. ISBN 90 6196 053 3.
MCT 32 L. DE HAAN, On regular variation and i t s application t o the weak con-
vergence of s q l e extremes, 1970. ISBN 90 6196 054 1.
MCT 33 F.W. STEUTEL, Preservation of i n f i n i t e d i v i s i b i l i t y under mixing and
related topics, 1970. ISBN 90 6196 061 4.
MCT 34 I. JUHASZ, A. VERBEEK & N.S. KROONENBERG, Cardinal functions i n
.
topology, 197 1 ISBN 90 61 96 062 2.
MCT 35 M.H. VAN EMDEN, An analysis of complexity, 1971. ISBN 90 6196 063 0.
MCT 36 J. GRASMAN, On the b i r t h o f boundary layers, 1971. ISBT? 90 5196 064 9.
MCT 37 J . W . DE BAKKER, G.A. BLAAUW, A.J.W. DUIJVESTIJN, E.W. DIJKSTRA,
P . J . VAN DER HOUWEN, G.A.M. KAMSTEEG-KEMPER, F . E . J . KRUSEMAN
ARETZ, W.L. VAN DER POEL, J . P . SCHAAP-KRUSEMAN, M.V. WILKES &
G. ZOUTENDIJK, MC-25 I n f o m a t i c a Symposium 1971.
ISBN 90 6196 065 7.
MCT 38 W.A. VERLOREN VAN THEMAAT, Automatic analysis of Dutch compound
words, 197 1 . ISBN 90 61 96 073 8 .
MCT 39 H. BAVINCK, Jacobi series and approximation, 1972. ISBN 90 6196 074 6 .
MCT 40 H. C. T I J M S , Analysis of (s,S) inventory models, 1972.
ISBN 90 61 96 075 4 .
MCT 4 1 A. VERBEEK, Superextensions of topological spaces, 1 972.
ISBN 90 6196 076 2 .
? K T 42 W. VERVAAT, Success epochs i n Bernoulli t r i a l s (with applications i n
nwnber t h e o r y ) , 1972. I S B N 90 6196 077 0 .
MCT 43 F.H. RUYMGAART, Asymptotic theory of rank t e s t s for independence,
1973. ISBN 90 6196 081 9 .
MCT 44 H. BART, Meromorphic operator valued functions, 1973.
I S B N 90 61 96 082 7 .
. .
MCT 148 L C .M KALLENBERG, Linear p r o g r m i n g and f i n i t e Markovian contro Z
problems, 1983. ISBN 90 6196 236 6.
MCT 149 C . B . HUIJSMANS, M.A. KAASHOEK, W.A.J. LUXEMBURG W . K . VIETSCH,
( e d s ) ,-From A to Z , proceeding of a symposiwn i n honour of
A.C. Zaanen, 1982. ISBN 90 6196 241 2.
MCT 150 M . VELDHORST, An analysis of sparse matrix storage schemes, 1982.
ISBN 90 6196 242 0.
MCT 151 R.J.M.M. D O E S , Higher order asymptotics for sinrple linear Rank
s t a t i s t i c s , 1982. ISBN 90 61 96 243 9.
MCT 152 G . F . VAN DER HOEVEN,Projections of Lawless sequences, 1982.
ISBN 90 6196 244 7.
MCT 153 J . P . C . BLANC, Application of t h e theory of boundary value probZems
i n t h e anaZysis of a queueing mode2 w i t h paired services, 1982.
ISBN 90 6196 247 1.
MCT 154 H.W. LENSTRA, J R . & R. TIJDEMAN ( e d s ) , Computational methods i n
number theory, part I , 1982.
I S B N 90 6196 248 X .
MCT 155 H . W . LENSTRA, JR. & R. TIJDEMAN ( e d s ) , ComputationaZ methods i n
number theory, part 11, 1982.
I S B N 90 6196 249 8 ,
MCT 156 P.M.G. APERS, Query processing and data azzocation i n d i s t r i b u t e d
database systems, 1983.
ISBN 90 6196 251 X .
MCT 157 H .A .W.M. KNEPPERS , The covariant c l a s s i f i c a t i o n of two-dimensional
smooth c o m t a t i v e formal groups over an aZgebraicaZZy closed
field of positive characteristic,, 1983.
I S B N 90 6196 252 8.
MCT 158 J .W. .
DE BAKKER & J VAN LEEUWEN ( e d s ) , Foundations of computer science
IV, Distributed systems, p a r t 1, 1983.
I S B N 90 6196 254 4.
MCT 159 J.W. DE BAKKER & J . VAN LEEUWEN ( e d s ) , Foundations of computer science
IV, Distributed systems, p a r t 2, 1983.
I S B N 90 6196 255 0.
MCT 160 A. REZUS, Abstract automat,. 1983'.
I S B N 90 6196 256 0.
MCT 161 G.F. HELMINCK, Eisenstein s e r i e s on the metapleetic group, An alge-
braic approach; 1983.
I S B N 90 6196 257 9.