encyclopegia.org

Constructible function

In complexity theory, a time-constructible function is a function f from natural numbers to natural numbers with the property that f(n) can be constructed from n by a Turing machine in the time of order f(n). The purpose of such a definition is to exclude functions that do not provide an upper bound on the runtime of some Turing machine.

In complexity theory, a time-constructible function is a function f from natural numbers to natural numbers with the property that f(n) can be constructed from n by a Turing machine in the time of order f(n). The purpose of such a definition is to exclude functions that do not provide an upper bound on the runtime of some Turing machine. ==Time-constructible== Let the Turing machine be defined in the standard way, with an alphabet that includes the symbols 0, 1 . It has a standard input tape containing zeros except for an input string. Let 1^n denote a string composed of n ones. That is, it's the unary representation of n . Let |n| be the binary representation. A function f is called time-constructible if there exists a Turing machine M such that the computation M(1^n) halts in O(f(n)) steps with value |f(n)| . This definition may use M(1^n) = 1^{f(n)} instead, since the two can be interconverted in O(f(n)) steps. Theorem. If f is a function such that there exists \epsilon > 0 such that, for all but finitely many n , f(n) \geq (1+ \epsilon) n (that is, if f(n) - n = \Omega(n) ), then f is time-constructible if and only if it is fully time-constructible. ==Space-constructible== A function f is called space-constructible if there exists a Turing machine M such that M(1^n) halts with value |f(n)| (or equivalently 1^{f(n)} ), while using O(f(n)) space. Equivalently, f is called space-constructible if there exists a Turing machine M , such that for all but finitely many n , the computation M(1^n) halts in a configuration in which exactly f(n) cells are not blank, and no other cell has been written to during its operation. This is sometimes called "fully space-constructible". However, the two definitions are equivalent. ==Properties== All the commonly used functions (such as n, n^2, 2^n, n! ) are time- and space-constructible, as long as f(n) = \Omega(n) . The construction is straightforward. For example, n^2 is constructed by one nested for-loop, while n^3 is constructed by two nested for-loops, etc. If f(n) = o(n) is time-constructible, then it is eventually constant, since otherwise there is insufficient time to read the entire input. \ln n is space-constructible even though \ln n = o(n) . For every computable function f , there is a computable function g that is time constructible and \forall n, g(n) > f(n) . ==Applications== Time-constructible functions are used in results from complexity theory such as the time hierarchy theorem. They are important because the time hierarchy theorem relies on Turing machines that must determine in O(f(n)) time whether an algorithm has taken more than f(n) steps. This is, of course, impossible without being able to calculate f(n) in that time. Such results are typically true for all natural functions f but not necessarily true for artificially constructed f. To formulate them precisely, it is necessary to have a precise definition for a natural function f for which the theorem is true. Time-constructible functions are often used to provide such a definition. Space-constructible functions are used similarly, for example in the space hierarchy theorem. ==References==

References

No reference rows published for this article.

Cite this article

MLA

"Constructible function." encyclopegia.org, 2025, https://encyclopegia.org/wiki/constructible-function. Accessed 23 November 2026.

Chicago

"Constructible function." encyclopegia.org. Accessed November 23, 2026. https://encyclopegia.org/wiki/constructible-function.

APA

encyclopegia.org. (2025). Constructible function. Retrieved November 23, 2026, from https://encyclopegia.org/wiki/constructible-function

Accessed November 23, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Emission theory (relativity)

enwiki · references available

Outlet

enwiki · references available

Todd–Coxeter algorithm

enwiki · references available

Japanese sound symbolism

enwiki · references available

Carathéodory's theorem

enwiki · references available

Digastric muscle

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1329980158 · 0.5 · snapshot enwiki-001329980158

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.