Tangram: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Monkbot
Line 1: Line 1:
In [[computational complexity theory]], a [[decision problem]] is '''PSPACE-complete''' if it can be solved using an amount of memory that is polynomial in the input length ([[PSPACE|polynomial space]]) and if every other problem that can be solved in polynomial space can be [[polynomial-time many-one reduction|transformed to it in polynomial time]].  The problems that are PSPACE-complete can be thought of as the hardest problems in '''PSPACE''', because a solution to any one such problem could easily be used to solve any other problem in '''PSPACE'''.


The PSPACE-complete problems are widely suspected to be outside of the more famous complexity classes '''[[P (complexity)|P]]''' and '''[[NP (complexity)|NP]]''', but that is not known.  It is known that they lie outside of the class '''[[NC (complexity)|NC]]''' (a class of problems with highly efficient parallel algorithms), because problems in '''NC''' can be solved in an amount of space polynomial in the [[logarithm]] of the input size, and the class of problems solvable in such a small amount of space is strictly contained in '''PSPACE''' by the [[space hierarchy theorem]].


==Examples==
They phone me Sandy Finkbeiner but I do not like when persons use my comprehensive name. South Dakota is where by my dwelling is. The beloved interest for my kids and me is looking into style and now I have time to consider on new [http://Data.gov.uk/data/search?q=matters matters]. The task I have been occupying for many years is an order clerk. Look at out my web site below: http://forum.rolo.vn:8080/member.php?u=7487<br><br>my web site :: [http://forum.rolo.vn:8080/member.php?u=7487 Underwear Calvin Klein]
Below are descriptions of a few PSPACE-complete problems. More examples can be found at the [[list of PSPACE-complete problems]].
 
===Regular expressions===
Given a [[regular expression]] ''R'', determining whether it generates every string over its alphabet is PSPACE-complete.{{sfnp|Hunt|1973}}
 
===Context-sensitive grammars===
The first known '''PSPACE'''-complete problem was the [[word problem (computability)|word problem]] for [[deterministic computation|deterministic]] [[context-sensitive grammar]]s. In the word problem for context-sensitive grammars, one is given a set of grammatical transformations which can increase, but cannot decrease, the length of a sentence, and wishes to determine if a given sentence could be produced by these transformations. The technical condition of "determinism" (implying roughly that each transformation makes it obvious that it was used) ensures that this process can be solved in polynomial space, and {{harvtxt|Kuroda|1964}} showed that every (possibly non-deterministic) program computable in [[linear space]] could be converted into the parsing of a context-sensitive grammar, in a way which preserves determinism. In 1970, [[Savitch's theorem]] showed that PSPACE is closed under nondeterminism, implying that even non-deterministic context-sensitive grammars are in PSPACE.
 
===Quantified Boolean formulas===
Nowadays, the archetypal PSPACE-complete problem is generally taken to be the [[quantified Boolean formula problem]] (usually abbreviated to QBF or TQBF; the T stands for "true"), a generalization of the first known [[NP-complete]] problem, the [[Boolean satisfiability problem]] (SAT). The satisfiability problem is the problem of whether there are assignments of [[truth value]]s to variables that make a Boolean expression true. For example, one instance of SAT would be the question of whether the following is true:
: <math>\exists x_1 \, \exists x_2 \, \exists x_3 \, \exists x_4: (x_1 \or \neg x_3 \or x_4) \and (\neg x_2 \or x_3 \or \neg x_4)</math>
 
The quantified Boolean formula problem differs in allowing both universal and existential quantification over the values of the variables:
: <math>\exists x_1 \, \forall x_2 \, \exists x_3 \, \forall x_4: (x_1 \or \neg x_3 \or x_4) \and (\neg x_2 \or x_3 \or \neg x_4)</math>.
The proof that QBF is a PSPACE-complete problem is essentially a restatement of the proof of [[Savitch's theorem]] in the language of logic, and is a bit more technical.
 
===Puzzles and games===
An NP-complete problem resembles a typical puzzle: is there some way to plug in values that solves the problem? Correspondingly, a PSPACE-complete problem resembles a game: is there ''some'' move I can make, such that for ''all'' moves my opponent might make, there will then be ''some'' move I can make to win?  The question alternates existential and universal quantifiers.  Not surprisingly, many puzzles turn out to be NP-complete, and many games turn out to be PSPACE-complete.<ref>{{citation
| last = Eppstein | first = David | author-link = David Eppstein
| title = Computational Complexity of Games and Puzzles
| url = http://www.ics.uci.edu/~eppstein/cgt/hard.html}}</ref>
 
Examples of games that are PSPACE-complete (when [[generalized game|generalized]] so that they can be played on an ''n'' &times; ''n'' board) are the games [[Hex (board game)|hex]] and [[Reversi]] and the solitaire games [[Rush Hour (board game)|Rush Hour]], [[Mahjong solitaire|Mahjong]], [[Atomix (computer game)|Atomix]], and [[Sokoban]]. Some other generalized games, such as [[chess]], [[English draughts|checkers]] (draughts), and [[Go (board game)|Go]] are [[EXPTIME-complete]] because a game between two perfect players can be very long, so they are unlikely to be in PSPACE. But they will become '''PSPACE'''-complete if a polynomial bound on the number of moves is enforced.
 
Note that the definition of PSPACE-completeness is based on ''asymptotic'' complexity: the time it takes to solve a problem of size ''n'', in the limit as ''n'' grows without bound. That means a game like checkers (which is played on an 8 &times; 8 board) could never be PSPACE-complete (in fact, they can be solved in constant time and space using a very large [[lookup table]]). That is why all the games were modified by playing them on an ''n'' &times; ''n'' board instead; in some cases, such as for Chess, these extensions are somewhat artificial and subjective.
 
See [[Game complexity]] for more games whose completeness for PSPACE or other complexity classes has been determined.
 
==Notes==
{{reflist}}
 
== References ==
*{{citation
| last = Sipser | first = Michael | author-link = Michael Sipser
| contribution = Section 8.3: PSPACE-completeness
| isbn = 0-534-94728-X
| pages = 283–294
| publisher = PWS Publishing
| title = Introduction to the Theory of Computation
| year = 1997}}.
*{{citation
| last1 = Garey | first1 = Michael R. | author1-link = Michael R. Garey
| last2 = Johnson | first2 = David S. | author2-link = David S. Johnson
| contribution = Section 7.4: Polynomial Space Completeness
| isbn = 0-7167-1045-5
| pages = 170–177
| publisher = W.H. Freeman
| title = [[Computers and Intractability: A Guide to the Theory of NP-Completeness]]
| year = 1979}}.
*{{citation
| last = Hunt | first = H. B., III
| contribution = On the time and tape complexity of languages. I
| mr = 0421145
| pages = 10–19
| publisher = Assoc. Comput. Mach., New York
| title = Fifth Annual ACM Symposium on Theory of Computing (Austin, Tex., 1973)
| url = http://ecommons.cornell.edu/handle/1813/6007
| year = 1973}}.
*{{citation
| last = Kuroda | first = S.-Y. | author-link = S.-Y. Kuroda
| journal = Information and Computation
| mr = 0169724
| pages = 207–223
| title = Classes of languages and linear-bounded automata
| volume = 7
| year = 1964}}.
 
{{ComplexityClasses}}
 
[[Category:Complexity classes]]

Revision as of 20:05, 24 February 2014


They phone me Sandy Finkbeiner but I do not like when persons use my comprehensive name. South Dakota is where by my dwelling is. The beloved interest for my kids and me is looking into style and now I have time to consider on new matters. The task I have been occupying for many years is an order clerk. Look at out my web site below: http://forum.rolo.vn:8080/member.php?u=7487

my web site :: Underwear Calvin Klein