Hubbry Logo
search
logo

PR (complexity)

logo
Community Hub0 Subscribers
Write something...
Be the first to start a discussion here.
Be the first to start a discussion here.
See all
PR (complexity)

PR is the complexity class of all primitive recursive functions—or, equivalently, the set of all formal languages that can be decided in time bounded by such a function. This includes addition, multiplication, exponentiation, tetration, etc.

The Ackermann function is an example of a function that is not primitive recursive, showing that PR is strictly contained in R (Cooper 2004:88).

On the other hand, we can "enumerate" any recursively enumerable set (see also its complexity class RE) by a primitive-recursive function in the following sense: given an input , where is a Turing machine and is an integer, if halts within steps then output ; otherwise output nothing. Then the union of the outputs, over all possible inputs (), is exactly the set of that halt.

PR strictly contains ELEMENTARY.

PR does not contain "PR-complete" problems (assuming, e.g., reductions that belong to ELEMENTARY).

The PR class can be divided into an infinite hierarchy of increasingly large complexity levels, according to the fast-growing hierarchy.

The class is the class of problems that can be solved in time. That is, there exists a Turing machine and a constant , such that given an input of length , the machine solves it and halts within steps.

The class is the class of problems that can be solved in time.

See all
User Avatar
No comments yet.