Skip to content

Menu
  • Home
  • เกี่ยวกับ BK8
  • ข่าวสารจาก We Mind And Kelly Matters
Menu

The partnership anywhere between Re and you will REC languages are going to be found inside Shape step one

Posted on May 25, 2023May 25, 2023 by Kong

The partnership anywhere between Re and you will REC languages are <a href="https://datingranking.net/nl/geek2geek-overzicht/">werkt geek2geek</a> going to be found inside Shape step one

Re also dialects or style of-0 dialects is produced by type-0 grammars. It means TM can loop forever towards strings which happen to be maybe not a part of the words. Re also dialects are called as Turing recognizable languages.

A recursive language (subset of RE) can be decided by Turing machine which means it will enter into final state for the strings of language and rejecting state for the strings which are not part of the language. e.g.; L= is recursive because we can construct a turing machine which will move to final state if the string is of the form a n b n c n else move to non-final state. So the TM will always halt in this case. REC languages are also called as Turing decidable languages.

  • Union: If L1 while L2 are a couple of recursive dialects, its union L1?L2 can also be recursive as if TM halts for L1 and you may halts to possess L2, it will likewise stop for L1?L2.
  • Concatenation: If the L1 of course, if L2 are two recursive dialects, its concatenation L1.L2 will in addition be recursive. Such as for example:

L1 claims letter no. out-of a’s with n zero. away from b’s accompanied by n zero. regarding c’s. L2 says yards zero. away from d’s with meters no. from e’s with yards zero. out-of f’s. Its concatenation first suits no. out of a’s, b’s and you will c’s then matches zero. from d’s, e’s and f’s. That it might be dependant on TM.

Declaration dos was not true just like the Turing identifiable languages (Re dialects) aren’t signed below complementation

L1 claims letter zero. regarding a’s followed by n zero. of b’s with n no. of c’s then one no. regarding d’s. L2 claims people zero. regarding a’s followed by letter zero. regarding b’s accompanied by letter zero. of c’s accompanied by letter zero. away from d’s. Its intersection states letter zero. from a’s followed by letter zero. from b’s followed closely by n no. from c’s accompanied by letter zero. out of d’s. So it are dependant on turing machine, which recursive. Similarly, complementof recursive words L1 that’s ?*-L1, will also be recursive.

Note: Instead of REC dialects, Re also languages are not finalized around complementon for example fit regarding Re words doesn’t have to be Re.

Matter step 1: And this of one’s adopting the statements are/is Untrue? step 1.For each and every low-deterministic TM, there is certainly an equivalent deterministic TM. 2.Turing recognizable languages was closed less than commitment and you can complementation. step three.Turing decidable dialects are signed under intersection and you can complementation. 4.Turing identifiable languages try finalized less than union and you may intersection.

Solution D is actually False as L2′ can not be recursive enumerable (L2 is actually Re also and you can Lso are languages commonly finalized lower than complementation)

Report step one is valid while we can be convert most of the low-deterministic TM in order to deterministic TM. Declaration step three is valid because Turing decidable languages (REC dialects) is finalized significantly less than intersection and you can complementation. Statement cuatro is valid just like the Turing recognizable dialects (Lso are languages) is closed less than union and you may intersection.

Concern dos : Help L become a vocabulary and you may L’ end up being its complement. What type of one’s pursuing the isn’t a feasible options? A great.Neither L neither L’ is Re also. B.Among L and you may L’ is Lso are not recursive; additional is not Lso are. C.One another L and you may L’ is actually Re not recursive. D.Each other L and you may L’ is actually recursive.

Solution A great is correct because if L is not Lso are, its complementation are not Lso are. Option B is correct because if L was Re also, L’ doesn’t have to be Re otherwise vice versa just like the Lso are dialects aren’t closed below complementation. Choice C try false as if L are Re, L’ may not be Re also. But if L try recursive, L’ is likewise recursive and you will both might be Re given that better just like the REC languages are subset out of Re. While they has mentioned not to ever getting REC, therefore option is untrue. Alternative D is right as if L is actually recursive L’ usually also be recursive.

Question 3: Assist L1 be a great recursive vocabulary, and you can help L2 feel an excellent recursively enumerable however a good recursive code. Which one of the following the is true?

A beneficial.L1? try recursive and you can L2? are recursively enumerable B.L1? are recursive and you will L2? isn’t recursively enumerable C.L1? and L2? try recursively enumerable D.L1? is recursively enumerable and you will L2? is recursive Service:

Solution Good try Incorrect given that L2′ can not be recursive enumerable (L2 is actually Lso are and you may Re aren’t closed lower than complementation). Choice B is right due to the fact L1′ are REC (REC languages is actually signed significantly less than complementation) and you may L2′ is not recursive enumerable (Re also languages are not closed below complementation). Option C are Not the case given that L2′ can’t be recursive enumerable (L2 are Re and you can Re are not closed less than complementation). Given that REC languages is actually subset regarding Re, L2′ can’t be REC also.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Recent Posts

  • What makes Venezuelan Women the best Brides?
  • Confidential Info on Mexican Wife That just The experts Understand Exists
  • What you need to Learn more about Russian Women’s Against American Girls
  • Better Mail order Bride to be Other sites And watch A partner Online Within the 2023
  • Why dudes eliminated to order gifts due to their wives

Archives

  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • May 2020
  • March 2020
  • July 2019
©2025 | Built using WordPress and Responsive Blogily theme by Superb