language-icon Old Web
English
Sign In

DSPACE

In computational complexity theory, DSPACE or SPACE is the computational resource describing the resource of memory space for a deterministic Turing machine. It represents the total amount of memory space that a 'normal' physical computer would need to solve a given computational problem with a given algorithm. In computational complexity theory, DSPACE or SPACE is the computational resource describing the resource of memory space for a deterministic Turing machine. It represents the total amount of memory space that a 'normal' physical computer would need to solve a given computational problem with a given algorithm. The measure DSPACE is used to define complexity classes, sets of all of the decision problems that can be solved using a certain amount of memory space. For each function f(n), there is a complexity class SPACE(f(n)), the set of decision problems that can be solved by a deterministic Turing machine using space O(f(n)). There is no restriction on the amount of computation time that can be used, though there may be restrictions on some other complexity measures (like alternation). Several important complexity classes are defined in terms of DSPACE. These include: Proof:Suppose that there exists a non-regular language L ∈ DSPACE(s(n)), for s(n) = o(log log n). Let M be a Turing machine deciding L in space s(n). By our assumption L ∉ DSPACE(O(1)); thus, for any arbitrary k ∈ N {displaystyle kin mathbb {N} } , there exists an input of M requiring more space than k. Let x be an input of smallest size, denoted by n, that requires more space than k, and C {displaystyle {mathcal {C}}} be the set of all configurations of M on input x. Because M ∈ DSPACE(s(n)), then | C | ≤ 2 c . s ( n ) = o ( log ⁡ n ) {displaystyle |{mathcal {C}}|leq 2^{c.s(n)}=o(log n)} , where c is a constant depending on M. Let S denote the set of all possible crossing sequences of M on x. Note that the length of a crossing sequence of M on x is at most | C | {displaystyle |{mathcal {C}}|} : if it is longer than that, then some configuration will repeat, and M will go into an infinite loop. There are also at most | C | {displaystyle |{mathcal {C}}|} possibilities for every element of a crossing sequence, so the number of different crossing sequences of M on x is According to pigeonhole principle, there exist indexes i < j such that C i ( x ) = C j ( x ) {displaystyle {mathcal {C}}_{i}(x)={mathcal {C}}_{j}(x)} , where C i ( x ) {displaystyle {mathcal {C}}_{i}(x)} and C j ( x ) {displaystyle {mathcal {C}}_{j}(x)} are the crossing sequences at boundary i and j, respectively. Let x' be the string obtained from x by removing all cells from i + 1 to j. The machine M still behaves exactly the same way on input x' as on input x, so it needs the same space to compute x' as to compute x. However, |x' | < |x|, contradicting the definition of x. Hence, there does not exist such a language L as assumed. □ The above theorem implies the necessity of the space-constructible function assumption in the space hierarchy theorem.

[ "Algorithm", "Control theory", "Control theory", "Control engineering", "Non-deterministic Turing machine", "NSPACE", "Probabilistic Turing machine", "Time hierarchy theorem", "Super-recursive algorithm" ]
Parent Topic
Child Topic
    No Parent Topic