Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

If AmB and B is a regular language, does that imply that A is a regular language? Why or why not?

Short Answer

Expert verified

If AmB and B is a regular language, then that doesn’t implies that A is also regular language.

Step by step solution

01

Regular Language

Regular language is a language which can be accept by finite automata including deterministic and non-deterministic automata.

02

To check regularity of A

The statement, “If AmBand B is a regular language, does that imply that A is a regular language?” - is wrong. This is because the power of reduction function can be more the Deterministic Finite Automata (DFA).

For example, assume that there are two languages A={0n1n|forn0}and B=1, both are over the function =0,1.

Let there be a function as:

f(w)={1;ifwA0;ifwA

Now we can see, that A is Context Free language, thus it must be decidable. So, this makes f as computable function.

We also observe that wAif and only if fw=1, this is only true if fwB.

Therefore, AmB is regular language true but A is not regular language.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free