Answered step by step
Verified Expert Solution
Link Copied!

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 {0^a1^b| a = kb for some k in N} is not context-free. This language
contains strings such as 0011(k =1),00001(k =4), and 001(k =2), but does not contain 00011
(because a =1.5 b and 1.5 in / N). A string of the form 0a1
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

10th Edition

ISBN: 0137916787, 978-0137916788

More Books

Students also viewed these Databases questions

Question

What is meant by organisational theory ?

Answered: 1 week ago

Question

What is meant by decentralisation of authority ?

Answered: 1 week ago

Question

Briefly explain the qualities of an able supervisor

Answered: 1 week ago

Question

Define policy making?

Answered: 1 week ago

Question

Define co-ordination?

Answered: 1 week ago