Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Show that the language { 0 ^ a 1 ^ b | a = kb for some k in N } is not context -
Show that the language ab a kb for some k in N is not contextfree. This language
contains strings such as k k and k but does not contain
because a b and in N A string of the form a
b belongs to this language, unless a
b
in N
Choose your string s of size s p carefully, and use the pumping lemma to reach a contradiction. Even if you cannot identify an appropriate string s you can get partial credit if you formally
explain what exactly you would need to show to reach a contradiction, paying close attention to
the quantifiers and the case analysis.
Hint: if a is a multiple of b then a c is a multiple of b if and only if c is a multiple of b
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