Savitch's Theorem

from Wikipedia, the free encyclopedia

The set of Savitch or Theorem of Savitch is a sentence from the complexity theory , which in 1970 by Walter Savitch was proved. It says that a problem that can be solved by a nondeterministic Turing machine with a certain space complexity can be solved on a deterministic Turing machine with a square higher space bound.

One consequence of Savitch's Theorem is that PSPACE and NPSPACE are equal .

statement

Be a function that can be constructed with space . Then:

Proof idea

Let us assume , d. H. there is a nondeterministic Turing machine that takes up space and accepts exactly language . Due to the limited space, it can only assume different configurations , the number of their states and the number of different ribbon symbols denoting. So if this machine accepts an input of length , (if and only then) there is also an accepting run with fewer than computing steps. Let's consider a predicate

Based on the configuration, the NTM can achieve the configuration within computing steps .

Identify the initial configuration of the NTM when entering the word and the accepting hold configuration. Then we can formulate " accepted " (with a suitable constant depending on and ) as:

.

We know that a deterministic Turing machine with space requirements can calculate whether it is true. Also has the property

there is an intermediate configuration with and .

A deterministic Turing machine can calculate by enumerating all possible configurations and calculating and for each (one after the other) . For this purpose (for suitable ) band cells for and band cells for the calculation of or are sufficient . In particular, such a DTM can determine with space requirements whether and thus whether .

The choice of suitable constants is possible in particular because of .

See also

literature

  • Walter Savitch: Relationships between nondeterministic and deterministic tape complexities . In: Journal of Computer and System Sciences . tape 4 , no. 2 . Elsevier, 1970, ISSN  0022-0000 , pp. 177-192 , doi : 10.1016 / S0022-0000 (70) 80006-X .