Answered step by step
Verified Expert Solution
Question
1 Approved Answer
={1}, L = { w : : w is the unary encoding of 10, n 1}. For example, 1 10 L; 1 100 L; 11
={1}, L = {w: :wis the unary encoding of 10, n 1}. For example, 110 L; 1100 L; 11 L.
Part 1. Use the RL pumping theorem to show that L RLs. Start by settingwto 1, where i is the first power of ten k, or 100 if k < 100. Then show that for all possible values ofy, pumping inyonce would generatew' L.
Part 2. Start the proof the same way as in part 1, and explain how the proof would fail if you chose to pump out once instead of in once.
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