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

Show that EQCFG is co-Turing-recognizable.

Short Answer

Expert verified

It is proved that EQCFG is co-Turing-recognizable

Step by step solution

01

Defining Co-Turing Recognizable

A language is considered as Co-Turing Recognizable if it is able to construct an algorithm which confirms that, if a string theoretically not exist in a language, then that algorithm also show same.

02

Proving EQCFG is Co-Turing Recognizable

For that EQCFGto be co-Turing-recognizable, complement of EQCFGi.e., (EQCFG') is a Turing Recognizable.

Consider a Turing Machine M. So we define M as,

M: on the input of (G1, G2) where G1 and G2 are Context Free Grammar over alphabet :

  • On repeatedly generating all possible string in lexicographical order from *.
  • Consider each string generated above as ‘w’, we will check if wLG1and wLG2or wLG1and wLG2.
  • If one of the above conditions is true, that means M is accepted, otherwise again check for next string w.

So, from above it can be said that will only loop if in case: LG1=LG2. But if LG1LG2, then M will find a string w which is in one language but not in other language.

Hence, M accepts if and only if LG1LG2and this is also recognizer for EQCFG'. Thus M is co turning recognizable.

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