Jump to content

Blum axioms

From Wikipedia, the free encyclopedia
(Redirected from Blum complexity axioms)

In computational complexity theory the Blum axioms or Blum complexity axioms are axioms that specify desirable properties of complexity measures on the set of computable functions. The axioms were first defined by Manuel Blum in 1967.[1]

Importantly, Blum's speedup theorem and the Gap theorem hold for any complexity measure satisfying these axioms. The most well-known measures satisfying these axioms are those of time (i.e., running time) and space (i.e., memory usage).

Definition

[edit]

To begin, we list all partially computable functions. That is, we assign a computable numbering of these functions: . For example, we may specify a specific programming language, then assign to be the lexicographically n-th syntactically valid program according to that. Two programs may compute the exact same partial function, but have different numberings. This allows us to distinguish their "complexity"

Abstractly, to say that we are measuring the "complexity" of program means finding a function , such that for any program input , the complexity/cost of computing on that input is . If program does not halt on , then should be undefined. Otherwise, should be a definite natural number. This gives us the first axiom:

  • The domains of and are identical.

Further, the complexity measure should be computable in some sense, for non-computable complexity measures is not interesting in practice. This gives us the second axiom:

  • There is a program that, given any , decides whether . Note that if is undefined, then by definition is FALSE for all . In other words, the set is recursive.

These are the Blum axioms. A Blum complexity measure is a pairing that satisfies the Blum axioms.

Examples

[edit]

Time complexity is a Blum complexity measure. To decide whether , simulate for steps. If the machine halts before steps are done, then output TRUE, else output FALSE.

Similarly, space complexity, or computable combinations thereof, is a Blum complexity measure.

is not a complexity measure, since it fails the second axiom.

Complexity classes

[edit]

For a total computable function complexity classes of computable functions can be defined as

is the set of all computable functions with a complexity less than . is the set of all boolean-valued functions with a complexity less than . If we consider those functions as indicator functions on sets, can be thought of as a complexity class of sets.

References

[edit]
  1. ^ Blum, Manuel (1967). "A Machine-Independent Theory of the Complexity of Recursive Functions" (PDF). Journal of the ACM. 14 (2): 322–336. doi:10.1145/321386.321395. S2CID 15710280.