Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Let f be a function from the set { 1 , dots, n } to itself. The pointwise representation of f is a binary string
Let be a function from the set dots, to itself. The pointwise representation of is a binary string of bits which is the concatenation of the binary encodings of dots, The cycle representation of is another string of bits which is also a sequence of elements of dots, which we will now describe.
Any permutation of of a set divides its elements into cycles. For example, if is represented by the pointwise sequence takes to to and back to from to itself, and from to and back to We write the three cycles as and To write in cycle representation, we first:
Write the cycles starting with their largest element, so we have and
Place the cycles in relative order in increasing order of their largest elements in the example we put first, then and then giving us the sequence
Now for your problems. In the context of circuit complexity, one of the conversions is very easy, and the other is harder:
a Prove that you can convert the cycle representation of a permutation into its pointwise representation in Specifically, let CYCPW be the language is a permutation of dots, in cycle form, i and are elements of dots, and Prove that CYCPW is in
b Prove that there is a logspace transducer PWCYC that takes the pointwise representation of and outputs the cycle representation of We are not equipped in this course to prove it but this problem is hard for logspace under the approriate reductions, giving us an example of a oneway function in this context.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started