Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 3 3 Questions about closure properties of context free languages ( 4 points ) Decide whether the following statements hold for arbitrary languages L

Exercise 33 Questions about closure properties of context free languages
(4 points)
Decide whether the following statements hold for arbitrary languages L1,L2sube*. In each case, give
either a proof or a counterexample. Answers without any motivation achieve no points.
If necessary, you can use that the following languages are not context free:
x1={a2n|ninN0},
x2?b=ar(x1),
x3={win{a,b,c}*|#a(w)=#?b(w)=#?c(w)}.
(a) If L2 is regular and L1L2 is regular, then L1 is context free.
(b) If the language (L1)* is context free, then L1 is not necessarily also context free.
(Note: Try to think of a language that is not context-free, and that contains (in addition to
other words) words with length 1. Then check if the statement from the task holds true for this
language.)
(c) If L1 is not context free, then ?bar(L)1 is also not context free.
(d) If L1 is context free and L2subeL1, then L2 is regular.
(Note: To show that a statement is wrong it suffices to give a counterexample, i.e. two languages L1,
L2(or one language L1) for which the statement does not hold.)
image text in transcribed

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: 3

blur-text-image

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

Select Healthcare Classification Systems And Databases

Authors: Katherine S. Rowell, Ann Cutrell

1st Edition

0615909760, 978-0615909769

More Books

Students also viewed these Databases questions