The Canonical Generating Function or CGF(z) -- a Swiss-knife function


by

Huen Y.K.

CAHRC, P.O.Box 1003, Singapore 911101
http://web.singnet.com.sg/~huens/
email: huens@mbox3.singnet.com.sg

(A short communication - 1st release: 27/5/97, revised:28/5,1/6)

Abstract

This paper defines a canonical generating function called CGF(z) for short which is nicknamed the Swiss-knife function. CGF(z) is a highly versatile function which finds many applications in holistic number theory but it is not computationally efficient. This is because series expansions of CGF(z) rely on long divisions and are memory and time intensive. The open sequence forms which are also available in sequence algebra are computationally efficient but for dialectic investigations, the CGF(z) is preferred. Sequence algebra results from adding just a single axiom of Nat(z) to the axiomatic set of number theory. Judging by the ease with which some difficult problems are solved, the inclusion of this axiom is fully justified [5 to 8]. CGF(z) is labelled a Swiss-knife function because of its algebraic flexibilities which are explained by examples in this paper.

1. Introduction

On unsolved number theoretic problems, Chaitin has the following to say [2]:

".... the fact that many mathematical problems have remained unsolved for hundreds and even thousands of years tends to support my contention. Mathematicians steadfastly assume that the failure to solve these problems lies strictly within themselves, but could the fault not lie in the incompleteness of their axioms? For example, the question of whether there are any perfect odd numbers has defied an answer since the time of the ancient Greeks ....".

Comments by Godel are just as relevant (Godel, 1964) [11]:

"..... Success here means fruitfulness in consequences, in particular in "verifiable" consequences, i.e., consequences demonstrable without the new axiom, whose proofs with the help of the new axiom, however, are considerably simpler and easier to discover, and make it possible to contract into one proof many different proofs. ........ Perhaps also the apparently insurmountable difficulties which some other mathematical problems have been presenting for many years are due to the fact that the necessary axioms have not yet been found. ... "

The above quotations are made to highlight their relevence in sequence algebra which came into being since 1994 arising from the introduction of a single axiom in Nat(z) [6]. For the uninitiated, the axiom simply defines the natural number sequence holistically by a generating function z/(z- 1) which is in fact a restatement of the order principle from number theory in sequence algebraic format. This holistic axiom makes it easy to prove or derive other holistic sequences such as Even(z), Odd(z), Comp(z) and Prime(z). Until 1994, conventional number theory was not able to predict globally Comp(z) and Prime(z). Once these two sequences were sucessfully derived, it becomes easy to derive higher secondary sequences such as Mersenneprime(z), Fermatprime(z) and Perfectnumb(z) [5 to 8]. The ease with which some unsolved number theoretic problems were solved justifies the adoption of Nat(z) as an axiom.

In the next section, we will define a canonical generating function called CGF(z), which is holistic and yet generates a single integer output for a single integer input. This type of function is what Emily Post described as a recursively enumerable function or (r.e. function) [12]. In sequence algebra, even a single integer is considered as a member of a global sequence since CGF(z) is a holistic function.

2. The CGF(z) function

This paper will begin by defining a canonical generating function called CGF(z) written in sequence algebraic format given by equation (1). I like to call it a Swiss-knife function. The program line is written in Maple V R 3 syntax.

>CGF(Z):=1/(z^f(i)-1)-1/(z^f(i)*(z^f(i)-1));

..........................1...........................1
CGF(z) :=..------------..--.. ------------------ ..........................(1)
.....................f(i).....................f(i)...f(i)
..................(z.... -....1) ........z......(z....-....1)

For a fixed value of f(i), both the first and second expressions on the RHS of equation (1) are impulse sequences with uniform intervals of f(i) units. The only difference between the two is that the second sequence is shifted forward by an interval of f(i) units with respect to the first sequence. This explains why for fixed f(i), the CGF(z) will generate only a single, isolated impulse signal which in sequence algebra is taken to represent a single integer number also called f(i). You can only get this result using the sequence algebraic format but not the Euler's format. For more information on the differences between the sequence algebraic format and the Euler's format, please read references 5 and 9.

If we make f(i) a random function, i.e., f(i) = rand(0..infinity) where random integers are generated in the range from 0 to infinity, then we expect that CGF(z) will generate all the integers with equal probability given infinite time. Mathematically speaking, true random number generators have not been developed although it exists in nature such as the emission of alpha particles from a radioactive source. For experimental purposes, we shall have to make do with various pseudo-random functions provided by symbolic softwares or compiled languages. There is no proof that a true random number generator cannot be developed. Perhaps it is just that axioms in number theory itself do not have anything to say about randomness. Chaitin's remark that one cannot prove a 20 pound theorem using a 10 pound axiom is an information theoretic interpretation of Godel's incompleteness theorem [1,2]. To demonstrate the versatilities of CGF(z), examples will be given in this paper to backed up the claims.

(i)Proof of Unsolvability Of Halting Problem

The unsolvability of the halting problem is equivalent to the assertion that there is a recursively enumerable set (an r.e. set) that is not recursive. Interestingly CGF(z) fits this description of an r.e.set perfectly, i.e., it is a computable function which have a natural number as value for each natural number input and the running time is computational complexity. CGF(z) can be recursive or nonrecursive being dependent on the properties of the input function f(i). If f(i) is defined as an input function which generates integers randomly, CGF(z) will only output a single integer with a random interval which exactly duplicates the magnitude of the input integer. Would you call CGF(z) a random function? The author thinks so provided f(i)s are random since these are embedded in CGF(z). If the halting criterion of this function or program is defined as that when normality is attained amongst the ouput integers, how could the program ever halt since perfect random function generators do not exist? This is the simplest proof of the Halting Problem. But how can anyone be so sure that a perfect random number generator will not appear in future? To skirt around this problem, consider testing CGF(z) with increasing lengths of natural number sequences starting from two consecutive integers. Assuming the availability of a hypothetical perfect random generator then for a finite integer sequence, CGF(z) must halt since normality is assured. However, as the length of the natural number sequence grows, there will come a time when we reach computational complexity and the program will never halt. Theoretically CGF(z) must halt but in practice one will wait forever. This is an alternative proof of the unsolvability of the halting problem.

(ii) Nat(z) can be defined as a random sequence

Originally Nat(z) was defined based on the axiom of orderly principle defined in classical number theory [4]. In other words, the natural number sequence is defined as an orderly set. In this section, it will be proved that Nat(z) can be generated using either the orderly model or the random model. The objective is to prove that the same CGF(z) can be used to generate the same Nat(z) using contradictory axioms. If this is true, does it imply that Godel's incompleteness theorem is itself incomplete? This is what we will try to find out.

The CGF(z) function can only accept ordinary algebraic functions via its embedded f(i)- exponents. There is nothing to stop one from defining f(i) as an orderly algebraic function or a random function. Two examples are given in table 1 where example 1 shows how the natural number sequence Nat(z) can be generated by the linear recursive relation f(i) = f(i) + 1 in equation (1) whilst example 2 shows a small problem where integers in the range from 1 to 9 can be generated randomly by defining f(i) = rand(1..10) which are iterated and summed 10000 times.



Table 1 - Nat(z) Based On Two Contradictory Axioms



Example 1: Natural number sequence Nat(z) generated by the axiom of orderliness.
y:=sort(series(sum(1/(z^i-1)-1/(z^i*(z^i-1)),i=1..10),z=infinity,10));

..........1...............1......1......1.....1.......1......1......1......1
y:=O(---)+1/z+----+----+----+----+----+----+----+----......................(2).
..........10................2.....3.......4.......5......6.......7.......8.....9
.........z................z......z........z.......z.....z.......z..........z......z


Example 2: Natural number sequence Nat(z) generated by the axiom of randomness.

y:=0;

f:=rand(1..10);

f:=proc( )

..........local t;

..........global _seed;

................_seed:=irem(427419559081*_seed,999999999989);t:=_seed;irem(t,10)+1

................end

for i from 1 to 10000 do

x:=f( ):

y:=sort(y+series(1/(z^x-1)-1/(z^x*(z^x-1)),z=infinity,10))

od;

....1142...1100...1087...1079...1110...1117...1112...1143...1122

y:= ------+-----+-----+------+------+------+------+------+---------O(----).............(3).

.........z......z^2......z^3......z^4......z^5......z^6......z^7......z^8......z^9

After summing 10000 iterations, it can be seen that the number of occurrences of integers from 1 to 9 are approaching equality. Since rand(a..b) is only a pseudo-random generator, perfect normality cannot be expected but by induction one could write down the formulation of Nat(z) as given by equation (4).

Nat(z) -----> CGF(z)/k as t --> infinity......................(4),

where the right pointed arrow represents asymptotic equality given infinte time and k represents the common numerator of equation (3) which ought to become perfectly equal at infinite time if a perfect random generator is used. For perfect normality, Nat(z) should take the form shown in equation (5).

.........1........1.......1.......1.......1.........1.......1............1
y:= -----+-----+-----+-----+-----+-----+-----+O(-----).............(5).

........z^2....z^3....z^4....z^5....z^6....z^7....z^8.........z^9




The above examples prove that Nat(z) can be globally ordered or globally random. In classical number theory, there is no mention of the number theoretic property called concomittency. In holistic number theory, since Nat(z) is defined globally, then Even(z) and Odd(z) are mutually exclusive so that once we have derived one of them, we have also found the other without further work. In short, Even(z) and Odd(z) are concomittent. This does not imply that 3 and 12 are concomittent since the meaning only applies to holistic sequences. The same remark applies to the concomittency of Comp(z) and Prime(z). Thus concomittency and mutual exclusivity must coexist for this property to be workable within Boolean logics. Thus concomittency does not admit the provability of the statement that "That Cretan is telling the truth and lying" .

In Boolean logics, statements are either true or false but it can never be both true and false. The CGF(z) function can bring both logical levels under one roof but it has not broken the rule since the orderly model and the random model are mutually exclusive depending on the choice of f(i). Here we are given the option of choice. Once this is accepted, Godel incompleteness theorem is not affected. That Nat(z) can be generated via the random model is not self-evident. Godel also said that " axioms need not be evident in themselves, but rather their justification lies (exactly as in physics) in the fact that they make it possible for these "sense perceptions" to be deduced .... ".[1]

(iii) The Properties Of CGF(z)

This is called a Swiss-knife function not for nothing. We give here a theorem to prove it.

The Swiss-knife Theorem: CGF(z) can be orderly or random and recursive or nonrecursive.

Proof: The proof is very short. The f(i)s in CGF(z) can only accept conventional algebraic formulations which are what conventional number theoretic expressions are written in. CGF(z) can be regarded as a mapping function which maps conventional algebraic expressions into sequence algebraic expressions. The mapping is simply identity mapping. Therefore f(i) in algebraic domain is mapped via CGF(z) into the sequence algebraic domain without any change in property. This means that orderliness, randomness, recursivity and nonrecursivity will all be mapped exactly without modifications. The only restriction is that f(i) must be a mathematical function. It must also be an algebraic function but cannot be a sequence algebraic function.

(iv) Application of Final Value Theorem

Whilst it is true that open forms in sequence algebra are computationally efficient, one cannot apply final value theorem to them. Such questions as the infinity of Mersenne primes, Fermat primes and Perfect Numbers found no solutions from classcial number theory because the original axioms are not holistic. These can be easily solved using final value theorem in sequence algebra. Here is a simple example of how one proves an infinity of natural numbers using final value theorem:

final value of Nat(z) = (z-1)/z * z/(z-1) = 1. .............................(6).

This means that the final value is unity, i.e. there is one copy of the integer infinity at infinity. In sequence algebra this would appear as 1/z^infinity. It proves that there is an infinity of natural numbers. What is simpler than this?

(v) Application of Initial Value Theorem

There is a trick the author used in counting the number of integer solutions in Fermat's Last Theorem using sequence algebra. This is done by mapping the error function:

f(i) = x^n + y^n - z^n + 1 ................................(7).

A "+1" is added to f(i) because one cannot expand 1/(z^o-1) without encountering divisions by zeroes. To compensate for the right interval shift due to the introduction of "+1", a multiplier "z" is introduced into equation (8) to recover the original z^o position for initail values. When f(i) = 0, it signifies that there is an integer solution in the sequence and thus the exponent of z will become zero. This automatically counts all the integer solutions by summing them as a numerator coefficient associated with 1/z^o i.e. the very first term or initial term. This explains why initial value theorem will find this value. Here is a short example using Maple V R 3 to count the number of integer solutions of Fermat's Last Theorem for n = 2 only. The results are shown in equation (9).

>expand(z*series(sum(sum(sum(sum(1/(z^(i^n+j^n-k^n+1)-1/(z^(i^n+j^n-k^n+1)

.............*(z^(i^n+j^n-k^n+1)-1)),n=2..2),i=3..5),j=3..5),k=3..5),z=infinity,10)); .....(8).

.....................1..........1....................1

z^7 + 2 + ------- + ------- + zO(------)..................................(9).

..................z^2.........z^7..............z^10

Initial value theorem would have found the initial value of 2 which is equivalent to 2/z^o, i.e. there are two integer solutions in the range being investigated which are the Pythagorean primitive triplets of (3,4,5) and (4,3,5).

(vi) Testing of Recursive Functions

We will test the factorial function n! in CGF(z). If Swiss-knife theorem is true, we expect CGF(z) to be recursive as well.

Denominator terms in equation (10) are recursive since each succeeding term can be obtainED by multiplying the index of the previous term by an integer indicative of its position in the sequence. If this is not obvious, let us reorganise equation (10) into equation (11) and it will be apparent.

>series(sum(1/(z^n!-1)-1/(z^n!*(z^n!-1)),n=2..6),z=infinity,10000);

.......................1..........1................1..............1..............1.................1

.................--------+----------+----------+----------+---------+O(------)...........(10)

......................z^2...........z^6..........z^24......z^120........z^720.......z^1000



................=1/z^2+1/z^(3*2)+1/z^(6*4)+1/z^(24*5)+1/z^(120*6)+..........(11).

Another variation which is more intuitive is shown in equation (12) but this version is nonstandard.

>series(sum(n!/(z^n-1)-n!/(z^n*(z^n-1)),n=2..6),z=infinity,1000);

......................2................2................24.............120.............720..............1

..............-----------+------------+-----------+---------+-----------+O(--------)............(12).

....................z^2............z^3..............z^4.............z^5............z^6.............z^1000



The flexibilities in sequence algebra is that one can reorganise the display of information to suit the problem. The display format is not that rigid.

(vii) Randomness and Orderliness

The Swiss-knife theorem has already proved that CGF(z) will be random if f(i) is random and it will be orderly if f(i) is orderly. It proves that Nat(z) can be defined from either model. This is interesting because the orderly model is recursive but the random model is not. So long as the common canonical generating function called CGF(z) is adopted, the defintion of f(i) can be based on the option of choice. Thus the concomittency of the two properties do not cause any sleeplessness. Godel theorem is not invalidated but we have to accept the option of choice.

3. Conclusions

This short paper aims to highlight the flexibilities of the canonical generating function called CGF(z). This function has already been used by the author in previous publications without naming it as such [5,8]. It is a function which is worthy of further study because of its unusual properties. It is not computationally efficient but we can use the open forms for numerical investigations. For example one could replace the closed form for Nat(z) = z/(z-1) by the open form 1/z^i in computations but one should be awared that for complicated algebraic derivations, one needs to use the closed forms. This is because all sequences are holistic algebraic objects which can be manipulated just like ordinary algebraic variables in sequence generating functions. Another name for sequence algebra is visual algebra where it can be traced to the development of multidimensional Hgram graphs since 1988 [9]. Another interesting property of the sequence algebraic format is that it is self-ordering. This is evidenced by the fact that even after random generation of integers, these integers are still ordered. This can only happen because the magnitude of the integers and their intervals measured from the origin are identical as defined by the sequence algebraic format.

4. References

1. Chaitin G.J.: Godel's Theorem and Information, Interantional Journal of Theoretical Physics 22 (1982), pp 941-954.

2. Chaitin G.J. : How to Run Algorithmic Information theory on a Computer, Complexity 2:1 (1996), pp.?-?.

3. Chaitin G.J.: Randomness in Arithmetic, Scientific American 259, No. 1 (July 1988), pp.80- 85.

4. Silver L.C. : From Symbolic Logic ... To Mathematical Logic, WCB Publishers, 1994, Chapter 11 Godel's Theorems, pp321 to 360.

5. Huen Y.K.: A Simple Introduction To Sequence Algebra, a free downloadable paper available from the author's URL site: http://www.singnet.com.sg/~huens/,

6. Huen Y.K.: A Matrix Map for Prime and Non-prime Numbers, INT. J. Math. Educ. Sci. Technol., 1994, VOL. 25, NO.6, pp 913-920.

7. Huen Y.K.: Some Interesing Properties Of The Natural Number System, Int. J. Math. Educ. Sci. Technol., 1996, VOL.27, NO. 5, 685-691.

8. Huen Y.K.: Visual algebra and its applications, INT. J. Math. Educ. Sci. Technol.,1996, VOL.??, NO.?, ???-??? (In the press as proof paper mes 100421).

9. Liyaw A.P.,Kiu C.M.,Pok Y.M., & Huen Y.K.: Hgram patterns of Routh stability zones in linear systems, INT. J. Math. Educ., Sci., Technol., 1997, VOL.28, NO.2, 225-241.>

10. Liu C.L. : Elements Of Discrete Mathematics, McGRAW-HILL INTERNATIONAL EDITIONS, computer science series, 1985, pp 290 to 295.

11. Godel, K. : Russell's mathematical logic, and What is Cantor's contiuum problem?, Philosophy of Mathematics, P.Benacerraf and H. Putnam (eds)., Prentice-Hall, Englewood Cliffs, New Jersey, pp. 211-232, 258-273.

12. Post , E. : Recursively enumerable sets of positive integers and their decision problems. in the Undecidable: Basic Papers on Undecidable Propositions, Unsolved Functions and Computable Functions. M/ Davis (ed) Raven Press, Hewlett, New York, pp 305 to 337.

=====================END OF PAPER========================