Question: ! Exercise 1 0 . 1 . 5 : Suppose we have an encoding of context - free grammars us - ing some finite alphabet.
Exercise : Suppose we have an encoding of contextfree grammars us
ing some finite alphabet. Consider the following two languages:
is a coded CFG A and are coded variables of
and the sets of terminal strings derived from A and are the same
and are coded CFGs and :
Answer the following:
a Show that is polynomialtime reducible to
b Show that is polynomialtime reducible to
c What do a and b say about whether or not and are NP
complete?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
