Extension To First Order Arithmetic And Number Theory In Sequence Algebra
- an informal discussion


by

Huen Y.K.

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

(A short communication subject to future revisions - Version 1.0 dated 7/4/98)

Abstract

Sequence algebra arrives at its present status by adopting three extensions to first order arithmetic theory and first order number theory. These extensions are grafted on without affecting standard arithmetic rules nor the redefinition of number theoretic properties. Of the three extensions, the first defines a new arithmetical operator called Normc which is new and cannot be derived from standard arithmetic operators whilst the second defines the expression z/(z-1) axiomatically as representing a global set of natural numbers whilst the third defines mixed mode operations whereby boolean functions and arithmetic functions can be integrated and evaluated under the same algebraic formulation. The author cites findings from publications in symbolic logic and mathematical logic to back his claims [1].


1. Introduction

In this discussion, there is no need for readers to know in detail first order arithmetic theory and first order number theory. Other than mathematical logicians, ordinary users do not begin a mathematical course by learning first the underlying logic. In spite of insights provided by these theories, much progress in mathematics is made informally outside mathematical logic. Of late, the author discovers that some findings in mathematic logic do explain the increased expressivity of sequence algebra over conventional number theory.

First order sentences in number theory range over only the integer number objects in this domain of discourse. To make mathematical statements on sets of numbers we need to define second order quantifiers [1]. Thus far such second order quantifiers cannot be translated into true first-order sentences. The extensions provided in sequence algebra has changed this situation. Now we have a first-order quantifier which describes the global set of integer numbers in the form given by equation (1):

2. The Three Extensions To First Order Arithmetic Theory

The three extensions included in sequence algebra are briefly summarised as follows:

3. The MMF Constructs

In computer programming, logical constructs are routinely mixed with algebraic expressions in numerical computations because the outputs of predicates are used for flow controls only. It is impossible to mix logical levels with arithmetic values unless we introduce MMF constructs. An MMF always contain predicate functions but the output is always reduced to binary numerical levels of 0s and 1s. Thus the sole purpose of an MMF is to function as an on/off switch which either display or suppress the display of a particular term in a taylor series. Potential applications of MMFs are in the developments of generating functions for complicated integer sequences which cannot be realised using either algebraic or boolean formulations.

It is truly meaningless to include logical levels of true and false in arithmetic expressions as these lead to illegal arithmetic operations as listed in Table 1.

Table 1 - Illegal Arithmetic Operations Involving Boolean Logics


There are exceptions as summarised in Table 2 and some of these are used in the formulation for MMFs. These are based on syntices in Macsyma 2.2.1. If MMFs are to be adopted, then some standards must be implemented amongst symbolic languages in the handling of logical levels as recommended in Table 2.

Table 2 - Legal Arithmetic Operations Involving Boolean Logics


There are two classes of MMFs, viz., Conjunctive and Disjunctive MMFs which will be described in this section. Multilevelled MMFs can be formulated but for brevity, this topic will be avoided in this paper.

(i) Conjunctive MMFs

The product of MMFs gives rise to a conjunctive MMF which functions like a multilevelled AND logic operator. We may define a conjunctive MMF by equation (8). Both the inputs and outputs are numerical but the intermediate values are logical. Only when all MMFs return 1 will the output be 1, otherwise the output is 0. Unlike in boolean algebra, the number of MMFs in conjunction is not limited to two.

It might not look obvious but there are some advantages on the use of conjunctive MMFs over conventional do loops. Those who have written programs with multiple do loops will attest to the hassles of trying to rectify errors arising from deeply nested do loops. In sequence algebraic formulations, generally we rely on a single primary do loop which is used to generate a general integer sequence followed by filtering using conjunctive or disjunctive MMFs to abstract the final sequence subset. The reduced number of do loops facilitates debugging of complicated programs.

(ii) Disjunctive MMF

A disjunctive MMF is implemented as an arithmetic summative expression of constituent MMFs as shown in equation (9a) which is somewhat analogous to a multilevelled OR logic operator with the exception that when more than one constituent MMF returns 1, the output can be greater than 1. It is even possible to return real output values between 0 and 1 by introducing a divisor equal to the upperbound ub of the disjunctive MMF as shown in equation (9b).

Equation (4b) will return real values between 0 and 1.



4. Applications Of MMFs

Here is how MMFs could be applied in the generation of number sequences with specific properties. Note that if a specifice number theoretic property does not have a predicate function, then one will fail to formulat an MMF for it.

(i) Generation Of A Probabilistic Prime Sequence

Probabilistic primality predicate functions are available. Here we use one from Maple V R 3 called Isprime( ). Probabilistic prime sequence Primex(z) and probabilistic composite sequence Comp(z) are generated by equations (10) and (11) respectively. Note that Prime is a reserved word; so we use Primex instead in equation (10).

5. Conclusions

This paper outlines the three extensions implemented in sequence algebra which increase expressivities in first order number theory. All implementations are still first-order constructs without affecting the original definitions in the two first-order theories. The author is of the opinion that as the extensions are quite mild and as successes have already been reported in several examples in number theory, there is no good reason to reject these extensions as these bring more advantages than disadvantages to number theory [2 to 6].


6 References

1. Silver L. Charles: From Symbolic Logic ... to Mathmeatical Logic, Wm. C. Brown Publishers, Dubuque, U.S.A. Chapters 9 to 11, pp 255 to 369.

2. 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.

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

4. Huen Y.K.: Visual algebra and its applications, INT. J. Math. Educ. Sci. Technol., 1997, VOL.28, NO.3, pp 333-344.

5. Huen Y.K.: The twin prime problem revisited, INT. J. Math. Educ. Sci. Technol.,1997, VOL.28, NO. 6, pp 825-834.

6. Sequence Algebra - A Tutorial Paper - Huen Y.K. (Date Released 2/2/98, 46 Kbytes)

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