Question: ( 2 + 2 + 2 points ) L 1 = { ambmcn | m ^ 3 1 , n ^ 3 2 } L
points Lambmcn m n Lw w is any string in a b c except abca Design a contextfree grammar G for language L G: b Design a contextfree grammar H for the star of language L H: c Construct a deterministic Turing machine F that reduces the language L to L in polynomial time. Justify your answer with detailed explanation. Answer: Hint: Reuse TM S that decides ACFG using CYK algorithm
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
