All Topics  
ELEMENTARY

 

   Email Print
   Bookmark   Link






 

ELEMENTARY



 
 
In computational complexity theory
Computational complexity theory

Computational complexity theory, as a branch of the theory of computation in computer science, investigates the problems related to the Computational resource required for the execution of algorithms , and the inherent difficulty in providing efficient algorithms for specific computational problems....
, the complexity class
Complexity class

In computational complexity theory, a complexity class is a set of problems of related complexity. A typical complexity class has a definition of the form:...
 ELEMENTARY is the union of the classes in the exponential hierarchy
Exponential hierarchy

In computational complexity theory, the exponential hierarchy is a hierarchy of complexity classes, starting with EXP:and continuing withand so on....
.



The name was coined by Laszlo Kalmar
László Kalmár

L?szl? Kalm?r was a Hungary mathematician and Professor at the University of Szeged. Kalm?r is considered the founder of mathematical logic and theoretical Computer Science in Hungary....
, in the context of recursive function
Recursive function

Recursive function may refer to:* Recursion : a procedure or subroutine, implemented in a programming language, whose implementation references itself...
s and undecidability; most problems in it are far from elementary. Some natural recursive problems lie outside ELEMENTARY, and are thus NONELEMENTARY
NONELEMENTARY

In computational complexity theory, the complexity class NONELEMENTARY is the complement of the class ELEMENTARY.Example decidable problems in NONELEMENTARY this class are:...
. Most notably, there are primitive recursive problems which are not in ELEMENTARY. We know

LOWER-ELEMENTARY EXPTIME
EXPTIME

In computational complexity theory, the complexity class EXPTIME is the Set of all decision problems solvable by a deterministic Turing machine in big O notation time, where p is a polynomial function of n....
  ELEMENTARY PR
PR (complexity)

PR is the complexity class of all primitive recursive functions ? or, equivalently, the set of all formal languages that can be decided by such a function....


Whereas ELEMENTARY contains bounded applications of exponentiation
Exponentiation

Exponentiation is a mathematics operation , written 'an', involving two numbers, the base a and the exponent n....
 (for example, ), PR
PR (complexity)

PR is the complexity class of all primitive recursive functions ? or, equivalently, the set of all formal languages that can be decided by such a function....
 allows more general hyper operator
Hyper operator

The hyper operators forming the hypern family are related to Knuth's up-arrow notation and Conway chained arrow notation as follows:...
s (for example, , using Knuth's up-arrow notation
Knuth's up-arrow notation

In mathematics, Knuth's up-arrow notation is a method of notation of large number integers introduced by Donald Knuth in 1976. It is closely related to the Ackermann function....
) which are not contained in ELEMENTARY.

Definition
The definitions of elementary recursive functions are the same as for primitive recursive function
Primitive recursive function

The primitive recursive functions are defined using primitive Recursion and function composition as central operations and are a strict subset of the ?-recursive functions ....
s, except that primitive recursion is replaced by bounded summation and bounded product.






Discussion
Ask a question about 'ELEMENTARY'
Start a new discussion about 'ELEMENTARY'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In computational complexity theory
Computational complexity theory

Computational complexity theory, as a branch of the theory of computation in computer science, investigates the problems related to the Computational resource required for the execution of algorithms , and the inherent difficulty in providing efficient algorithms for specific computational problems....
, the complexity class
Complexity class

In computational complexity theory, a complexity class is a set of problems of related complexity. A typical complexity class has a definition of the form:...
 ELEMENTARY is the union of the classes in the exponential hierarchy
Exponential hierarchy

In computational complexity theory, the exponential hierarchy is a hierarchy of complexity classes, starting with EXP:and continuing withand so on....
.



The name was coined by Laszlo Kalmar
László Kalmár

L?szl? Kalm?r was a Hungary mathematician and Professor at the University of Szeged. Kalm?r is considered the founder of mathematical logic and theoretical Computer Science in Hungary....
, in the context of recursive function
Recursive function

Recursive function may refer to:* Recursion : a procedure or subroutine, implemented in a programming language, whose implementation references itself...
s and undecidability; most problems in it are far from elementary. Some natural recursive problems lie outside ELEMENTARY, and are thus NONELEMENTARY
NONELEMENTARY

In computational complexity theory, the complexity class NONELEMENTARY is the complement of the class ELEMENTARY.Example decidable problems in NONELEMENTARY this class are:...
. Most notably, there are primitive recursive problems which are not in ELEMENTARY. We know

LOWER-ELEMENTARY EXPTIME
EXPTIME

In computational complexity theory, the complexity class EXPTIME is the Set of all decision problems solvable by a deterministic Turing machine in big O notation time, where p is a polynomial function of n....
  ELEMENTARY PR
PR (complexity)

PR is the complexity class of all primitive recursive functions ? or, equivalently, the set of all formal languages that can be decided by such a function....


Whereas ELEMENTARY contains bounded applications of exponentiation
Exponentiation

Exponentiation is a mathematics operation , written 'an', involving two numbers, the base a and the exponent n....
 (for example, ), PR
PR (complexity)

PR is the complexity class of all primitive recursive functions ? or, equivalently, the set of all formal languages that can be decided by such a function....
 allows more general hyper operator
Hyper operator

The hyper operators forming the hypern family are related to Knuth's up-arrow notation and Conway chained arrow notation as follows:...
s (for example, , using Knuth's up-arrow notation
Knuth's up-arrow notation

In mathematics, Knuth's up-arrow notation is a method of notation of large number integers introduced by Donald Knuth in 1976. It is closely related to the Ackermann function....
) which are not contained in ELEMENTARY.

Definition


The definitions of elementary recursive functions are the same as for primitive recursive function
Primitive recursive function

The primitive recursive functions are defined using primitive Recursion and function composition as central operations and are a strict subset of the ?-recursive functions ....
s, except that primitive recursion is replaced by bounded summation and bounded product. All functions work over the natural numbers. The basic functions, all of them elementary recursive, are:

  1. Zero function. Returns zero: f(x) = 0.
  2. Successor function: f(x) = x + 1. Often this is denoted by S, as in S(x). Via repeated application of a successor function, one can achieve addition.
  3. Projection functions: these are used for ignoring arguments. For example, f(a, b) = a is a projection function.


From these basic functions, we can build other elementary recursive functions.

  1. Composition: applying values from some elementary recursive function as an argument to another elementary recursive function. In f(x1, ..., xn) = h(g1(x1, ..., xn), ..., gm(x1, ..., xn)) is elementary recursive if h is elementary recursive and each gi is elementary recursive.
  2. Bounded summation: is elementary recursive if g is elementary recursive.
  3. Bounded product: is elementary recursive if g is elementary recursive.


Lower elementary recursive functions


Lower elementary recursive functions follow the definitions as above, except that bounded product is disallowed. That is, a lower elementary recursive function must be a zero, successor, or projection function, a composition of other lower elementary recursive functions, or the bounded sum of another lower elementary recursive function.

Whereas elementary recursive functions have potentially exponential growth, and comprise the exponential hierarchy
Exponential hierarchy

In computational complexity theory, the exponential hierarchy is a hierarchy of complexity classes, starting with EXP:and continuing withand so on....
, the lower elementary recursive functions have polynomial growth.

Relationship to primitive recursion

The definitions for elementary recursive functions and primitive recursive function
Primitive recursive function

The primitive recursive functions are defined using primitive Recursion and function composition as central operations and are a strict subset of the ?-recursive functions ....
s are identical, except that in lieu of primitive recursion, elementary recursion offers bounded sums and products. Bounded sums and products offer a more restricted means of repeatedly applying some function, and indeed the elementary recursive functions form a strict subset of the primitive recursive functions.

Basis for ELEMENTARY


J.P. Jones showed in 1988 that there is a 4-member set of ELEMENTARY that generates it under composition. In particular, , , , are sufficient, where is defined as the function that returns the least place in the base x expansion of y where there is a digit 0.

See also

  • Primitive recursive function
    Primitive recursive function

    The primitive recursive functions are defined using primitive Recursion and function composition as central operations and are a strict subset of the ?-recursive functions ....
  • Grzegorczyk hierarchy
    Grzegorczyk hierarchy

    The Grzegorczyk hierarchy, named after the Polish logician Andrzej Grzegorczyk, is a hierarchy of sets of functions used in recursive function theory....
  • EXPTIME
    EXPTIME

    In computational complexity theory, the complexity class EXPTIME is the Set of all decision problems solvable by a deterministic Turing machine in big O notation time, where p is a polynomial function of n....