+ All Categories
Home > Documents > Generation and composition of functions · 2011-07-15 · JOURNAL OF RESEARCH of the National...

Generation and composition of functions · 2011-07-15 · JOURNAL OF RESEARCH of the National...

Date post: 12-Aug-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
3
JOURNAL OF RES EARCH of the Nati onal Bureau of Standards-B. Mathematics and Mathematical Physics Vol. 68B, No . 3, Ju ly-September 1964 Generation and Composition of Functions* A. 1. Goldman (May 18, 1964) S uppo se it is d es ired to gene rat e some particular function , fr om a specified set of initial function s, using operat i ons from a specified repertoire. Hypothe ses are given which ens ur e that the proces s ca n be so arranged, that the int er mediat e function s arising at cer tain stages have no more argume nt s than does th e final function so ught. Op e rations for producing new functions from old are s tudied in many bran ches of math emati cs. (In anal- ysis, for exa mple, many of the sta nda rd elemen tary theor ems conce rn th e pr ese rvation of s moothn ess propertie s by such operations.) This topic is es p e- cially sig nifi ca nt in both the theore ti cal and the co n- crete asp ec ts of e ffec tive co mputati on, e.g _, in recur sive-func ti on theory on th e one hand and in the programing of di gital co mput ers on the other. Suppose it is des ir ed to gene rat e some partic ular function, from a specifi ed set of initial function s, using operations from a spec ifi ed re pertoire. It is natural to as k wheth er the process could be so arra nged, that the intermediate functions arising at cer tain key s ta ges are no mor e comp lex ( in so me appro priate se nse) than th e final function sought. The present aper deals with some simple topics relating to this ques- tion, the "comp lexity" of a function being measured merely by the number of its argume nt s. All functions to be cons id ered t ake values in a com- mon set 5, and have finitely many variables which range ind ependen tl y over 5_ (This la st restriction, though awkward in some cases, ca n somet imes be c irc umv e nt ed by adjoining to 5 a n ew elemen t COl'- responding to "u nd efined.") A function of k variables will be called a k-function. If N is a subset of the natural numbers , then a function which is a k-function for so me kEN will be called an N-function. An operation (J' is defined to be a mappin g whose domain is some subset of the collection of all finite sequences (f1, ... , f,.) of functions, and wh ose range is a su b set of the collection of functions. We call (J' an N-operation if (J'(fi, . . ., f,.) is defined only if- but not necessarily always if-eac h fi is an N-function. For examp le, if the set 5 (in whic h our inde pendent and dependent variables assume th ei r values) happens to be well- ordered, then the operation of inversion given by [CTo(f)] (x) = min {y:fiy)=x} ·Helpful commenLs by R. Kirsc h and K. Kloss are gratefully acknowledged. 99 is a {I}-operation; (J'o(i)is d e fin ed if and only iff is a I-function which ass um es all me mb ers of 5 as valu es. In any appli ca ti on of an operation (J' to a se qu ence (fl, . .. , f,,) in its domain , we call the j; th e input s and (J'(fl , ... , f,,) the output. If cP is a family of operations, we say that a function f ca n be obtained by cP from a class C of functions if either fEC or th ere exists a finite sequence I of appli ca tion s of operations in cP, the last of which has f as outp ut, such that the input s to an y of th ese app li cations are "available" by virtue eith er of lying in C or of bein g the o utput of some pr evious application in I. Our final preliminary definition pe rtains to a family cP A = {(J' a: aEA} of operations and a transformation 7 which a ssoc iat es to eac h (J'aEcP A an operation 7( (J' a). The pair (cPA ,7) will be called N-special, if for eac h se t C of fun c ti ons clo se d und er all th e ope ration s of 7( A), it is true that all N-func ti ons obtainabl e by cP A from C already lie in C. This definition is difficult to motivate her e; th e r ead er may wish to look ahead at the definitions pr ece ding Theorem 2, and then at the final paragraph of th e paper. THEOREM 1. Let the collection cP of operations con- sist on ly of N-operations and of the operations (J' a from some N- special pair (cP A ,7) . Then all N-functions obtainable by cP /rom a set C of functions are also obtainable if each (J' aEcP A is rep laced in <P by th e co r- res po nding 7( (J' a). Pr oof Let C1 consist of a ll functions o btainabl e by (<t> - <t> A) U 7(<P1I) from C, C2 consist of all functions o btainabl e by <P 11 from C I (sic), and C3 cons ist of all func ti ons obtainable by <t> from C. If Ci(N) de not es the class of N-functions in Ci (i = 1,2,3), th en the st ate me nt to be proved is C3(N) CC1(N). This will be done by showing that (2) To prove (1), letfEC2 be an N-func ti on. By co nstru c- ti on C1 is clo se d und er all 7((J'a), and so the definition of "N-special pair" ca n be appl ied to C1 to assert th at
Transcript
Page 1: Generation and composition of functions · 2011-07-15 · JOURNAL OF RESEARCH of the National Bureau of Standards-B. Mathematics and Mathematical Physics Vol. 68B, No. 3, July-September

JOURNAL OF RESEARCH of the National Bureau of Standards-B. Mathematics and Mathematical Physics

Vol. 68B, No. 3, July-September 1964

Generation and Composition of Functions*

A. 1. Goldman

(May 18, 1964)

Suppose it is des ired to ge nerate so me particular function , from a specified set of initial function s, using operations from a specifie d repe rtoire . Hypotheses are given which ensure that the process can be so arranged, that the intermediate function s a ri sing at certain stages have no more argume nts than does the final func tion sought.

Operations for producing new functions from old are studied in many bran c hes of mathematics. (In anal­ysis, for example, many of the s tandard elemen tary theorems concern the preservation of smoothness properties by s uc h operations.) T hi s topic is espe­cially significant in both the theoretical and the con­crete aspec ts of effec tive co mputati on , e.g_, in recursive-functi on theory on the one hand and in the programing of digital co mputers on the other.

Suppose it is desired to generate some particular fun ction , from a specifi ed set of initial functions, using operations from a specifi ed repertoire. It is natural to ask whether the process could be so arranged, that the intermediate functions arising at certain key stages are no more complex (in so me appro pria te sense) than the final function sought. The present aper deals with some s imple topics relati ng to this ques­tion, the "complexity" of a function being measured merely by th e number of its arguments .

All functions to be considered take values in a com­mon set 5, and have finitely many variables which range independen tly over 5_ (This last restriction, though awkward in some cases, can sometimes be circumvented by adjoining to 5 a new element CO l'­

responding to "undefined.") A function of k variables will be called a k-function. If N is a subset of the natural numbers, then a function which is a k-function for some kEN will be called an N-function.

An operation (J' is defined to be a mapping whose domain is some subset of the collection of all finite sequences (f1, ... , f,.) of functions, and whose range is a subset of the collection of functions. We call (J' an N-operation if (J'(fi, . . ., f,.) is defined only if­but not necessarily always if-each fi is an N-func tion. For example, if the set 5 (in which our independent and dependent variables assume their values) happens to be well-ordered, then the operation of inversion given by

[CTo(f)] (x) = min {y:fiy)=x}

·Helpful commenLs by R. Kirsch and K. Kloss are gratefull y acknowledged.

99

is a {I}-operation; (J'o(i)is defined if a nd only iff is a I-func tion whic h ass umes all members of 5 as values.

In any application of an ope ration (J' to a sequence (fl, . .. , f,,) in its domain , we call the j; the inputs a nd (J'(fl , ... , f,,) the output. If cP is a family of operations, we say that a function f can be obtained by cP from a class C of functions if ei ther fEC or there exis ts a finite sequence I of application s of operations in cP, the last of which has f as output, suc h that the inputs to any of these applications are "available" by virtue either of lying in C or of being the output of some previous application in I.

Our final preliminary de finition pertains to a family cP A = {(J' a: aEA} of operations and a transformation 7

whic h associates to each (J'aEcP A an operation 7((J'a). The pair (cPA ,7) will be called N-special, if for each se t C of func tions closed under all th e operations of 7( A), it is tru e tha t all N-functions obtainable by cP A from C already lie in C. This definition is diffic ult to motivate here; the reader may wish to look a head at the de finition s preceding Theorem 2, and the n at the final paragraph of the paper.

THEOREM 1. Let the collection cP of operations con­sist only of N-operations and of the operations (J' a from some N-special pair (cP A ,7) . Then all N-functions obtainable by cP /rom a set C of functions are also obtainable if each (J' aEcP A is replaced in <P by the cor­responding 7((J' a).

Proof Let C1 consist of all functions obtainable by (<t> - <t> A) U 7(<P1I) from C, C2 consist of all functions obtainable by <P 11 from C I (sic), and C3 cons ist of all func tions obtainable by <t> from C. If Ci(N) de notes the class of N-functions in C i (i = 1,2,3), then th e statement to be proved is C3(N) CC1(N). This will be done by showing that

(2)

To prove (1), le tfEC2 be an N-func tion . By construc­tion C1 is closed under all 7((J'a), and so the definition of "N-special pair" can be applied to C1 to assert that

Page 2: Generation and composition of functions · 2011-07-15 · JOURNAL OF RESEARCH of the National Bureau of Standards-B. Mathematics and Mathematical Physics Vol. 68B, No. 3, July-September

all N-functions obtainable from Cl by et>A, already lie in C I . Hence I ECI as desired.

To prove (2), observe that C2 includes CI and thus the initial class C, and also is closed under all <T aE<P A; we need only show in addition that it is closed under each <TEet> - et> A. But if <T (which by hypothesis is an N-operation) is to be applicable to (fl, . . ., In) where each j;EC2, then each j; must be an N-function and hence j;ECI by (1), implying

<T(fl, ... , j,,)EClCCZ

as desired. This completes the proof of the theore m. To see how theorem 1 is relevant to the question

raised in the second paragraph of the paper, suppose T can be so chosen relative to et> A that the output of any application of any T(<Ta) is an N-function. If f is any N-function obtainable by <l> from C, then by the theorem I is also obtainable by (et> - et> A) U T(et> A) from C, and in the latter process the intermediate functions resulting from the use of T(et>A) are all N-functions; if for example N = {l, 2, .. . , m} where I is an m­function, then these intermediate products are at most m-functions. If in addition the operations in et> - et>A produce only N-functions, then all the inter· mediate products are at most m-functions.

Justification of the previous material requires pres­entation of at least one significant instance to which theorem 1 and the comments of the last paragraph apply. For this purpose we consider the operation <Te of composition, given by

[<T e(f!, . . ., j,,)](Xl, . . ., Xk)

=/1 (f2 (Xl , ... , Xk), .. . ,j,,(XI, ... , Xk))

where n> 1; here 11 will be called the outer input and the other j; will be called the inner inputs. For any subset N of the natural numbers, we let TN(<Te) be the restriction of <Te to those sequences (fl, ... , j,,) for which all the inner inputs are N-functions.

[For the following proof, we shall need the observa­tion that the output of an application of composition is a k-function if and only if every inner input is a k-function. The "only if' may seem unduly restric­tive; e .g., if

Il(xl, X2) =Xl + x2,/2(xl, X2) = XlX2,/3(Xl) =Xl,

one would expect to be able to obtain the function /"4(xt, X2) = XIX2 + XI by composi tion. This is not in general possible with our definition of composi tion, essen tially because there is no mechanism provided for "inflating" /3 (by adjunction of a du mmy variable) to Ij(xl, X2) = Xl. Such inflations would be possible if, as is usually assumed in recursive-function theory, the stock of "available" functions includes the gen­eralized identity functions Uf defined by

(i=1,2, ... ,k).

Then we would use two applications of composition,

to obtain 14 from 11, /2, and A The functions U~ are also necessary if, for example, we wish to obtain !s(Xl, X2, X3) = X1X2 + XZX3 from}; and/2 :

In summary, the composition operation defined above appears "weaker" than usual simply because we do not supplement it by explicitly postulating the avail­ability of the generalized identity functions.]

THEOREM 2. The pair ({<Te}, TN) is N-special. PROOF. Let C be a set of functions closed under

TN(<Te) , and let I be an N-function obtainable by {<Te} from C. Weare to prove that I is obtainable by {TM<Te)} from C. It will be convenient to refer to an application of <Te as an N-composition or an N­composition, according as all the inner inputs (and hence the output) are N-functions or not.

If IEC, or if there is a sequence of N-compositions leading from C to f, then by the hypothesis on C we have IEC as desired. (A formal proof would involve induction on the length of the shortest such sequence .) If however every sequence of applications of composi­tion leading from C to I contains at least one N­composition, then consiQ.er such a sequence L for which the number of N-compositions is minimum, and let

G(Yl, ... , y",) = H(hl(YI, .. . , Ym), .

hp(Yl, . . "' y",))

be the last iV-composition in L. Thus m is not in N.

(3)

By the minimality of L, G must be used as an outer or inner input in at least one composition of L appearing after (3). It cannot be used as an inner input, since the outputs and hence the inner inputs of all composi­tions following (3) in L are N-functions. Let its first use be in

., Xk)). (4)

Then kEN, and the availability of the gj for use just before (4) would not be affected if (3) were deleted from L. In addition, the functions H and hi were available just before (3), and hence would be avail­able just before (4) even if (3) were deleted from L.

We show in the next paragraph how to replace (4) in L by a sequence of N-compositions, the last of which has F as output. It will follow from the previous remarks that the functions used are in fact available, and would remain so even if (3) were deleted. None of these N-compositions will involve G, so that in the

100

Page 3: Generation and composition of functions · 2011-07-15 · JOURNAL OF RESEARCH of the National Bureau of Standards-B. Mathematics and Mathematical Physics Vol. 68B, No. 3, July-September

resulting modificatio n L' 0 (' L (whi ch still leads from C to fJ there is one less use of G and the same number of N-co mpos itions_ Continuing the process, we arrive at a seque nce L" leading from C to j ; with the same number of LV-compositions as in L, a nd suc h that (3) appears in L" but is never used subsequently_ Thus dele tion of (3) from L" yields a sequence leading from C to I which contradicts the minimality of L_

The sequence of N-compositions which can replace (4) in L is given by

Ji(XI, - - _, x..) = hj(g,(x" __ _ , Xk), _ - -,

for i = 1, 2, _ __ , p, followed by

This completes the proof. Theore ms 1 a nd 2 toge ther immedi ately imply the

following result.

------------~----------------------------

COROLLARY_ If <I> consists of cre and N-operations, then all N-functions obtainable by <I> from a set C of functions, are also obtainable if T N(<TJ replaces <Te

in <1>_ The special case of this corollar y in which S

consists of the natural number s, N = {1}, and <I> consists of <Tc and the inversion operation <To de fin ed earlier, appears in a paper of J Robin son_' The present paper was motivated by a desire to abstrac t the essentials of this special case_ Our proof of Theore m 1 was patterned after the proof given by R_ M_ Robin­son 2 of a precursor of J- Robinson's theorem_ Ad­ditional interesting applications seem likely to exi st, but are apparently difficult to recognize_ The subjec t arose in connection with Davis' characterization 3

of universal Turing machines_

I J. Robinson, General recursive fun c tions, Proe. Amel". Math. Soc. I (1950). 2 R. M. Robinson, Primitive recursive func tions, Bull. Amer. Math. Soc. 53 (1947). :I M. Davis, A note on universal Turing machines. in "Automata S tudies," Prince ton

Anna ls of Math. St ud y No. 34.

(Paper 68B3- 122)

101


Recommended