HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

35
HANDBOOK OF LOGIC AND LANGUAGE edited by Johan van BENTHEM University of Amsterdam & Stanford University Alice ter MEULEN Indiana University, Bloomington, Indiana m 1997 ELSEVIER AMSTERDAM LAUSANNE NEW YORK OXFORD SHANNON TOKYO 1997 THE MIT PRESS CAMBRIDGE, MASSACHUSETTS

Transcript of HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Page 1: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

HANDBOOK OF LOGIC AND LANGUAGE

edited by

Johan van BENTHEM University of Amsterdam & Stanford University

Alice ter MEULEN Indiana University, Bloomington, Indiana

m 1997

ELSEVIER AMSTERDAM • LAUSANNE • NEW YORK OXFORD SHANNON • TOKYO

1997

THE MIT PRESS CAMBRIDGE, MASSACHUSETTS

Page 2: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

ELSEVIER SCIENCE B.V. Sara Burgerhartstraat 25 P.O. Box 211, 1000 AE Amsterdam, The Netherlands

Co-publishers for the United States and Canada:

The MIT Press 55 Hayward Street Cambridge, MA 02142, U.S.A.

Library of Congress Cataloging-in-Publication Data

Handbook of logic and language / edited by Johan van Benthem, Alice ter Meulen.

p. cm. Includes bibliographical references and indexes. ISBN 0-444-81714-X (Elsevier). -- ISBN 0-262-22053-9 (MIT Press) 1. Natural language processing (Computer science) 2. Logic,

Symbolic and mathematical. 3. Semantics. 4. Linguistics. I. Benthem, J. F. A. K. van, 1949- . II. Meulen, Alice G. B. ter. QA76.9.N38H36 1996 401'.5113--dc20 96-27559

CIP

Elsevier Science B.V. The MIT Press ISBN: 0-444-81714-X ISBN: 0-262-22053-9

© 1997 Elsevier Science B.V. All rights reserved

No part of this pubhcation may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the written permission of the Publisher, Elsevier Science B.V, Copyright & Permissions Department, PO. Box 521, 1000 AM Amsterdam, The Netherlands.

Special regulations for readers in the U.S.A.: This publication has been registered with the Copyright Clearance Center Inc. (CCC), 222 Rosewood Drive, Danvers, MA 01923. Information can be obtained from the CCC about conditions under which photocopies of parts of this publication may be made in the U.S.A. All other copyright questions, including photocopying outside the U.S.A., should be referred to the Publisher, unless otherwise specified.

No responsibility is assumed by the Publisher for any injury and/or damage to persons or property as a matter of products liability, negligence or otherwise, or from any use or operation of any methods, products, instructions or ideas contained in the material herein.

This book is printed on acid-free paper.

Printed in The Netherlands

Page 3: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

CHAPTER 3

Representing Discourse in Context̂

Jan van Eijck cm, PO Box 94079, 1090 GB Amsterdam, The Netherlands

E-mail: jve @ cwi. nl

Hans Kamp Universitdt Stuttgart, Institut fur Maschinelle Sprachverarbeitung, Azenbergstrasse 12, D-70174 Stuttgart,

Germany E-mail: hans @ ims. uni-stuttgart. de

Commentator: Kees Vermeulen

Contents 1. Introduction 181 2. The problem of anaphoric linking in context 182 3. Basic ideas of discourse representation 183 4. Discourse representation structures 191 5. The static and dynamic meaning of representation structures 195 6. Sequential composition of representation structures 198 7. Strategies for merging representation structures 204 8. Disjoint merge and memory management 211 9. Constructing DRSs for natural language fragments 215

10. The proper treatment of quantification in DRT 222 11. Representing tense and aspect in texts 225 12. Extensions and variations 233 13. Further reading 235 References 236

*Financial support: LRE project FraCaS, NFI project NF 102/62-356.

HANDBOOK OF LOGIC AND LANGUAGE Edited by J. van Benthem and A. ter Meulen © 1997 Elsevier Science B.V. All rights reserved

179

Page 4: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 1 Representing discourse in context 181

1. Introduction

The key idea behind the theory of the semantics of coherent multi-sentence discourse and text that is presented in this chapter - Discourse Representation Theory, or DRT for short - is that each new sentence 5 of a discourse is interpreted in the context provided by the sentences preceding it. The result of this interpretation is that the context is updated with the contribution made by S\ often an important part of this process is that anaphoric elements of S are hooked up to elements that are present in the context. An implication of this conception of text interpretation is that one and the same structure serves simultaneously as content and as context - as content of the sentences that have been interpreted already and as context for the sentence that is to be interpreted next. This double duty imposes special constraints on logical form, which are absent when, as in most older conceptions of semantics and pragmatics, the contents and contexts are kept separate.

The initial problem that motivated the present theory is the interpretation of nominal and temporal anaphora in discourse. The key idea in the way of thinking about the semantics of discourse in context exemplified in (Heim, 1982) and (Kamp, 1981) is that each new sentence or phrase is interpreted as an addition to, or 'update' of, the context in which it is used and that this update often involves connections between elements from the sentence or phrase with elements from the context.

In the approach of Kamp (1981), which we will follow more closely here than the largely equivalent approach of Heim (1982), this idea is implemented in the form of interpretation rules - each associated with a particular lexical item or syntactic construc-tion. When applied to a given sentence 5, these rules identify the semantic contributions which S makes to the context C in which S is used and add these to C. In this way C is transformed into a new context, which carries the information contributed by S as well as the information that was part of the context already. The result can then serve as context for the interpretation of the sentence following S (in the given discourse or text), which leads to yet another context, and so on until the entire discourse or text has been interpreted.

An important aspect of this kind of updating of contexts is the introduction of elements - so-called reference markers or discourse referents - that can serve as antecedents to anaphoric expressions in subsequent discourse. These reference markers play a key part in the the context structures posited by DRT, the so-called Discourse Representation Structures or DRSs.

With its emphasis on representing and interpreting discourse in context, discourse representation theory has been instrumental in the emergence of a dynamic perspective on natural language semantics, where the center of the stage, occupied so long by the concept of truth with respect to appropriate models, has been replaced by context change conditions, with truth conditions defined in terms of those. Thus, under the influence of discourse representation theory, many traditional Montague grammarians have made the switch from static to dynamic semantics (see the Chapter on Dynamics in this Handbook). This shift has considerably enriched the enterprise of formal semantics, by bringing areas formerly belonging to informal pragmatics within its compass.

In the next section we will first look at some examples of DRSs and at the consider-ations which have led to their specific form. After that we will look more closely at the

Page 5: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

182 J. van Eijck and H. Kamp Chapter 3

relationship between DRSs and the syntactic structure of sentences, discourses or texts from which they can be derived. This will lead us naturally to the much debated ques-tion whether the theory presented here is compositional. The compositionality issue will force us to look carefully at the operations by means of which DRSs can be put together from minimal building blocks. Next we will show, by developing a toy example, what a compositional discourse semantics for a fragment of natural language may look like. This is followed by sample treatments of quantification, tense and aspect. The chapter ends with some pointers to the literature on further extensions of the approach and to connections with related approaches.

2. The problem of anaphoric linking in context

The semantic relationship between personal pronouns and their antecedents was long perceived as being of two kinds: a pronoun either functions as an individual constant coreferential with its antecedent or it acts as a variable bound by its antecedent. However, in the examples (l)-(4) below, neither of these two possibilities seems to provide a correct account of how pronoun and antecedent are related.

(1) A man^ entered. Hei smiled.

(2) Every man who meets a nice woman ̂ smiles at heri.

(3) If a man' enters, hei smiles.

(4) Hob believes a witch' blighted his mare. Nob believes shei killed his sow.

In these examples we have used subscripts and superscripts to coindex anaphoric pro-nouns and their intended antecedents.

The first option - of pronoun and antecedent being coreferential - does not work for the simple reason that the antecedent does not refer (as there is no one particular thing that can be counted as the referent!); so a fortiori antecedent and pronoun cannot corefer (that is, refer to the same thing). The second option, the bound variable analysis, runs into problems because the pronoun seems to be outside the scope of its antecedent. For instance, in (1) the antecedent of the pronoun is an indefinite noun phrase occurring in the preceding sentence. In the approaches which see pronouns as either coreferring terms or bound variables, indefinite NPs are viewed as existential quantifiers whose scope does not extend beyond the sentence in which they occur. In such an approach there is no hope of the pronoun getting properly bound. Examples (2)-(4) present similar difficulties. Example (2) is arguably ambiguous in that a nice woman may be construed either as having wide or as having narrow scope with respect to every man. If a nice woman is construed as having narrow scope, i.e. as having its scope restricted to the relative clause, then the pronoun won't be bound; the phrase can bind the pronoun if it is given wide scope, as in that case its scope is the entire sentence, but this leads to an interpretation which, though perhaps marginally possible, is clearly not the preferred reading of (2). We find much the same problem with (3): in order that the indefinite a man bind the pronoun he, it must be construed as having scope over the conditional as a whole, and

Page 6: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 3 Representing discourse in context 183

not just over the if-clause; but again, this yields a reading that is marginal at best, while the preferred reading is not available.

Sentences with the patterns of (2) and (3) have reached the modern semantic literature through Geach (1980), who traces them back to the Middle Ages and beyond. Geach's discussion revolves around examples with donkeys, so these sentences became known in the literature as donkey sentences. Also due to Geach are sentences like (4), which pose a binding problem across a sentential boundary, complicated by the fact that antecedent and anaphoric element occur in the scopes of different attitude predications, with distinct subjects.

Problems like the ones we encountered with (1)- (4) arise not just with pronouns. There are several other types of expressions with anaphoric uses that present essentially the same difficulties to the traditional ways of viewing the relationship between natural language and logic. First, there are other anaphoric noun phrases besides pronouns, viz. definite descriptions and demonstratives; and these also occur in the contexts where the problems we have just noted arise. Moreover, as was remarked already more than twenty years ago in (Partee, 1973), there are striking similarities in the behaviour of anaphoric pronouns and tenses, and it turns out that the interpretation of tense involves the same sort of anaphoric dependencies which (l)-(4) exhibit. More precisely, the past tense is often to be understood as referring to some particular time in the past (rather than meaning 'sometime in the past') and more often than not this particular time is to be recovered from the context in which the given past tense sentence is used.

(5) John entered the room. He switched on the light.

(6) Whenever John entered the room, he switched on the light.

In (5) the switching time is understood as temporally related to the time at which John entered the room (presumably the time of switching was directly after the time of entering) and a full interpretation of (5) needs to make this explicit. A quantificational sentence such as (6) suggests the same relationship between switching times and entering times; and insofar as the tense of the main clause is to be interpreted as anaphoric to that of the whenever-clause, this anaphoric connection raises the same questions as those of (2) and (3).

3. Basic ideas of discourse representation

The central concepts of DRT are best explained with reference to simple examples such as (1) in the previous section. The logical content of (1) appears to be that there was some man who entered and (then) smiled. That is, the content of (1) is what in standard predicate logic would be expressed by an existential quantification over material coming in part from the first and in another part from the second sentence of (1), roughly as in (7).

(7) 3x(man {x) A entered (x) A smiled (x)).

Page 7: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

184 J. van Eijck and H. Kamp Chapter 3

As observed in the last section, according to DRT the interpretation of (1) results from a process in which an interpretation is obtained for the first sentence, which then serves as context for the interpretation of the second sentence. The interpretation of the second sentence transforms this context into a new context structure, the content of which is essentially that of (7).

The problem with (1) is that the first sentence has an existential interpretation and thus must in some way involve an existential quantifier, and that the contribution which the second sentence makes to the interpretation of (1) must be within the scope of that quantifier. Given the basic tenets of DRT, this means that (i) the first sentence of (1) must get assigned a representation, i.e. a DRS, K\ which captures the existential interpretation of that sentence; and (ii) this DRS Ki must be capable of acting as context for the interpretation of the second sentence in such a way that this second interpretation process transforms it into a DRS K2 representing the truth conditions identified by (7). (i) entails that the reference marker introduced by the indefinite NP a man - let it be jc - must get an existential interpretation within K\\ and (ii) entails that it is nevertheless available subsequently as antecedent for the pronoun he. Finally, after x has been so exploited in the interpretation of the second sentence, it must then receive once more an existential interpretation within the resulting DRS K2.

Heim (1982) uses the metaphor of a filing cabinet for this process. The established representation structure K\ is a set of file cards, and additions to the discourse effect a new structure K2, which is the result of changing the file in the light of the new information. Here is how DRT deals with these desiderata. The DRS Ki is as given in (8).

(8) man x entered x

This can also be rendered in canonical set-theoretical notation, as in (9).

(9) ({^l? {nian X, entered x}).

Precisely how this DRS is derived from the syntactic structure of the first sentence of (1), and how DRS construction from sentences and texts works generally is discussed in Section 9. For now, suffice it to note that the reference marker x gets introduced when the NP a man is interpreted and that this interpretation also yields the two conditions man(x) and entered(x), expressing that any admissible value a for x must be a man and that this man was one who entered.

A DRS like (8) can be viewed as a kind of 'model' of the situation which the rep-resented discourse describes. The modeled situation contains at least one individual a, corresponding to the reference marker x, which satisfies the two conditions contained in (8), i.e. ais 2i man and a is someone who entered.

When a DRS is used as context in the interpretation of some sentence 5, its reference markers may serve as antecedents for anaphoric NPs occurring in S. In the case of our

Page 8: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 3 Representing discourse in context 185

example we have the following. (8), serving as context for the second sentence of (1), makes x available as antecedent for the pronoun he. That is, the interpretation of he links the reference marker it introduces, y say, to the marker x for the intended antecedent, something we express by means of the equational condition y = x. In addition, the interpretation step yields, as in the case of the indefinite a man, a condition expressing the clausal predication which involves he as argument. Through the application of this principle (8) gets expanded to the DRS (10), which represents the content of all of (1).

(10)

X y

man x enter x y ^ X

smiled y

DRS (10) models situations in which there is at least one individual that is a man, that entered and that smiled. It is easy to see that these are precisely the situations which satisfy the predicate formula (7). (This claim will be made formal by the model theory for DRSs, to be presented in Section 4.)

As illustrated by the above examples (8) and (10), a DRS generally consists of two parts, (i) a set of reference markers, the universe of the DRS, and (ii) a set of conditions, its condition set. There are some other general points which our example illustrates:

(i) The reference markers in the universe of a DRS all get an existential interpretation; (ii) All reference markers in the universe of a context DRS are available as anaphoric

antecedents to pronouns and other anaphoric expressions that are interpreted within this context;

(iii) The interpretation of a sentence S in the context provided by a DRS K results in a new DRS K\ which captures not only the content represented by K but also the content of S, as interpreted with respect to K.

It should be clear that DRSs such as (8) and (10) can only represent information that has the logical form of an existentially quantified conjunction of atomic predications. But there is much information that is not of this form. This is so, in particular, for the information expressed by (3). So the DRS for (3) will have to make use of representational devices different from those that we have used up to this point.

The DRT conception of conditional information is this. The antecedent of a conditional describes a situation, and the conditional asserts that this situation must also satisfy the information specified in its consequent. When conditionals are seen from this perspective, it is not surprising that the interpretation of their consequents may use the interpretations of their antecedents as contexts much in the way the interpretation of a sentence S may build upon the interpretation assigned to the sentences preceding it in the discourse to which it belongs; for the consequent extends the situation description provided by the antecedent in essentially the same way in which S extends the situation described by its predecessors.

In the case of (3) this means that the DRS (8), which represents its antecedent (see the discussion of (1) above), can be exploited in the interpretation of the consequent.

Page 9: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

186 J. van Eijck and H. Kamp Chapter 3

just as (8), as interpretation of the first sentence of (1), supported the interpretation of the second sentence of (1). To make this work out, we need a suitable representation for the consequent. This turns out to be (11).

(11)

To obtain a representation of (3), (8) and (11) must be combined in a way which reveals the conditional connection between them. We represent this combination by a double arrow in between the two DRSs. The result K =^ K', where K and K' are the two DRSs to be combined, is a DRS condition (a complex condition as opposed to the simple DRS conditions we have encountered so far). The DRS for a conditional sentence such as (3) will consist just of such a condition and nothing else.

Intuitively the meaning of a condition K =^ K' is that a situation satisfying K also satisfies K'. This is indeed the semantics we adopt for such conditions (for details see Section 4). Applying this to the case of (3) we get the representation (12).

(12) X

man x enter x =^ smile X

Conditions of the form K =^ K' illustrate an important feature of DRT: The logical role played by a reference marker depends on the DRS-universe to which it belongs. Markers belonging to the universe of the main DRS get an existential interpretation - this is, we saw, a consequence of the principle that a DRS is true if it is possible to find individuals corresponding to the reference markers in the DRS universe which satisfy its conditions. This principle, however, applies only to the reference markers in the main DRS universe. The logic of reference markers in subordinate universes, such as for instance x in (12), is determined by the principles governing the complex DRS conditions to which they belong. Thus the semantics of conditions of the form K => K' implies that for all individuals corresponding to reference markers in the universe of K which satisfy the conditions of K it is the case that K' is satisfiable as well. Thus the =^-condition of (12) has the meaning that for every individual corresponding to the marker x - that is, for every man that enters - the right hand side DRS of (12) is satisfied, i.e. that individual smiles. Reference markers in the left hand side universe of an =>- condition thus get a universal, not an existential interpretation.

It is worth noting explicitly the ingredients to this solution of the semantic dilemma posed by conditionals like (3). Crucial to the solution are:

(i) the combination of the principles of DRS construction, which assign to conditional sentences such as (3) representations such as (12), and

Page 10: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 3 Representing discourse in context 187

(ii) the semantics for ^-conditions that has just been described. Like any other DRS, (12) is a pair consisting of a set of reference markers and a set of

conditions. But in (12) the first of these sets is empty. In particular, the reference marker x which does occur in (12) belongs not to the universe of the 'main' DRS of (12) but to that of a subordinate DRS, which itself is a constituent of some DRS condition occurring in (12). One important difference between reference markers in such subordinate positions and those belonging to the universe of the main DRS is that only the latter are accessible as antecedents for anaphoric pronouns in subsequent sentences. In general, in order that a reference marker can serve as antecedent to a subsequent pronoun, it must be accessible from the position that the pronoun occupies. Compare for instance the discourses (13) and (14).

(13) A man came in. He smiled. He was holding a flower in his right hand.

(14) If a man comes in, he smiles. ?He is holding a flower in his right hand.

While in (13) the second he is as unproblematic as the first he, in (14) the second he is hard or impossible to process. This difference is reflected by the fact that in the DRS for the first two sentences of (13) the reference marker for a man belongs to the universe of the main DRS and so is accessible to the pronoun of the last sentence, whereas in (14) this is not so.

The rules for processing sentences in the context of a representation structure impose formal constraints on availability of discourse referents for anaphoric linking. The set of available markers consists of the markers of the current structure, plus the markers of structures that can be reached from the current one by a series of steps in the directions left, (i.e. from the consequent of a pair K ^ K' to the antecedent), and up, (i.e. from a structure to an encompassing structure).

For universally quantified sentences such as (2) DRT offers an analysis that closely resembles its treatment of conditionals. According to this analysis a universally quanti-fying NP imposes a conditional connection between its own descriptive content and the information expressed by the predication in which it participates as argument phrase; and this connection is interpreted in the same way as the =^-conditions that the theory uses to represent conditional sentences. In particular, (2) gets an analysis in which any individ-ual satisfying the descriptive content man who meets a nice woman, i.e. any individual corresponding to the reference marker x in the DRS (15), satisfies the DRS represent-ing the main predication of (2). According to this way of looking at quantification, the descriptive content of the quantifying phrase can be taken as presupposed for purposes of interpreting the predication in which the phrase partakes, just as the antecedent of a conditional can be taken as given when interpreting its consequent. Thus, just as we saw for the consequent of the conditional (3), the construction of the DRS for the main predication of (2) may make use of information encoded in the 'descriptive content' DRS (15). The result is the DRS in (16).

Page 11: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

188 J. van Eijck and H. Kamp Chapter 3

(15)

X y

man x woman y nice y meet (x,y)

u

u = y smiles-at (x,u)

(16)

To get a representation of (2), DRSs (15) and (16) have to be combined into a single DRS condition. It is clear that ^ has the desired effect. The result is (17).

(17)

1 xy 1 man x

woman y nice y

1 meet (x,y)

=>

u 1

u = y smiles-at (x,u)

The constraints on marker accessibility are used to account for the awkwardness of anaphoric links as in (18).

(18) *If every man^ meets a nice woman^, hei smiles at heri.

The difference between pronominal anaphora and the variable binding we find in classical logic is also nicely illustrated by anaphora involving the word other. Consider, e.g., (19).

(19) A man walked in. Another man followed him.

Here another man is anaphoric to a man, but the sense is that the two men should be different, not that they are the same. In other words, while any phrase of the form another CN must, just as an anaphorically used pronoun, find an antecedent in its context of interpretation, the semantic significance of the link is just the opposite here. The DRS for (19) is (20).

(20)

X y z

man x walk-in x y ^x man y z = X

follow (y,z)

Page 12: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 3 Representing discourse in context 189

Note that the representation of or/z^r-anaphora always needs two reference markers, one introduced by the anaphoric NP itself and one for the antecedent; there is no question here of replacing the former marker by the latter (that is: eliminating the y at the top of (20) and the inequality y ^ x and replacing the other occurrences of y by x), as that would force the two men to be the same, rather than different. In this regard 6>f/z r̂-anaphora differs from pronoun anaphora, for which the substitution treatment yields representations that are equivalent to the ones we have been constructing above.

One reason for preferring the treatment of pronoun anaphora we have adopted is that it brings out the similarity as well as the difference between pronouns and phrases with other. In both cases interpretation involves the choice of a suitable antecedent. But the 'links' between the chosen antecedent and the marker for the anaphoric NP are different in nature: they express equality in one case, inequality in the other.

We have said something about the interpretation of three kinds of NPs: indefinite de-scriptions, anaphoric pronouns and quantified NPs, and we have introduced linking as a central theme in DRT. More about quantification in Section 10. We will now briefly turn to definite descriptions. One of the most obvious facts about them, but a fact systemati-cally ignored or played down in the classical theories of denoting phrases (Frege, 1892; Russell, 1905; Strawson, 1950), is that, like pronouns, definite descriptions often act as anaphoric expressions.

Indeed, there seems to be a kind of interchangeability in the use of pronouns and descriptions, with a description taking the place of a pronoun in positions where the latter would create an unwanted ambiguity; thus, in discourses like (21) the use of a definite description in the second sentence serves to disambiguate the intended anaphoric link.

(21) A man and a boy came in. The man/he(?) smiled.

Anaphoric definite descriptions are, like pronouns, linked to existing discourse referents, and thus, like pronouns, they impose certain conditions on the context in which they are used: the context must contain at least one discourse referent that can serve as an antecedent. In this sense both pronouns and anaphoric definite descriptions may be said to carry a certain presupposition: only when the context satisfies this presupposition is it possible to interpret the pronoun, or to interpret the description anaphorically. The descriptive content then serves as information to guide the anaphora resolution process. This will permit anaphora resolution in cases like (21).

Matters are not always this simple, however. Definite descriptions have uses that can hardly be described as anaphoric. For instance, in (22), the description the street is certainly not anaphoric in the strict sense of the word, for there is no antecedent part of the given discourse which has introduced an element that the description can be linked up with.

(22) A man was walking down the street. He was smiling.

It is argued in (Heim, 1982) that the use of a definite description is a means for the speaker to convey that he takes the referent of the description to be in some sense familiar. The hearer who is already acquainted with the street that is intended as the referent of the

Page 13: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

190 J. van Eijck and H. Kamp Chapter 3

Street by the speaker of (22) may be expected to interpret the description as referring to this street; in such cases speaker and hearer are said to share a common ground (see, e.g., Stalnaker, 1974) which includes the street in question, and it is this which enables the hearer to interpret the speaker's utterance as he meant it. Such common grounds can also be represented in the form of DRSs. Thus, the common ground just referred to will contain, at a minimum, a component of the form (23), where we assume that the marker u in (23) is anchored to a suitable object (the street that speaker and hearer have in mind).

(23)

On the assumption of such a 'common ground DRS' (including a suitable anchor) it becomes possible to view the NP the street of (22) as anaphoric. Interpretation of (22) will then be relative to the context DRS (23) and the interpretation of its definite description will yield, by the same principle that governs the interpretation of the man in (21), a DRS like (24).

(24)

u X V y

street u man x V = U

street v was-walking-down (x,v) y = X was-smiling y

This way of dealing with definite descriptions such as the street in (24) may seem to restore uniformity to the analysis of definites. An important difference between definite descriptions and pronouns remains, however. Definite descriptions can be linked much more easily than pronouns to objects that are implicit in the common ground, but have not been explicitly introduced by earlier parts of the same discourse.

To assimilate the use of definite descriptions as unique identifiers (the use that Frege and Russell focus on to the exclusion of all others) to the present anaphoric analysis one must allow for accommodation. When the context available to the hearer does not contain a representation of the referent of a definite description, he may accommodate this context so that it now does contain such a representation, and then proceed as if the representation had been there all along. However, under what conditions precisely accommodation is possible is still a largely unsolved problem.

Interesting cases where the anaphoric account and the unique identification account of definite description have to be combined are the so-called 'bridging descriptions', as in (25) and (26).

(25) (Yesterday) an M.R was killed. The murderer got away.

(26) Usually when an M.R is killed, the murderer gets away.

Page 14: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 4 Representing discourse in context 191

In (25) the murderer is naturally interpreted as referring to the murderer of the M.R mentioned in the preceding sentence. In other words, the context provides a referent X, and the definite description is interpreted as the unique individual who murdered x. This account also works for (26), where x varies over murdered M.P.s, and the definite description ranges over the set of unique murderers for all those x.

We conclude with a brief remark on proper names. As has been emphasized in the philosophical literature (see in particular (Kripke, 1972)) a proper name has no descriptive content, or at any rate its descriptive content plays no essential part in the way it refers. One consequence of this is that a name cannot have more than one referential value (a point which should not be confused with the evident fact that many names - Fred, Fido, John Smith, Fayetteville - are many ways ambiguous). This means that a name cannot have the sort of anaphoric use which we found with the murderer in (25) and (26), and that the antecedent to which the reference marker for a name will have to be linked will always be a marker in the main universe of the context DRS. Logically speaking, therefore, a proper name will always have 'maximally wide scope'. One might think about this process in several ways. One might assume, as in the construction rule for proper names in (Kamp, 1981), that the processing of a proper name always leads to the introduction of a marker in the top DRS, even if the name gets processed in a subordinate DRS somewhere way down. Or one might assume an external element in the semantics of proper names, namely the presence of external anchors: reference markers that are already in place in the top box of a DRS. Any proper name, then, comes equipped with its fixed anaphoric index for linking the name to its anchor. This is the approach we will follow in Section 9.

4. Discourse representation structures

It is now time to turn to formal details. Let A be a set of constants, and U a set of reference markers or discourse referents (variables, in fact). We also assume that a set of predicate letters with their arities is given. In the following definition, c ranges over A, V over the set [/, and P over the set of predicates.

DEFINITION 4.1 (DRSs; preliminary definition).

terms t ::= v \ c.

conditions C ::= T \ Pti - •-tk \v = t \ v y^ t\-^D.

DRSs D ::= {{vi,..., Vn}, {Ci , . . . , Cm})-

Note that this definition of the representation language is provisional; it will be mod-ified in Section 6. We introduce the convention that D\ => D2 is shorthand for -^{{vi,..., Vn}, {C i , . . . , Cm, ---D2}), where Di = ({^1 , . . . , v^}, {C i , . . . , Cm})-

As in the previous sections DRSs will sometimes be presented in the box notation:

DRSs D ::

Page 15: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

192 J. van Eijck and H. Kamp Chapter 3

The abbreviation Di => D2 is rendered in box format by the agreement to write (27) as (28).

(27)

V\"'Vn

~ i

(28)

Conditions can be atoms, links, or complex conditions. Complex conditions are nega-tions or impHcations. As the implications are abbreviations for special negations, we can assume that all complex conditions are negations.

An atom is the symbol T or a predicate name applied to a number of terms (constants or discourse referents), a link is an expression v = t or v ^ t, where t̂ is a marker, and t is either a constant or a marker. The clause for complex conditions uses recursion: a complex condition is a condition of the form -^D, where D is a discourse representation structure.

We will first give a static truth definition for discourse representation structures. Later on, when discussing the problem of compositionality for DRSs, we turn to a context change formulation of those same conditions. Call a first order model M = (M, I) (we assume the domain M is non-empty) an appropriate model for DRS D if I maps the n-place predicate names in the atomic conditions of D to n-place relations on M, the individual constants occurring in the link conditions of D to members of M, and (here is the recursive part of the definition) M is also appropriate for the DRSs in the complex conditions of D.

Let M = (M, I) be an appropriate model for DRS D. An assignment 5 for A^ = (M, / ) is a mapping of the set of reference markers U to elements of M. The term valuation determined by M and 5 is the function VM^S defined by VM,s{t) '-= I{t) if t e A and VM,s{t) '-= s{t) if t e U. In the following definition we use 5[X]s' for: s' agrees with s except possibly on the values of the members of X.

DEFINITION 4.2 (Assignments verifying a DRS). An assignment s verifies D = {{v\,..., Vn}i{C\,.. .,Cm}) in M if there is an assignment s' with s[{v\,... ,Vn}]s' which satisfies every member of {Ci , . . . , Cm} in M.

DEFINITION 4.3 (Assignments satisfying a condition), (i) s always satisfies T in A^.

Page 16: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 4 Representing discourse in context 193

(ii) s satisfies P{tu-.. ,tn) in M iff (VMA^I)^ • • •. ^-M,.(^n)) e I{P). (iii) s satisfies i; = t in A^ iff s{v) — V}v/f,s(̂ ). (iv) 5 satisfies T; 7̂ t in A1 iff s(i?) ^ VM,s{t)' (v) 5 satisfies -^D in A^ iff s does not verify D in A^.

DEFINITION 4.4. Structure D is true in M if there is an assignment which verifies D in M.

Note that it follows from Definition 4.4 that {{x}^{Pxy}) is true in M iff {{x,y}^{Pxy}) is true in M. In other words: free variables are existentially quanti-fied.

We leave it to the reader to check that the definition of verifying assignments yields the following requirement for conditions of the form D] => D2:

- 5 satisfies D\ =^ Dj in M, where D\ = (X, {Ci , . . . , Ck}), iff every assignment s' with 5[X]5' which satisfies C i , . . . , C ^ in A^ verifies D2 in M.

These definitions are easily modified to take anchors (partial assignments of values to fixed referents) into account. This is done by focusing on assignments extending a given anchor.

It is not difficult to see that the expressive power of basic DRT is the same as that of first order logic. In fact, there is an easy recipe for translating representation structures to formulae of predicate logic. Assuming that discourse referents can do duty as pred-icate logical variables, the atomic and link conditions of a representation structure are atomic formulae of predicate logic. The translation function ° which maps representation structures to formulae of predicate logic is defined as follows:

DEFINITION 4.5 (Translation from DRT to FOL).

-ForDRSs: if D = {{v\,.. • ,Vn},{Cu • ^. ,Cm}) then D° :=3vi'--3vn{C^ /\"'/\C^).

- For atomic conditions (i.e. atoms or links): C° := C. - For negations: {--D^ := -iD°.

It follows from this that the translation instruction for implications becomes (assume A = ( { ^ l , - . . , ^ n } , { C i , . . . , C ^ } ) )

- (D, ^ D2r '= yvi ' • • V^n((C° A . . . A C^) -> D°).

The following is now easy to show:

PROPOSITION 4.6. s verifies D in M iff M,s \=^ D°, where \= is TarskVs definition of satisfaction for first order predicate logic.

It is also not difficult to give a meaning preserving translation from first order predicate logic to basic DRT. In the following definition, 0* is the DRS corresponding to the predicate logical formula 0, and (/>* and (/>• are its first and second components.

DEFINITION 4.7 {Translation from FOL to DRT).

Page 17: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

194 J. van Eijck and H. Kamp Chapter 3

- For atomic formulas: C* := (0,C). - For conjunctions: (0 A ip)* := (0, {</>*,'0*}). - For negations: (-•(/>)• := (0, -i(/>*). - For quantifications: (Bt^^)* := ((/)* U {f},^*)'

PROPOSITION 4.8. M,s \= (j) ijf s verifies (/>• in M, where 1= is TarskVs definition of satisfaction for first order predicate logic.

The difference between first order logic and basic DRT has nothing to do with expressive power but resides entirely in the different way in which DRT handles context. The importance of this new perspective on context and context change is illustrated by the following examples with their DRS representations.

(29) Someone did not smile. He was angry.

(30) Not everyone smiled. *He was angry.

A suitable DRS representation (ignoring tense) for the first sentence of (29) is the fol-lowing.

(31)

X

person x

—1

smile X |

Here we see that the pronoun he in the next sentence of (29) can be resolved by linking it to the marker x occurring in the top box. The anaphoric possibilities of (30) are different, witness its DRS representation (32).

(32)

In this case there is no suitable marker available as an antecedent for he in the next sentence of (30).

What we see here is that DRSs with the same truth conditions, such as (31) and (32), may nevertheless be semantically different in an extended sense. The context change potentials of (31) and (32) are different, as the former creates a context for subsequent anaphoric links whereas the latter does not. This is as it should be, of course, as the pronoun in the second sentence of (29) can pick up the reference marker in the first sentence, but the pronoun in the second sentence of (30) cannot. The comparison of (31) and (32) illustrates that meaning in the narrow sense of truth conditions does not exhaust

Page 18: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 5 Representing discourse in context 195

the concept of meaning for DRSs. The extended sense of meaning in which (31) and (32) are different can be informally phrased as follows: (31) creates a new context that can furnish an antecedent for a pronoun is subsequent discourse, (32) does not. This is because (31) changes the context, whereas (32) does not.

5. The static and dynamic meaning of representation structures

DRT has often been criticized for failing to be 'compositional'. It is important to see what this criticism could mean and to distinguish between two possible ways it could be taken. According to the first of these DRT fails to provide a direct compositional semantics for the natural language fragments to which it is applied. Given the form in which DRT was originally presented, this charge is justifiable, or at least it was so in the past. We will address it in Section 9. In its second interpretation the criticism pertains to the formalism of DRT itself. This objection is groundless. As Definitions 4.2 and 4.3 more or less directly imply, the formal language of Definition 4.1 is as compositional as standard predicate logic. We can make the point more explicit by rephrasing Definitions 4.2 and 4.3 as a definition of the semantic values [ JM that is assigned to each of the terms, conditions and DRSs of the DRT language by an appropriate model M. As values for DRSs in M. we use pairs (X, F) consisting of a finite set of reference markers X C U and a set of functions F C M^, and as meanings for conditions we use sets of assignments.

DEFINITION 5.1 (Semantics of DRSs).

[({t ; i , . . . , ^ , } , { C i , . . .,Cm})lM : = ({^1 , . • • , ^ n } , iClJM n • • • n iCmJM)-

DEFINITION 5.2 (Semantics of conditions). (i) lP(u,...,t^)lM := {seM^l {VMAU). ..., VMAtn)) e I(P)}.

(ii) Iv = tJM := {5 G M ^ I s(v) = VM,sm-(iii) Iv ^ tJM := {seM^ \ s(v) ^ VMAt)}' (iv) l-^DJM '= {se M^ \ for no s' 6 M ^ : s[X]s' and s' e F } ,

where (X,F) = {DJM-

To see the connection with the earlier definition of verification, 4.2, note that the following proposition holds:

PROPOSITION 5.3.

- s verifies D in M iff {DJM = i^^F) and there is an s' e M^ with s[X]s^ and s' eF.

- D is true in M iff {DJM = (^, F) and F ^ 0.

If one asks what are the DRS components of a DRS ({v\,..., t^^}, {C\,..., Cm}). then the answer has to be: there aren't any. For those who do not like this answer, it turns out to be possible to view DRSs as built from atomic building blocks which are also DRSs. This was first pointed out by Zeevat(1989). The DRS language is now given in a slighdy different way:

Page 19: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

196 J. van Eijck and H. Kamp Chapter 3

DEFINITION 5.4 {Building DRSs from atomic DRSs). (i) If i; is a reference marker, ({f}, 0) is a DRS.

(ii) If (0, {T}) is a DRS. (iii) If P is an n-ary predicate and t\^... ,tn are terms,

then(0 ,{P(^ , , . . . , tn )}) i saDRS. (iv) If T; is a reference marker and Hs a term, then (0, {v = t}) is a DRS. (v) If V is a reference marker and t is a term, then (0, {i> 7̂ t}) is a DRS.

(vi) If £) is a DRS, then (0, -nD) is a DRS. (vii) If D = (X,C) and D' = (X' ,C') are DRSs,

then {X UX'.CU C) is a DRS. (viii) Nothing else is a DRS.

It is clear that this defines the same DRS language. Let us use - for the construction step that forms negated DRSs (that is, we use —D for (0, -^D)) and 0 for the operation of merging the universes and the constraint sets of two DRSs (that is, \i D = (X, C) and D' = {X', C ) , then D 0 D' := (X U X', C U C)).

Under this DRS definition, DRSs have become structurally ambiguous. DRS ({x}, {Px.Qx}), for example, has several possible construction histories:

-({x},0)®((0,{Pa;})®(0,{Qa;})), - ({a ;} ,0)e( (0 ,{Qx})®(0 ,{Px})) . - ( ({x} ,0)®(0 ,{Px}))e(0 ,{Qa;}) , - and so on.

The DRS semantics to be given next ensures that these structural ambiguities are harm-less: the semantic operation corresponding to 0 is commutative and associative.

The following two semantic operations correspond to the syntactic operations 0 , — on DRSs (note that we overload the notation by calling the semantic operations by the same names as their syntactic counterparts):

( X , F ) 0 ( r , G ) : - ( X u y , F n G ) ,

- ( X , F ) := (0,{^ € M ^ I - 3 / € F with g[X]f]).

The DRS semantics now looks like this:

DEFINITION 5.5.

(i) I (W,0)1AI:=(W,M^). (ii) [ ( 0 , { T } ) I A ^ : = ( 0 , M ^ ) .

(iii) [ ( 0 , { P ^ , , . . . , t n } ) ] A , : = ( 0 , { / G M ^ | ( y M j ( ^ , ) , . . . , y M j ( U > e / ( P ) } ) . (iv) [(0, {v - t})\M := (0, {feM^\ f{v) = VMj{t)}). (V) [(0, {v + mM ••= (0, {feM^\ f{v) ̂ VMjmy

(vi) l-DJM - -MM-(vii) [D 0 D'JM '= [DJM e P 1 M .

Clearly, this provides an elegant and compositional model- theoretic semantics for DRSs. Moreover, it is easily verified that Definition 5.5 is equivalent to Definitions 5.1 and 5.2

Page 20: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 5 Representing discourse in context 197

in the sense that if {DJM — k^-, F), then for any assignment s, s e F iff s verifies D in M.

The semantics considered so far defines the truth conditions of DRSs. But as we noted at the end of Section 4, there is more to the meaning of a DRS than truth conditions alone. For DRSs which define the same truth conditions may still differ in their context change potentials.

To capture differences in context change potential, and not just in truth conditions, we need a different kind of semantics, which makes use of a more finely differentiated (and thus, necessarily, of a more complex) notion of semantic value. There are several ways in which this can be achieved. The one which we follow in the next definition defines the semantic value of a DRS as a relation between assignments - between input assignments, which verify the context to which the DRS is being evaluated, and output assignments, which reflect the way in which the DRS modifies this context. A semantics which characterizes the meaning of an expression in terms of its context change potential is nowadays usually referred to as dynamic semantics, while a semantics like that of the Definitions 4.2 and 4.3 or Definitions 5.1 and 5.2, whose central concern is with condi-tions of truth, is called static. The first explicit formulation of a dynamic semantics in this sense can be found in (Barwise, 1987). An elegant formulation is given in (Groenendijk and Stokhof, 1991).

Although they are quite different from a conceptual point of view, the dynamic and the static semantics for formalisms like those of DRT are nonetheless closely connected. Thus, if we denote the dynamic value of DRS D in model M, - i.e. the relation between assignments of M which D determines - as s [ i ^ ] ^ , with s the input assignment and 5' the output assignment, we have:

- If D = (X,C) then: 4 ^ ] ^ iff s[X]s' and 5' verifies D in M.

We can also characterize this relation directly, by a definition that is compositional in a similar spirit as Definition 5.5 in that it characterizes the dynamic value of a complex DRS in terms of the dynamic values of its constituents. It will be convenient to base this definition on a slightly different syntactic characterization of the DRS formalism than we have used hitherto, one in which the symmetric merge of Definition 5.5 is replaced by an asymmetric merge 0 defined as follows:

- If D = (X, C) and D' = (F, C ) then D Q) D' = (X, C U C) is a DRS.

It is clear that all DRSs can be built from atomic DRSs using - and 0 (but note that 0 disregards the universe of its second argument).

The dynamic semantics is given as follows. We use s l ^ ] ^ for 5, s' is an input/output state pair for D in model M, and s[v\s' for: s and s' differ at most in the value for v.

DEFINITION 5.6.

(i) 4(W.0)l^iff^M^'-(ii) 4(0,{T})l^iff5 = 5'.

(iii) 4(0, {PU,..., tn])\^ iff s = s' and {VMAU). • • •, VMA^U)) e I{P). (iv) 4(0, {v ~ t})}^ iff s = s' and s{v) = VMA^)-

(V) 4(0, {v ^ t})}^ iff s = s' and s{v) ^ VMA^)-

Page 21: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

198 J. van Eijck and H. Kamp Chapter 3

(vi) 5 [ - ^ l ^ iff s = s' and for no s" it is the case that slD}^. (vii) s{D(dD'\^ iff . P I ^ a n d . ^ p l ^ .

The static and the dynamic semantics of DRSs are equivalent, for we have the following proposition:

PROPOSITION 5.7. ID\M = {X,F), s[X]s\ s' e F iffslDj^.

Still, the relation between static and dynamic semantics that we have given here leaves something to be desired. The composition operations for static semantics and dynamic semantics are different. The basic reason for this is that the dynamic semantics has a notion of sequentiality built in, a notion of processing in a given order. Therefore the commutative merge operation 0 does not quite fit the dynamic semantics: 0 is commutative, and sequential merging of DRSs intuitively is not. The operation 0 is not commutative, but it is unsatisfactory because it discards the dynamic effect of the second DRS (which is treated as if it had an empty universe).

To give a true account of the context change potential of DRSs one has to be able to answer the question how the context change potential of a DRS D\ and that of a DRS D2 which follows it determine the context change potential of their composition. This leads directly to the question how DRSs can be built from constituent DRSs by an operation of sequential merging.

6. Sequential composition of representation structures

Taking unions of universes and constraint sets is a natural commutative merge operation on DRSs, but it is not quite the operation on DRS meanings one would expect, given the dynamic perspective on DRS semantics. Intuitively, the process of gluing an existing DRS representing the previous discourse to a DRS representation for the next piece of natural language text is a process of sequential composition, a process which one would expect not to be commutative.

How should DRS meanings be composed sequentially? Before we address this ques-tion, it is convenient to switch to a slightly modified language for DRSs. It turns out that if one introduces a sequencing operator ; the distinction between DRSs and conditions can be dropped. This move yields the following language that we will call the language of proto-DRSs or pDRSs.

pDRSs D ::= V \ J \ PU ' "tn \ V = t \ -^D \ {Dx'.Di).

In this language, a reference marker taken by itself is an atomic pDRS, and pDRSs are composed by means of ;. Thus, introductions of markers and conditions can be freely mixed. Although we drop the distinction between markers and conditions and that between conditions and pDRSs, a pDRS of the form v will still be called a marker, and one of the form T, Pt\ •• - tn, v = t or ^D a condition. Thus, a pDRS is a reference marker or an atomic condition or a negation or a ;-composition of pDRSs.

From now on, we will consider i; 7̂ t as an abbreviation of -^v = t, and D\ ^ D2 as an abbreviation of -^(Di; -1JD2). It will turn out that the process of merging pDRSs

Page 22: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 6 Representing discourse in context 199

with ';' is associative, so we will often drop parentheses where it does no harm, and write DuD2;D2, for both {{DuD2);D3) and ( A ; (^2; JD3)).

It is possible to give a commutative semantics for pDRSs, by using the semantic operation - to interpret -n, and 0 to interpret;.

DEFINITION 6.1 (Commutative Semantics of pDRSs). (i) {V\M:={{V],M^).

(ii) IT\M:='$,M^).

(iii) {Ptu-.-MM ••= (0,{feM^l {VMjih),...,VMjitn)) e I{P)}). (iv) Iv = tJM := (0, {/ e M ^ I f{v) = VMAt)})-(V) I-^DIM := -MM-

(vi) lD;D'lM-=mM®lD'lM.

This interpretation of ; maices merging of pDRSs into a commutative operation. To see the effect of this, look for instance at examples (33) and (34).

(33)

(34)

A man entered.

A boy smiled.

How should pDRSs for these examples be merged? The commutative merge that we just defined gives the result (35).

(35) X man x enter x

J

X boy X smile X

=

X man x enter x boy X smile X

In the pDRT semantics the two discourse referents for a man and a a boy will be fused, for according to the operation ® the fact that a marker is mentioned more than once is irrelevant. This shows that (35) cannot be the right translation of the sequential composition of (33) and (34).

A different approach to merging pDRSs is suggested by the fact that in a dynamic perspective merging in left to right order has a very natural relational meaning:

- slDuDi]^ iff there is an assignment s'^ with 4 D i ] ^ and > 2 ] ^ .

This semantic clause complies with the intuition that the first pDRS is interpreted in an initial context s yielding a new context 5", and this new context serves as the initial context for the interpretation of the second pDRS.

Once we are here a natural way to extend the dynamic approach to the full language suggests itself, as was noted by Groenendijk and Stokhof (1991). Their observation is basically this. If we interpret the DRS conditions in terms of pairs of assignments, the dynamic semantic values of DRS conditions can be given in the same form as the dynamic values of DRSs.

At first sight, DRS conditions do not look like context changers. If (5, s') is a context pair for a condition, then always s = s\ representing the fact that the condition does not change anything. But who cares? If we allow degenerate context changers, we can drop

Page 23: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

200 /. van Eijck and H. Kamp Chapter 3

the distinction between conditions and DRSs altogether. What is more, even the distinc-tion between marker introductions and conditions is not essential, for the introduction of a marker u can also be interpreted in terms of context pairs, and the introduction of a list of markers can be obtained by merging the introductions of the components.

These considerations yield the following relational semantics for the pDRS format (this is in fact the semantic format of the dynamic version of first order predicate logic defined in (Groenendijk and Stokhof, 1991)):

DEFINITION 6.2 (Relational Semantics of pDRSs). (i) .H^iff^H^'.

(ii) iTl-^ iff s = s'. (iii) [{Ptx,... , y ^ iff s - s' and {VMAU). • • •, VMA^n)) e I{P). (iv) slv = t]^ iff s = s' and s{v) = VMA^)-

(v) shD}^ iff s = s' and for no 5" it is the case that 4 ^ ] ^ . (vi) slD\D']^ iff there is an s" with . p l ^ and s - P 1 ^ .

Truth is defined in terms of this, as follows.

DEFINITION 6.3 (Truth in relational semantics for pDRSs). D is true in M, given 5, no-tation M,s\^ D/iff there is an 5' with s p l ^ -

Note that the difference with the previous semantics (Definition 6.1) resides in the inter-pretation of ; and has nothing to do with with the static/dynamic opposition. To see that, observe that the relational semantics Definition 6.2 can also be given a static formulation. For that, the only change one has to make to Definition 6.1 is in the clause for D\\ D2, by interpreting ; as the operation o defined as follows:

(X, F) o {X\ F') := {X U X', {/' G F ' I 3 / € F /[X']/ '})-

Given this change to Definition 6.1, we have the following proposition:

PROPOSITION 6.4. M.s^D ifflDj = (X,F) and 3f e F with s[X]f.

So we see that 6.2 can be given an equivalent static formulation. Conversely, it is not hard to give a relational clause for 0 :

fReSg ^=> /[/?• U S*]g Scgemg (R) Hrng (5),

where R* = {v e U \ (f,g) e R & f(v) j^ g(v)} (and similarly for 5*). According to the relational semantics of Definition 6.2, (36) and (37) have the same

meanings.

(36) x; y; man x; woman y; love (x,y).

(37) x; man x; y; woman y; love (x,y).

This means that we can use the same box representation (38) for both:

Page 24: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 6

(38)

x y man x woman y love (x,y)

Representing discourse in context 201

Unfortunately, other examples show that the box notation does not really fit the relational semantics for the pDRSs given in Definition 6.2. The use of collecting discourse referents in universes, as it is done in the box format, is that this allows one to see the anaphoric possibilities of a representation at a glance: the discourse referents in the top box are the markers available for subsequent anaphoric linking.

However, when the composition operation ; is interpreted as in Definition 6.2 (or, alternatively, as the operation o), the pDRS notation becomes capable of expressing distinctions that cannot be captured in the box notation we have been using. Note, for instance that the pDRSs in (39) and (40) are not equivalent with regard to the semantics of Definition 6.2, although they are equivalent with regard to that given by (the unmodified) Definitions 5.1 and 5.2.

(39) x; man x; dog y; y; woman y; love (x,y).

(40) x; y; man x; dog y; woman y; love (x,y).

To take this difference into account the box representation for (39) would have to be something like (41).

(41)

The vertical dividing line in (41) separates the occurrences of y that receive their in-terpretation from the previously given context from those that are linked to the new introduction.

Thus we see that the relational semantics for pDRSs provides a natural notion of sequential merging, which allows sharing of introduced markers between two DRSs. However, it distinguishes between different introductions of the same marker. This in-troduces a problem of destructive assignment: after a new introduction of a marker v that was already present, its previous value is lost. This feature of Definition 6.2 is the root cause of the mismatch between box representation and sequential presentation that we just noted. It is also the source of the non-equivalence of the commutative and the relational composition semantics for the pDRS format.

For a fruitful discussion of the problem of sequential merge, it is necessary to be clear about the nature of the different kinds of marker occurrences in a pDRS. In the following discussion we compare the role of reference markers with that of variables in classical logic and in programming languages. Classical logic has two kinds of variable occurrences: bound and free. In the dynamic logic that underlies DRT there are three kinds of variable or marker occurrences (see Visser, 1994b).

(i) marker occurrences that get their reference fixed by the larger context, (ii) marker occurrences that get introduced in the current context,

X

man x dogy

y woman y love (x,y)

Page 25: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

202 J. van Eijck and H. Kamp Chapter 3

(iii) markers occurrences that get introduced in a subordinate context. We will call the first kind fixed marker occurrences, the second kind introduced marker occurrences, and the third kind classically bound marker occurrences. The first kind corresponds roughly to the free variable occurrences of classical logic, and the third kind to the bound variable occurrences of classical logic (hence the name). The second kind is altogether different: these are the markers that embody the context change potential of a given pDRS.

As the distinction between these three kinds of marker occurrences is given by 'dy-namic' considerations, it is not surprising that there is a close connection with the various roles that variables can play in imperative programming. Here are the correspondences:

(i) Fixed markers correspond to variables in read memory, (ii) Introduced markers correspond to variables in write memory.

(iii) Bound markers correspond to scratch memory (memory used for intermediate computations that are not part of the output of the program under consideration).

Due to the semantic motivation for this tripartite distinction, the formal definition will depend on the semantics for ; that we adopt. We will give the definition based on the relational semantics.

The set of discourse referents which have a fixed occurrence in a pDRS is given by a function fix : pDRSs -^ VU. The set of discourse referents which are introduced in a pDRS is given by a function intro : pDRSs -^ VU, and the set of discourse referents which have a classically bound occurrence in a pDRS is given by a function cbnd : pDRSs -^ VU. To define these functions, we first define a function var on the atomic conditions of a DRS.

var{Pti ••'tn):= {ti\l^i^n, Ue C/},

\{v} otherwise.

DEFINITION 6.5 (fix, intro, cbnd).

- fix{v) := 0, intro{v) := {v}, cbnd{v) := 0. -fix{T) := 0, intro{T) := 0, cbnd{T) := 0. -fixlPt] -••tn) := var{PU • • • tn), intro{Pt] • • • t^) := 0, cbnd{Pt\ ---tn) := 0. - fix{v = t) := var{v = t), intro{v = t) := 0, cbnd{v = t) := 0. -fix{-^D) \=fix{D), intro{-^D) := 0, cbnd{-^D) := intro{D) U cbnd{D). -fixlUuDi) :=fix{Di)U (fix{D2) - intro{Di)),

intro{D\\D2) := intro{D\) U intro{D2), cbndlD]; D2) := cbnd{Dx) U cbnd{D2).

We will occasionally use activ{D) for the set of markers ̂ jc(D) U intro{D). The set of conditions of a pDRS is given by the function cond : pDRSs —)- V{pDRSs),

which collects the conditions of D together in a set:

DEFINITION 6.6 {cond). (i) cond{v) := 0.

Page 26: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 6 Representing discourse in context 203

(ii) cond{T) := {T}. (iii) cond{Ptx ---tn) := {Pt\ • • • tn}. (iv) cond{v = t) := {v = t}. (v) cond{-^D) := {-D}.

(vi) cond{D\\D2) := cond{Di) U cond{D2).

Note that there are pDRSs D with intro{D) nfix{D) ^ 0. An example is given in (42).

(42) Px\x\Qx.

Also, there are pDRSs D where a marker is introduced more than once. An example is given in (43).

(43) x\Px\x\Qx.

We will call a pDRS proper (or a DRS) if these situations do not occur. Thus, the set of DRSs is defined as follows:

DEFINITION 6.7 {DRSs).

- If i; is a marker, then f is a DRS. - T is a DRS. - If ^ 1 , . . . , tn are terms and P is an n-place predicate letter, then Pti • • t^ is a DRS. - If t' is a marker and t is a term, then i> = t is a DRS. - If D is a DRS, then -^D is a DRS. - If Di, D2 are DRSs, and {fix{Di)Uintro{Di))nintra{D2) = 0, then Di;D2 is a DRS.

- Nothing else is a DRS.

Note that examples (42) and (43) are not DRSs. Indeed, we have:

PROPOSITION 6.8. For every DRS A intro{D) nfix{D) = 0. Proposition 6.8 entails that DRSs of the form D; v are equivalent to v\ D. This means that any DRS D can be written in box format (44) without change of meaning. Indeed, we can view the box format for DRSs as an abstract version of the underlying real syntax.

(44)

Note that if a DRS D has intro{D) / 0 and cond{D) 7̂ 0, then D must be of the form D\; D2, where (fix{D\) U intro{D\)) n intro{D2) = 0. We say that D is a simple merge of D\ and D2.

According to the DRS definition, DRSs are either of one of the forms in (45) or they are simple merges of two DRSs (but note that taking simple merges is a partial operation).

(45) T V =t ^D

Page 27: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

204 J. van Eijck and H. Kamp Chapter 3

For DRSs, the truth conditions according to the commutative semantics coincide with those according to the relational semantics:

PROPOSITION 6.9. For all models M, all DRSs D:

iflDJM = {X,F) then . [ D ] ^ ijf s[X]s' and s' e F.

7. Strategies for merging representation structures

To get a clear perspective on the problem of merging DRSs, note that the issue does not even occur in an approach where a natural language discourse is processed by means of a DRS construction algorithm that proceeds by 'deconstructing' natural language sentences in the context of a given DRS, as in (Kamp, 1981) or (Kamp and Reyle, 1993).

The problem emerges as soon as one modifies this architecture by switching to a set-up where representations for individual sentences are constructed first, and next these have to be merged in left to right order. Suppose we want to construct a DRS for the sequential composition of S\ and 52 on the basis of a DRS D\ for 5i and a DRS D2 for 52. Now it might happen that D\\D2 is not a DRS, because (fix{D\)yj intro{D\)) fi intro^Di) 7̂ 0. Our idea is to resolve this situation by applying a renaming strategy. In the example sentences given so far the problem has been avoided by a prudent choice of indices, but example (46) would pose such a conflict.

(46) A man^ entered. A boy^ smiled.

The initial representation for the sequential composition of D\ and D2 can be given by D\ • D2. The problem of sequential merge now takes the form of finding strategies for reducing DRS-like expressions with occurrences of • to DRSs.

Before we list of a number of options for 'merge reduction', we define a class of reducible DRSs or RDRSs (assume D ranges over DRSs):

RDRSs R\'=D\^R\ {Ri • R2).

Thus, RDRSs are compositions out of DRSs by means of -1 and •. It is useful to extend the definitions of intro, fix and cbnd to RDRSs:

DEFINITION 7.1 (fix, intw, cbnd for RDRSs).

"fixi^R) :=fix{R), intro{^R) := 0, cbnd{-^R) := intro{R)[Jcbnd{R). -fix{Ri • /?2) -=fix{R\) U {fix{R2) - intro{Rx)),

intro{R\ • R2) := intro{R\) U intro{R2), cbnd{Ri • R2) := cbnd{R]) U cbnd{R2).

We use • for sequential merge. The various options for how to merge DRSs all have a semantic and a syntactic side, for they must handle two questions:

(i) What is the semantics of •?

Page 28: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 7 Representing discourse in context 205

(ii) How can RDRSs be reduced to DRSs? In order to talk about these reductions in a sensible way, we must take negative context into account. Here is a definition of negative contexts {D ranges over DRSs, R over RDRSs).

Negative Contexts N ::= - D | -iV | (iV;D) \ ( D ; N ) \ { N ^ R ) \ { R ^ N).

Condition on {N\D): activ{N) H intro{D) = 0. Condition on {D\N): activ{D) n intro{N) = 0, where activ{N) and intro{N) are calculated on the basis of intro{n) := fix{U) := cbnd{n) := 0.

What the definition says is that a negative context is an RDRS with one constituent RDRS immediately within the scope of a negation replaced by D. If AT is a negative context, then N[R] is the result of substituting RDRS R for D in N. The definition of negative contexts allows us to single out an arbitrary negated sub-RDRS i? of a given RDRS by writing that RDRS in the form N[R].

Contexts C ::= D \ N.

A context is either a D or a negative context. If C is a context, then C[R] is the result of substituting RDRS R for D in N. Thus, if we want to say that a reduction rule applies to an RDRS R that may (but need not) occur immediately within the scope of a negation sign within a larger RDRS, we say that the rule applies to C[R]. If we specify a reduction rule

i t )' i t ,

this is meant to be understood as licensing all reductions of the form:

C[R] —>C[i?'].

This format ensures that the rule can both apply at the top level and at a level bounded by a negation sign inside a larger RDRS.

We will now discuss several options for merge reduction: symmetric merge, pru-dent merge, destructive merge, deterministic merge with substitution, and indeterministic merge with substitution.

Symmetric merge. Interpret • as 0 and ; as o. The reduction rules that go with this are:

{R.v)=^{v;R)^

( i ? .T)=^( i? ;T) ,

( i?#Pt i , . . . , tn)=^( i? ;Pt i , . . . , tn) , (i?.^i?')=>(/?;^i?') ,

{{R^v)^R')=^{{v\R)•R'),

{{R^T) • R') => {{R;J) • R'),

Page 29: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

206 J. van Eijck and H. Kamp Chapter 3

{{R • P^i, . . . , tn) • R') =^ {{R\Ptx,. ..,tn)^ R'),

{{R • -f l i ) • Ri) =^ {{R; -^R') • R2),

{R^ {Ri • R2)) => {{R. R^) • R2).

Partial merge. Interpret • as a partial operation (see, e.g., Muskens, 1996) while retaining o as the interpretation of ; (as we will do throughout the remainder of this section). To give the semantics, we have to take context into account. Assume that the semantics of a DRS D is given as a triple (X, Y, F) , where X =fix{D), Y = intro{D) and F is a set of assignments, then the following partial operation gives the semantics of partial merge:

{X,Y,F)e{X\Y',F'):={ (xux',yur,FnF')

if (X u F) n y - 0, t otherwise.

The reduction rules that go with this: same as above, except for the following change in the rules that handle marker introductions:

[R.v)=^ {R;t;) if V ^ fix{R) U intro{R),

[R.v)=^ ERROR live fix{R) U intro{R),

{{R ^v)^ R') => {{R\v) • R') if V ifix{R) U intro[R),

{{R • 7;) • R') =^ ERROR if l̂ G fix{R) U intro{R).

Prudent merge. To give the semantics of prudent merging for • (see Visser, 1994b), one again has to take context fully into account.

(X, F, F) 0 {X', r , F') := {X U {X' -Y),YU {Y' - X), F n F ' ) .

Reduction rules that go with this: same as above, except for the following change in the rules that handle marker introduction:

[R.v)=^ (i?;ti) if ^ ^ fix{R) U intro{R),

{R9v)=^Rifv e fix{R) U intro{R),

{{R • t;) • R') => (Rw) • i?') if V ifix[R) U intro{R),

{{R ^v)^R')=^R^R''\fv e fix{R) ^ intro{R).

Destructive merge. Interpret • as o (relational composition), and allow destructive as-signment. The reduction rule that goes with this is very simple: replace all occurrences

Page 30: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 7 Representing discourse in context 207

of • in one go by ;, and inteq)ret ; as o. But of course, this reduction does not yield DRSs but only proto-DRSs.

For the next two perspectives on merging DRSs, we need to develop a bit of technique for handling substitution, or, more precisely, marker renamings.

DEFINITION 7.2. A marker renaming is a function 9 \ U -^ U, such that its domain Dom(^) := {v e U \ V y^ ^('^)} is finite. If ^ is a renaming with Dom{6) = {v\,... ,Vn}y thenRng(0) := {^(t;i),... ,^(t'n)}. A renaming 0 avoids a set X C U :<^Rng(0)nX = 0. If ^ is a renaming, then 9 — v := the renaming a that is like 0 but for the fact that a{v) = V. If X CU then 6X := {0{x) \ x e X}. A marker renaming 9 is injective on X : ^ \X\ = \9X\.

We will refer to a renaming 9 with domain {v\,... ,Vn} as [9{v\)/v\,... ,9{vn)/vn]' Thus, [x/y] is the renaming 9 with 9{u) = x if u = y and 9{u) = u otherwise. This renaming is of course injective on {x}, but not on {x, y}. [x/y, x/z] is a renaming which is not injective on {y,z}. [x/y, x/z] — z — [x/y\.

A renaming of a subset of intro{D) intuitively has as its semantic effect that the write memory of D gets shifted. Renaming in a dynamic system like DRT works quite differently from variable substitution in classical logic, because of the three kinds of marker occurrences that have to be taken into account: fix, intra and cbnd. In particular, a renaming of intro{D) has to satisfy the following requirements:

(i) it should be injective on intro[D), (ii) it should avoid ^jc(D),

(iii) it should leave cbnd[D) untouched. The first two of these requirements can be imposed globally. Requirement (iii) should be part of the definition of the effects of renamings on (R)DRSs: we will handle it by distinguishing between outer and inner renaming. For an outer renaming of RDRS R with 9 we employ 9R, for an inner renaming 9R. Inner renaming is renaming within a context where marker introductions act as classical binders, i.e. within the scope of an occurrence of -i. For example, if 9 — [v/x,w/y\, then:

9{x\ -^{y\ Rxy)) = v\ -^{y\ Rvy).

A renaming 9 induces functions from terms to terms as follows:

^^''~\t if teC.

A renaming 9~v induces functions from terms to terms as follows:

\9{w) if t = w y^ V with w e U,

9-v{t):=:lv ift = v,

U if teC.

Page 31: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

208 J. van Eijck and H. Kamp

The induced renaming functions from (R)DRSs to (R)DRSs are given by:

Chapter 3

ev OT

ej

e{Pu---tn)

e{PU---tn)

e{v = t)

e{v = t)

oi-R) e{^R)

0iv;R)

e{v;R)

e{C; R)

9{C; R) e{{Ri;R2y,R3)

^((i?,;i?2);/?3)

= e{v),

= T,

= T,

= P9t\---6tn,

= P6t\ • • -Otn,

= 9v = et,

= ev = et, = -'eR, = -^R, = ev, eR, ^v;e-vR,

= ec;eR, C€{pu-= ec;eR, ce{Pti-= e{Ri;{R2;R3)),

= e{R^;{R2;R?.)),

••tn,V = t,^R'},

••tn,V = t,-^R'},

plus rules for • exactly like those for ;. For the semantics, let us again assume that a meaning for DRS D is a triple {X, Y, F) ,

where X =fix{D), Y = intro{D), and F is the set of assignments satisfying cond{D).

DEFINITION 7.3. 0 is a proper renaming for DRS D :<^ (i) Dom((9) C intro{D),

(ii) 6 is injective on intro{D), (iii) Rng(0) nfix{D) = 0.

DEHNITION 7.4. If F C M^, OF := {g e M^ \ g oO e F}.

For example, if F = {f e M^ \ f{x) e / (P )} , and 6 = [y/x], then:

[y/x]F = {geM''\go [y/x]{x) e I{P)} = {g e M^" \ g{y) G I{P)}.

PROPOSITION 7.5. If0 is a proper renaming for D and |D|-^ = (X, F, F) then |(9D|-^ = {X.OY.eF). The upshot if this proposition is that a proper renaming only changes the write memory of a DRS.

Deterministic merge with substitution. The sequence semantics for dynamic predicate logic defined in (Vermeulen, 1993) can be used as a semantics for a language of unreduced DRSs:

R ::= PUSH t; | T | Pti • • • n̂ I ^ = ^ | - ^ I (i?i • Ri),

Page 32: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 7 Representing discourse in context 209

where v ranges over a set U of markers without indices. The meaning of a variable introduction v in sequence semantics is: push a new value for v on a stack of v values. Clearly, this prevents the destructive use of memory that we saw in connection with Definition 6.2. Suggestive notation for this: PUSH v.

We can reduce expressions of this language to a language of proper DRSs where the markers are taken from the set of indexed markers U^ := {ui \ u e U, i > 0}. The corresponding merge reduction rules for this use fully determined renamings, as follows.

First we do a global renaming, by replacing every occurrence of v eU, except those immediately preceded by a PUSH, by v\ e U\ Next, assume that we are in a situation D • PUSH V • R, where D is a DRS (no occurrences of PUSH in D, no occurrences of • in D). Then there are two cases to consider.

It may be that Vj does not occur in fix{D) U intro{D), for any index j . In that case, rewrite as follows:

{D^?USUv)^R=>{D\Vl);R.

It may also be that Vj does occur in fix{D) U intro{D), for some index j . In that case, let i be sup({j e IN \vj efix{D) U intro{D)}), and rewrite as follows:

(D • PUSH v)mR=^ {D\Vi+i); [vi+xlvi]R.

The idea behind these instructions is that if Vj does not occur in D, then v\ can safely be introduced, and it will actively bind the occurrences of v\ which occur in open position on the right. If Vj does occur in D, then the present push should affect the t'-variables with the highest index in open position on the right. This is precisely what the renaming [vi^\/vi] effects.

Indeterministic merge with substitution. Indeterministic merge does involve a family (de of merge operations, where 0 is a renaming that is constrained by the two DRSs D\ and D2 to be merged, in the sense that 6 is proper for D2 and 0 avoids the set intro{D\) Ufix{D\). If the interpretations of D\ and D2 are given by {X\,Yi,F\) and (X2, Y2, F2), respectively, then the interpretation of D\ •61 D2 is given by:

If 0 is constrained in the way stated above this is a proper DRS denotation. The rules for indeterministic merge reduction use renamings, as follows (we use

activ{R) for intro{R) Ufix{R)):

UR\V) if !» ̂ activ{R), [R9v)=^ ^ (ij; ijo) live activ{R),

I w ^ activ{R),

{R»Ptu...,tn)=^{R;Ptu...,tn),

Page 33: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

210 J. van Eijck and H. Kamp Chapter 3

{{R%v)mR'):

{{R%J)^R'):

{{R.Ptu...,tn)^R')

{{R.^R,).R2)-

{R.{R,-R2))-

{R.{Ri.R2))-

{R'.-^R'),

\{R]v)\R') if v^activ{R),

{{R;w);[w/v]R'

if i; G activ{R), w ^ activ{R) U activ{R'),

{{R^J).R'l

{{R;Ptu...,tn)^R'),

((i?;-i2i)#i?2),

{{R.Ri).R2),

{{R.Ri).R2).

Note that under the indeterministic merge regime, • does not get an independent semantics, so one cannot talk about 'the' meaning of D • D' anymore, only about its meaning modulo renaming of intro{D'). One can still prove that different reductions of R to normal form (i.e. to proper DRSs) are always write variants of one another, i.e. R-^D and R-^D' together entail that there is some proper renaming 9 of D with 0D = D\

A set of RDRSs together with a set of merge reduction rules like the example sets given above is a so-called abstract reduction system (Klop, 1992), and the theory of abstract reduction systems can fruitfully be applied to their study. What all merge reduction rule sets above, with the exception of destructive merge, have in common is that they start out from reducible DRSs and produce proper DRSs as normal forms. They all take into account that the merge operation • should not destroy anaphoric links. Merge with substitution has as an additional feature that it preserves anaphoric sockets, and that is what we will use in the sequel. For practical reasons we opt for the indeterministic version, to avoid possible confusion due to the appearance of a new kind of indices (indicating stack depth).

The picture we end up with in indeterministic merge reduction is given in Figure 1. Each RDRS or DRS has a set of anaphoric plugs and a set of anaphoric sockets. The plugs anchor the representation structure to previous discourse or to contextually given antecedents. In both reduced and unreduced RDRSs, these plugs have fixed names, given by^( i ? ) . The sockets are the anchoring ground for the next bit of discourse. In unreduced RDRSs, the sockets do not have fixed names yet, and they may not yet represent the

plugs sockets plugs named sockets

-̂ P -* [m

R H ^ H ^

D

M

^ ^ ^

Fig. 1. Unreduced and reduced DRS, with plugs and sockets.

Page 34: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

Section 8 Representing discourse in context 111

full set of anaphoric possibilities of the represented discourse. During the process of merge reduction, the internal wiring of the representation structure gets re-shuffled and some members of intro{R) may end up with a new name, to make room for extra sockets. If D is a fully reduced DRS, however, the sockets have fixed names, given by intro{D) Ufix{D), and this set of markers represents the full set of anaphoric possibilities for subsequent discourse.

Here is a concrete example of how disjoint merging according to the indeterministic merge regime works:

(47)

In DRT with indeterministic merge, introduced markers are always new, so no information is ever destroyed, and merging of representations preserves all anaphoric possibilities of the parts that are merged.

We now know what the basic building blocks of DRT are, namely structures as given in (45), and what is the glue that puts them together, namely the disjoint merge opera-tion involving marker renaming. This concludes the discussion of compositionality for DRSs. Quite a few philosophical and technical questions concerning the natural notion of information ordering in DRT remain. See (Visser, 1994a) for illumination on these matters.

X

man x enter x

• X

woman x smile X

-^ X

man x enter x

; [y/x] X

woman x smile X

=

x y man x enter x woman y smile y

8. Disjoint merge and memory management

Reference markers are similar to variables, but differ from them in that they are not bound by logical operators in the usual sense. In fact, reference markers behave more like variables in programming languages than like variables in ordinary first order logic (Section 6 above).

Anaphoric links are created by linking new reference markers to available ones. How does one discard references? By de-allocating storage space on popping out of a 'sub-routine'. The representation, in box format, for (3) is given in (48).

(48) X

man x enter x

=> smile X

The semantic treatment of this uses a subroutine for checking if every way of making a reference to a man who enters (where the reference is established via marker x) makes the property given by the consequent of the clause succeed. Next the storage space for x

Page 35: HANDBOOK OF LOGIC AND LANGUAGE - uni-stuttgart.de

212 J. van Eijck and H. Kamp Chapter 3

is de-allocated, which explains why an anaphoric link to a man in subsequent discourse is ruled out, or at least infelicitous (see example (49)).

(49) If a man^ enters, hei smiles. *Hei is happy.

Thus we see that anaphoric linking is not subsumed under variable binding, or at least not under variable binding perceived in a standard fashion, as in first order logic. The process is much more akin to variable binding in programming, where storage space is created and discarded dynamically, and where links to a variable remain possible until the space occupied by the variable gets de- allocated to be used for something else, so that further anaphoric links remain possible as long as the variable space for the antecedent remains accessible.

Reference markers, as we have seen, are allocated pieces of storage space for (repre-sentations of) things in the world. We can picture the building of a representation structure as an interactive process, where we give instructions to make memory reservations and to provide names for the allocated chunks of memory, as in (50).

(50) new(Var).

The system responds by allocating a chunk of memory of the correct size and by returning a name as value of Var, say u385, indicating that a piece of storage space is allocated and henceforth known under the name u385, where 385 presumably is the offset from the beginning of the piece of memory where the representation under construction is stored. Once storage space has been allocated to a discourse referent, it is useful to know the scope of the allocation. In DRT the scope of the introduction of a discourse referent is closed off by the closest -i operator (or the closest => operator, in case => is taken as a primitive) that has that introduction in its scope.

Of course, this interactive picture is an inside picture of what happens during the representation building process. We must also be able to look at the situation from the outside, and answer the question what happens if we assume that we have built and stored two representation structures D\, D2 in the memory of a computer, one after the other. Next, we want to store them in memory simultaneously, i.e. to merge them, where the merging has to preserve sequential order. This will in general involve changing the names of those variables declared in the second representation that would otherwise overwrite the area of memory already used by the first representation.

What if some very suspicious semanticist still has qualms about disjoint merge because of the indeterminism of the operation? We then would have to explain to him (or her) that the indeterminism is entirely natural, as it reflects the fact that the renaming operation is nothing but the familiar operation of copying variable values to a different (unused) part of memory before combining two memory states (Figure 2). Disjoint merge is indeterministic simply because any way of copying part of memory to a safe new location will do. This suggests that indeterminism is a strength rather than a weakness of the disjoint merge.

The story of a reasonable definition of merge is a story of memory management. Assuming we have an unlimited supply of memory available, we may picture the data part of memory where the active markers of representation structure D reside as an