Course-of-values Recursion - Application To Primitive Recursive Functions

Application To Primitive Recursive Functions

In the context of primitive recursive functions, it is convenient to have a means to represent finite sequences of natural numbers as single natural numbers. One such method, Gödel's encoding, represents a sequence as

,

where pi represent the ith prime. It can be shown that, with this representation, the ordinary operations on sequences are all primitive recursive. These operations include

  • Determining the length of a sequence,
  • Extracting an element from a sequence given its index,
  • Concatenating two sequences.

Using this representation of sequences, it can be seen that if h(m) is primitive recursive then the function

.

is also primitive recursive.

When the natural numbers are taken to begin with zero, the sequence is instead represented as

,

which makes it possible to distinguish the codes for the sequences and .

Read more about this topic:  Course-of-values Recursion

Famous quotes containing the words application to, application, primitive and/or functions:

    Preaching is the expression of the moral sentiment in application to the duties of life.
    Ralph Waldo Emerson (1803–1882)

    It would be disingenuous, however, not to point out that some things are considered as morally certain, that is, as having sufficient certainty for application to ordinary life, even though they may be uncertain in relation to the absolute power of God.
    René Descartes (1596–1650)

    It was a very primitive kind of harbor, where boats were drawn up amid the stumps,—such a one, methought, as the Argo might have been launched in.
    Henry David Thoreau (1817–1862)

    The mind is a finer body, and resumes its functions of feeding, digesting, absorbing, excluding, and generating, in a new and ethereal element. Here, in the brain, is all the process of alimentation repeated, in the acquiring, comparing, digesting, and assimilating of experience. Here again is the mystery of generation repeated.
    Ralph Waldo Emerson (1803–1882)