On the Use of Variables in Mathematical Discourse Claus Zinn School of Informatics The University of Edinburgh [email protected]

Abstract A prerequisite for parsing and understanding mathematical texts is being able to parse the terms and formulae that occur in these texts. Parsing terms and formulae in the empty context, that is, in isolation, is trivial. Problems arise if the textual context has to be taken into account, and when references from the text to formulae and their parts need to be resolved. This is because symbols have a domain and scope that extend across text and formulae. In this paper, we shall concentrate on the use of variables and variable names in mathematical discourse. In particular, we shall investigate the explicit use of symbols that introduce, name, and refer to discourse entities. We restrict our descriptive analysis to the use of variables in definition and theorem contexts.

1

Introduction

As Schoenfeld and Arcavi say, “in mathematics, one talks about numbers and quantities, and among them those which are changing or varying, and those which are constant, known, unknown, given etc.” (Schoenfeld and Arcavi, 1988). The concept of a variable is thus central to mathematics. Any text understander, a mathematician, a student, a teacher or a machine must cope with its multiple meanings, connotations and uses. Surprisingly, textbooks on mathematics rarely explain the notion of a variable in much detail, in contrast to textbooks on computer science (particularly about programming languages) and, of course, logic. In the Principia Mathematica, for example, one can find the following illustration (Whitehead and Russell, 1967, p. 4f): “To sum up, the three salient facts connected with the use of the variable are: (1) that a variable is ambiguous in its denotation and accordingly undefined; (2) that a variable preserves a recognisable identity in various occurrences throughout the same context, so that many variables can occur together in the same context each with its separate identity; and (3) that either the range of possible determinations of two

variables may be the same, so that a possible determination of one variable is also a possible determination of the other, or the ranges of two variables may be different, so that, if a possible determination of one variable is given to the other, the resulting complete phrase is meaningless instead of becoming a complete unambiguous proposition (true or false) as would be the case if all variables in it had been given any suitable determinations.” Understanding mathematical texts requires the identification of the variables it contains as well as their type, scope and quantification. For informal mathematical discourse, this is a complex task because the different uses of variables are rarely made explicit in the language that refers to them. Variables can be expressed both symbolically and verbally. Moreover, type, scope and quantification information is usually given in an implicit manner. Consequently, to determine the nature of a variable, it is usually necessary to take into account the meaning of the statement in which it occurs or its wider context. This is in stark contrast to the uses of variables in formal mathematics, where the syntactic form of a (well-defined) statement alone defines the variables it contains as well as their type, scope and quantification. Consequently, variable processing is considerably less complex in formal than in informal mathematics, as the following discussion shows. The remainder of this paper is structured as follows. In Sect. 2, we briefly discuss various types of variables. In Sect. 3, we analyse the use of variables and variables names in notations, definitions and theorems. Sect. 4 discusses our findings.

2

Variables Types

In mathematics, the statement x2 −1 = (x+1)(x−1) is true for all values of x. That is, the denotation or value of x can vary without affecting the truth of the assertion that contains it. Although the universal character of x is not made linguistically explicit in x2 − 1 = (x + 1)(x − 1), the meaning of its parts (e.g., the meaning of the equality sign, the multipli-

Figure 1: The use of variables in notational remarks and definitions (Hardy and Wright, 1971, p. 1). cation operator) suggests a universal reading of x. In predicate logic, the symbol x is considered a free variable in the equation x2 − 1 = (x + 1)(x − 1). In order to make the universal character of x explicit, we need to write ∀x : x2 − 1 = (x + 1)(x − 1).

ing some properties and names it a. Apart from logical variables, mathematical discourse uses other kinds of variables as, for example, the occurrences of

In mathematics, the x in x − 4x + 3 = 0 is called an unknown or indeterminate. An unknown or indeterminate does not vary in its denotation, and its set of values is still to be determined. Identifying the values of the unknown x in x2 − 4x + 3 = 0 is easy. The statement is true only if x denotes 1 or 3. Now, the unknown x becomes a name that refers unambiguously to either 1 or 3; x can be considered their placeholder. If we look at the form of the equation x2 − 4x + 3 = 0 only, i.e., ignoring its content, then x has to be considered a free variable, given the absence of any binding quantifiers. To better capture the unknown character of x, we would need to write ∃x : x2 − 4x + 3 = 0. Of course, we could give x a universal reading, that is, ∀x : x2 − 4x + 3 = 0. But this is a false statement given a standard model. Note that, pragmatically, unknowns are different from free variables. For instance, the use of x in x2 − 4x + 3 = 0 is different from the use of a in “let a be an arbitrary positive integer greater than 2”. For the equation, a specific mathematical object is sought that x denotes. With the “let” statement, as it is frequently used in mathematical proofs, one arbitrarily chooses a mathematical entity that is hav-

d cos(X) ; dX Rb n b in a x dx; Pn 2 k=1 k ;

• the differentiation variable X in

2

• the integration ranges a and • the summation variable k in

• the variable x in {x ∈ N | 1 < x < 10} enumerating the elements of the set; • the limit variable n in limn→∞ [1 + (a/n)]n , thought of as continuously increasing its value towards infinity; and • the function variable x in f (x) = ln x + x. testify. Formalising mathematical discourse requires the translation of such variables into logical variables, which often is a complex undertaking (cf. (Kalish and Montague, 1964)). In the remainder of this paper, we shall be concerned with quantified variables only, and investigate how language is used to introduce, name and refer to such entities.

3

Logical Variables in Definitions and Theorems

Fig. 1 depicts a part of the first page of a well-known standard textbook on elementary number theory

(Hardy and Wright, 1971, p. 1). First, the authors introduce a name space, a set of letters that they will subsequently use as names for variables of type integer, subject to further type restrictions, as they say. With this notational device in place, three such names names are put immediately into use. H&W’s first definition is repeated as (1a). (1)

a. dAn integer ae is said to be divisible by danother integer b, not 0e, if there is da third integer ce such that a = bc. b. An integer is said to be divisible by another integer, not 0, if there is a third integer such that the first integer equals the product of the latter two.

One possible transcription of (1a) into a version that is free of variable names is given as (1b). This transcription yields a text that is less concise, but arguably, preserves its preciseness. In any case, if we were to replace all the occurrences of a, b and c, heavily used throughout the remainder of the discourse depicted in Fig. 1, by corresponding definite descriptions, we would obtain a name-free version with a much reduced readability. But is the semantic representation of (1b) identical to the one of (1a), i.e., is our transcription faithful? The original sentence has three NPs, which we enclosed by brackets. Each NP introduces a new referent into the discourse. To facilitate subsequent references these entities are given the names “a”, “b” and “c”, respectively. In fact, the second occurrences of “a”, “b” and “c” refer to these entities that were introduced with these names. Note also that each new entity is (inherently) ambiguous in its denotation. None does refer to a concrete natural number. Rather than having each NP introducing a different instance of an integer, each of the expressions introduce a different named variable into the discourse; where difference is indicated by the use of “another” and “a third”. Clearly, all these variables share the same type, that is, they can all be given integers as possible determinations. Morover, the variables named “a”, “b” and “c” can share the same denotation, that is, the value of a can be equal to the one of b or c, or both. With this discussion, reconsider (1b). Here, the NPs “an integer”, “another integer, not 0” and “a third integer” each introduce an non-specific integer. Here, it seems, however, that the modifiers “another” and “a third” introduce inequalities at the object level of integers rather than at the more abstract meta-linguistic level. That is, if we think of the three introduced discourse entities as u1 , u2 and u3 , then “another” introduces the condition u2 6= u1 , and “a third” the conditions u3 6= u2 and u3 6= u1 (after having identified the appropriate antecedents).

So far, we have established that (1a) introduces three variables into the discourse. In the intended reading, we have the discourse referents named a and b be universally quantified, and the referent c be existentially quantified. Whereas the existential quantifer of c is made verbally explicit by “there is”, a and b are introduced within indefinite noun phrases, and the enclosing syntactical structure strongly indicates a non-specific reading yielding a universal quantification. But what is the scope of these three quantifiers? Consider the subsequent sentence, repeated as (2a): (2)

a. If a and b are positive, c is necessarily positive. b. ∀a∀b∀c : a = bc ∧ a > 0 ∧ b > 0 → c > 0. c. ∀a∀b∃c : a = bc ∧ a > 0 ∧ b > 0 → c > 0.

Its interpretation has to take the previous context into account, since it is this context that introduced the named variables a, b, and c, along with conditions that constrain their possible determinations. In fact, one could construct a small context where each of the three occuring variables is universally quantified, and this context can then be formalised as (2b).1 However, there is a context that keeps c existentially quantified, see the weaker assertion (2c). My preferred reading is that sentence (2a) elaborates sentence (1a) by introducing additional constraints on the entities introduced as a and b: if both take positive integers as values, then possible denotations c will be positive integers as well. These additional constraints on a and b preserve their universal character, and consequently, the existential character of c as well. Note that sentence (2a) is a hypothetical statement and that the aforementioned constraints do not extend beyond it, say to the subsequent sentence, repeated as (3). (3) We express the fact that a is divisible by b, or b is a divisor of a, by b|a. Here, a and b are still universally quantified, and they can denote both positive and negative integers. And notably, the condition b 6= 0 must also be inherited from the context.2 Consider also the last sentence of H & W’s text: (4) It is plain that b|a.c|b → b|a → if c 6= 0, and c|a.c|b → for all integral m and n.

c|a, bc|ac c|ma + nb

1 We omitted type information. Note that the implication’s LHS does not require the condition divisible by(a, b). 2 Interestingly, in the following sentence, the authors choose to repeat this condition and the universal quantification explicitly (“every b but 0”).

The last sentence is formal in large parts and has a heavy re-use of “a”, “b” and “c”. Interestingly, b must still be not equal to 0, but the named variable c is now universally quantified, and c 6= 0 must hold as well, as domain expertise informs us. This information on c is not verbally explicit. Here, it seems that the lifespan of existential quantifiers, i.e., their scope, is more limited than those of universal quantifiers.

4

Discussion

Following (Karttunen, 1976), a text understander “has to be able to build a file that consist of records of all the individuals, that is, events, objects, etc., mentioned in the text, and, for each individual, record whatever is said about it.” Such an intelligent text understander “must be able to recognize when a novel individual is mentioned in the input text and to store it along with its characterization for future reference”. In this paper, we have focused on the use of variables and variable names, and how these linguistic means can be used to introduce and name novel individuals, as well as referring to existing ones. With our analysis, we can clearly extend Karttunen’s findings, that were commented in a foreword to (Karttunen, 1976): “[...] the idea that existential quantifiers have the dual function of asserting existence (thus binding a variable) and of introducing a constant that can figure in subsequent discourse. The idea is a vindication on the informal notational practise of mathematicians, who will write an existentially quantified formula (say, (∃e)(∀x)(xe = ex = x), as one of a set of postulates for group theory) and thenceforth use the variable bound by the existential quantifier as if it were a constant [as when they will write the next postulate as (∀x)(∃x−1 )(xx−1 = x−1 x = e)]” In our analysis, we have shown that universal quantifiers can also possess this dual function. Discourse representation theory (DRT) gives an account for recording all the individuals, or referents, mentioned in a multi-sentence discourse (Kamp, 1981; van Eijck and Kamp, 1997). However, to the author’s knowledge, DRT has never been applied to fragments of English that make explicit use of variables.3 Moreover, the underlying idea of DRT’s conception was that a natural language, say English, does not have variables. It is only DRT’s processing of noun phrases (and some other phrase types) that 3 An exception is the author’s own work, as for example, published in (Zinn, 2003).

introduces variables, or discourse referents, into the semantic representation; in the English input string, however, such variables are only implicit. We could argue, however, that the mathematical language does not have variables neither. Consider the bracketed noun phrases in the following three sentences, which all have the same effect: (5)

a. dA numbere is said to be prime if (i.) it is greater than 1, (ii.) it has no positive divisors except 1 and itself. b. dA number pe is said to be prime if (i.) p > 1, (ii.) p has no positive divisors except 1 and p. c. dpe is said to be prime if (i.) p > 1, (ii.) p has no positive divisors except 1 and p.

They contribute a discourse referent to the semantic representation of these statements. In cases, where the noun phrase contains a “variable”, as in (5b) and (5c), it identifies the introduced discourse referent with a name to facilitate subsequent references to this entity. With this view, the “variable symbols” of the expert language of mathematics are indeed “variable names”, as they were called in early textbooks of logic.4

References G. H. Hardy and E. M. Wright. 1971. An introduction to the theory of numbers. Oxford at the Clarendon Press, 4th. edition. D. Kalish and R. Montague. 1964. Logic: techniques of formal reasoning. Harcourt, Brace & World. H. Kamp. 1981. A Theory of Truth and Semantic Representation. In J. A. G. Groenendijk, T. M. V. Janssen, and M. B. J. Stokhof, editors, Formal Methods in the Study of Language, volume 136, pages 277–322. Amsterdam: Mathematical Centre. Tracts. L. Karttunen. 1976. Discourse referents. Syntax and Semantics, 7:363–385. J. McCawley (ed.), Academic Press. A. H. Schoenfeld and A. Arcavi. 1988. On the meaning of variable. Mathematics Teacher, 81(6):420– 427. J. van Eijck and H. Kamp, 1997. Representing Discourse in Context, chapter 3, pages 179–237. Handbook of Logic & Language, Ed. by J. van Benthem and A. ter Meulen. Elsevier. A. N. Whitehead and B. Russell. 1967. Principia Mathematica (To *56). Cambridge University Press. C. Zinn. 2003. A computational framework for understanding mathematical discourse. Logic Journal of the IGPL, 11(4):457–484.

4 Hans

Kamp, personal communication.

On the Use of Variables in Mathematical Discourse - Semantic Scholar

This is because symbols have a domain and scope ... In predicate logic, the symbol x is considered a free ... x has to be considered a free variable, given the ab-.

128KB Sizes 0 Downloads 314 Views

Recommend Documents

The temporal stability of electrodermal variables ... - Semantic Scholar
cDepartments of Psychology and Psychiatry and Biobehavioral Sciences, University of California at Los ... For computer data scoring ... degree relatives of schizophrenia patients (Ficken & Iacono, 1990) ...... In B.A. Campbell, H. Hayne, & R.

Characterizing Discourse Among Undergraduate ... - Semantic Scholar
network of distributed cognition—where every person con- ... Systems of inquiry-based learning help to encourage pro- ...... Administration (WPA), Vol.19, Nos.

Characterizing Discourse Among Undergraduate ... - Semantic Scholar
teraction has been demonstrated to increase student achievement. [3, 4]. Systems of ... can be a powerful context for constructing scientific mean- ings. In challenging one ..... they cluster for the different conversational topics that develop dur-.

Temporal changes in blood variables during final ... - Semantic Scholar
STATISTICAL ANALYSIS. All statistical tests were performed using SAS software version 9.1 (SAS Institute; www. ... assessed using linear regressions on log10-transformed data. RESULTS ..... Successful recovery of the physiological status of coho salm

Effects of Decision Variables and Intraparietal ... - Semantic Scholar
Oct 3, 2012 - tice trials during which TMS was delivered on 50% of trials, and then 360 .... All topographies depict a birds-eye view of the scalp, with anterior ...

Effects of Decision Variables and Intraparietal ... - Semantic Scholar
Oct 3, 2012 - V.W., and M.F.S.R. analyzed data; I.C.G., A.C.N., and M.F.S.R. wrote the paper. This work was .... EEG recording, preprocessing, and spectral analysis. ...... Oostenveld R, Fries P, Maris E, Schoffelen JM (2011) Fieldtrip: open source s

On the Value of Variables
rewriting rules at top level, and then taking their closure by evaluation contexts. A peculiar aspect of the LSC is that contexts are also used to define the rules at top level. Such a use of contexts is how locality on proof nets (the graphical lang

On the Value of Variables
Call-by-value and call-by-need λ-calculi are defined using the distinguished ... (or imperative extensions of Plotkin's calculus [3]) employ a notion of practical ..... and theoretical values it would evaluate exactly in the same way as for CBN.

on the difficulty of computations - Semantic Scholar
any calculation that a modern electronic digital computer or a human computer can ... programs and data are represented in the machine's circuits in binary form. Thus, we .... ory concerning the efficient transmission of information. An informa-.

On the Hardness of Optimization in Power-Law ... - Semantic Scholar
Given a graph, we will refer to two types of sequences of integers: y-degree sequences and d-degree sequences. The first type lists the number of vertices with a certain degree (i.e., the degree distribution) and the latter lists the degrees of the v

On the Dynamic Nature of Response Criterion in ... - Semantic Scholar
pants study items from different taxonomic categories, with cate- gories studied ... recognition test containing targets and distractors from each class of stimuli.

On the Dynamic Nature of Response Criterion in ... - Semantic Scholar
Colorado State University. Larry L. Jacoby. Washington University in St. Louis ... Matthew G. Rhodes, Department of Psychology, Colorado State Uni- versity ...... Green, D. M., & Swets, J. A. (1966). Signal detection theory and psycho- physics.

On Knowledge - Semantic Scholar
Rhizomatic Education: Community as Curriculum by Dave Cormier. The truths .... Couros's graduate-level course in educational technology offered at the University of Regina provides an .... Techknowledge: Literate practice and digital worlds.

On Knowledge - Semantic Scholar
Rhizomatic Education: Community as Curriculum .... articles (Nichol 2007). ... Couros's graduate-level course in educational technology offered at the University ...

Exploring the use of entity-relationship ... - Semantic Scholar
technique to support grounded theory inquiry. Paper originally published in .... particularity'. Strauss (1987:2) suggests that '[q]ualitative researchers tend to lay.

On the Value of Variables
Apr 2, 2015 - substitution—for both call-by-value and call-by-need—once the usual .... ical values, thus the switch to practical values cannot be justified that way. ... 3. Exact Bounds: for CBV and CBNeed we show that our bounds are exact,.

The Impact of the Lyapunov Number on the ... - Semantic Scholar
results can be used to choose the chaotic generator more suitable for applications on chaotic digital communica- .... faster is its split from other neighboring orbits [10]. This intuitively suggests that the larger the Lyapunov number, the easier sh

20 Mathematical modelling of angiogenesis and ... - Semantic Scholar
The idea that design principles govern the organisation of vascular systems has proved to be a fruitful ... Murray's law is based on a minimisation principle for the dissipated power,. W. The blood is viewed ..... Am. J. Phisol. 280, H1256–H1263.

Plant genetic resources conservation and use in ... - Semantic Scholar
potato, grass pea, lentil, apple, cassava, .... these are apple, pear, peach, apricot, grape, almond, datepalm, maize, potato .... Software for Genebank. Information ...