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
Let \(E Q_{\mathrm{REX}}=\\{\langle R, S\rangle \mid R\) and \(S\) are equivalent regular expressions \(\\} .\) Show that \(E Q_{\text {REX }} \in\) PSPACE.
The game of Nim is played with a collection of piles of sticks. In one move, a player may remove any nonzero number of sticks from a single pile. The players alternately take turns making moves. The player who removes the very last stick loses. Say that we have a game position in Nim with \(k\) piles containing \(s_{1}, \ldots, s_{k}\) sticks. Call the position balanced if each column of bits contains an even number of \(1 \mathrm{~s}\) when each of the numbers \(s_{i}\) is written in binary, and the binary numbers are written as rows of a matrix aligned at the low order bits. Prove the following two facts. a. Starting in an unbalanced position, a single move exists that changes the position into a balanced one. b. Starting in a balanced position, every single move changes the position into an unbalanced one. Let \(N I M=\left\\{\left\langle s_{1}, \ldots, s_{k}\right\rangle \mid\right.\) each \(s_{i}\) is a binary number and Player I has a winning strategy in the Nim game starting at this position \(\\} .\) Use the preceding facts about balanced positions to show that \(N I M \in \mathrm{L}\).
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}\).
a. Let \(A D D=\\{\langle x, y, z\rangle \mid x, y, z>0\) are binary integers and \(x+y=z\\} .\) Show that \(A D D \in \mathrm{L}\). b. Let \(P A L-A D D=\\{\langle x, y\rangle \mid x, y>0\) are binary integers where \(x+y\) is an integer whose binary representation is a palindrome \(\\}\). (Note that the binary representation of the sum is assumed not to have leading zeros. A palindrome is a string that equals its reverse.) Show that \(P A L-A D D \in \mathrm{L}\).
Show that any PSPACE-hard language is also NP-hard.
What do you think about this solution?
We value your feedback to improve our textbook solutions.