The term elementary was originally introduced by László Kalmár in the context of computability theory.[1][2] He defined the class of elementary recursive functions ("Kalmár elementary functions") as a subset of the primitive recursive functions — specifically, those that can be computed using a limited set of operations such as composition, bounded sums, and bounded products.[3] These functions grow no faster than a fixed-height tower of exponentiation (for example, ). Not all primitive recursive functions are elementary; for example, tetration grows too rapidly to be included in the elementary class. The elementary recursive functions correspond to the class of the Grzegorczyk hierarchy.[4]

In computational complexity theory, the term ELEMENTARY refers to a class of decision problems solvable in elementary time — that is, within time bounded by some fixed number of exponentials. Formally:

where denotes a k-level exponential tower (e.g., ).

Although the name comes from the same historical origin, the ELEMENTARY complexity class deals with decision problems and Turing machine runtime, rather than total functions.

Definition

edit

The definitions of elementary recursive functions are the same as for primitive recursive functions, except that primitive recursion is replaced by bounded summation and bounded product.[1][3][5] All functions work over the natural numbers. The basic functions, all of them elementary recursive, are:

  1. Zero function. Returns zero: .
  2. Successor function: . Often this is denoted by , as in . Via repeated application of a successor function, one can achieve addition.
  3. Projection functions: these are used for ignoring arguments. For example, is a projection function.
  4. Subtraction function: . This function is used to define conditionals and iteration.

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. The function defined as the composition is elementary recursive if is elementary recursive and each is elementary recursive.
  2. Bounded summation: is elementary recursive if is elementary recursive.
  3. Bounded product: is elementary recursive if is elementary recursive.

Superposition bases for elementary functions

edit

In the context of computability theory, superposition is a method of constructing new functions from existing ones by functional composition. It allows the outputs of one or more functions to serve as the inputs to another function.

More formally, suppose:

  • is a -ary function, and
  • are -ary functions.

Then the superposition of these functions yields a new -ary function:

.

The class of elementary recursive functions coincides with the closure under superposition of the projection functions and one of the following sets of initial functions:

  • [6]
  • [7]
  • [8]
  • [9]

where denotes truncated subtraction (monus).

In 2025 Mihai Prunescu, Lorenzo Sauras-Altuzarra and Joseph M. Shunia proved that the class of Kalmár elementary functions can be inductively generated from addition (), integer remainder () and base-two exponentiation (), improving previous results by Mazzanti[7] and Marchenkov.[8] They further proved that the substitution basis defined by these three operations is minimal.[10] An open question is whether is an alternative basis.

Example 1

Let Then the function defines the square function by superposition alone.[11] This shows how functions like squaring can be expressed using only addition, integer remainder, and base-two exponentiation through superposition, without requiring explicit recursion.

Example 2

Another example of an elementary recursive function is the Kronecker delta which satisfies if and otherwise.

Further examples
.[12]
.[13]
.[14]
.[15]
.[16]

Lower elementary recursive functions

edit

Lower elementary recursive functions follow the definitions as above, except that bounded product is disallowed.[3] 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.

Lower elementary recursive functions are also known as Skolem elementary functions.[17][18]

Whereas elementary recursive functions have potentially more than exponential growth, the lower elementary recursive functions have polynomial growth.

The class of lower elementary functions has a description in terms of composition of simple functions analogous to that we have for elementary functions.[18][19] Namely, a polynomial-bounded function is lower elementary if and only if it can be expressed using a composition of the following functions: projections, , , , , , one exponential function ( or ) with the following restriction on the structure of formulas: the formula can have no more than two floors with respect to an exponent (for example, has 1 floor, has 2 floors, has 3 floors). Here is a bitwise AND of n and m.

See also

edit

Notes

edit
  1. ^ a b Kalmár 1943.
  2. ^ Kleene 1952, pp. 285, 526.
  3. ^ a b c Rose 1984, p. 3, Definition.
  4. ^ Rose 1984, p. 33, Theorem 2.3.
  5. ^ Tourlakis 2022, p. 580, 15.1.34 Definition.
  6. ^ Marchenkov 1980.
  7. ^ a b Mazzanti 2002.
  8. ^ a b Marchenkov 2007.
  9. ^ Prunescu, Sauras-Altuzarra & Shunia (2025)
  10. ^ Prunescu, Sauras-Altuzarra & Shunia 2025.
  11. ^ Prunescu, Sauras-Altuzarra & Shunia 2025, Theorem 2.
  12. ^ Prunescu, Sauras-Altuzarra & Shunia 2025, Theorem 3.
  13. ^ Prunescu, Sauras-Altuzarra & Shunia 2025, In proof of Corollary 2.
  14. ^ Prunescu, Sauras-Altuzarra & Shunia 2025, Theorem 4.
  15. ^ Prunescu, Sauras-Altuzarra & Shunia 2025, Corollary 2.
  16. ^ "Can superposition alone generate the Kalmár elementary function xy from <x + y, x mod y, 2x >?". StackExchange. Retrieved 14 February 2026.
  17. ^ Skolem 1962.
  18. ^ a b Volkov 2010.
  19. ^ Volkov 2016.

References

edit
  • Prunescu, Mihai; Sauras-Altuzarra, Lorenzo (5 June 2025). "On the representation of C-recursive integer sequences by arithmetic terms". arXiv:2405.04083 [math.LO].
  • Prunescu, Mihai; Sauras-Altuzarra, Lorenzo; Shunia, Joseph M. (7 November 2025). "A Minimal Substitution Basis for the Kalmar Elementary Functions". arXiv:2505.23787 [math.LO].
  • Volkov, S. A. (2010). "On the class of Skolem elementary functions". Journal of Applied and Industrial Mathematics. 4 (4): 588–599. doi:10.1134/S1990478910040149.
  • Volkov, Sergey (2016). "Finite Bases with Respect to the Superposition in Classes of Elementary Recursive Functions [dissertation]". arXiv:1611.04843 [cs.CC].

Further reading

edit
edit

📚 Artikel Terkait di Wikipedia

ELEMENTARY

{\displaystyle {\mathsf {ELEMENTARY}}} consists of the decision problems that can be solved in time bounded by an elementary recursive function. Equivalently, these

Primitive recursive function

In computability theory, a primitive recursive function is, roughly speaking, a function that can be computed by a computer program whose loops are all

Elementary function

elementary function is a function of a single variable (real or complex) that is typically encountered by beginners. The basic elementary functions are

Elementary function arithmetic

and defining equations for all elementary recursive functions. Unlike PRA, however, the elementary recursive functions can be characterized by the closure

Tetration

\mathbb {N} ^{2}} ) is not an elementary recursive function. One can prove by induction that for every elementary recursive function f, there is a constant c

Nonelementary problem

has no algorithmic solution with time bounded by an elementary recursive function. These functions grow no faster than a fixed-height tower of exponentiation

Primitive recursive arithmetic

arithmetic propositions involving natural numbers and any primitive recursive function, including the operations of addition, multiplication, and exponentiation

Recursion

and recursive rule, one can generate the set of all natural numbers. Other recursively defined mathematical objects include factorials, functions (e.g