1 50 Points Please Prove Language L Decidable Functions N X Nsx Numbers S B S String R Res Q37042804

1. (50 points) Please prove that language L is decidable. Functions n (x) and nsx) are the numbers of as and bs in string r

1. (50 points) Please prove that language L is decidable. Functions n (x) and nsx) are the numbers of a’s and b’s in string r, respectively. In your proof, you can use any decider that we have studied in the class. (Hint: the intersection of a context-free language and a regular language is still context free. Textbook Problem 2.18) {(D》 | D is a DFA with alphabet {a, b), and there exists

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.