Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question for reference: The questions I need help with: 7.14 A permutation on the set {1,..., k} is a one-to-one, onto function on this set.

Question for reference:

image text in transcribed

The questions I need help with:

image text in transcribed

7.14 A permutation on the set {1,..., k} is a one-to-one, onto function on this set. When pis a permutation, p' means the composition of p with itself t times. Let PERM-POWER = {(p,q, t) p=q' where p and q are permutations on {1,..., k} and t is a binary integer}. Show that PERM-POWER E P. (Note that the most obvious algorithm doesn't run within polynomial time. Hint: First try it where t is a power of 2.) 1. (8 points) Exercise 7.14 from the text book (3rd edition), modified with k as part of the input. A permutation on the set {1...k} is a one-to-one, onto function on this set. When p is a permutation, p' means the composition of p with itself t times. Consider the language PERM-POWER = {(k, p, q, t) | p =q}. (a) (2 points) discuss a suitable encoding scheme for over the alphabet S = {0,1, #; } (b) (6 points) show that PERM-POWER E P by giving the implementation details of a Turing machine that decides it in polynomial time. Note that because t may have up to O(n) bits, the value of t may be as large as 20(n). This means a poly-time solution should run in time (poly) logarithmic in the value of t. 7.14 A permutation on the set {1,..., k} is a one-to-one, onto function on this set. When pis a permutation, p' means the composition of p with itself t times. Let PERM-POWER = {(p,q, t) p=q' where p and q are permutations on {1,..., k} and t is a binary integer}. Show that PERM-POWER E P. (Note that the most obvious algorithm doesn't run within polynomial time. Hint: First try it where t is a power of 2.) 1. (8 points) Exercise 7.14 from the text book (3rd edition), modified with k as part of the input. A permutation on the set {1...k} is a one-to-one, onto function on this set. When p is a permutation, p' means the composition of p with itself t times. Consider the language PERM-POWER = {(k, p, q, t) | p =q}. (a) (2 points) discuss a suitable encoding scheme for over the alphabet S = {0,1, #; } (b) (6 points) show that PERM-POWER E P by giving the implementation details of a Turing machine that decides it in polynomial time. Note that because t may have up to O(n) bits, the value of t may be as large as 20(n). This means a poly-time solution should run in time (poly) logarithmic in the value of t

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions

Question

3. Describe the process of a union drive and election.

Answered: 1 week ago

Question

2. What appeals processes are open to this person?

Answered: 1 week ago