Chapter 8: Problem 4
Show that PSPACE is closed under the operations union, complementation, and star.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.
/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
Learning Materials
Features
Discover
Chapter 8: Problem 4
Show that PSPACE is closed under the operations union, complementation, and star.
These are the key concepts you need to understand to accurately answer the question.
All the tools & learning materials you need for study success - in one app.
Get started for free
Show that for any function \(f: \mathcal{N} \longrightarrow \mathcal{R}^{+}\), where \(f(n) \geq n\), the space complexity class \(\operatorname{SPACE}(f(n))\) is the same whether you define the class by using the singletape TM model or the two-tape read-only input TM model.
Define \(U P A T H\) to be the counterpart of \(P A T H\) for undirected graphs. Show that \(\overline{B I P A R T I T E} \leq_{\mathrm{L}} U P A T H .\) (Note: In fact, we can prove \(U P A T H \in \mathrm{L}\), and therefore \(B I P A R T I T E \in \mathrm{L}\), but the algorithm [62] is too difficult to present here.)
The cat-and-mouse game is played by two players, "Cat" and "Mouse," on an arbitrary undirected graph. At a given point, each player occupies a node of the graph. The players take turns moving to a node adjacent to the one that they currently occupy. A special node of the graph is called "Hole." Cat wins if the two players ever occupy the same node. Mouse wins if it reaches the Hole before the preceding happens. The game is a draw if a situation repeats (i.e., the two players simultaneously occupy positions that they simultaneously occupied previously, and it is the same player's turn to move). \(H A P P Y-C A T=\\{\langle G, c, m, h\rangle \mid G, c, m, h\) are respectively a graph, and positions of the Cat, Mouse, and Hole, such that Cat has a winning strategy if Cat moves first \(\\}\). Show that HAPPY-CAT is in P. (Hint: The solution is not complicated and doesn't depend on subtle details in the way the game is defined. Consider the entire game tree. It is exponentially big, but you can search it in polynomial time.)
Let \(A\) be the language of properly nested parentheses. For example, \((())\) and \((()(()))()\) are in \(A\), but ) ( is not. Show that \(A\) is in \(\mathrm{L}\).
Let \(B\) be the language of properly nested parentheses and brackets. For example, ( \([()()]()[])\) is in \(B\) but \(([)]\) is not. Show that \(B\) is in \(\mathrm{L}\).
What do you think about this solution?
We value your feedback to improve our textbook solutions.